# Invoice recognition with AI: how it works and how accurate it is

Source: https://saitai.lt/en/blog/invoice-recognition-with-ai/
Published: 2026-11-13T09:00:00+02:00
Updated: 2026-11-20T09:18:50+02:00
Breadcrumbs: [Home](https://saitai.lt/en/) › [Blog](https://saitai.lt/en/blog/) › Invoice recognition with AI: how it works and how accurate it is

AI extracts the supplier, dates, totals and line items from PDFs and photos, but there is no single accuracy figure: it depends on the document and the field. So we measure accuracy on your invoices, and a person approves data before it reaches the books.

About this article

- **Author:** Saitai.lt team
- **Published:** 13 November 2026
- **Reading time:** ~5 min

AI recognises an invoice in two steps: OCR reads the text from a PDF or photo, and a model works out which text is the supplier, invoice number, date, total and line items, and returns them as structured data. There is no single “accuracy percentage”: it depends on document quality and on the field, so a serious vendor first measures the result on your invoices instead of promising a figure. To keep a mistake out of the books, a person always approves the data. Below: how it works, what is easier and harder to read, and how to check accuracy.

## How it works: from PDF to a ledger entry

1. **Collection.** Invoices arrive from a mailbox or a shared folder, or are uploaded through a browser.
2. **Text reading (OCR).** Text and its position on the page are extracted from a PDF, scan or photo.
3. **Field recognition.** A model matches the text to fields: supplier, company and VAT codes, number, dates, totals, line items. No template has to be built for each supplier, so it also works on invoices from new suppliers.
4. **Automatic checks.** The program compares totals with VAT, checks whether the supplier is on your list and whether the invoice was uploaded twice.
5. **Human approval.** An employee sees the document next to the recognised fields, corrects the doubtful ones and approves.
6. **Transfer.** Approved data goes into your accounting software (as an import file or via API), a CRM or a spreadsheet.

Vendor documentation confirms what such a model can do: for example, Microsoft’s Azure Document Intelligence invoice model extracts the customer, supplier, addresses, due date, amount and line items from PDFs, scans and phone photos, and returns JSON. Lithuanian is included in the languages that model supports. This is one possible technology; we choose the specific model to fit your documents and data requirements.

## How accurate: why there is no single number

Accuracy differs by three things:

- **Document quality.** A clean PDF created in accounting software is read more easily than a blurry or creased photo. Azure’s documentation recommends one clear photo or a high-quality scan per document; the minimum height of extractable text corresponds to about 8-point text at 150 dpi.
- **Layout.** Standard invoices are read more easily; non-standard layouts with multi-column tables, stamps or handwritten notes are harder.
- **Field.** Different fields go wrong in different ways.

| Field | How it usually goes | What to check |
| --- | --- | --- |
| Invoice series and number | usually good | similar characters not mixed up (0 and O, 1 and I) |
| Date | usually good | date format (day and month) |
| Supplier name, company and VAT codes | usually good | whether the code matches the supplier list |
| Total, VAT amount | usually good | whether net plus VAT gives the total |
| Line items | usually the hardest | complex tables, wrapped lines, discounts |
| Payment details (IBAN) | good, but critical | a person approves every changed IBAN |

The table is our practical assessment, not a vendor guarantee and not statistics. We will give exact values for your case only after testing your invoices.

## How to measure accuracy on your documents

A pilot is the most reliable way. We take a few dozen of your real invoices that you have already entered by hand, run them through recognition and compare:

- how many fields were read correctly (for each field separately, not one overall figure);
- how many invoices needed a correction in at least one field;
- which suppliers or formats go wrong most often;
- whether the automatic checks caught errors a person would have missed.

What matters most is how much time is saved with the check in place, not whether the result is “perfect”. If the employee only has to approve doubtful fields instead of typing everything again, the work is already shorter.

## Why a person stays in the process

AI can make mistakes: read 8 instead of 3, skip a line or mix up two numbers. So:

- doubtful fields are flagged, and the employee sees the document and the recognised fields at the same time;
- only approved data is passed to the books;
- AI never makes or approves payments itself;
- the log shows who approved what and when.

This order also matters for accountability: your company and your accountant are responsible for ledger entries, not the model.

## When recognition is not needed

- **There are only a few invoices.** Typing them in is faster than building and maintaining a solution.
- **Invoices arrive as structured data.** E-invoices under the European standard EN 16931 contain the fields in machine-readable form, so integration with accounting software is enough. Directive 2014/55/EU requires public-sector bodies in the EU to be able to receive such invoices, and private companies may use the standard between themselves too. That does not mean the invoices you receive are like that: most private suppliers still send PDFs.
- **You need a legal opinion on the document’s content.** AI extracts the data; your specialist makes the decision.

## Data security

For recognition, invoices are sent to the AI model provider through an API, and they contain company data and sometimes personal data. So before rollout you need to agree where processing takes place (in the EU or not), how long data is kept and what the contract terms are. More in the articles [AI and GDPR: where data is stored](https://saitai.lt/en/blog/ai-and-gdpr-data-protection/) and [Local AI or cloud](https://saitai.lt/en/blog/local-ai-vs-cloud/).

## How we can help

We have practical experience building invoice recognition with AI and connecting the data with Google Sheets, Excel and accounting software. We do not name clients because of confidentiality agreements. We start with a pilot: we test recognition on your invoices and show which fields are reliable and which will need checking more often. Which other accounting firm processes are worth automating is covered in [AI for accounting firms: 7 processes](https://saitai.lt/en/blog/ai-for-accounting-firms/).

- [Invoice and document recognition with AI](https://saitai.lt/en/services/ai-solutions/document-recognition/) – pilot from €690, about 1–2 weeks; we give the price of the full solution after the pilot.
- [AI for accounting firms](https://saitai.lt/en/services/ai-solutions/accounting-firms/) – when there are many invoices from different clients.
- [Accounting software integration](https://saitai.lt/en/services/integrations/accounting-software/) – so approved data reaches the program without a manual import, from €490.

The first assessment is free: send a few sample invoices and we will tell you whether recognition will pay off for you. Mask any personal data before sending.

Written by **Saitai.lt team**. Published 13 November 2026.

## Sources

1. [Microsoft Learn: invoice data extraction (Azure Document Intelligence)](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/prebuilt/invoice)
2. [Microsoft Learn: language support for prebuilt models](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/language-support/prebuilt)
3. [Directive 2014/55/EU on electronic invoicing in public procurement, EUR-Lex](https://eur-lex.europa.eu/eli/dir/2014/55/oj)

## Frequently asked questions

### Does AI recognise Lithuanian invoices?

Yes. For example, Microsoft's prebuilt invoice model in Azure Document Intelligence lists Lithuanian among its supported languages. What matters more than the language is the quality and layout of your suppliers' documents, so before rollout we recommend a pilot on your real invoices.

### What accuracy can I expect?

There is no single correct number, and no vendor should promise one. Accuracy differs by field: the invoice number, date and total are usually easier to read than line items. It has to be measured on your own documents: how many fields had to be corrected by hand.

### Can invoices go into the books without a person checking them?

Technically yes, but we do not recommend it and we do not do it. An employee checks the doubtful fields, and automatic checks compare totals, VAT and duplicates. Only approved data reaches the books. That way a mistake is caught before it becomes a ledger entry or a payment.

### Are invoices photographed with a phone recognised?

Yes, but quality matters. Azure's documentation recommends one clear photo or a high-quality scan per document, and the minimum height of extractable text corresponds to about 8-point text at 150 dpi. Blurry, creased or skewed photos produce more errors.

### Do I need recognition if invoices arrive as XML?

No. E-invoices in a structured format (for example, under the European standard EN 16931) already contain the fields in machine-readable form, so connecting them to your accounting software is enough, without OCR. Recognition is needed for PDFs, scans and photos, which make up most of the documents received.

### How many invoices a month make recognition worthwhile?

There is no single threshold. It depends on how much time entry takes and how many different supplier formats you receive. If there are only a few invoices, doing it by hand is faster. With dozens or hundreds from different suppliers it pays off. A pilot on your real volume gives the exact answer.

## Related services

### [AI invoice and document recognition](https://saitai.lt/en/services/ai-solutions/document-recognition/)

AI recognition of invoices, delivery notes and other documents: data extraction from PDFs and photos, human review, export to accounting software, CRM or spreadsheets.

### [AI for accounting firms](https://saitai.lt/en/services/ai-solutions/accounting-firms/)

Artificial intelligence solutions for accounting firms: invoice recognition and import into Rivilė, B1 and Directo, bank statement payment matching, document reminders to clients, client answers from a knowledge base, automated reports and private AI for sensitive data.

## More articles on this topic

- 18 November 2026
  **[AI for accounting firms: 7 processes worth automating](https://saitai.lt/en/blog/ai-for-accounting-firms/)**
  For an accounting firm, AI helps most where there is a lot of repetitive work: collecting documents, recognising invoices, matching bank statements, reminders, client answers, reports and deadline tracking. The accountant approves decisions and ledger entries.
- 27 November 2026
  **[How AI processes thousands of documents in different languages: what we learned](https://saitai.lt/en/blog/how-ai-processes-documents-in-different-languages/)**
  Processing more than 30,000 open public tenders in 6 languages taught us five things: scripts read the numbers and dates, the model must supply a verbatim quote, we write the checks first, we test on 20–50 documents, and we cap spending in advance.
- 22 November 2026
  **[Can staff upload company documents to ChatGPT and other AI tools?](https://saitai.lt/en/blog/uploading-company-documents-to-chatgpt/)**
  A document uploaded to a personal AI account may be used to train models or be reviewed by people. When that is acceptable, which files must never go in, what GDPR and the EU AI Act say, and which rules to give your staff.

[All articles](https://saitai.lt/en/blog/)
