AI Demos Research — the structured-intelligence platform. Every verdict on these pages opens to the execution behind it.
Graded 25 November 2026

Can Unstract extract the same field from documents with different layouts?

Unstract extracted all 12 requested values correctly across three document layouts. It recognized the work order number, sales tax and amount due under different labels.

1 of 1 test case passed

Every test case in this scenario has a result.

Pass rate100%1 of 1 gradable
Coverage1 of 1test case with a result
1PassDid everything it was expected to do.
0FailNo test case failed.
0Not gradableEvery result here could be graded.
0UntestedEvery test case in this scenario has a result.
The pass rate is a summary. The evidence is the test case below: what we sent, what we checked, what the tool returned, and the proof.

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.

Same field across three layoutsPassEvidence
What we sent

We submitted all three PDFs together to Unstract through a single API call.

Input 1Document (PDF)
Input PDF: Riverside Home Services receipt with dollar amounts
Open the PDF ↗
Input 2Document (PDF)
Input PDF: GreenLeaf Appliance Repair invoice using work order and amount due labels
Open the PDF ↗
Input 3Document (PDF)
Input PDF: Sunrise Plumbing & Drain receipt with USD amounts
Open the PDF ↗
ConfigurationCaptured file (JSON)
Extraction setup: field descriptions and enabled metadata, metrics and source text
Cited values2 values from this file
schema_fields
[ { "key": "identifier_number", "type": "string", "description": "The receipt or work order number that uniquely identifies this document" }, { "key": "subtotal", "type": "string", "description": "The subtotal amount before tax" }, { "key": "tax", "type": "string", "description": "The tax amount" }, { "key": "total_due", "type": "string", "description": "The total amount due" } ]
config_changed_from_default
{ "include_metadata": { "value": true, "default": false }, "include_metrics": { "value": true, "default": false }, "include_extracted_text": { "value": true, "default": false } }
Show the whole file (5 KB)
JSON
{
  "product": "Unstract",
  "subject_slug": "unstract",
  "case": "TC70",
  "scenario": "S68 · The same field across layouts",
  "task": "86bc6rj24",
  "deployment": "sde-tc70-layouts",
  "inputs": [
    {
      "name": "A_TC1_TC4_TC5A_baseline_receipt.pdf",
      "sha256": "a96bbe1c5b22336e7b54169baf72b85e45eabf1312cd293a1821017b52fa85f7",
      "bytes": 55233
    },
    {
      "name": "B_TC5B_altlabel_receipt.pdf",
      "sha256": "4a0b1754da9f52ce35a783d58f8e8a1b5e1353b5b992d5553122886f1cd4a638",
      "bytes": 7796
    },
    {
      "name": "C_TC5C_altlayout_receipt.pdf",
      "sha256": "0276d246d69482340b53797f4eaa21831977cede22c8c8f14fc48dbf84757660",
      "bytes": 7087
    }
  ],
  "schema_fields": [
    {
      "key": "identifier_number",
      "type": "string",
      "description": "The receipt or work order number that uniquely identifies this document"
    },
    {
      "key": "subtotal",
      "type": "string",
      "description": "The subtotal amount before tax"
    },
    {
      "key": "tax",
      "type": "string",
      "description": "The tax amount"
    },
    {
      "key": "total_due",
      "type": "string",
      "description": "The total amount due"
    }
  ],
  "required": ["identifier_number", "subtotal", "tax", "total_due"],
  "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-TC70-layouts, 4 text prompts; the 3 layout documents are sent together in one call.",
  "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:43 IST",
  "latency_s": 21.5,
  "pages": null,
  "cost": null,
  "output_file": "output.json",
  "response_file": "api_response.json",
  "request_file": "request.json",
  "run_file": "run.json",
  "source_renders": [
    "source_A_TC1_TC4_TC5A_baseline__page_1.png",
    "source_B_TC5B_altlabel_receipt_page_1.png",
    "source_C_TC5C_altlayout_receipt_page_1.png"
  ],
  "code_version": {
    "commit": "51584148c55d28dd7e10aa44d041854f6fa4c139",
    "branch": "adapter/sde-unstract",
    "uncommitted_changes": true
  },
  "extra": {
    "submit_response": {
      "message": {
        "execution_id": "8a215285-495d-4b4e-b689-84eb9fa0ff48",
        "execution_status": "PENDING",
        "status_api": "/deployment/api/org_0pMusmf6SGq5PdXO/sde-tc70-layouts/?execution_id=8a215285-495d-4b4e-b689-84eb9fa0ff48",
        "error": null,
        "result": null
      }
    },
    "polls": [
      {
        "t": 7.5,
        "http": 422,
        "status": "EXECUTING"
      },
      {
        "t": 12.1,
        "http": 422,
        "status": "EXECUTING"
      },
      {
        "t": 16.7,
        "http": 422,
        "status": "EXECUTING"
      },
      {
        "t": 21.5,
        "http": 200,
        "status": "COMPLETED"
      }
    ],
    "execution_id": "8a215285-495d-4b4e-b689-84eb9fa0ff48"
  }
}
Open the JSON file ↗
What the tool returned

