Start / Blog / Document management / Intelligent & Automated Document Processing

Intelligent & Automated Document Processing

Summarize with ChatGPT

Invoices, delivery slips, contracts, applications: In most companies, the document contains the information, and a person enters it into the system. Automated document processing takes over this step. It reads an incoming document, identifies its type, extracts the relevant fields, and transfers them in a structured format to the target system.

The requirement is old, but the urgency is new. As of January 1, 2025, every domestic company must be able to receive e-invoices from other domestic companies; this is governed by the Revised Section 14 of the Value-Added Tax Act (UStG). For the issuance, the transition periods of the § 27, paragraph 38 of the Value-Added Tax Act (UStG): Effective January 1, 2027, this requirement applies to companies with total revenue exceeding 800,000 euros in the previous year; effective January 1, 2028, it applies to all other companies.

Small business owners remain permanently exempt from the obligation to issue receipts under § 19 of the Value-Added Tax Act (UStG), as provided in § 34a UStDV, as well as small invoices up to 250 euros and tickets. Small business owners are still required to receive e-invoices. The Frequently Asked Questions from the Federal Ministry of Finance answers the specific questions.

Anyone who receives incoming documents in machine-readable format anyway is bound to ask why the rest of the incoming mail is still being entered manually.

What Automated Document Processing Can Do

The term is often associated with traditional OCR technology is equated with, but actually means much more. Optical Character Recognition converts pixels into characters. It answers the question of what text is on the page, not the question of what it means.

Automated document processing builds on this. It assigns the document to a category, identifies the relevant business values, and checks them against rules and master data. Whether someone refers to “automatic” or “automated” document processing is simply a matter of terminology; there is no technical distinction behind it. In technical terminology, this field is known as Intelligent Document Processing. IDP Software It combines image recognition, layout analysis, and language models to do this.

This approach differs fundamentally from robotic process automation (RPA). RPA operates on existing user interfaces according to fixed rules and fails as soon as an input changes unexpectedly. Document processing with machine learning is designed to handle precisely this kind of variation: it recognizes an invoice date even when it appears in an unusual location.

The Processing Chain

Digital document processing goes through the same four stages in every implementation: capture, classification, extraction, and verification. The process begins with capture. Documents arrive as PDFs, scans, photos, or email attachments; structured formats such as XRechnung already provide the data in a machine-readable format and bypass the text recognition step. For image data, preprocessing determines all subsequent steps. Skew is corrected, contrast is enhanced, and multi-page batches are separated into individual transactions.

This is followed by the automatic document classification. The system determines whether the document is an invoice, a delivery note, or a termination notice, because the document type is what determines which fields are actually searched for. For an invoice, these are the invoice number, date, tax amounts, and line items; for a contract, they are the term, notice period, and contracting parties.

The Data extraction extracts these values. Modern methods do not rely on fixed coordinates; instead, they analyze text, position, and layout together. As a result, a model works even with suppliers whose invoice layout it has never seen before.

Each extracted value is assigned a confidence score—that is, the probability that the model considers its own output to be correct. This value drives the final step. The automated document verification process compares the extracted values against master data, purchase orders, and calculation rules—such as verifying that the total of the line items matches the invoice amount. If the confidence level exceeds the defined threshold and these checks are passed, the process runs through automatically without any further action. Otherwise, it is sent for manual review. Any corrections made there are fed back into the model as training data.

Why Automation Fails in Practice

Technology rarely fails in a spectacular way. It fails because of details—and almost always the same four.

Document Quality makes decisions faster than any model. A delivery note photographed with a smartphone—complete with creases and shadows—yields poorer results than a digitally generated PDF. Where input channels can be controlled, switching to structured formats is more effective than any model optimization.

Layout Variation This affects companies with many small suppliers more severely than those with just a few large ones. Ten suppliers with consistent invoice formats can be automated more quickly than a thousand, each with its own unique structure.

Technical Exceptions are the real cost drivers. Partial deliveries, credit memos, invoices in foreign currencies, or invoices addressed to different recipients are technically correct but rare. That is precisely why the model lacks training examples, and that is precisely why these cases end up being processed manually.

Incorrectly Set Thresholds costs on both sides. A confidence threshold that is too high sends correctly recognized documents to review, thereby negating the benefits of automation. A threshold that is too low allows errors to slip through, which are only noticed later in the accounting system. Correcting errors there is more expensive because it involves reversing a transaction that has already been posted rather than resolving an open transaction.

How to Measure the Level of Automation

