Term · Integrations & automation
OCR (optical character recognition)
OCR turns a scan or photo back into text the computer can read. That is the first step towards processing documents automatically.
In short
OCR stands for optical character recognition, in Dutch tekstherkenning. Software recognises the letters and numbers on a scan, photo or PDF and turns them into readable text. Document recognition with AI goes a step further: it also finds which number is the invoice number or the amount.
What is OCR?
OCR is software that recognises letters and numbers on an image and turns them into text the computer can read. OCR stands for optical character recognition. In Dutch it is called tekstherkenning.
To the computer, a scan of an invoice is just a picture. After OCR you can search the text, copy text and extract data from it.
How does OCR work?
The software searches the image for shapes that look like letters and numbers, and converts them into text. The better the scan, the better the result. Skewed photos, creases and handwriting cause more errors.
Ordinary OCR only produces text. It does not know which number is the total amount. That requires document recognition: software, often with AI, that recognises the structure of a document. It finds, for example, the supplier, the date and the VAT. Microsoft has such a service, with a ready-made model for invoices.
Example in an SME
Made-up example
An installation company receives packing slips from suppliers on paper. An employee takes a photo of them. Document recognition extracts the slip number and the items and puts them ready in the stock system. If the software is unsure, an employee takes a look.
What should you look out for?
- See what your package can already do. Some accounting packages recognise purchase invoices themselves. AFAS, for example, has Scan & herken for this. Other packages work with a separate service that you connect.
- An e-invoice does not need OCR. An e-invoice is a file that software can process directly. A PDF by email is not an e-invoice: it does need to be recognised.
- Checking remains necessary. Recognition makes mistakes. Have an employee look at what deviates or where the software is unsure.
- Privacy. If there is personal data on the documents, the GDPR applies, including at the service that does the recognition.
After recognition, an accounting integration puts the data into your administration. You can read how that works together in Reading in invoices automatically. Do you currently enter invoices or packing slips by hand? Then read Invoices and packing slips are entered by hand, or see how I approach document reading and automation.
Frequently asked questions
What is the difference between OCR and scanning?
A scanner makes an image of paper. OCR turns that image into text. Some scanning apps do both in one go.
Can OCR read handwriting?
Sometimes, but less well than printed text. With handwriting, expect more checking by an employee.
Sources: AFAS: reading in invoices via Scan & herken (in Dutch), Microsoft Learn: Azure Document Intelligence and Logius: e-invoicing, how it works (in Dutch). Consulted on 7 October 2026.
Written by Bart van Engelenhoven Founder of Uniekaiconsultancy in Ede, the Netherlands. Bart analyses how SMEs work and builds software, integrations and AI applications himself. Last updated: 7 October 2026
Read more
Article · 10 min read
Reading invoices automatically: package or custom?
Many accounting packages already read invoices automatically. What does yours do, where does it stall and when is custom software worthwhile?
Read moreSound familiar?
You enter invoices and packing slips by hand
Does someone retype packing slips and invoices every day? Have documents read automatically. Exceptions go to an employee. Using what your package can do.
How to tackle itTerm
RPA (robotic process automation)
What is RPA (robotic process automation)? Software that clicks and types through screens like an employee. How it differs from an API integration.
Read moreNext step
Curious what could work for you?
- The first conversation is free and without obligation
- By phone or at your premises
- You speak directly with me
Bart van Engelenhoven You tell me what takes up your time, I tell you honestly whether I can help.