O&O ConsultingBook a free call

Home / Insights / AI in Practice

Intelligent Document Processing: From Paper to Data

Reading invoices, forms and contracts with AI, and building checks that keep records accurate.

O&O Consulting · · 2 min read

Business documents awaiting processing

Much business information arrives as documents rather than data. Retyping it is slow and error-prone.

Beyond optical character recognition

Optical character recognition turns images into text. Understanding a form also requires layout: a number means something different next to "subtotal" than next to "invoice no.". Models such as LayoutLM learn from text, position and image together. Large multimodal models can now be asked for specific fields directly.

A document processing pipelineIllustrative diagram, not data
Scan or receive the documentRecognise text and layoutExtract the fieldsValidate against rulesPerson reviews exceptions
Scan or receive the documentRecognise text and layoutExtract the fieldsValidate against rulesPerson reviews exceptions

Diagram by O&O Consulting.

Validation

Extraction is a prediction and will sometimes be wrong. Documents offer built-in checks:

  • line items should add to the subtotal;
  • tax should match the stated rate;
  • dates should be plausible;
  • supplier numbers should exist in your records;
  • an invoice should not already have been paid.

Human review

Route low-confidence or rule-breaking cases to a person, showing the original beside the extracted values. Set the threshold by measuring error at different levels. A model's stated confidence may be poorly calibrated, so verify it against checked samples.

Measuring success

Count the share of documents processed with no human touch and, separately, the error rate among those. A high automation rate with undetected errors is worse than a lower rate that is trustworthy.

Fraud and security

Automated payment processes attract fraud. Verify changes to bank details through a separate channel, keep approval limits and log who approved what. Treat text within a document as data, never as instructions to the system.

Limitations and open questions

Handwriting, poor scans, unusual layouts and mixed languages remain harder. Generative models may "complete" a missing value with a plausible one, so require them to report absence, and check that they do. Personal information in documents must be stored and retained according to applicable law.

References

This article is general information, not financial, legal or investment advice. AI research and rules change quickly; check the cited sources for the current position.