Document AI

Document automation fails at the exceptions, not the extraction

Pulling fields out of a document is close to a commodity. Deciding what happens when the system is not sure is where projects stall.

Open Dimension AI7 min read

What is document automation and how does it work?

Document automation is software that reads, generates or routes documents without a person retyping them. In practice it means three separable jobs: classify the document, extract the fields, then decide what happens when confidence is low. The third job, not the extraction, determines whether the system is worth running.

The short version

  • Document automation is three jobs that fail independently: classifying the document, extracting the fields, and handling the cases the system is not sure about.
  • Extraction accuracy on a sample somebody emailed you tells you almost nothing about accuracy on real intake.
  • A system with no confidence threshold and no review queue converts a visible manual cost into an invisible error rate.
  • Legal document automation splits into assembly, which is template logic, and review, which is extraction. The two need different tools.
  • The unit worth scoping is one document type with one measurable output, not 'all our documents'.

What does document automation actually do?

It moves information out of documents and into systems, or the other way round, without a person retyping it. That one phrase covers three jobs which fail independently: work out what the document is, pull out the values you need, and decide what happens to the cases the system is not sure about. Most teams buy the second job and inherit the other two.

Classification is the cheapest to get right and the most often skipped. Real intake does not arrive as one tidy document per file. It arrives as a 40-page PDF holding four documents, a phone photo of a page, a scan that is upside down, or an email where the content is in the body and the attachment is a signature image. If the system cannot say what it is looking at, everything downstream is guessing.

Extraction is the part that has improved most. Vision capable models read layouts that template and zonal OCR could never handle, which is why AI document automation works on documents that defeated the previous generation of document automation tools. That gain is real. It also lands almost entirely in the easy majority of your documents.

Why does extraction accuracy on a sample mislead you?

Because the sample is clean and real intake is not. Test documents are the ones somebody could find and email you, which selects for legible, complete, recent and typical. Nobody sends the 300-page appendix, the supplier who changed their invoice layout in March, or the form a customer filled in using a different date format.

A single accuracy figure is also the wrong shape. Per-field accuracy of ninety-five per cent, spread across twenty fields, means the average document carries a wrong value somewhere in it. What matters is accuracy on the few fields that drive a decision, measured separately, on intake you did not curate.

Accuracy is worth less than detectability. A system that is wrong and flags itself is useful. A system that is wrong and confident is worse than the manual process it replaced, because the manual process had somebody in it who occasionally noticed that a number looked odd.

What should a document automation system do when it is not sure?

Stop and ask a person. The confidence threshold, and the queue sitting behind it, is the design decision that separates a document automation solution people keep using from one that gets quietly switched off six months in.

Give every document one of three outcomes: accepted straight through, sent for review, rejected back to the sender. Each outcome needs an owner, a service level and a place in somebody's working day. A review queue nobody owns is just a second inbox, and it will grow until the team routes around the system entirely.

Then measure straight-through rate rather than accuracy. Six documents in ten completing untouched, at an error rate you agreed in advance to accept, is a working system. Near-perfect accuracy on a report, with no way to see which documents went wrong, is a liability that takes a year to surface.

How is legal document automation software different?

Because legal work splits the problem cleanly in two, and the halves need different tools. Document assembly, generating an agreement from a template and a set of answers, is mostly deterministic logic. Document review, pulling obligations, dates and liabilities out of agreements somebody else drafted, is extraction where being wrong is expensive.

Assembly barely needs a model. It needs a clause library, conditional logic, version control and an approval path. A language model helps at the edges, drafting a variant clause or summarising what changed between two drafts, but you do not want generated values inside a document that gets executed. The deterministic path is the feature here, not a limitation.

Review is where legal document automation software earns its cost, and it carries one non-negotiable requirement: every extracted value links back to the clause and page it came from. A reviewer checking an obligation should reach the source in one click. Extraction without provenance moves the work rather than reducing it, because somebody still has to open the contract to be sure.

Surveys of legal, tax and compliance professionals find that firms with an AI strategy are twice as likely to see AI-driven revenue growth, which is a finding about having a plan rather than about any particular tool. The hours saving quoted from the same survey is respondents' own prediction for the year ahead, not measured savings, and it is worth saying so when somebody quotes it back at you.

Which documents should you automate first?

The one with the highest volume, the most stable format and a number attached to its output. 'All our documents' is not a project, it is a budget line with no end state. One document type with one measurable downstream output is a project you can finish and then judge.

Mandated paperwork is often the honest first candidate, because the volume is not optional and the format rarely changes. US small business owners report spending more time and money on regulatory compliance. A 2017 analysis of federal paperwork collections found that the 74 largest collections falling on small private businesses accounted for roughly 3.3 billion hours of reported burden, spread across about 8.9 million US businesses with fewer than 50 employees. That figure is old, and it is an estimate of reporting burden rather than time anyone observed, but the shape of it is not controversial: a great many hours go into forms that look the same every time.

Scope at the level of the task, not the department. Nationally representative surveys of US firms now measure AI use at the level of business functions and individual worker tasks, which is also the resolution at which document automation succeeds or fails. 'Automate the finance team' has no success criterion. 'Code and post supplier invoices that arrive in a layout we have seen before, without a person opening them' has one.

Should you buy a document automation tool or build one?

Buy for documents the whole world has. Build for documents only you have. Invoices, receipts, identity documents and standard tax forms are commodity problems: vendors have seen millions of them and you will not match their coverage or their price. Your intake pack, your claim bundle, your lender's particular schedule of conditions: nobody has trained on those, and no amount of configuration teaches a generic extractor your business rules.

