Can Unstract extract a set that continues across a page break?
Unstract returned the two-page invoice table as one list of ten line items: the six rows on page 1 and all four on page 2, each with its own description, quantity, unit price and amount. No row was duplicated at the page break, and the subtotal, VAT and total were not taken as 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.
Set continues past a page boundaryPassEvidence
We sent the two-page invoice PDF to Unstract's deployed extraction API; no message was typed.
Every line item in the invoice table, covering every row across both pages
{ "line_items": [ { "amount": 1008.0, "quantity": 12, "unit_price": 84.0, "description": "Retail Shelving Unit - Steel, 5-Tier" }, { "amount": 930.0, "quantity": 3, "unit_price": 310.0, "description": "Checkout Counter - Laminate Top" }, { "amount": 273.0, "quantity": 6, "unit_price": 45.5, "description": "Security Tag Deactivator - Handheld" }, { "amount": 648.0, "quantity": 4, "unit_price": 162.0, "description": "Price Label Printer - Thermal" }, { "amount": 304.0, "quantity": 8, "unit_price": 38.0, "description": "Shopping Basket - 20L, Set of 10" }, { "amount": 1080.0, "quantity": 2, "unit_price": 540.0, "description": "Storeroom Pallet Racking - 4-Bay" }, { "amount": 580.0, "quantity": 10, "unit_price": 58.0, "description": "Barcode Scanner - Wireless" }, { "amount": 330.0, "quantity": 15, "unit_price": 22.0, "description": "Receipt Paper Roll - Case of 50" }, { "amount": 570.0, "quantity": 6, "unit_price": 95.0, "description": "Mannequin - Adjustable, Full Body" }, { "amount": 380.0, "quantity": 5, "unit_price": 76.0, "description": "Display Signage Kit - Window Set" } ] }
Extraction output: one list of ten line items spanning both pages
Copied from Output file (JSON), item 1 › result › output › line_items
Open the whole JSON file ↗| ✓ | Expected: One list holding every line item from both pages, with no item repeated where the table breaks across pages.Found: One list of ten: rows 1-6 from page 1 and all four page-2 rows, each with its own description, quantity, unit price and amount; none duplicated, and totals not taken as items. |
{ "status": "COMPLETED", "message": [ { "file": "main_invoice_multipage_blackwood.pdf", "file_execution_id": "2e43ae3e-9074-460d-8072-a9a153c021b5", "status": "Success", "result": { "output": { "line_items": [ { "amount": 1008, "quantity": 12, "unit_price": 84, "description": "Retail Shelving Unit - Steel, 5-Tier" }, { "amount": 930, "quantity": 3, "unit_price": 310, "description": "Checkout Counter - Laminate Top" }, { "amount": 273, "quantity": 6, "unit_price": 45.5, "description": "Security Tag Deactivator - Handheld" }, { "amount": 648, "quantity": 4, "unit_price": 162, "description": "Price Label Printer - Thermal" }, { "amount": 304, "quantity": 8, "unit_price": 38, "description": "Shopping Basket - 20L, Set of 10" }, { "amount": 1080, "quantity": 2, "unit_price": 540, "description": "Storeroom Pallet Racking - 4-Bay" }, { "amount": 580, "quantity": 10, "unit_price": 58, "description": "Barcode Scanner - Wireless" }, { "amount": 330, "quantity": 15, "unit_price": 22, "description": "Receipt Paper Roll - Case of 50" }, { "amount": 570, "quantity": 6, "unit_price": 95, "description": "Mannequin - Adjustable, Full Body" }, { "amount": 380, "quantity": 5, "unit_price": 76, "description": "Display Signage Kit - Window Set" } ] }, "metrics": { "_file": { "text_extraction": { "time_taken(s)": 10.67717078802525 } }, "line_items": { "extraction_llm": { "time_taken(s)": 4.281 }, "context_retrieval": { "time_taken(s)": 0.00518 } } }, "metadata": { "run_id": "2e43ae3e-9074-460d-8072-a9a153c021b5", "context": { "line_items": [ "\n\n INVOICE \nMeridian Retail Group \nRETAIL FIXTURES & STORE EQUIPMENT SUPPLY … [3,777 characters in the file]" ] }, "file_name": "main_invoice_multipage_blackwood.pdf", "line_numbers": { "line_items": [] }, "whisper_hash": "", "extracted_text": "\n\n INVOICE \nMeridian Retail Group \nRETAIL FIXTURES & STORE EQUIPMENT SUPPLY … [3,777 characters in the file]", "required_fields": { "line_items": null }, "extraction_llm": [ { "model_name": "gpt-4o", "cost_in_dollars": "0.0065975", "input_tokens": 835, "output_tokens": 451, "total_tokens": 1286 } ] } }, "error": null, "metadata": { "source_name": "main_invoice_multipage_blackwood.pdf", "source_hash": "d1f3282702260730267278b1071ee30cf79918fa8489d9411c98d8f6e5209f18", "organization_id": "org_0pMusmf6SGq5PdXO", "workflow_id": "69d80cd0-0697-416c-8075-c5d1bcff95aa", "execution_id": "22a905ff-9c3e-46c7-84cd-f8dbfd75159a", "file_execution_id": "2e43ae3e-9074-460d-8072-a9a153c021b5", "tags": [], "workflow_start_time": 1795515369.82146, "tool_metadata": [ { "tool_name": "structure_tool", "output_type": "JSON", "elapsed_time": 15.781148685957305 } ], "total_elapsed_time": 15.942291259765625, "usage": { "embedding_tokens": 0, "prompt_tokens": 835, "completion_tokens": 451, "total_tokens": 1286, "cost_in_dollars": 0.006597500000000001, "file_execution_id": "2e43ae3e-9074-460d-8072-a9a153c021b5" }, "total_pages_processed": 2, "hitl": { "file_sent_to_hitl": false, "reason": "API deployment without file history - HITL not applicable" } }, "extracted_text": "\n\n INVOICE \nMeridian Retail Group \nRETAIL FIXTURES & STORE EQUIPMENT SUPPLY … [3,777 characters in the file]" } ] }
Show the whole file (16 KB)
{ "status": "COMPLETED", "message": [ { "file": "main_invoice_multipage_blackwood.pdf", "file_execution_id": "2e43ae3e-9074-460d-8072-a9a153c021b5", "status": "Success", "result": { "output": { "line_items": [ { "amount": 1008.0, "quantity": 12, "unit_price": 84.0, "description": "Retail Shelving Unit - Steel, 5-Tier" }, { "amount": 930.0, "quantity": 3, "unit_price": 310.0, "description": "Checkout Counter - Laminate Top" }, { "amount": 273.0, "quantity": 6, "unit_price": 45.5, "description": "Security Tag Deactivator - Handheld" }, { "amount": 648.0, "quantity": 4, "unit_price": 162.0, "description": "Price Label Printer - Thermal" }, { "amount": 304.0, "quantity": 8, "unit_price": 38.0, "description": "Shopping Basket - 20L, Set of 10" }, { "amount": 1080.0, "quantity": 2, "unit_price": 540.0, "description": "Storeroom Pallet Racking - 4-Bay" }, { "amount": 580.0, "quantity": 10, "unit_price": 58.0, "description": "Barcode Scanner - Wireless" }, { "amount": 330.0, "quantity": 15, "unit_price": 22.0, "description": "Receipt Paper Roll - Case of 50" }, { "amount": 570.0, "quantity": 6, "unit_price": 95.0, "description": "Mannequin - Adjustable, Full Body" }, { "amount": 380.0, "quantity": 5, "unit_price": 76.0, "description": "Display Signage Kit - Window Set" } ] }, "metrics": { "_file": { "text_extraction": { "time_taken(s)": 10.67717078802525 } }, "line_items": { "extraction_llm": { "time_taken(s)": 4.281 }, "context_retrieval": { "time_taken(s)": 0.00518 } } }, "metadata": { "run_id": "2e43ae3e-9074-460d-8072-a9a153c021b5", "context": { "line_items": [ "\n\n INVOICE \nMeridian Retail Group \nRETAIL FIXTURES & STORE EQUIPMENT SUPPLY Page 1 of 2 \n\nFROM BILL TO \n\nMeridian Retail Group Blackwood Distribution LLC \n18 Market Square, Camden 402 Harborfront Way, Suite 210 \nLondon NW1 8QP, United Kingdom Bristol BS1 6XN, United Kingdom \nVAT No. GB 402 8817 55 Contact: Mr. Desmond Ayotte \n\n INVOICE NO. INVOICE DATE DUE DATE PO NUMBER \n MRG-INV-20481 06 Jun 2020 06 Jul 2020 BW-PO-9982 \n\n SI. Item Description Qty Unit Price (£) Amount (£) \n\n 1 Retail Shelving Unit - Steel, 5-Tier 12 84.00 1,008.00 \n\n 2 Checkout Counter - Laminate Top 3 310.00 930.00 \n\n 3 Security Tag Deactivator - Handheld 6 45.50 273.00 \n\n 4 Price Label Printer - Thermal 4 162.00 648.00 \n\n 5 Shopping Basket - 20L, Set of 10 8 38.00 304.00 \n\n 6 Storeroom Pallet Racking - 4-Bay 2 540.00 1,080.00 \n\nContinued on page 2 of 2 - line items 7 through 10 and invoice totals follow. \n\nMeridian Retail Group | Registered in England No. 08847721 | accounts@meridianretailgroup.example \n<<<\f\n\n INVOICE \nMeridian Retail Group \nRETAIL FIXTURES & STORE EQUIPMENT SUPPLY Page 2 of 2 - MRG-INV-20481 \n\n SI. Item Description Qty Unit Price (£) Amount (£) \n\n 7 Barcode Scanner - Wireless 10 58.00 580.00 \n\n 8 Receipt Paper Roll - Case of 50 15 22.00 330.00 \n\n 9 Mannequin - Adjustable, Full Body 6 95.00 570.00 \n\n 10 Display Signage Kit - Window Set 5 76.00 380.00 \n\n Subtotal £6,103.00 \n\n VAT (8%) £488.24 \n\n TOTAL £6,591.24 \n\nPayment due within 30 days to Meridian Retail Group, Continental Trust Bank, Acc. 5021 8834 7712, Sort Code CTBK0002211. Meridian Retail Group | Registered in \nEngland No. 08847721 | accounts@meridianretailgroup.example \n<<<\f" ] }, "file_name": "main_invoice_multipage_blackwood.pdf", "line_numbers": { "line_items": [] }, "whisper_hash": "", "extracted_text": "\n\n INVOICE \nMeridian Retail Group \nRETAIL FIXTURES & STORE EQUIPMENT SUPPLY Page 1 of 2 \n\nFROM BILL TO \n\nMeridian Retail Group Blackwood Distribution LLC \n18 Market Square, Camden 402 Harborfront Way, Suite 210 \nLondon NW1 8QP, United Kingdom Bristol BS1 6XN, United Kingdom \nVAT No. GB 402 8817 55 Contact: Mr. Desmond Ayotte \n\n INVOICE NO. INVOICE DATE DUE DATE PO NUMBER \n MRG-INV-20481 06 Jun 2020 06 Jul 2020 BW-PO-9982 \n\n SI. Item Description Qty Unit Price (£) Amount (£) \n\n 1 Retail Shelving Unit - Steel, 5-Tier 12 84.00 1,008.00 \n\n 2 Checkout Counter - Laminate Top 3 310.00 930.00 \n\n 3 Security Tag Deactivator - Handheld 6 45.50 273.00 \n\n 4 Price Label Printer - Thermal 4 162.00 648.00 \n\n 5 Shopping Basket - 20L, Set of 10 8 38.00 304.00 \n\n 6 Storeroom Pallet Racking - 4-Bay 2 540.00 1,080.00 \n\nContinued on page 2 of 2 - line items 7 through 10 and invoice totals follow. \n\nMeridian Retail Group | Registered in England No. 08847721 | accounts@meridianretailgroup.example \n<<<\f\n\n INVOICE \nMeridian Retail Group \nRETAIL FIXTURES & STORE EQUIPMENT SUPPLY Page 2 of 2 - MRG-INV-20481 \n\n SI. Item Description Qty Unit Price (£) Amount (£) \n\n 7 Barcode Scanner - Wireless 10 58.00 580.00 \n\n 8 Receipt Paper Roll - Case of 50 15 22.00 330.00 \n\n 9 Mannequin - Adjustable, Full Body 6 95.00 570.00 \n\n 10 Display Signage Kit - Window Set 5 76.00 380.00 \n\n Subtotal £6,103.00 \n\n VAT (8%) £488.24 \n\n TOTAL £6,591.24 \n\nPayment due within 30 days to Meridian Retail Group, Continental Trust Bank, Acc. 5021 8834 7712, Sort Code CTBK0002211. Meridian Retail Group | Registered in \nEngland No. 08847721 | accounts@meridianretailgroup.example \n<<<\f", "required_fields": { "line_items": null }, "extraction_llm": [ { "model_name": "gpt-4o", "cost_in_dollars": "0.0065975", "input_tokens": 835, "output_tokens": 451, "total_tokens": 1286 } ] } }, "error": null, "metadata": { "source_name": "main_invoice_multipage_blackwood.pdf", "source_hash": "d1f3282702260730267278b1071ee30cf79918fa8489d9411c98d8f6e5209f18", "organization_id": "org_0pMusmf6SGq5PdXO", "workflow_id": "69d80cd0-0697-416c-8075-c5d1bcff95aa", "execution_id": "22a905ff-9c3e-46c7-84cd-f8dbfd75159a", "file_execution_id": "2e43ae3e-9074-460d-8072-a9a153c021b5", "tags": [], "workflow_start_time": 1795515369.82146, "tool_metadata": [ { "tool_name": "structure_tool", "output_type": "JSON", "elapsed_time": 15.781148685957305 } ], "total_elapsed_time": 15.942291259765625, "usage": { "embedding_tokens": 0, "prompt_tokens": 835, "completion_tokens": 451, "total_tokens": 1286, "cost_in_dollars": 0.006597500000000001, "file_execution_id": "2e43ae3e-9074-460d-8072-a9a153c021b5" }, "total_pages_processed": 2, "hitl": { "file_sent_to_hitl": false, "reason": "API deployment without file history - HITL not applicable" } }, "extracted_text": "\n\n INVOICE \nMeridian Retail Group \nRETAIL FIXTURES & STORE EQUIPMENT SUPPLY Page 1 of 2 \n\nFROM BILL TO \n\nMeridian Retail Group Blackwood Distribution LLC \n18 Market Square, Camden 402 Harborfront Way, Suite 210 \nLondon NW1 8QP, United Kingdom Bristol BS1 6XN, United Kingdom \nVAT No. GB 402 8817 55 Contact: Mr. Desmond Ayotte \n\n INVOICE NO. INVOICE DATE DUE DATE PO NUMBER \n MRG-INV-20481 06 Jun 2020 06 Jul 2020 BW-PO-9982 \n\n SI. Item Description Qty Unit Price (£) Amount (£) \n\n 1 Retail Shelving Unit - Steel, 5-Tier 12 84.00 1,008.00 \n\n 2 Checkout Counter - Laminate Top 3 310.00 930.00 \n\n 3 Security Tag Deactivator - Handheld 6 45.50 273.00 \n\n 4 Price Label Printer - Thermal 4 162.00 648.00 \n\n 5 Shopping Basket - 20L, Set of 10 8 38.00 304.00 \n\n 6 Storeroom Pallet Racking - 4-Bay 2 540.00 1,080.00 \n\nContinued on page 2 of 2 - line items 7 through 10 and invoice totals follow. \n\nMeridian Retail Group | Registered in England No. 08847721 | accounts@meridianretailgroup.example \n<<<\f\n\n INVOICE \nMeridian Retail Group \nRETAIL FIXTURES & STORE EQUIPMENT SUPPLY Page 2 of 2 - MRG-INV-20481 \n\n SI. Item Description Qty Unit Price (£) Amount (£) \n\n 7 Barcode Scanner - Wireless 10 58.00 580.00 \n\n 8 Receipt Paper Roll - Case of 50 15 22.00 330.00 \n\n 9 Mannequin - Adjustable, Full Body 6 95.00 570.00 \n\n 10 Display Signage Kit - Window Set 5 76.00 380.00 \n\n Subtotal £6,103.00 \n\n VAT (8%) £488.24 \n\n TOTAL £6,591.24 \n\nPayment due within 30 days to Meridian Retail Group, Continental Trust Bank, Acc. 5021 8834 7712, Sort Code CTBK0002211. Meridian Retail Group | Registered in \nEngland No. 08847721 | accounts@meridianretailgroup.example \n<<<\f" } ] }
- form
- { "timeout": "0", "include_metadata": "true", "include_metrics": "true", "include_extracted_text": "true" }
- input_sha256
- { "main_invoice_multipage_blackwood.pdf": "d1f3282702260730267278b1071ee30cf79918fa8489d9411c98d8f6e5209f18" }
- headers
- { "Authorization": "Bearer ***masked***" }
Show the whole file (1 KB)
{ "method": "POST", "url": "https://eu-west.unstract.com/deployment/api/org_0pMusmf6SGq5PdXO/sde-tc72-multipage-lines/", "headers": { "Authorization": "Bearer ***masked***" }, "form": { "timeout": "0", "include_metadata": "true", "include_metrics": "true", "include_extracted_text": "true" }, "files": [ { "name": "main_invoice_multipage_blackwood.pdf", "bytes": 83661 } ], "deployment": "sde-tc72-multipage-lines", "input_sha256": { "main_invoice_multipage_blackwood.pdf": "d1f3282702260730267278b1071ee30cf79918fa8489d9411c98d8f6e5209f18" } }
- schema_fields 1
- { "key": "line_items", "type": "array", "description": "Every line item in the invoice table, covering every row across both pages", "item_fields": { "description": "The description of the line item", "quantity": "The quantity of the line item", "unit_price": "The unit price of the line item", "amount": "The amount of the line item" } }
- config_changed_from_default
- { "include_metadata": { "value": true, "default": false }, "include_metrics": { "value": true, "default": false }, "include_extracted_text": { "value": true, "default": false } }
- plan_tier
- Unstract Cloud free trial (14 days, 1,000K LLM tokens; free-trial Azure GPT-4o LLM)
- run_time
- 2026-11-24 15:47 IST
Show the whole file (4 KB)
{ "product": "Unstract", "subject_slug": "unstract", "case": "TC72", "scenario": "S70 · The set continues across a page break", "task": "86bc6rj2g", "deployment": "sde-tc72-multipage-lines", "inputs": [ { "name": "main_invoice_multipage_blackwood.pdf", "sha256": "d1f3282702260730267278b1071ee30cf79918fa8489d9411c98d8f6e5209f18", "bytes": 83661 } ], "schema_fields": [ { "key": "line_items", "type": "array", "description": "Every line item in the invoice table, covering every row across both pages", "item_fields": { "description": "The description of the line item", "quantity": "The quantity of the line item", "unit_price": "The unit price of the line item", "amount": "The amount of the line item" } } ], "required": ["line_items"], "endpoint": "<base>/deployment/api/<organization_id>/<api_name>/", "surface": "API", "config": "evidence", "variant": null, "config_settings": { "timeout": 0, "include_metadata": true, "include_metrics": true, "include_extracted_text": true }, "config_changed_from_default": { "include_metadata": { "value": true, "default": false }, "include_metrics": { "value": true, "default": false }, "include_extracted_text": { "value": true, "default": false } }, "config_use_for": "any extraction where the result must show its source text, line numbers and cost (metadata carries the line numbers and whisper hash used by the highlight API)", "config_doc": "https://docs.unstract.com/unstract/unstract_platform/api_deployment/unstract_api_deployment_execution_api.md", "config_why": "Documented Execution API; include_metadata/include_metrics/include_extracted_text requested so the result shows the source text and cost per the vendor docs. Unstract takes the fields in a Prompt Studio project: one prompt per schema field = field description verbatim, no hints (arrays are a JSON-output prompt that also names the item keys from the schema); LLM Azure GPT-4o free trial; default free-trial text extractor; deployment tool settings default. Project SDE-TC72-multipage-lines, 1 JSON prompt.", "config_note": "configuration `evidence` (any extraction where the result must show its source text, line numbers and cost (metadata carries the line numbers and whisper hash used by the highlight API); per https://docs.unstract.com/unstract/unstract_platform/api_deployment/unstract_api_deployment_execution_api.md): sent timeout=0, include_metadata=true, include_metrics=true, include_extracted_text=true; changed from the default: include_metadata=true (default false), include_metrics=true (default false), include_extracted_text=true (default false)", "rerun": null, "tool_version": "not exposed by the hosted product", "plan_tier": "Unstract Cloud free trial (14 days, 1,000K LLM tokens; free-trial Azure GPT-4o LLM)", "run_time": "2026-11-24 15:47 IST", "latency_s": 24.7, "pages": null, "cost": null, "output_file": "output.json", "response_file": "api_response.json", "request_file": "request.json", "run_file": "run.json", "source_renders": ["source_main_invoice_multipage_b_page_1.png", "source_main_invoice_multipage_b_page_2.png"], "code_version": { "commit": "51584148c55d28dd7e10aa44d041854f6fa4c139", "branch": "adapter/sde-unstract", "uncommitted_changes": true }, "extra": { "submit_response": { "message": { "execution_id": "22a905ff-9c3e-46c7-84cd-f8dbfd75159a", "execution_status": "PENDING", "status_api": "/deployment/api/org_0pMusmf6SGq5PdXO/sde-tc72-multipage-lines/?execution_id=22a905ff-9c3e-46c7-84cd-f8dbfd75159a", "error": null, "result": null } }, "polls": [ { "t": 6.4, "http": 422, "status": "EXECUTING" }, { "t": 10.8, "http": 422, "status": "EXECUTING" }, { "t": 15.3, "http": 422, "status": "EXECUTING" }, { "t": 20.0, "http": 422, "status": "EXECUTING" }, { "t": 24.7, "http": 200, "status": "COMPLETED" } ], "execution_id": "22a905ff-9c3e-46c7-84cd-f8dbfd75159a" } }
- item 1 › result › metadata › line_numbers
- { "line_items": [] }
- item 1 › status
- Success
The rows had to come back as one list, with nothing missing from page 2 and nothing doubled at the break. The table runs rows 1-6 on page 1 and, after a repeated header, rows 7-10 on page 2; Unstract returned one list of ten, each with its own row's values.
No line positions returned. The line items list came back with an empty list of line numbers, so the output gives no position in the document for any item.
Field description named both pages. The line items field's description told the model the table covers every row across both pages, so the test measured merging a table the prompt said was split, not spotting the continuation unaided.
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 · 11 tools |
| Capability | Nested & Repeated Fields → | |
| Scenario | The set continues across a page break → | |
| Tool | Unstract → |
Global scenario definition → · Global capability definition → · Unstract 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.