Skip to content
Guideintermediate

AI read your invoices. Which ones are wrong? We compared three checks on 240 extractions

Published December 1, 2026 · Updated December 1, 2026 · by

The short version

Pondero Labs took 240 AI extractions of hard invoices, 33 of them with a wrong value, and tested three ways to flag the bad ones: arithmetic, a second cheap model, and TypeSafe's Jev verifier. A second model caught all 33 and sent 23% of invoices to review. Arithmetic caught one. Data and scripts inside.

Table of Contents

AI read your invoices. Which ones are wrong? We compared three checks on 240 extractions

A model that reads most of your invoices perfectly still leaves you with a problem: you do not know which ones are wrong. Checking every invoice by hand throws away the savings. Checking none lets a wrong equipment line or a misfiled charge reach the ledger.

In our invoice extraction test, six models read 40 hard invoices: equipment rental, paint supplier and workforce screening. That gave us 240 extractions from the first pass with an exact answer key, and 33 of them had at least one wrong value. On December 1, 2026 we tried three ways of flagging an extraction for review and counted what each one caught.

  • A second cheap model caught all 33. Run the invoice through another low-cost model and flag any disagreement. It also flagged 23 clean invoices, so 23% of the pile went to review.
  • TypeSafe's Jev caught 30 of 33 at its looser setting, but flagged 79 clean invoices too, sending 45% to review. At the stricter setting it caught 20 and sent 29%.
  • Arithmetic caught 1 of 33. Checking that the lines add up to the subtotal found almost nothing, because a misread equipment number or a charge in the wrong field still adds up.

The short version: if you automate invoice entry, pay for a second read by a different cheap model. It cost us about a tenth of a cent per invoice.

Test setup
DateDecember 1, 2026
Extractions checked240: six models, 40 hard invoices each, first pass
With an error33 extractions, 76 wrong values out of 5,358
Check 1, arithmeticLine amounts add up to the subtotal; quantity times unit price equals the line amount
Check 2, second modelClaude Haiku 5.5 reads the same invoice; flag if any value differs (GPT-6 Luna when Haiku is the one being checked)
Check 3, TypeSafeJev 1.14 is shown the page images and asked a yes/no question about each extracted value; flag if any probability is below a threshold
DataEvery check on every value

The three checks, per invoice

CheckInvoices with an error caughtClean invoices flaggedShare of all invoices sent to review
Arithmetic1 of 330 of 2070.4%
Second cheap model33 of 3323 of 20723%
TypeSafe, flag below 0.320 of 3349 of 20729%
TypeSafe, flag below 0.530 of 3379 of 20745%

Bar chart of invoices with an error caught and clean invoices flagged. Second cheap model: caught 33 of 33, flagged 23 of 207 clean. TypeSafe below 0.5: caught 30 of 33, flagged 79 of 207. TypeSafe below 0.3: caught 20 of 33, flagged 49 of 207. Arithmetic: caught 1 of 33, flagged 0 of 207.

A review queue of 23% that contains every bad invoice is a workable process. A queue of 45% that still misses three is not much better than reading everything.

Why arithmetic checks miss

Adding up the lines is the first check most teams build, and it is free. It failed here for a plain reason. The errors these models make are not sums that fail to balance.

  • A misread identifier. The model returns equipment number 907687039 where the invoice says 907680739. The amount is right, so the total balances.
  • A charge in the wrong field. A transportation surcharge lands under delivery or sales items, and the grand total is unchanged.
  • A dropped prefix or suffix. Job number 25539 for J-25539, or a vendor name without its "Inc.".

Keep the arithmetic check. It costs nothing and it catches a dropped line. Do not treat a balanced invoice as a verified one.

Why a second model works

Two different models rarely make the same mistake on the same value. When the first model misreads a digit on a scanned page, the second usually reads it correctly, and the two answers differ.

The second read is cheap: Claude Haiku 5.5 read a hard invoice for about a tenth of a cent, $1.27 per 1,000, in a median of 4.8 seconds. The price is the false alarms: 23 clean invoices were flagged because the second model was the one that got something wrong. Haiku checked by GPT-6 Luna had the most, 9 of 37, because Luna is the weaker reader.

Two limits apply. If both models share a blind spot they will agree on a wrong answer. In our test several models misfiled the same surcharge, but in different fields, so they still disagreed. And agreement tells you nothing when the schema itself is wrong.

What TypeSafe caught and missed

