Artificial intelligence
Invoices, forms, contracts: what AI can extract from a document
In most companies, someone still spends part of their week copying things out. An invoice arrives as a PDF, and the amount, the date and the number have to be entered into the accounting software. A form comes back scanned and has to be typed in again. A thirty-page contract has to be read through to find an expiry date. This work is slow, unrewarding, and every re-entry is a chance for error.
Reading a text is not enough
Character recognition, or OCR, has existed for decades. It turns the image of a page into text. But raw text does not say which number is the total, which is the VAT and which is an order number. Conventional solutions filled this gap with page templates: for each supplier, you indicated where each field was located. As soon as a supplier changed its layout, you had to start again.
Recent AI models read the document as a person would. They take into account the layout, the tables and the headings, and understand that a "net amount payable" at the bottom right is the amount being looked for, whatever the presentation. This is what makes it possible to process documents the system has never seen.
What can be extracted today
- Invoices and purchase orders: supplier, dates, amounts, VAT, line items, references.
- Forms: fields filled in by hand or on a computer, ticked boxes, signatures present or not.
- Contracts: parties, effective and expiry dates, renewal conditions, clauses to watch.
- Supporting documents: type of document, identity, validity date.
The system can also sort documents as they arrive, which avoids manually sorting an email inbox or a shared folder.
Trust is built with checks
A model can make mistakes, especially on a crooked scan, difficult handwriting or a table that runs over two pages. A good project does not try to remove all human checking. It concentrates it where it is useful.
Three mechanisms contribute to this. Consistency rules first: the total must match the sum of the lines, an expiry date cannot come before the issue date. Then a cross-check against what the company already knows: does the supplier exist, does the order match? Finally, a validation screen that shows a person only the doubtful documents, with the field in question highlighted.
The aim is to reread only the documents that raise a question, not to stop rereading altogether.
What about electronic invoicing?
The gradual roll-out of electronic invoicing between businesses in France will reduce data entry for some invoices, since the data will arrive already structured. It does not solve everything. Invoices from foreign suppliers, expense claims, delivery notes, contracts and forms will remain documents that have to be read.
The questions to ask before you start
The first is about data. Invoices and contracts contain sensitive information, sometimes personal. You need to know where it is processed, by whom, and how long it is kept. The second is about integration: a perfect extraction is useless if someone then has to copy the result into another piece of software. The link with accounting, the ERP or document management is part of the project from the start.
The last is about measurement. You start with one type of document, with a few hundred real examples, and you count: how many documents go through without intervention, how many are corrected, how much time is saved. These figures tell you whether the approach should be extended.
Our offer: Document processing
Automatically read, extract and file your invoices, contracts and forms.
In summary
AI can now read varied documents and extract the useful information from them with no page template to maintain. It still makes mistakes on difficult cases, which calls for consistency rules and human validation of doubtful documents. A successful project starts small, plugs into existing tools and is judged on figures.
Written by the EVAVEO team, digital innovation studio.
