Dijit.app
Invoices

Invoice data extraction: what is read, how, and where it goes

Extracting the data from an invoice means turning the PDF, scan or photo into fields: who issues it, how much, with what VAT and when it is due. Done by hand, it is typing. Done with OCR and AI, it is reading, checking that it balances and leaving each invoice ready for the accounting software, without typing anything.

  • Header, amounts and lines
  • Three checks
  • Nominal code set
  • Ready for your software
A paper supplier invoice photographed with a phone, with the lines and amounts in view

What invoice data extraction is

An invoice is a document for a person and a set of fields for a program. Extracting the data is going from the first to the second.

Accounting software does not read an invoice: it needs the supplier with its VAT number, the number, the date, the net amount, the VAT and the total in their boxes. For years that has been done by typing, looking at the paper or the PDF and entering each piece of data into the software. It is slow, it makes mistakes and it leaves no trace of where each figure came from.

Automatic extraction does that step on its own: it recognises the text of the invoice, works out what each piece of data is, checks that the amounts balance and leaves the fields filled in, with the original document alongside to check any figure.

Header

Supplier and VAT number, receiving company, invoice number, date and purchase order number.

Amounts

Net amount, discounts, the VAT for each rate, surcharge, withholding, charges and total.

Lines

One per item, with quantity, unit price, discounts and tax.

The fields of a supplier invoice

What comes out of each invoice, by block. The payment and line fields depend on what each supplier prints.

BlockFieldsWhat they are for
Issuer and recipient Company name, VAT number, address and postcode of the supplier. Receiving company and its VAT number. Identifying who the amount is owed to and which company the invoice goes to.
Identification Invoice number, document date and purchase order number, if stated. Posting in the right period, detecting duplicates and matching against the order.
Amounts Net amount, discounts, taxes, withholding, additional charges and total. The three arithmetic checks come from here.
Taxes Breakdown by VAT rate, with base, percentage and amount. Several rates on the same invoice. Equivalence surcharge. The VAT sub-account for each rate and the quarterly return.
Payment Payment method, terms and due date. Due dates, payments and bank reconciliation.
Lines Item, quantity, unit price, up to three chained discounts and tax per line. The product master, the price history and matching with packing slips.
How it is read

The four stages of data extraction

From the file to the fields in under 3 seconds per page, for files under 3 MB. The result of the third stage decides whether the invoice needs your attention.

1. Recognition

OCR turns the image of the invoice into searchable text. With this alone there would be a tangle of words and numbers without knowing what each one is.

2. Interpretation

Generative AI understands what each piece of data is: that the nine-digit number next to a company name is a VAT number, and that the figure at the foot is the total and not a page number.

3. Validation

It checks that net plus taxes gives the total, that the lines add up to the net, that the VAT breakdown balances and that the invoice is not a duplicate.

4. Coding

The nominal codes are assigned using the company's history and the configured rules: the supplier account and the expense account.

The three checks that balance an invoice

Knowing which one failed tells you where to look, and saves you going over the whole record when the problem is in a single figure.

The structure of an invoice is always the same: the sum of the lines with their discounts is the net amount; the net amount times the tax rate is the tax amount; and net plus taxes plus charges minus withholdings is the total. The three checks follow that structure.

A mismatch warning warns, it does not block. Some invoices do not balance because the supplier issued them that way, and checking against the original document is what decides. The most frequent causes are a charge added at the foot that was not read, such as shipping or packaging, a global discount applied after taxes, a withholding not captured or the equivalence surcharge.

  • Net plus taxes equals the total. If it fails, look at the foot of the invoice: charges, global discounts and withholdings.
  • The sum of the lines equals the net amount. If it fails, a line is missing or was read with a zero amount.
  • The sum of the tax amounts equals the total tax. If it fails, the VAT breakdown has one rate too many or too few.
  • Duplicates. Another invoice from the same supplier with the same number and the same date. The amount is deliberately left out of the check.

How Dijit extracts the data from an invoice

Dijit reads supplier invoices with specialised OCR and generative AI, checks them and shows them to you with the original alongside.

