{
  "dataset_version": "2026-10-11-evidence-v1",
  "source_edition": "2026-10-08",
  "canonical_url": "https://number7ai.com/invoice-error-lab/",
  "provenance": "synthetic-worked-examples",
  "observed_product_output": false,
  "ground_truth_source": "expected-results.json",
  "usage_rights": "See LICENSE.txt. Synthetic evaluation fixtures; no approved license for public redistribution.",
  "files": [
    {
      "path": "LICENSE.txt",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/LICENSE.txt",
      "bytes": 690,
      "sha256": "1efcedaa105b90a1d1fcc89ef8ae63c531feed3aa6be2509949cce701671e2bb"
    },
    {
      "path": "METHODOLOGY.md",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/METHODOLOGY.md",
      "bytes": 1838,
      "sha256": "b1e18a9485710bea318087ea969265e86996904fca0d58d4a41112754fbeefc1"
    },
    {
      "path": "README.md",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/README.md",
      "bytes": 2032,
      "sha256": "3d9ce1e7fffee95ae560c25b38e9b67508f6ad7cfd5be9a0cf34ab48e78d5cef"
    },
    {
      "path": "evaluation-guide.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/evaluation-guide.pdf",
      "bytes": 44960,
      "sha256": "3071a64154a0b7eb81f789cfe6b89e15adf55c00be0b9c9317d4b2c17a6aa691"
    },
    {
      "path": "evaluation-rubric.json",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/evaluation-rubric.json",
      "bytes": 2087,
      "sha256": "18589ef640ca154af2874ccdc22bf3b8af0ad3b157c0b5a2a079bb4500ede1ea"
    },
    {
      "path": "expected-results.csv",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/expected-results.csv",
      "bytes": 2067,
      "sha256": "a37ec192befc55193ac55f96922ffd0790dd1e4b38ed955cc6b53cb34dcd1192"
    },
    {
      "path": "expected-results.json",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/expected-results.json",
      "bytes": 8093,
      "sha256": "60470cab20bf654f1da8aedec6fec11bd1f4a1e45fec4665779d66a916ef1719"
    },
    {
      "path": "lab-101-decimal.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-101-decimal.pdf",
      "bytes": 44303,
      "sha256": "d890d207fdaa58dc2b49b7747c3f721933c5f1277e5a0c034fd23d9eda3b1582"
    },
    {
      "path": "lab-101-scanned.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-101-scanned.pdf",
      "bytes": 75412,
      "sha256": "f4a6a9c04550a5884f3f6975b04372cbd948f0ad8874480a7222dc0181d9295e"
    },
    {
      "path": "lab-102-line-extension.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-102-line-extension.pdf",
      "bytes": 44386,
      "sha256": "2f3976bc99884d7bf8ed6fe861bf4b5a83131b472da558b6019870fd73ced338"
    },
    {
      "path": "lab-103-tax.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-103-tax.pdf",
      "bytes": 44291,
      "sha256": "155e26af31f5864cbbbca2a2dc200007e9f5d209a39bfcf51ef156a131abca07"
    },
    {
      "path": "lab-104-discount.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-104-discount.pdf",
      "bytes": 44345,
      "sha256": "8dd9d09aa5cf4cb26d14ccfe36685963f8bb7219a0a29fc3d740294597baf3f6"
    },
    {
      "path": "lab-105-charges.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-105-charges.pdf",
      "bytes": 44360,
      "sha256": "9cdb8081f2b94ee29325763fb0ac742ffcef8e234ea8ed35ee6d8326f347564d"
    },
    {
      "path": "lab-106-rounding.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-106-rounding.pdf",
      "bytes": 44298,
      "sha256": "a479a247f579ab8d35f6371b2ca1f6fb0f3474e94c24f6b235ad0e94b256a2ba"
    },
    {
      "path": "lab-107-office-invoice.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-107-office-invoice.pdf",
      "bytes": 44157,
      "sha256": "ac343dccd81b44962bee94c60480c3c313f85f81a913a92f704a5d4a6e3e6850"
    },
    {
      "path": "lab-108-multi-page-freight.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-108-multi-page-freight.pdf",
      "bytes": 45836,
      "sha256": "2bcb7d353e22bb867a8213b596cc29badcf57162e6333d3beb1b5ac4f1173ccc"
    },
    {
      "path": "lab-109-credit-note.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-109-credit-note.pdf",
      "bytes": 44280,
      "sha256": "48740e5073fe60cba539535e6521cff3f6c6c38e4ac870c9d6cc5162d6b4e138"
    },
    {
      "path": "lab-110-po-invoice.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-110-po-invoice.pdf",
      "bytes": 44211,
      "sha256": "4487f238fc2b7dd9bc6d1bae170bf532e64d948792184d15f2d044b3606c838e"
    },
    {
      "path": "lab-111-client-014-freight.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-111-client-014-freight.pdf",
      "bytes": 44165,
      "sha256": "0a7ef80d25871e451cf8c20cd6d01c1e93d4f132a5d8fed71049b47f67a049d6"
    },
    {
      "path": "lab-112-client-042-freight.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-112-client-042-freight.pdf",
      "bytes": 44176,
      "sha256": "0ab8ce36c70f87719be0775a4e89755ed6d3918767feec49e433906fc544b4a1"
    },
    {
      "path": "lab-113-email-clarification.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/lab-113-email-clarification.pdf",
      "bytes": 44220,
      "sha256": "b8a6d621b741ed41f989eb2725d04b63864b7e1b8e2ed6e3236bb82eb099a8a6"
    },
    {
      "path": "mixed-vendor-bundle.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/mixed-vendor-bundle.pdf",
      "bytes": 132276,
      "sha256": "3a9cea7549af3ad0c5b59a807f1594225459fc2dec3b83dc54d582bfcbfa9e20"
    },
    {
      "path": "stateful-matching-evidence.pdf",
      "url": "https://number7ai.com/assets/downloads/invoice-error-lab/stateful-matching-evidence.pdf",
      "bytes": 47503,
      "sha256": "e08e578a508c397685c095c13419b8ce513590344cab168f8ade5d428cd8fc4c"
    }
  ],
  "cases": [
    {
      "id": "LAB-101",
      "fragment": "case-lab-101",
      "kind": "arithmetic",
      "title": "Decimal shift",
      "source_files": [
        "lab-101-decimal.pdf"
      ],
      "expected_outcome": {
        "subtotal": "1250.00",
        "tax": "125.00",
        "total": "1375.00"
      },
      "manufactured_extraction": {
        "subtotal": "125.00",
        "tax": "125.00",
        "total": "250.00"
      },
      "correct_abstention": "Hold if the source itself conflicts; never silently edit a supplier document.",
      "known_ambiguity": "The supplied synthetic policy defines the tax base and cent rounding.",
      "summary": "The original invoice supports subtotal 1250.00, tax 125.00 and total 1375.00. The deliberately corrupted extraction totals 250.00. Score recovery against the unchanged PDF, not against the manufactured extraction."
    },
    {
      "id": "LAB-102",
      "fragment": "case-lab-102",
      "kind": "arithmetic",
      "title": "Line extension",
      "source_files": [
        "lab-102-line-extension.pdf"
      ],
      "expected_outcome": {
        "subtotal": "177.00",
        "tax": "17.70",
        "total": "194.70"
      },
      "manufactured_extraction": {
        "subtotal": "195.00",
        "tax": "19.50",
        "total": "214.50"
      },
      "correct_abstention": "Hold if the source itself conflicts; never silently edit a supplier document.",
      "known_ambiguity": "The supplied synthetic policy defines the tax base and cent rounding.",
      "summary": "The original invoice supports subtotal 177.00, tax 17.70 and total 194.70. The deliberately corrupted extraction totals 214.50. Score recovery against the unchanged PDF, not against the manufactured extraction."
    },
    {
      "id": "LAB-103",
      "fragment": "case-lab-103",
      "kind": "arithmetic",
      "title": "Tax calculation",
      "source_files": [
        "lab-103-tax.pdf"
      ],
      "expected_outcome": {
        "subtotal": "800.00",
        "tax": "60.00",
        "total": "860.00"
      },
      "manufactured_extraction": {
        "subtotal": "800.00",
        "tax": "80.00",
        "total": "880.00"
      },
      "correct_abstention": "Hold if the source itself conflicts; never silently edit a supplier document.",
      "known_ambiguity": "The supplied synthetic policy defines the tax base and cent rounding.",
      "summary": "The original invoice supports subtotal 800.00, tax 60.00 and total 860.00. The deliberately corrupted extraction totals 880.00. Score recovery against the unchanged PDF, not against the manufactured extraction."
    },
    {
      "id": "LAB-104",
      "fragment": "case-lab-104",
      "kind": "arithmetic",
      "title": "Discount and tax base",
      "source_files": [
        "lab-104-discount.pdf"
      ],
      "expected_outcome": {
        "subtotal": "400.00",
        "tax": "28.80",
        "total": "388.80"
      },
      "manufactured_extraction": {
        "subtotal": "400.00",
        "tax": "32.00",
        "total": "392.00"
      },
      "correct_abstention": "Hold if the source itself conflicts; never silently edit a supplier document.",
      "known_ambiguity": "The supplied synthetic policy defines the tax base and cent rounding.",
      "summary": "The original invoice supports subtotal 400.00, tax 28.80 and total 388.80. The deliberately corrupted extraction totals 392.00. Score recovery against the unchanged PDF, not against the manufactured extraction."
    },
    {
      "id": "LAB-105",
      "fragment": "case-lab-105",
      "kind": "arithmetic",
      "title": "Omitted charges",
      "source_files": [
        "lab-105-charges.pdf"
      ],
      "expected_outcome": {
        "subtotal": "200.00",
        "tax": "21.20",
        "total": "233.20"
      },
      "manufactured_extraction": {
        "subtotal": "200.00",
        "tax": "20.00",
        "total": "220.00"
      },
      "correct_abstention": "Hold if the source itself conflicts; never silently edit a supplier document.",
      "known_ambiguity": "The supplied synthetic policy defines the tax base and cent rounding.",
      "summary": "The original invoice supports subtotal 200.00, tax 21.20 and total 233.20. The deliberately corrupted extraction totals 220.00. Score recovery against the unchanged PDF, not against the manufactured extraction."
    },
    {
      "id": "LAB-106",
      "fragment": "case-lab-106",
      "kind": "arithmetic",
      "title": "Cent rounding",
      "source_files": [
        "lab-106-rounding.pdf"
      ],
      "expected_outcome": {
        "subtotal": "59.97",
        "tax": "4.95",
        "total": "64.92"
      },
      "manufactured_extraction": {
        "subtotal": "59.97",
        "tax": "4.94",
        "total": "64.91"
      },
      "correct_abstention": "Hold if the source itself conflicts; never silently edit a supplier document.",
      "known_ambiguity": "The supplied synthetic policy defines the tax base and cent rounding.",
      "summary": "The original invoice supports subtotal 59.97, tax 4.95 and total 64.92. The deliberately corrupted extraction totals 64.91. Score recovery against the unchanged PDF, not against the manufactured extraction."
    },
    {
      "id": "mixed-pdf",
      "fragment": "case-mixed-pdf",
      "kind": "boundaries",
      "title": "Mixed vendors and a multi-page invoice",
      "source_files": [
        "mixed-vendor-bundle.pdf"
      ],
      "expected_outcome": [
        {
          "invoice_id": "LAB-107",
          "vendor": "Summit Office Supply",
          "kind": "invoice",
          "pages": [
            1
          ],
          "pdf": "lab-107-office-invoice.pdf",
          "lines": [
            {
              "description": "Storage units",
              "quantity": "6",
              "unit_price": "80.00"
            }
          ],
          "total": "480.00"
        },
        {
          "invoice_id": "LAB-108",
          "vendor": "Westbridge Logistics",
          "kind": "invoice",
          "pages": [
            2,
            3
          ],
          "pdf": "lab-108-multi-page-freight.pdf",
          "lines": [
            {
              "description": "Regional freight",
              "quantity": "1",
              "unit_price": "160.00"
            },
            {
              "description": "Site transfer",
              "quantity": "1",
              "unit_price": "70.00"
            },
            {
              "description": "Loading service",
              "quantity": "1",
              "unit_price": "35.00"
            },
            {
              "description": "Final-mile delivery",
              "quantity": "1",
              "unit_price": "60.00"
            },
            {
              "description": "Handling service",
              "quantity": "1",
              "unit_price": "23.00"
            }
          ],
          "total": "348.00"
        },
        {
          "invoice_id": "LAB-109",
          "vendor": "Summit Office Supply",
          "kind": "credit_note",
          "pages": [
            4
          ],
          "pdf": "lab-109-credit-note.pdf",
          "invoice_reference": "LAB-107",
          "lines": [
            {
              "description": "Credit for returned supplies",
              "quantity": "1",
              "unit_price": "48.00"
            }
          ],
          "total": "48.00",
          "signed_accounting_amount": "-48.00"
        }
      ],
      "correct_abstention": "Keep unresolved page ownership in review; do not silently merge distinct bills.",
      "known_ambiguity": "This fixture has a complete answer key; uncertain real boundaries still require review.",
      "summary": "The four-page source contains LAB-107 on page 1, LAB-108 on pages 2–3 and credit note LAB-109 on page 4. The correct result is three business documents with their original page memberships."
    },
    {
      "id": "stateful-matching",
      "fragment": "case-stateful-matching",
      "kind": "matching",
      "title": "A receipt correction makes 20 units unsupported",
      "source_files": [
        "lab-110-po-invoice.pdf",
        "stateful-matching-evidence.pdf"
      ],
      "expected_outcome": {
        "received_quantity": 430,
        "cumulative_invoice_quantity": 450,
        "unsupported_quantity": 20,
        "remaining_order_quantity": 50,
        "action": "hold_for_receipt_or_invoice_resolution",
        "approval": "separate_required_step"
      },
      "correct_abstention": "Hold for receipt or invoice resolution; do not auto-accept all 200 units.",
      "known_ambiguity": "Zero tolerance and the earlier 250 invoiced units are fixture assumptions. Approval is a separate step.",
      "summary": "Receipts 300 + 150 − 20 support 430 units. Earlier invoicing of 250 plus the current 200 reaches 450. Hold the 20 unsupported units; the 50 units remaining on the PO do not establish receipt."
    },
    {
      "id": "coding-memory",
      "fragment": "case-coding-memory",
      "kind": "client_coding",
      "title": "One vendor, two client-specific treatments",
      "source_files": [
        "lab-111-client-014-freight.pdf",
        "lab-112-client-042-freight.pdf"
      ],
      "expected_outcome": [
        {
          "id": "014",
          "name": "Harbor Retail",
          "invoice_id": "LAB-111",
          "account": "Delivery expense",
          "pdf": "lab-111-client-014-freight.pdf"
        },
        {
          "id": "042",
          "name": "Pinehill Manufacturing",
          "invoice_id": "LAB-112",
          "account": "Cost of goods sold",
          "pdf": "lab-112-client-042-freight.pdf"
        }
      ],
      "correct_abstention": "If the supplied client treatment is unavailable, request it rather than infer an account from the vendor name.",
      "known_ambiguity": "The answer key supplies client policy; an invoice alone does not establish a universal GL account.",
      "summary": "Westbridge Logistics is coded to Delivery expense for Harbor Retail (014) and Cost of goods sold for Pinehill Manufacturing (042). Score client attribution and account choice together."
    },
    {
      "id": "email-reply",
      "fragment": "case-email-reply",
      "kind": "clarification",
      "title": "A clarification reply permits review to continue",
      "source_files": [
        "lab-113-email-clarification.pdf"
      ],
      "expected_outcome": {
        "next_state": "Answer received; reviewer can continue",
        "approval": "Configured review and approval still apply"
      },
      "correct_abstention": "A reply is evidence, not approval, posting or payment.",
      "known_ambiguity": "This is a synthetic conversation; the lab does not send email or execute a product workflow.",
      "summary": "The supplied client answer names the North site project. Associate the answer with LAB-113 and continue configured review. Do not score the illustrated answer as a real email delivery or accounting action."
    }
  ],
  "rubric": "evaluation-rubric.json"
}
