The guide
Guide: OCR and data extraction for Swiss invoices
Invoice OCR has come a long way with artificial intelligence, but not every solution copes with Swiss specifics. This guide explains what to extract, how to measure reliability and how to stay in control of the data that is read.
Invoice OCR: how is it different from AI extraction?
OCR, or optical character recognition, turns an image into text. It is an essential first step, but it does not say which number is the total, which is the invoice number and which is a purchase order reference. Classic OCR produces a stream of words; a human or rigid templates are still needed to turn it into data.
AI extraction goes further: it understands the structure of the document and identifies each field by its role, even when the layout changes from one supplier to the next. For a Swiss invoice, that means recognising the supplier, its UID, the date, the due date, the lines, the VAT rates and the QR payment part. Numezis combines both, then adds deterministic checks: check digits, consistency of amounts, comparison with the stored supplier.
Which data should be extracted from a Swiss invoice?
For accounting and VAT, a Swiss invoice must provide the details required by art. 26 of the VAT Act: supplier name and address, its UID number followed by the VAT mention, recipient name and address, date or period of supply, nature of the supply, amount and applicable VAT rates. For payment, the QR part provides the QR-IBAN or IBAN, the QR or SCOR reference, the amount and the currency.
On top of that come details useful for management: invoice number, due date, discount terms, purchase order number, cost centre. Numezis extracts all of it, splits VAT by rate (8.1 %, 2.6 % or 3.8 %) and checks that the sum of net amounts and tax matches the total. A missing detail is flagged, because it can jeopardise the input tax deduction.
How reliable is invoice OCR?
No extraction is perfect, and a solution claiming otherwise is dangerous. A PDF generated by software is read almost without error; a photo of a crumpled receipt or a skewed scan leaves more room for doubt. The real question is therefore not the overall success rate but the system’s ability to know when it is wrong.
That is the role of the confidence score per field. Numezis shows a level of certainty for each value, and your company sets the threshold below which human confirmation is mandatory. Critical fields also get checks that are independent of the reading itself: check digits for the IBAN, QR reference and UID, and a VAT recalculation. A misread IBAN therefore does not slip through, even if the score shown was high.
How does AI read the Swiss QR-bill?
The QR-bill, defined by the SIX Swiss Payment Standards, contains a structured QR code: the beneficiary’s account (IBAN or QR-IBAN), reference type and number, amount, currency, debtor and additional information. When the code is readable, this data is decoded without interpretation, which makes it highly reliable.
AI steps in when the code is missing, damaged or inconsistent with the rest of the invoice. It then reads the printed details of the payment part and compares both sources. Numezis also checks that a QR-IBAN is used with a 27-digit QR reference, and a regular IBAN with a SCOR reference or none, as the standard requires. The extracted reference is used in the pain.001 payment file, then for automatic matching when the camt.054 statement confirms the debit.
Is AI data extraction compatible with the nFADP?
Invoices contain personal data: names, addresses, sometimes the bank details of private individuals. The nFADP requires you to know where this data is processed, by whom and for what purpose, and to inform people of any transfer abroad.
With Numezis, the application and the data are hosted in Switzerland, in Geneva and Zurich. Documents are not used to train third-party artificial intelligence models, and access follows the roles defined in your company. Every reading, correction and approval is traced, which makes it easier to keep your record of processing activities. Finally, data minimisation applies: only the data needed for accounting, payment and VAT is extracted and reused, and it follows the legal ten-year retention period.