Before automating invoice processing, put a posted invoice next to the file that came in. Who checked that the supplier was right, the goods or service had been received and the invoice reached accounts only once? Those are the decisions the workflow needs to support. Reading the total correctly settles none of them.

Open the file before choosing OCR

A structured e-invoice already contains machine-readable invoice data. An XRechnung can be processed directly from XML. A suitable ZUGFeRD invoice also contains a structured part. Parse and validate those values directly. Putting an image of the invoice through OCR introduces a chance of error where the original values are already available.

A scan or an ordinary PDF without suitable structured data poses a different problem. The supplier, invoice number, line items and amounts must first be recognised and matched. OCR can help. If a digit is illegible, send that field for review. A syntactically valid XML file can contain an incorrect invoice just as easily as a clear scan can.

In Germany, tax treatment depends on the invoice format and the facts of the transaction. The Federal Ministry of Finance explains e-invoicing and the transitional rules. The choice of software doesn't settle input VAT eligibility. Retention arrangements need to cover the structured part of an e-invoice in particular (Federal Ministry of Finance FAQ, checked on 29 November 2026).

Keep the original and the interpretation distinguishable

After intake, a reviewer should be able to tell what the document said and what the system made of it. A supplier may appear under a full company name while the correct supplier account has an internal number. It should still be possible to follow that match if someone later changes the spelling of the name.

Give accounts an invoice with an unusual spelling. Can they see why the system suggested that supplier? Can they inspect the original and change the match before anything is posted? Those are more useful acceptance tests than the number of fields extracted.

Which checks can follow a rule?

Two suppliers can issue invoices with the same number. The same invoice can also arrive once as structured data and again as a PDF. Duplicate checks need characteristics of the business transaction. A filename or a hash of one file isn't enough.

Use explicit rules where dependable data is available. Do the line amounts reconcile to the total within the relevant tolerance? Does the referenced order exist? Is the bank account different from the supplier details already approved? Flag discrepancies for the right person. An easily readable document gives you no reason on its own to accept a new bank account.

Give exceptions an owner

A missing order line might mean that the goods will follow later. The same discrepancy could indicate an incorrect invoice. Purchasing is better placed to settle that question than an OCR engine. Put the original, the proposed match and the reason for review together. The person responsible needs a way to correct, return or approve the document.

For entsorgo, we built document preparation with OCR, structured checks and human approval before handoff. entsorgo and DUNA belong to the same group of companies. When designing your own workflow, look closely at that handover. Which parts has the system prepared, and who is entitled to turn the proposal into an approved invoice?

Accounts may have posted it even if the reply never arrived

Test what happens if the response from the ERP is interrupted. The receiving system might already have accepted the document while the sender is still waiting for confirmation. Creating the invoice again is an expensive way to find out which happened.

Agree with accounts how to recognise a transfer that has already succeeded. Can the receiving system identify a processed transaction? Is there a reference that lets somebody look it up? Once that case is understood, a retry can be useful. This is part of designing the connection between intake and the ERP.

Existing software or a custom connection?

Try one structured invoice, a scan and an invoice with a business discrepancy in the current accounting system. If the team can already process each one with a clear approval record, it may not need another tool. Where the exception lives in a company-specific purchasing process, a custom integration can fill that gap while posting stays in the accounting software.

Include awkward documents in the pilot. Record the time spent on corrections and follow-up questions and see whether the business team can resolve them without a developer. Deciding when to use a rule or an AI agent is a different question from finding information in company documents.

Questions from accounts

Does every incoming invoice need OCR?

No. Suitable structured data can be processed directly. OCR helps where the relevant information first needs to be read from an image or scan.

Can a formally valid invoice be approved automatically?

Technical validation confirms the formal properties that were checked. Supplier identity, the order, delivery, duplicates and business approval each need appropriate checks and someone responsible for the decision.

Which document should we bring to the first discussion?

Choose an anonymised invoice that regularly needs clarification. Ask purchasing and accounts to trace the decisions all the way through to handoff.

That gives you something concrete to assess for an AI workflow. Discuss the process