← All articles

Measuring Accuracy in Document Extraction (and Why It Matters)

Document extraction accuracy is the degree to which an automated system pulls the correct value for each field it is supposed to capture from a document — and it is almost always more nuanced than the single percentage a vendor quotes. Real accuracy is measured field by field, against a trusted set of correct answers, using metrics that separate "found the wrong thing" from "missed it entirely." A system that is "99% accurate" on paper can still be wrong on the tax total or the account number often enough to cost you money, because that headline number averages over fields of wildly different value and difficulty. The number that matters is not the average; it is how often the system is right on the specific fields where being wrong hurts.

That distinction is the whole game. Extraction is one stage inside intelligent document processing, and it is the stage buyers most often judge on a marketing figure rather than a measurement. What follows is how to measure it honestly, what the common metrics mean, and where even good measurement runs out.

Why one accuracy number is not enough

A single percentage hides three things you need to know separately.

First, it hides which fields are wrong. An invoice might have twenty extractable fields, but the vendor name, invoice number, tax amount, and bank details are the ones that cause disputes, duplicate payments, or fraud exposure. Being 100% accurate on the document date and 90% accurate on the tax amount is not a 95% system in any way that matters. Accuracy must be reported per field.

Second, it hides the kind of error. Extracting the wrong value is a different failure from extracting no value at all. The first can flow silently into your ERP and post a bad payment; the second usually gets caught because a required field is empty. A blended accuracy score treats these as equivalent, which they are not.

Third, it hides the documents it was measured on. Accuracy on the clean documents a vendor demos with tells you almost nothing about accuracy on the messy scans, photos, and handwriting that make up the awkward tail of real workloads. A number without a stated test set is not a measurement; it is a claim.

How document extraction accuracy is actually measured

Honest measurement compares the system's output to a ground-truth set — documents a person has carefully labelled with the correct value for every field. You then score the system against that reference. A few metrics do most of the work.

Field-level accuracy

For each field, across the test set, what fraction of documents did the system get exactly right? This is the metric closest to business reality, because your workflow cares about whole fields, not characters. "Exactly right" needs a definition you agree in advance — whether trailing spaces, currency symbols, or date formats count as mismatches.

Character-level accuracy

The share of individual characters transcribed correctly. This measures the OCR layer more than extraction judgment, and it flatters systems: 99% character accuracy can still mean a wrong digit in an amount or a transposed letter in a name. Useful as a diagnostic, dangerous as a headline, and a reminder that reading characters and understanding a document are not the same skill.

Precision, recall, and F1

For any given field, precision asks how many of the values the system returned were correct, and recall asks how many of the values that were actually present it managed to find. The two trade off against each other, and which you prioritise is a business decision. For a payment amount or an IBAN, you want high precision — a wrong value is worse than a flagged blank. For something like capturing every line item on a purchase order, recall matters more, because a missed line is a missed obligation. F1 is the harmonic mean of the two, handy as a summary but no substitute for looking at both.

Straight-through processing rate

The most operationally honest metric of all: what share of documents went end to end with no human touch and no downstream correction? This folds extraction accuracy, confidence scoring, and validation into one number that maps directly to cost. A system with modest raw accuracy but well-calibrated confidence can post a healthy straight-through rate safely, because it knows which documents to route to a person. This is the figure worth building a business case on.

Weight accuracy by what an error costs

Not all fields deserve equal attention, and the sharpest way to measure accuracy is to weight each field by the cost of getting it wrong. A wrong buyer reference on a delivery note is an annoyance. A wrong bank account on a supplier invoice is a loss event. A wrong bidder-eligibility figure read from a tender on GeM, CPPP, or Etimad can disqualify a submission or trigger a compliance problem.

Build the weighting before you test. List the fields, mark what a false value in each one causes downstream, and let that dictate where you demand near-perfection and where a lower bar is tolerable. This is where confidence thresholds earn their place: on the high-cost fields, the system should be tuned to abstain and escalate rather than guess. The principle underneath is plain — the machine reads, the human decides on the cases that carry real risk. The same field-by-field discipline runs through invoice, PO, and contract extraction, where a handful of fields carry nearly all the financial exposure.

What accuracy measurement does not tell you

Measuring accuracy well is necessary and still not sufficient. It has real limits worth stating plainly.

Where to start

Before you accept any accuracy figure, build a test the way you would build an audit. Pull a representative sample of your own documents — including the ugly, atypical ones, not just the clean examples a demo uses. Label the correct value for every field that matters. Decide, in advance, what "correct" means for dates, currencies, and formatting, and weight each field by the cost of an error.

Then measure per field, report precision and recall separately on the high-risk ones, and look hardest at the straight-through processing rate, because that is the number that converts to money. When you evaluate vendors, ask them to run against your labelled set rather than quoting their own — the questions worth asking before you commit start there. Any capable firm should welcome being measured on your documents rather than its slides. The single most useful habit is the simplest: stop asking "how accurate is it?" and start asking "how often is it right on the fields where being wrong would hurt me?"

Common questions

What is a good accuracy rate for document extraction?
There is no single number that is good in the abstract, because accuracy depends on the document quality, the field, and how you measure it. A well-tuned system on clean, consistent documents can exceed 95% field-level accuracy on high-value fields, while the same system on poor scans or rare formats will do noticeably worse. The more useful question is what accuracy you achieve on the specific fields that carry risk, measured against your own documents.
Why is a single accuracy percentage misleading?
Because it averages over fields of very different importance and difficulty. A system that is 98% accurate overall can still be wrong on the tax amount or the IBAN often enough to cause real damage, while being needlessly precise on fields nobody uses. Accuracy has to be measured per field, and weighted by what a mistake in that field actually costs.
What is the difference between precision and recall in extraction?
Precision asks: of the values the system extracted, how many were correct? Recall asks: of the values that were actually present, how many did the system find? A system can score high on one and low on the other. For fields where a wrong value is dangerous you usually favour precision; for fields where a missed value is the bigger problem you favour recall.