Automating Invoice and Document Processing with AI
Retyping data from PDFs is one of the most common and most automatable forms of office work. Here's how document automation actually works, what accuracy to expect, and how to build it so the exceptions get caught.
If you want a single, concrete place to start with automation, this is usually it. Almost every business has someone — often several someones — opening PDFs and typing what they see into another system. Invoices, purchase orders, delivery dockets, timesheets, remittance advices, application forms, certificates of currency.
It's high volume, it's tedious, it's error-prone, and until fairly recently it was genuinely hard to automate. That's changed, and the payback is usually measured in months.
Why this was hard before
Traditional OCR could read text off a page, but it couldn't understand the page. Older document automation worked with templates: you told the software that the invoice total lived in a box 40mm from the top and 120mm from the left, and it worked beautifully — until a supplier changed their layout, or you onboarded a new supplier, or someone photographed a document at a slight angle.
Maintaining templates for a few hundred suppliers was its own full-time job. That's why so many of these projects were quietly abandoned.
Modern models read documents the way a person does: they find the total because they understand what a total is, not because they were told where to look. Layout changes stop mattering. New suppliers work on day one without configuration.
What a good pipeline looks like
A production-grade document automation isn't one big AI step. It's a sequence, and most of the reliability comes from the unglamorous parts around the model.
1. Ingestion. Documents arrive from a monitored inbox, a scanner, a supplier portal, or a folder. Each one gets an identifier immediately so it can be traced end to end.
2. Classification. What kind of document is this? Invoice, credit note, statement, or something that shouldn't be in this pipeline at all. Getting this wrong early poisons everything downstream, so it's worth treating as its own step.
3. Extraction. Pull the fields you care about — supplier, ABN, invoice number, date, line items, GST, total. A well-designed extraction step also returns a confidence signal and, ideally, a reference to where on the page each value came from.
4. Validation. This is where reliability actually comes from, and it's ordinary code, not AI. Do the line items sum to the subtotal? Does the GST calculate correctly? Does the ABN exist and match a known supplier? Does the invoice number already exist in your system? Does it match an open purchase order?
5. Routing. Clean documents that pass every check post straight through. Anything that fails a check, or where confidence is low, goes to a review queue with the problem highlighted.
6. Human review. A person sees the document and the extracted values side by side, fixes what's wrong, and approves. This should take seconds, not minutes.
7. Posting and archival. The result lands in your accounting or ERP system, and the original is archived against the record.
The critical insight is step 4. AI extraction plus arithmetic validation is far more reliable than either alone. The model reads the messy document; deterministic rules catch the mistakes. You don't need the model to be perfect — you need to know when it wasn't.
What accuracy to expect
Straight answers, because vendors are often vague here:
- Field-level accuracy on clean, typed PDFs is typically 95–99% for standard fields like totals, dates and invoice numbers.
- Line-item extraction is harder — multi-page tables, wrapped descriptions, odd column layouts. Expect somewhat lower, and validate aggressively.
- Scanned and photographed documents are noticeably worse than native PDFs. Image quality is the single biggest variable you control.
- Straight-through processing rate — the proportion needing no human touch — usually starts around 60–75% and climbs to 85–95% as you tune validation rules and learn your common exceptions.
That last number is the one that matters commercially. If 90% of invoices post without anyone looking at them, your team's workload on this task has dropped by an order of magnitude even though a human still reviews the remainder.
Aim for a high straight-through rate with reliable exception detection, not for perfect extraction. The goal is to stop humans reviewing the obvious ones.
Designing the review step properly
The review queue makes or breaks adoption, and it's routinely under-designed.
Good review screens:
- Show the document and the extracted values together, with the source of each value highlighted on the page.
- Lead with the problem. "Line items total $4,180 but invoice total says $4,810" is far more useful than a generic warning.
- Allow keyboard-only correction. People processing dozens of exceptions shouldn't be reaching for a mouse.
- Learn from corrections. If someone fixes the same supplier's ABN three times, that should stop happening.
- Never silently discard. Anything the pipeline can't handle must land somewhere visible.
If reviewing an exception takes longer than the original manual entry did, staff will route around the system and you've achieved nothing.
What it costs
- Build: a focused pipeline for one or two document types, integrated with one target system, typically runs $25k–$60k. Multiple document types and multiple integrations push it higher.
- Processing: usually a few cents per page in model costs. For 2,000 invoices a month this is tens of dollars, not thousands. This genuinely isn't the expensive part.
- Maintenance: modest, but real — suppliers change formats, your accounting system updates its API, validation rules need tuning.
Compare that against the current cost. If two people spend 15 hours a week each on data entry, the fully-loaded annual cost is well into six figures. Most of these projects pay for themselves within the first year, and the accuracy improvement is often worth as much as the time saved.
Where projects go wrong
- Automating a broken process. If your approval workflow is a mess, automating it produces a faster mess. Fix the process first.
- Chasing 100% automation. The last 5% is usually genuinely ambiguous documents that a human should see. Designing them out costs more than handling them.
- No feedback loop. If corrections don't inform the system, you'll keep fixing the same things forever.
- Ignoring the edge cases at the start. Credit notes, multi-page invoices, foreign currency, part-deliveries, duplicate submissions. Ask about these in week one, not after go-live.
- Skipping the audit trail. For anything financial you need to show what the system extracted, what a human changed, and who approved it. Build this in from the beginning.
Getting started sensibly
Pick your highest-volume document type. Take 200 real examples — including the awkward ones, not a curated sample. Run them through a prototype and measure the straight-through rate and the field accuracy against what your team produces today.
That exercise takes a couple of weeks and tells you almost everything: whether the approach works on your documents, where the exceptions cluster, and what the realistic saving is. It also gives you a baseline to hold the project to, in the same spirit as starting with a narrow MVP.
If the numbers work, expand to the next document type. If they don't, you've spent two weeks finding out instead of six months.
Got a pile of PDFs someone retypes every week? Send us the details and we'll tell you honestly what's automatable, what isn't, and roughly what it's worth. For the broader picture on where to point automation first, see our guide to business process automation.