Copied from Output file (JSON), item 1 › result › output

JSON
{
  "tax": "$5.10",
  "subtotal": "$85.00",
  "total_due": "$90.10",
  "identifier_number": "RHS-70234"
}

Copied from Output file (JSON), item 2 › result › output

JSON
{
  "tax": "$17.33",
  "subtotal": "$210.00",
  "total_due": "$227.33",
  "identifier_number": "GLR-98213"
}

Copied from Output file (JSON), item 3 › result › output

JSON
{
  "tax": "USD 7.50",
  "subtotal": "USD 150.00",
  "total_due": "USD 157.50",
  "identifier_number": "SPD-2026-0714"
}

Extraction output: document numbers, subtotals, taxes and totals for the three documents

Open the whole JSON file ↗
Expected vs. Found
✓Expected: Correct values from each document.Found: All 12 returned values equaled the source values. Subtotal, tax, total: Riverside $85.00, $5.10, $90.10; GreenLeaf $210.00, $17.33, $227.33; Sunrise USD 150.00, USD 7.50, USD 157.50.
Supporting proof
Proof 1Captured file (JSON)
API request: the three PDFs submitted together and response options
Cited values3 values from this file
files
[ { "name": "A_TC1_TC4_TC5A_baseline_receipt.pdf", "bytes": 55233 }, { "name": "B_TC5B_altlabel_receipt.pdf", "bytes": 7796 }, { "name": "C_TC5C_altlayout_receipt.pdf", "bytes": 7087 } ]
input_sha256
{ "A_TC1_TC4_TC5A_baseline_receipt.pdf": "a96bbe1c5b22336e7b54169baf72b85e45eabf1312cd293a1821017b52fa85f7", "B_TC5B_altlabel_receipt.pdf": "4a0b1754da9f52ce35a783d58f8e8a1b5e1353b5b992d5553122886f1cd4a638", "C_TC5C_altlayout_receipt.pdf": "0276d246d69482340b53797f4eaa21831977cede22c8c8f14fc48dbf84757660" }
form
{ "timeout": "0", "include_metadata": "true", "include_metrics": "true", "include_extracted_text": "true" }
Show the whole file (1 KB)
JSON
{
  "method": "POST",
  "url": "https://eu-west.unstract.com/deployment/api/org_0pMusmf6SGq5PdXO/sde-tc70-layouts/",
  "headers": {
    "Authorization": "Bearer ***masked***"
  },
  "form": {
    "timeout": "0",
    "include_metadata": "true",
    "include_metrics": "true",
    "include_extracted_text": "true"
  },
  "files": [
    {
      "name": "A_TC1_TC4_TC5A_baseline_receipt.pdf",
      "bytes": 55233
    },
    {
      "name": "B_TC5B_altlabel_receipt.pdf",
      "bytes": 7796
    },
    {
      "name": "C_TC5C_altlayout_receipt.pdf",
      "bytes": 7087
    }
  ],
  "deployment": "sde-tc70-layouts",
  "input_sha256": {
    "A_TC1_TC4_TC5A_baseline_receipt.pdf": "a96bbe1c5b22336e7b54169baf72b85e45eabf1312cd293a1821017b52fa85f7",
    "B_TC5B_altlabel_receipt.pdf": "4a0b1754da9f52ce35a783d58f8e8a1b5e1353b5b992d5553122886f1cd4a638",
    "C_TC5C_altlayout_receipt.pdf": "0276d246d69482340b53797f4eaa21831977cede22c8c8f14fc48dbf84757660"
  }
}
Open the JSON file ↗
Why this result

