Can Datalab turn cleanly scanned pages into accurate text?
Datalab extracted accurate invoice values from the image-only scan. The scan and digital original both returned the source invoice's £1,754.40 total due and the same three line items.
1 of 1 test case passed
Every test case in this scenario has a result.
The test case
Each test case is judged on its own: Pass, Fail, Not gradable, or Untested. The scenario result above is based on this test case.
Image-only twin, same schemaPassEvidence
In Datalab's Forge playground, we ran the digital invoice, then its image-only twin, through Convert followed by Extract using the same nine-field schema.
{ "type": "object", "properties": { "invoice_number": { "type": "string", "description": "The invoice number" }, "bill_to": { "type": "string", "description": "Who the invoice is billed to" }, "site": { "type": "string", "description": "The site the hire is for" }, "hire_period": { "type": "string", "description": "The hire period" }, "currency": { "type": "string", "description": "The currency of the amounts" }, "subtotal": { "type": "string", "description": "The subtotal amount before tax" }, "tax": { "type": "string", "description": "The tax amount" }, "total_due": { "type": "string", "description": "The total amount due on the invoice" }, "line_items": { "type": "array", "description": "Every line item in the invoice table", "items": { "type": "object", "properties": { "description": { "type": "string", "description": "The description of the line item" }, "quantity": { "type": "string", "description": "The quantity of the line item" }, "unit_price": { "type": "string", "description": "The unit price of the line item" }, "amount": { "type": "string", "description": "The amount of the line item" } } } } } }
Returned JSON: extracted values and field verification for the digital invoice
Copied from Output file 1 (JSON)
{ "invoice_number": "TPH-3301", "invoice_number_citations": [ { "block": "/page/0/Text/6", "page": 0, "text": "TPH-3301", "offset": 15, "length": 8, "score": 1, "bbox": [1305, 403, 1409, 430] } ], "invoice_number_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Text/6"], "verification": { "status": "PASS", "feedback": "The invoice number is supported by /page/0/Text/6. Conclusion: the value at /page/0/Text/6 agrees with the extraction." } }, "bill_to": "Oakbridge Construction Ltd\nSite Office, Oakbridge Depot Extension\nDarrowby DL4 7HN", "bill_to_citations": [ { "block": "/page/0/Text/5", "page": 0, "text": "Oakbridge Construction Ltd\nSite Office, Oakbridge Depot Extension\nDarrowby DL4 7HN", "offset": 0, "length": 82, "score": 1, "bbox": [135, 441, 517, 539], "bboxes": [ [135, 441, 406, 470], [137, 477, 517, 504], [135, 510, 325, 539] ] } ], "bill_to_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Text/5"], "verification": { "status": "PASS", "feedback": "The billing recipient and address are supported by /page/0/Text/5. Conclusion: the value at /page/0/Text/5 agrees with the extraction." } }, "site": "Oakbridge Depot Extension", "site_citations": [ { "block": "/page/0/Text/8", "page": 0, "text": "Oakbridge Depot Extension", "offset": 0, "length": 25, "score": 1, "bbox": [135, 609, 405, 638] } ], "site_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Text/8"], "verification": { "status": "PASS", "feedback": "The site is supported by /page/0/Text/8. Conclusion: the value at /page/0/Text/8 agrees with the extraction." } }, "hire_period": "03 Mar - 10 Mar 2026", "hire_period_citations": [ { "block": "/page/0/Text/10", "page": 0, "text": "03 Mar - 10 Mar 2026", "offset": 0, "length": 20, "score": 1, "bbox": [1248, 609, 1461, 638] } ], "hire_period_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Text/10"], "verification": { "status": "PASS", "feedback": "The hire period is supported by /page/0/Text/10. Conclusion: the value at /page/0/Text/10 agrees with the extraction." } }, "currency": "£", "currency_citations": [ { "block": "/page/0/Table/11", "page": 0 }, { "block": "/page/1/Table/2", "page": 1 } ], "currency_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Table/11", "/page/1/Table/2"], "verification": { "status": "PASS", "feedback": "The pound currency symbol is shown in the line-item table and totals table at /page/0/Table/11 and /page/1/Table/2. Conclusion: the value at /page/0/Table/11 and /page/1/Table/2 agrees with the extraction." } }, "subtotal": "£1,462.00", "subtotal_citations": [ { "block": "/page/1/Table/2", "page": 1, "text": "£1,462.00", "offset": 9, "length": 9, "score": 1, "bbox": [1362, 239, 1460, 266] } ], "subtotal_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/1/Table/2"], "verification": { "status": "PASS", "feedback": "The subtotal is supported by /page/1/Table/2. Conclusion: the value at /page/1/Table/2 agrees with the extraction." } }, "tax": "£292.40", "tax_citations": [ { "block": "/page/1/Table/2", "page": 1, "text": "£292.40", "offset": 30, "length": 7, "score": 1, "bbox": [1380, 295, 1460, 322] } ], "tax_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/1/Table/2"], "verification": { "status": "PASS", "feedback": "The VAT amount is supported by /page/1/Table/2. Conclusion: the value at /page/1/Table/2 agrees with the extraction." } }, "total_due": "£1,754.40", "total_due_citations": [ { "block": "/page/1/Table/2", "page": 1, "text": "£1,754.40", "offset": 48, "length": 9, "score": 1, "bbox": [1300, 380, 1431, 414] } ], "total_due_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/1/Table/2"], "verification": { "status": "PASS", "feedback": "The total due is supported by /page/1/Table/2. Conclusion: the value at /page/1/Table/2 agrees with the extraction." } }, "line_items": [ { "description": "Telehandler, 4-tonne, weekly hire", "description_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "Telehandler, 4-tonne, weekly hire", "offset": 34, "length": 33, "score": 1, "bbox": [156, 745, 478, 775] } ], "quantity": "1", "quantity_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "1", "offset": 68, "length": 1, "score": 1, "bbox": [959, 745, 973, 772] } ], "unit_price": "£850.00", "unit_price_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£850.00", "offset": 70, "length": 7, "score": 1, "bbox": [1144, 748, 1220, 772] } ], "amount": "£850.00", "amount_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£850.00", "offset": 70, "length": 7, "score": 1, "bbox": [1144, 748, 1220, 772] } ] }, { "description": "Generator, 20kVA, weekly hire", "description_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "Generator, 20kVA, weekly hire", "offset": 86, "length": 29, "score": 1, "bbox": [156, 813, 448, 842] } ], "quantity": "2", "quantity_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "2", "offset": 116, "length": 1, "score": 1, "bbox": [960, 815, 973, 842] } ], "unit_price": "£210.00", "unit_price_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£210.00", "offset": 118, "length": 7, "score": 1, "bbox": [1144, 815, 1220, 842] } ], "amount": "£420.00", "amount_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£420.00", "offset": 126, "length": 7, "score": 1, "bbox": [1362, 815, 1439, 842] } ] }, { "description": "Site fencing, per 10m panel, weekly", "description_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "Site fencing, per 10m panel, weekly", "offset": 134, "length": 35, "score": 1, "bbox": [156, 882, 499, 911] } ], "quantity": "8", "quantity_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "8", "offset": 170, "length": 1, "score": 1, "bbox": [960, 882, 973, 909] } ], "unit_price": "£24.00", "unit_price_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£24.00", "offset": 172, "length": 6, "score": 1, "bbox": [1157, 884, 1220, 911] } ], "amount": "£192.00", "amount_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£192.00", "offset": 179, "length": 7, "score": 1, "bbox": [1362, 884, 1439, 911] } ] } ] }
Returned JSON: extracted values and field verification for the image-only invoice
Copied from Output file 2 (JSON)
{ "invoice_number": "TPH-3301", "invoice_number_citations": [ { "block": "/page/0/Text/6", "page": 0, "text": "TPH-3301", "offset": 15, "length": 8, "score": 1, "bbox": [1311, 407, 1417, 436] } ], "invoice_number_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Text/6"], "verification": { "status": "PASS", "feedback": "Supported by /page/0/Text/6. Conclusion: the value at /page/0/Text/6 agrees with the extraction." } }, "bill_to": "Oakbridge Construction Ltd\nSite Office, Oakbridge Depot Extension\nDarrowby DL4 7HN", "bill_to_citations": [ { "block": "/page/0/Text/5", "page": 0, "text": "Oakbridge Construction Ltd\nSite Office, Oakbridge Depot Extension\nDarrowby DL4 7HN", "offset": 0, "length": 82, "score": 1, "bbox": [142, 434, 523, 535], "bboxes": [ [143, 434, 413, 465], [142, 470, 523, 501], [142, 504, 331, 535] ] } ], "bill_to_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Text/5"], "verification": { "status": "PASS", "feedback": "Supported by /page/0/Text/5. Conclusion: the value at /page/0/Text/5 agrees with the extraction." } }, "site": "Oakbridge Depot Extension", "site_citations": [ { "block": "/page/0/Text/8", "page": 0, "text": "Oakbridge Depot Extension", "offset": 0, "length": 25, "score": 1, "bbox": [140, 602, 410, 633] } ], "site_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Text/8"], "verification": { "status": "PASS", "feedback": "Supported by /page/0/Text/8. Conclusion: the value at /page/0/Text/8 agrees with the extraction." } }, "hire_period": "03 Mar - 10 Mar 2026", "hire_period_citations": [ { "block": "/page/0/Text/10", "page": 0, "text": "03 Mar - 10 Mar 2026", "offset": 0, "length": 20, "score": 1, "bbox": [1252, 613, 1465, 645] } ], "hire_period_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Text/10"], "verification": { "status": "PASS", "feedback": "Supported by /page/0/Text/10. Conclusion: the value at /page/0/Text/10 agrees with the extraction." } }, "currency": "£", "currency_citations": [ { "block": "/page/0/Table/11", "page": 0 }, { "block": "/page/1/Table/2", "page": 1 } ], "currency_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/0/Table/11", "/page/1/Table/2"], "verification": { "status": "PASS", "feedback": "Supported by the pound-denominated line items in /page/0/Table/11 and the totals in /page/1/Table/2. Conclusion: the value at /page/0/Table/11 and /page/1/Table/2 agrees with the extraction." } }, "subtotal": "£1,462.00", "subtotal_citations": [ { "block": "/page/1/Table/2", "page": 1, "text": "£1,462.00", "offset": 9, "length": 9, "score": 1, "bbox": [1367, 244, 1465, 271] } ], "subtotal_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/1/Table/2"], "verification": { "status": "PASS", "feedback": "Supported by /page/1/Table/2. Conclusion: the value at /page/1/Table/2 agrees with the extraction." } }, "tax": "£292.40", "tax_citations": [ { "block": "/page/1/Table/2", "page": 1, "text": "£292.40", "offset": 30, "length": 7, "score": 1, "bbox": [1385, 297, 1465, 324] } ], "tax_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/1/Table/2"], "verification": { "status": "PASS", "feedback": "Supported by /page/1/Table/2. Conclusion: the value at /page/1/Table/2 agrees with the extraction." } }, "total_due": "£1,754.40", "total_due_citations": [ { "block": "/page/1/Table/2", "page": 1, "text": "£1,754.40", "offset": 48, "length": 9, "score": 1, "bbox": [1303, 385, 1436, 418] } ], "total_due_meta": { "extraction_status": "EXTRACTED", "reasoning": null, "citations": ["/page/1/Table/2"], "verification": { "status": "PASS", "feedback": "Supported by /page/1/Table/2. Conclusion: the value at /page/1/Table/2 agrees with the extraction." } }, "line_items": [ { "description": "Telehandler, 4-tonne, weekly hire", "description_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "Telehandler, 4-tonne, weekly hire", "offset": 34, "length": 33, "score": 1, "bbox": [159, 741, 481, 772] } ], "quantity": "1", "quantity_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "1", "offset": 68, "length": 1, "score": 1, "bbox": [962, 748, 976, 777] } ], "unit_price": "£850.00", "unit_price_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£850.00", "offset": 70, "length": 7, "score": 1, "bbox": [1147, 750, 1224, 779] } ], "amount": "£850.00", "amount_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£850.00", "offset": 70, "length": 7, "score": 1, "bbox": [1147, 750, 1224, 779] } ] }, { "description": "Generator, 20kVA, weekly hire", "description_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "Generator, 20kVA, weekly hire", "offset": 86, "length": 29, "score": 1, "bbox": [159, 808, 451, 840] } ], "quantity": "2", "quantity_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "2", "offset": 116, "length": 1, "score": 1, "bbox": [962, 815, 975, 846] } ], "unit_price": "£210.00", "unit_price_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£210.00", "offset": 118, "length": 7, "score": 1, "bbox": [1145, 817, 1224, 846] } ], "amount": "£420.00", "amount_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£420.00", "offset": 126, "length": 7, "score": 1, "bbox": [1364, 819, 1442, 848] } ] }, { "description": "Site fencing, per 10m panel, weekly", "description_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "Site fencing, per 10m panel, weekly", "offset": 134, "length": 35, "score": 1, "bbox": [159, 875, 502, 909] } ], "quantity": "8", "quantity_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "8", "offset": 170, "length": 1, "score": 1, "bbox": [960, 882, 975, 913] } ], "unit_price": "£24.00", "unit_price_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£24.00", "offset": 172, "length": 6, "score": 1, "bbox": [1158, 887, 1224, 916] } ], "amount": "£192.00", "amount_citations": [ { "block": "/page/0/Table/11", "page": 0, "text": "£192.00", "offset": 179, "length": 7, "score": 1, "bbox": [1366, 889, 1442, 918] } ] } ] }
| ✓ | Expected: Identical extracted values from the digital document and its image-only twin.Found: Both outputs contained identical values across all nine fields, including the source invoice's subtotal of £1,462.00 and tax of £292.40. |
The scanned twin had no text layer, so its values came from image reading. Both versions were processed separately with the same schema; zero differences satisfied the requirement to preserve the digital extraction.
Built-in field verification. In the digital and scanned results panels, Datalab marked all eight single-value invoice fields as passing.
Configuration and setup
How this tool was set up for the run and what the test needed in place. Each row is a fact from the run's records; a fact the records do not hold is left out, not guessed.
How this scenario is graded
How we decide Pass, Fail and Not gradable. The same rules apply to every tool tested on this scenario.
Each test case gets one result per tool: Pass, Fail or Not gradable. A test case we haven't run yet shows Untested. There are no partial results.
- Pass: the tool did everything the test expected, and nothing it said contradicts the correct answer.
- Fail: at least one expected behaviour clearly didn't happen; the test case's result says which one and quotes the tool.
- Not gradable: our evidence couldn't settle the outcome (for example a record we needed is missing). It is never counted as a fail, and the test case's result says what's missing.
Where this sits in the benchmark
This page is one cell of a larger study: one tool, one scenario. Only this benchmark's frame appears here.
| Level | Name | Scope |
|---|---|---|
| Benchmark | Structured Document Extraction → | 19 scenarios · 10 tools |
| Capability | OCR → | |
| Scenario | A cleanly scanned document → | |
| Tool | Datalab → |
Global scenario definition → · Global capability definition → · Datalab product page →
History of this result
What has happened to this result since it was first published. Runs and grades are never overwritten: a retest or a re-grade publishes a new result and keeps the earlier one readable.
Act on this result
Nothing filed here edits the run or the grade. A challenge opens a review, and a review can produce a new run or a re-grade — which becomes the current result and leaves this one in the history.
You run the same kind of test against your own setup and get the same behaviour.
Agree →Yours behaves differently. Tell us what you got, with a screenshot if you have one.
Disagree →Something here is wrong — a reference value, a transcription, a grade.
Report an issue →Tell us what changed and we schedule a rerun of the failing test case. The old result stays as history.
Vendor notice →The same record is available as structured data through the AI Demos MCP server, with the counts, the coverage and every per-test-case reason carried as fields.
Verify the proof files
These files support this result. Open a file to inspect the original evidence.
File fingerprints (SHA-256)
A fingerprint identifies the exact file used for this result.