Most working deployments are both. A bought extractor for the standard formats, and a built layer for classification, routing, business rules, the review interface and the write-back into whatever system of record you actually use. The built layer is where the project time goes, and it is the part nobody demos.

Be realistic about who maintains it afterwards. The ongoing work is not the model, it is the plumbing: a supplier changes a layout, a regulator changes a form, volume triples in January, an auditor wants a trail. Hiring for that is not easy. Enterprises across the EU report ICT specialist vacancies as hard to fill, and US small businesses describe a readiness gap between their interest in AI and their preparedness to run it. Decide up front whether maintenance sits with a vendor, an internal team or an external one, because the system will want attention within weeks of going live, not years.

What to settle before you start

  • Which single document type, and how many of them arrive a month?
  • Which fields actually change a decision, and what is the cost of one being wrong?
  • Who owns the review queue, and what is the service level on it?
  • What straight-through rate would make this worth keeping, agreed before the trial rather than after?
  • Where does the extracted data land, and can it be written back without a person in the middle?
  • Who fixes it the week a supplier changes their layout?

Questions people ask

What is the difference between document automation and OCR?

OCR turns pixels into characters. Document automation decides what those characters mean, where they go, and what happens when the reading is doubtful. OCR is one component, and on clean print it has been good for years. What remains is classification, field mapping, confidence handling and the review queue. Buying an OCR engine and calling it automation leaves all four to you.

How accurate does document extraction need to be?

More accurate than the fields that drive a decision require, and honest about the rest. One accuracy number across twenty fields hides the two that matter. Set a target per field, measure it on unfiltered real intake rather than a curated sample, and route anything below the threshold to a person. A detectable error beats a slightly lower error rate that nobody can see.

Do we need a document automation tool or a custom build?

Buy for documents the whole world has: invoices, receipts, identity documents, standard tax forms. Vendors have seen millions of those. Build when the document is specific to you or your sector, when the output has to land inside your own systems, or when the review step is the actual product. Most real deployments end up being both, with the built part taking the time.

Can document automation run without sending documents to a third party?

Yes, with trade-offs. Smaller open models can be hosted in your own environment and handle extraction on stable formats. Frontier models read messy documents better. If a contract or a regulator forbids sending content to an external service, the honest answer is that you accept a lower straight-through rate and a longer review queue, not that quality is unaffected.

How do we know whether it worked?

Pick the measure before you start. The useful one is straight-through rate: the share of documents that complete without a person touching them, at an error rate you have agreed is acceptable. Measure it across a full month of real intake. Time saved per document is a weaker measure, because it is almost always estimated rather than observed.

How long before a document automation project shows anything?

Weeks for a prototype on a single document type, longer for anything you would leave unattended. The prototype tells you whether extraction works on your documents. It does not tell you the exception rate, and that number only appears once real intake runs through it. Plan for a review-heavy first phase and a threshold you raise as evidence arrives.

Related on this site

Sources

  1. The Microstructure of AI Diffusion: Evidence from Firms, Business Functions, and Worker Tasks, Nationally representative survey of US firms: the 2026 AI supplement to the Census Bureau's Business Trends and Outlook Survey, measuring AI use at firm, business-function and worker-task level · U.S. Census Bureau (Center for Economic Studies), using the Business Trends and Outlook Survey AI supplement, data from 2025-2026 (BTOS AI supplement reference period November 2025 - January 2026)
  2. ICT specialists - statistics on hard-to-fill vacancies in enterprises, EU ICT usage and e-commerce in enterprises survey; about 157,000 of 1.54 million EU enterprises with 10 or more employees surveyed by national statistical authorities in the first months of 2024; small = 10-49 employees, large = 250+ · Eurostat, data from 2024
  3. Small Businesses Are Spending More Time, Money on Regulatory Compliance, Online survey in English by Ipsos of 750 US small business owners and operators aged 18+ from the continental US, Alaska and Hawaii; credibility interval plus or minus 4.4 percentage points · MetLife and U.S. Chamber of Commerce Small Business Index (fieldwork by Ipsos), data from 2024 (Q4 fieldwork, 7-21 October 2024)
  4. Red Tape Burdens on Small Businesses, AAF analysis of reginfo.gov Paperwork Reduction Act data: the 74 largest active federal paperwork collections on small private businesses (1 million hours or more each), totalling 3.3 billion hours, spread across the roughly 8.9 million US businesses with fewer than 50 employees · American Action Forum, data from 2017
  5. The AI Adoption Reality Check: Firms with AI Strategies are Twice as Likely to see AI-driven Revenue Growth; Those Without Risk Falling Behind, Online survey of 2,275 professionals worldwide in legal, tax, trade, accounting and risk and compliance, at firms, corporations and government agencies; the hours figure is respondents' own prediction for the coming year, not measured savings · Thomson Reuters Institute, data from 2025 (fieldwork February-March 2025)
  6. U.S. small businesses face critical AI ‘readiness gap’, new Xero research finds, Online survey of 1,100 small business owners or financial decision makers globally, including 300 in the US, weighted by employee size; conducted by One Picture for Xero · Xero (research conducted for Xero by One Picture), data from 2025 (fieldwork 16 July to 7 August 2025)

Want someone to look at your workflow?

Thirty minutes, and we will tell you whether there is anything here worth building. Roughly half of these end with us saying not yet.

Book a 30 minute call