The key metric is the Dark Processing Rate, that is, the percentage of processes that are completed entirely without manual intervention. It is more meaningful than any detection rate because it reflects the actual effort involved.

When it comes to accuracy, it’s worth making a distinction that is often overlooked in vendors’ specifications. Field accuracy measures how many individual values were correctly recognized. Document accuracy measures how many documents are completely error-free.

The difference is significant. With twelve fields per invoice and a field accuracy of 98 percent, mathematically only 78 percent of the invoices are completely error-free, because the probabilities of a match multiply across all fields: 0.98 to the power of 12 equals 0.78. That means roughly one in five invoices needs to be reviewed.

This model assumes that errors are independent of one another. In practice, errors tend to cluster on the same flawed documents, so the actual document accuracy is usually higher than the calculated value. Document accuracy is what matters for the process because a single incorrect value sends the entire transaction to post-processing.

Caution is advised when interpreting accuracy figures from benchmarks. Public datasets such as CORD or FUNSD measure field extraction under laboratory conditions using curated material. The values obtained there say little about your own incoming mail, whose mix of documents and quality may differ.

Equally important is the distinction between recognition errors and verification errors. A system that flags an uncertain value as uncertain is behaving correctly. The critical cases are values that are recognized incorrectly yet are still reported with high confidence, because only these slip through the checks unnoticed.

What the legal framework requires

Tax-related documents are subject to the principles governing the proper maintenance and retention of records, known as GoBD for short. The Federal Ministry of Finance has issued them with Letter dated March 11, 2024 Revised; this version has been in effect since April 1, 2024.

This gives rise to two specific requirements for automated processing. First, the principle of immutability: Subsequent changes must be logged, and the original content must remain identifiable. A correction made during post-processing must not, therefore, overwrite the machine-recognized value without leaving a trace. Second, the process documentation, which describes how documents are captured, processed, and stored. Anyone who automates extraction and verification must also document this part of the process.

In the case of e-invoices, the format is also a factor. An e-invoice is defined as a structured electronic format in accordance with EU Directive 2014/55/EU and, consequently, with the CEN standard EN 16931. In addition, formats agreed upon between the contracting parties remain permissible, provided they represent the required information in an interoperable manner. A PDF sent via email does not meet this definition.

In Germany, set ZUGFeRD and XRechnung the standard, with ZUGFeRD embedding the structured data into a PDF and XRechnung using a pure XML format. For ZUGFeRD, all profiles starting with version 2.0.1 comply with the standard, with the exception of MINIMUM and BASIC-WL: These two do not represent a complete invoice and are therefore not considered e-invoices for sales tax purposes. The decisive factor is the Administrative Interpretation by the Federal Ministry of Finance.

Personal data contained in documents is also subject to the GDPR. This applies to both the location of processing and retention periods, and it is the reason why regulated industries require operations to be conducted on their own servers.

When the implementation pays off

Three factors are decisive, and they can be determined in advance.

The Volume sets the lower limit. As long as a staff member handles incoming documents on the side, no project bears its setup costs. The benefit increases with volume because setup is a one-time cost, whereas data entry is performed for each document.

The Variance determines the amount of effort required. A narrow document type with a consistent structure can be made productive quickly, because only a few examples are needed for training. An inbox with thirty document types and an open group of senders is a project.

The Process Depth determines the actual output. Extraction alone saves typing work. Only when the data flows into the downstream process—for example, into a Digital Invoice Approval, the manual step really does disappear. Anyone who simply extracts the data and then passes the values along manually is just shifting the work around instead of eliminating it.

Conclusion

Automated document processing is not a single product, but rather a chain of processes consisting of capture, classification, extraction, and verification. Its success depends less on the model itself than on the underlying conditions: the quality of the input channels, the number of document types, appropriately set thresholds, and whether the extracted data actually reaches the subsequent process.

Regulatory developments are making the decision easier in some respects. Those who will have to issue and process structured invoices by 2028 anyway can take a comprehensive look at their incoming mail right away.

Did you find this page helpful?

Thank you for your feedback!

Would you give me feedback? (anonymous)

We develop AI software for companies and deliberately avoid annoying advertising banners. Through our articles, we document topics that occupy and interest us and also finance our daily bread.

As our content is free of charge, your feedback is our praise.

Each author reads your anonymous feedback personally, although AI could automate it, and integrates constructive suggestions directly into the next revision or uses it as inspiration for the next article.



    </article
    • Christopher Klee
      (Author)

      Editor in the field of knowledge transfer; former banker and former professional handball player.

    en_USEN