How accurately do AI models extract orders and invoices for review?
A published evaluation of the extraction and validation step in document intake: 14 fictional purchase orders, invoices and other documents, 7 fields each, every answer scored against the expected value.

Results
Results are published after a reviewed run. The method, the full test set and the expected answers are below, so you can check how the scoring works before any figures appear.
What is measured
- Document type (purchase order, invoice or other)
- Document reference
- Sending organisation
- Document date
- Total written on the document
- Total calculated from the lines
- Whether a person must review it
The set includes the cases that matter in a real document inbox: a total that doesn’t match its lines, a missing order number, a duplicate copy, a re-sent order, a credit note, a question that isn’t a document, and documents in German and French with local number formats.
The rules the model is given
- doc_type is purchase_order, invoice or other (credit notes, questions and anything else are other)
- reference is the document's own number exactly as written, or null if it has none
- party is the organisation that sent the document (the customer on a purchase order, the supplier on an invoice)
- doc_date is the document date as YYYY-MM-DD, or null
- stated_total is the total written on the document as a number (negative for credits), or null
- computed_total is the sum of the line amounts, delivery and tax lines as a number, or null when there are no lines
- needs_review is true when stated and computed totals differ, the reference is missing on a purchase order or invoice, the document says it is a duplicate or re-sent copy, or it is a credit note; otherwise false
How answers are scored
Text is compared after trimming, lower-casing and collapsing spaces. Amounts must match to the cent; dates and the review flag must match exactly. The review flag is reported separately: catching the document that needs a person matters more than any single field.
Check it yourself
The full set with expected answers is available to download as JSON. All documents are fictional. You can also try the review step on a sample order on the document intake page.