Dijit screen with a read invoice: header, amounts, VAT breakdown and account coding, with the original document alongside
  • PDF, scan or photo. Up to 99% accuracy on good-quality PDFs or images. What reads best is the PDF generated by the supplier, because the text is already inside it.
  • The original alongside. The data and the image of the invoice on the same screen. Fields that are missing or do not balance are highlighted.
  • Rules per supplier. If a supplier prints the price per case, the discount in euros or two values in one box, you tell Dijit AI and it creates the rule. Their next invoices arrive corrected.
  • Several pages, one invoice. The pages of the same invoice are merged into one document. If a PDF contains several invoices, each one goes separately.
  • What is not there is not made up. A piece of data that is not stated or cannot be read leaves the field empty and the invoice flagged. You approve, one by one or in bulk.
  • It learns from history. Accounts are assigned based on what was done before with that supplier. The review in the sixth month is lighter than in the first.
After extraction

The nominal code and the transfer to your software

Extracting the data is half the job. The other half is getting it into your software with the accounts set.

Expense and supplier account

The expense account comes from the supplier's record and the supplier account is one sub-account per supplier. They are defined once and applied on their own.

VAT, withholding and transaction type

The sub-account for each VAT rate, the withholding account and the transaction type, which the supplier's record remembers for the next ones.

To your software

a3, Contasol, Holded, Factusol, Cegid DIEZ, Aplifisa, Monitor Informática, SAP Business One, Business Central and more. Each destination with the fields it requires.

Custom Excel and API

If your software is not on the list, you download the data in an Excel file with your columns or receive it by API in your own system.

Ways invoices come in

Four ways in, and the reading, extraction, validation and coding process is the same for all four.

Email

You connect the account where invoices already arrive and choose the folder Dijit checks. The attachments of incoming emails are processed on their own.

Dropbox folder

You authorise your Dropbox and choose a folder. Whatever is placed in it is processed at the next sync.

Web and mobile app

PDFs, images and ZIP files, one at a time or many at once, with page selection. From your phone, the photo of the paper invoice.

API

From a supplier portal, a document manager or your own development. It is the route for high, steady volumes.

Frequently asked questions

What data is extracted from an invoice?

From the header: supplier with VAT number and address, receiving company, invoice number, date and purchase order number if stated. From the amounts: net amount, discounts, the VAT for each rate with its base and amount, the equivalence surcharge, the withholding, additional charges and the total. From the payment: method, terms and due date. And from each line: item, quantity, unit price, discounts and tax.

How accurate is invoice data extraction?

99% accuracy on good-quality PDFs or images, in under 3 seconds per page for files under 3 MB. What reads best is the PDF generated by the supplier's system, because the text is already inside it. A clean scan reads well. A photo depends on framing, light and shadows.

Do I need a template for each supplier?

No. OCR turns the image into text and generative AI works out what each piece of data is: which text is the supplier, which is the date, which is the net amount. That is why it does not need to know in advance where each supplier prints its data.

What happens if a piece of data is not on the invoice?

The field is left empty and the invoice is flagged for review. Dijit does not fill in data that is not on the document, nor does it decide for you: it checks, flags, and approval is always by a person.

How is a duplicate invoice detected?

When another invoice from the same supplier has the same number and the same date. The amount is not part of the check, so that two readings of the same invoice with different amounts are flagged just the same. Neither is deleted on its own: you decide which one to keep.

Does it read multi-page invoices?

Yes. The pages of the same invoice are merged into one document, with the automatic merging that is switched on by default when uploading. If a PDF contains several different invoices, each page is processed as a separate document.

Where does the extracted data go?

To your management or accounting software, with the nominal code set: a3, Contasol, Holded, Factusol, Cegid DIEZ, Monitor Informática, SAP Business One, Business Central and more. If your software is not on the list, you download them in an Excel file in your format or connect them through the API.

How much does extracting invoice data with Dijit cost?

The trial is free: 14 days and 20 credits. One credit is one page. The entry plan costs €40 a month for 100 credits, with no commitment.

Free trial

Try data extraction with your invoices

14 days and 20 credits. No card, no commitment and nothing to install.

Would you rather see it with your invoices in front of you? Request a demo.

Two people from the admin team go over a paper supplier invoice together