Correct values were required from each layout without changing the schema. All 12 values agreed with the documents, including the alternate invoice labels and USD amounts; the request contained the same three PDFs shown here.

Also observed in this test case

Currency notation preserved. The $90.10 and $227.33 totals retained dollar signs; the USD 157.50 total retained its currency prefix.

Tested by Rugved Nichite · evidence dated 24 November 2026

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.

Software that produced the output
Unstract
Build or version
Not exposed by the hosted product
Model
Azure GPT-4o (free trial)
Surface
API
Set up before the run
The inputs were a Riverside Home Services receipt, a GreenLeaf Appliance Repair invoice and a Sunrise Plumbing & Drain receipt, each one page. The Riverside document was the baseline; GreenLeaf used different labels and positions, while Sunrise used another layout and USD amounts. One Prompt Studio project used the same descriptions for the document number, subtotal, tax and total due, with one prompt per field.
Response metadata
on
Extraction metrics
on
Source text
on
Tested
24 November 2026 (15:43 IST) · Rugved Nichite

How this scenario is graded

How we decide Pass, Fail and Not gradable. The same rules apply to every tool tested on this scenario.

How results are decided

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.

The rules
  • 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.

LevelNameScope
BenchmarkStructured Document Extraction →19 scenarios · 11 tools
CapabilityField Extraction →
ScenarioThe same field across layouts →
ToolUnstract →

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.

from the publication record
25 November 2026First publishedStructured Document Extraction v1

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.

This matches what I see

You run the same kind of test against your own setup and get the same behaviour.

Agree →
This does not match

Yours behaves differently. Tell us what you got, with a screenshot if you have one.

Disagree →
Point out an issue

Something here is wrong — a reference value, a transcription, a grade.

Report an issue →
Request a retest

On a newer build, a larger dataset, or your own setup.

Request a retest →
We have fixed this

Tell us what changed and we schedule a rerun of the failing test case. The old result stays as history.

Vendor notice →
Filed against this evidenceNothing yet. Challenges, counter-evidence and fix notices appear here with their outcome, and stay on the page after they are resolved.
Cite this result
aidemos.com/benchmarks/structured-document-extraction/results/unstract/the-same-field-across-layouts · 1 pass · 0 fail · coverage 1/1 · graded 2026-11-25

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.

Input 1 · Document (PDF) ↗application/pdf · 54 KB
Input 2 · Document (PDF) ↗application/pdf · 8 KB
Input 3 · Document (PDF) ↗application/pdf · 7 KB
Output file (JSON) ↗application/json · 31 KB
Proof 1 · Captured file (JSON) ↗application/json · 1 KB
File fingerprints (SHA-256)

A fingerprint identifies the exact file used for this result.

Input 1 · Document (PDF)a96bbe1c5b22336e7b54169baf72b85e45eabf1312cd293a1821017b52fa85f7
Input 2 · Document (PDF)4a0b1754da9f52ce35a783d58f8e8a1b5e1353b5b992d5553122886f1cd4a638
Input 3 · Document (PDF)0276d246d69482340b53797f4eaa21831977cede22c8c8f14fc48dbf84757660
Output file (JSON)0a8f6dea4f2cb25fb8fc5849d5981f90dbbb439540b23783f849651fbae5757a
Configuration · Captured file (JSON)6a306e01cd50cb540d0bbbbd44580b1adf0d5b1bb11e385013f4f6ec5cd38e95
Proof 1 · Captured file (JSON)712e534142fef646067869ba5ac5ab83313da01d1d872913a1564f0e70c63dc4