TypeSafe sells a different kind of model. Jev does not generate text. You send it content and typed questions, and it returns a probability for each answer. It is priced at $0.042 per million input tokens, with output free. We sent the invoice page images once per extraction and asked one yes/no question per number, for example whether 2,557.60 is the billed amount on the line for equipment 907680739.

It is fast and cheap. A hard invoice took about 10,000 tokens and a median of 0.31 seconds, which is 42 cents per 1,000 invoices. All 640 requests in this test cost 26 cents.

Value by value, at a threshold of 0.5 it caught 31 of the 76 real wrong values and raised a false alarm on 165 of 5,282 correct ones, which is 3.1%. That false-alarm rate sounds low, but these invoices average 22 checked values each, so nearly half of them ended up with at least one flag.

Real errors were too few to say what kind it handles well, so we also planted 485 errors of known types into correct extractions.

Bar chart of what TypeSafe caught at a 0.5 threshold. Planted: value from the wrong column 77 of 80, decimal point moved 67 of 67, day and month swapped 30 of 30, two digits swapped in a value 200 of 245, two digits swapped in an ID 33 of 63. Real: charge filed in the wrong field 10 of 10, job number or vendor name 10 of 21, wrong or misread line item 8 of 41.

  • Strong on gross errors. It caught every moved decimal point and every swapped day and month, 77 of 80 values copied from the wrong column, and all 10 real cases of a charge filed in the wrong field.
  • Middling on swapped digits in an amount: 200 of 245.
  • Weak on identifiers and line items. It caught 33 of 63 planted digit swaps in an equipment or product number and 8 of 41 real line-item errors. Those are the errors that matter most on rental invoices, and they sit in dense tables on scanned pages.

Two things to hold against these numbers. TypeSafe's documentation says image input is not yet ready for production, and images are all we gave it. And we wrote the questions ourselves without tuning them. Our first attempt asked one question per line with five numbers in it and caught 2 of 13 real line errors; one question per number did better. A team that tuned questions on its own invoices, or sent text from a digital PDF, could see different results.

What to do

  • Run a second cheap model on every invoice and review the disagreements. Use a different vendor's model from your first reader so the mistakes differ.
  • Keep arithmetic as a free first pass, and add a reconciliation of every charge against the total so an unplanned charge cannot hide.
  • Consider a verifier like Jev as a pre-screen, not the gate. At 0.31 seconds and 42 cents per 1,000 invoices it is a cheap way to catch wrong-column and wrong-field errors early. On our scanned line tables it missed too much to stand alone.
  • Measure on your own invoices. Take 50 you have already keyed by hand, run your reader and each check, and count what is caught and what is flagged.

How we checked

The extractions. These are the first-pass outputs of Gemini 4 Hydrogen, Claude Sonnet 5.5, GPT-6.2 Sol, Claude Haiku 5.5, GPT-6 Luna and Gemini 3.5 Flash-Lite on the 40 hard invoices from the extraction test. An extraction "has an error" when any header value or line item differs from the answer key or a line was invented.

The checks. Arithmetic is three rules in baselines.py. The second-model check compares two extractions with the same scorer used against the answer key. For TypeSafe, verify2.py renders each page to an image, asks one question per header value and per number on each line, and takes the lowest probability on a line as that line's score.

Planted errors. With a fixed random seed we corrupted about one value in eight in each extraction: two adjacent digits swapped, a decimal point moved, day and month exchanged, or a neighbouring column copied in. Planted errors are labelled in the data and reported apart from real ones.

Run it yourself

  1. Get the scripts and documents from the extraction test and run at least two models on the hard set.
  2. Compare the checks on your results:
export TYPESAFE_API_KEY=...
venv/bin/python verify2.py --run 1 --models claude-haiku-5-5,gpt-6-luna
venv/bin/python verify2.py --run 1 --plant --models claude-haiku-5-5,gpt-6-luna
venv/bin/python analyze_verify.py verify-b2/run1 verify-b2/run1-planted
venv/bin/python baselines.py 1

baselines.py expects all six models' results; edit its MODELS list to match the ones you ran. The TypeSafe calls for two models cost us about 7 cents. Expect the second-model check to catch nearly every bad invoice and arithmetic to catch almost none.

Keep in mind

  • Thirty-three bad invoices. Enough to see that arithmetic fails and a second model works, not enough for precise rates.
  • Generated invoices. Real paperwork has handwriting, stamps and missing pages.

Download the data

What changed

  • December 2, 2026: First published.