Building with AI

What is document AI?

In short

Document AI is the use of AI to read documents such as invoices, contracts, forms and receipts, understand their content and pull out the information needed, so it can go straight into business systems without manual typing.

Older OCR could turn a scan into text but did not understand it. Today's multimodal AI models read the layout, tables and handwriting, and know that 'Att betala' and 'Total due' mean the same thing. They can also summarize, compare and check documents against rules.

Mini course

3 short lessons, about 2 minutes in total

  1. From paper to data
  2. More than extraction
  3. Getting started

Lesson 1

From paper to data

A huge amount of business information arrives as documents: PDFs by email, scans, photos. Someone reads them and types the important parts into a system. Document AI does that reading. It finds the fields, such as supplier, date, amount, VAT and order number, and outputs them in a structured form.

Document AI reads scans, PDFs and photos, pulls out the fields you need and passes them to your systems as clean data

Tap a box to open that concept

The documents do not need to follow one template, because the model understands content, not just position.

Lesson 2

More than extraction

Beyond pulling out fields, document AI can classify incoming documents, compare a contract with your standard terms, check that an invoice matches the order and delivery, and summarize a 50-page tender into the points that matter.

Combined with a workflow, it can route each document to the right person with a suggested action.

Lesson 3

Getting started

Pick one document type with high volume and clear fields, such as supplier invoices. Collect 50 real examples, including bad scans. Test, measure how many fields are right, and set a confidence level below which a person checks. Many accounting and ERP systems already offer this, so check before building.

  1. Customers find youHow customers and AI tools find the companySEOGEOGoogle AI Overviews
  2. AI in daily workTools staff and customers useDocument AIChatbotAI copilotVoice AI
  3. Building blocksHow AI connects to data and systemsRAG (retrieval-augmented generation)AI agentMCP (Model Context Protocol)
  4. AI modelsThe models that understand and createLarge language model (LLM)Generative AIMachine learning
  5. DataCompany data, gathered and cleanedData warehouseETLData quality
  6. InfrastructureCloud, networks and systems underneathCloud computingDatabaseAPI key
Trust and rulesSecurity, law and control in every layerGDPR and AIEU AI ActAI guardrails
Where Document AI sits in a company's AI setup

Measure time per document before and after.

An everyday example

A construction company photographs delivery notes on site. Document AI reads supplier, items and quantities, matches them with the order and flags anything missing.

How companies use it

Companies use document AI for supplier invoices, contract review, insurance claims, customs papers, CVs and any process where people today retype information from documents.

Frequently asked questions

How accurate is document AI?

Very accurate on clear, common documents. Let it flag low-confidence fields for a person to check.

Does it handle handwriting and photos?

Modern models handle most photos and neat handwriting. Test with your own worst examples.

Is it safe for contracts and personal data?

Use business plans with EU data storage and no training on your data, and limit who can see the results.

In depth: Document AI

The full picture, about 4 minutes of reading

From documents to usable data

Document AI is the use of AI to read documents such as invoices, contracts, forms, delivery notes and receipts, understand what they say and pull out the information that is needed. The result is structured data, such as supplier, date, amount and order number in separate fields, that can go straight into an accounting system, an ERP (the system that runs orders, stock and purchasing) or a spreadsheet.

A lot of business information still arrives as documents: PDFs by email, scans, phone photos, attachments in every format. Someone reads each one and types the important parts into a system. Document AI does the reading, so people only handle the parts that need judgment.

Why older tools were not enough

Scanning software has been able to turn a picture of text into actual text for decades. That technology is called OCR, short for optical character recognition. But OCR only knows letters, not meaning. It could tell you which words were on the page, not which number was the total or which date was the due date.

The usual fix was templates: someone told the software that on invoices from supplier A, the total sits in the lower right corner. That broke whenever a supplier changed layout, and every new supplier needed a new template. Today's multimodal AI models, models that understand both images and text, read a document more like a person. They see the layout, the tables and the handwriting, and they know that "Att betala", "Amount due" and "Total" mean the same thing.

How it works, step by step

First, the document comes in, from an inbox, a scanner, an upload or a phone camera. If it is an image, the model reads the text and its position on the page. Second, the system classifies it: is this an invoice, a credit note, a contract, a delivery note?

Third, it extracts the fields you have asked for, such as supplier name, organization number, invoice date, due date, amounts with and without VAT, order reference and each line item. Fourth, it checks the results: do the line items add up to the total, does the order number exist, does the bank account match the supplier's known details?

Finally, it scores how sure it is about each field. Fields with high confidence flow on automatically. Fields with low confidence, or documents that fail a check, go to a person, who sees the original next to the extracted values and fixes them with a few clicks.

More than pulling out fields

Once a model understands documents, it can do more than copy fields. It can compare a contract with your standard terms and list the clauses that differ. It can check that an invoice matches the order and the delivery note, and flag anything that was billed but not delivered. It can summarize a long tender into the requirements and deadlines that matter, or sort incoming mail to the right person with a suggested action.

These uses save even more time than extraction, but they also need more care. A summary can leave out an important condition, and a comparison can miss a clause that is worded in an unusual way. For legal and financial decisions, the AI's output should support a person's review, not replace it.

Where it goes wrong

Accuracy is high on clear, common documents and drops on poor scans, crumpled photos, unusual layouts and messy handwriting. The risk is not that the AI fails loudly, but that it gives a plausible wrong value, such as reading an 8 as a 3. That is why the confidence scores and automatic checks matter so much, and why the first weeks of any project should include checking results by hand.

Documents also carry sensitive content: personal data in CVs and claims, prices and terms in contracts. Use business plans with clear data terms, preferably with storage in the EU and no training on your data, and limit who can see the extracted results.

What it means for a small business

For a small business, document AI is often one of the clearest AI wins, because the work it replaces is easy to measure. Pick one document type with high volume and clear fields, such as supplier invoices or delivery notes. Collect a set of real examples, including the worst scans you have. Test how many fields come out right, and set a level below which a person checks.

Before building anything, check what your current systems already offer. Many accounting and ERP systems now include invoice reading. Measure the time per document before and after, and keep a person in the loop for anything that leads to a payment.

Curious what this could mean for your company? Book a call.

Book a call