Canonical sample

dt-c40e65fdbc741dcdf99d51f3

Seed
10001
Template
invoice-nordic-minimal-v1
Renderer
pillow-opencv-v0.5.0-physical-assets-v1
Recipe
clean

Exact recipe

[]

Quality metrics

{
  "blur_laplacian_variance": 1502.8061,
  "brightness_mean": 245.783,
  "brightness_std": 41.0687,
  "contrast_rms": 41.0687,
  "damage_coverage": 0,
  "document_area_fraction": 1,
  "edge_distortion": 0,
  "glare_coverage": 0.89477,
  "mean_color_shift": 0,
  "shadow_coverage": 0.032798
}

OCR output + metrics

{
  "engine": "tesseract",
  "engine_version": "5.5.0",
  "exit_code": 0,
  "field_metrics": {
    "date_field_accuracy": 1,
    "field_exact_match": 0.742857,
    "field_normalized_match": 0.742857,
    "matched_fields": 26,
    "numeric_field_accuracy": 0.681818,
    "total_fields": 35
  },
  "field_results": [
    {
      "exact_match": true,
      "field_id": "currency",
      "field_type": "currency",
      "normalized_match": true,
      "value": "EUR"
    },
    {
      "exact_match": true,
      "field_id": "customer_address",
      "field_type": "customer_address",
      "normalized_match": true,
      "value": "82 Wattle Parade, Melbourne VIC 3000"
    },
    {
      "exact_match": true,
      "field_id": "customer_name",
      "field_type": "customer_name",
      "normalized_match": true,
      "value": "Civic Form Systems"
    },
    {
      "exact_match": false,
      "field_id": "discount",
      "field_type": "discount",
      "normalized_match": false,
      "value": "€0.00"
    },
    {
      "exact_match": true,
      "field_id": "due_date",
      "field_type": "due_date",
      "normalized_match": true,
      "value": "2026-07-16"
    },
    {
      "exact_match": true,
      "field_id": "invoice_date",
      "field_type": "invoice_date",
      "normalized_match": true,
      "value": "2026-06-01"
    },
    {
      "exact_match": true,
      "field_id": "invoice_number",
      "field_type": "invoice_number",
      "normalized_match": true,
      "value": "B26-156481"
    },
    {
      "exact_match": false,
      "field_id": "line_item_header",
      "field_type": "line_item_header",
      "normalized_match": false,
      "value": "AMOUNT"
    },
    {
      "exact_match": true,
      "field_id": "payment_terms",
      "field_type": "payment_terms",
      "normalized_match": true,
      "value": "Net 45"
    },
    {
      "exact_match": false,
      "field_id": "shipping",
      "field_type": "shipping",
      "normalized_match": false,
      "value": "€0.00"
    },
    {
      "exact_match": false,
      "field_id": "subtotal",
      "field_type": "subtotal",
      "normalized_match": false,
      "value": "€6,049.90"
    },
    {
      "exact_match": false,
      "field_id": "supplier_address",
      "field_type": "supplier_address",
      "normalized_match": false,
      "value": "907 Cypress Avenue, Vancouver, BC V6B 2W2"
    },
    {
      "exact_match": true,
      "field_id": "supplier_name",
      "field_type": "supplier_name",
      "normalized_match": true,
      "value": "Blue Harbor Office Goods"
    },
    {
      "exact_match": true,
      "field_id": "tax",
      "field_type": "tax",
      "normalized_match": true,
      "value": "€1,270.48"
    },
    {
      "exact_match": true,
      "field_id": "total",
      "field_type": "total",
      "normalized_match": true,
      "value": "€7,320.38"
    },
    {
      "exact_match": true,
      "field_id": "line_item_0_description",
      "field_type": "line_item_description",
      "line_item_index": 0,
      "normalized_match": true,
      "value": "Thermal receipt rolls"
    },
    {
      "exact_match": true,
      "field_id": "line_item_0_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 0,
      "normalized_match": true,
      "value": "14"
    },
    {
      "exact_match": false,
      "field_id": "line_item_0_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 0,
      "normalized_match": false,
      "value": "€119.97"
    },
    {
      "exact_match": true,
      "field_id": "line_item_0_tax",
      "field_type": "line_item_tax",
      "line_item_index": 0,
      "normalized_match": true,
      "value": "21.0%"
    },
    {
      "exact_match": true,
      "field_id": "line_item_0_amount",
      "field_type": "line_item_amount",
      "line_item_index": 0,
      "normalized_match": true,
      "value": "€1,679.58"
    },
    {
      "exact_match": true,
      "field_id": "line_item_1_description",
      "field_type": "line_item_description",
      "line_item_index": 1,
      "normalized_match": true,
      "value": "Acid-free dividers"
    },
    {
      "exact_match": true,
      "field_id": "line_item_1_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 1,
      "normalized_match": true,
      "value": "1"
    },
    {
      "exact_match": true,
      "field_id": "line_item_1_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 1,
      "normalized_match": true,
      "value": "€142.75"
    },
    {
      "exact_match": true,
      "field_id": "line_item_1_tax",
      "field_type": "line_item_tax",
      "line_item_index": 1,
      "normalized_match": true,
      "value": "21.0%"
    },
    {
      "exact_match": true,
      "field_id": "line_item_1_amount",
      "field_type": "line_item_amount",
      "line_item_index": 1,
      "normalized_match": true,
      "value": "€142.75"
    },
    {
      "exact_match": true,
      "field_id": "line_item_2_description",
      "field_type": "line_item_description",
      "line_item_index": 2,
      "normalized_match": true,
      "value": "Secure courier envelopes"
    },
    {
      "exact_match": true,
      "field_id": "line_item_2_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 2,
      "normalized_match": true,
      "value": "16"
    },
    {
      "exact_match": false,
      "field_id": "line_item_2_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 2,
      "normalized_match": false,
      "value": "€167.10"
    },
    {
      "exact_match": true,
      "field_id": "line_item_2_tax",
      "field_type": "line_item_tax",
      "line_item_index": 2,
      "normalized_match": true,
      "value": "21.0%"
    },
    {
      "exact_match": true,
      "field_id": "line_item_2_amount",
      "field_type": "line_item_amount",
      "line_item_index": 2,
      "normalized_match": true,
      "value": "€2,673.60"
    },
    {
      "exact_match": true,
      "field_id": "line_item_3_description",
      "field_type": "line_item_description",
      "line_item_index": 3,
      "normalized_match": true,
      "value": "Tamper-evident labels"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_quantity",
      "field_type": "line_item_quantity",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "17"
    },
    {
      "exact_match": false,
      "field_id": "line_item_3_unit_price",
      "field_type": "line_item_unit_price",
      "line_item_index": 3,
      "normalized_match": false,
      "value": "€91.41"
    },
    {
      "exact_match": true,
      "field_id": "line_item_3_tax",
      "field_type": "line_item_tax",
      "line_item_index": 3,
      "normalized_match": true,
      "value": "21.0%"
    },
    {
      "exact_match": true,
      "field_id": "line_item_3_amount",
      "field_type": "line_item_amount",
      "line_item_index": 3,
      "normalized_match": true,
      "value": "€1,553.97"
    }
  ],
  "ground_truth_text": "Blue Harbor Office Goods Invoice 907 Cypress Avenue, Vancouver, BC V6B 2W2 BILL TO INVOICE NO. Civic Form Systems B26-156481 82 Wattle Parade, Melbourne VIC 3000 INVOICE DATE 2026-06-01 DUE DATE 2026-07-16 PAYMENT TERMS Net 45 CURRENCY EUR DESCRIPTION QTY UNIT TAX AMOUNT Thermal receipt rolls 14 €119.97 21.0% €1,679.58 Acid-free dividers 1 €142.75 21.0% €142.75 Secure courier envelopes 16 €167.10 21.0% €2,673.60 Tamper-evident labels 17 €91.41 21.0% €1,553.97 SUBTOTAL €6,049.90 DISCOUNT €0.00 SHIPPING €0.00 VAT 21% €1,270.48 TOTAL €7,320.38 Payment reference: B26-156481 · Fictional entities · synthetic invoice",
  "methodology_version": "spatial-field-lines-v1",
  "metrics": {
    "cer": 0.155993,
    "date_field_accuracy": 1,
    "field_exact_match": 0.742857,
    "field_normalized_match": 0.742857,
    "matched_fields": 26,
    "numeric_field_accuracy": 0.681818,
    "total_fields": 35,
    "wer": 0.322581
  },
  "sequence_metrics": {
    "cer": 0.155993,
    "reading_order": "spatial-field-lines-v1",
    "wer": 0.322581
  },
  "stderr": "",
  "text": "Blue Harbor Office Goods | nvo i ce\nBILL To INVOICE wo\nCivic Form Systems B26-156481\n82 Wattle Parade, Melbourne VIC 3000 INVOICE DATE\n2026-06-01\nDUE Dare\n2026-07-16\nPAYMENT TERMS\nNet 45\ncurrency\nEUR\nThermal receipt rolls u 119.97 21.0%  €1,679.58\nAcid-free dividers 1 142.75 210% — €142.75\nsecure courier envelopes 1s 167.10 21.0% — €2,673.60\nTamper-evident labels uv 91.81 21.0% — €1,553.97\nSUBTOTAL 6,049.90\noiscount £0.00\nSHIPPING £0.00\nvar 21% €1,270.48\nTOTAL €7,320.38\nPayment reference: B26-156481 - Fictional entities - synthetic invoice\n",
  "word_diff": [
    "--- ground_truth",
    "+++ tesseract",
    "@@ -2,18 +2,14 @@",
    " Harbor",
    " Office",
    " Goods",
    "-Invoice",
    "-907",
    "-Cypress",
    "-Avenue,",
    "-Vancouver,",
    "-BC",
    "-V6B",
    "-2W2",
    "+|",
    "+nvo",
    "+i",
    "+ce",
    " BILL",
    "-TO",
    "+To",
    " INVOICE",
    "-NO.",
    "+wo",
    " Civic",
    " Form",
    " Systems",
    "@@ -28,52 +24,50 @@",
    " DATE",
    " 2026-06-01",
    " DUE",
    "-DATE",
    "+Dare",
    " 2026-07-16",
    " PAYMENT",
    " TERMS",
    " Net",
    " 45",
    "-CURRENCY",
    "+currency",
    " EUR",
    "-DESCRIPTION",
    "-QTY",
    "-UNIT",
    "-TAX",
    "-AMOUNT",
    " Thermal",
    " receipt",
    " rolls",
    "-14",
    "-€119.97",
    "+u",
    "+119.97",
    " 21.0%",
    " €1,679.58",
    " Acid-free",
    " dividers",
    " 1",
    "+142.75",
    "+210%",
    "+—",
    " €142.75",
    "-21.0%",
    "-€142.75",
    "-Secure",
    "+secure",
    " courier",
    " envelopes",
    "-16",
    "-€167.10",
    "+1s",
    "+167.10",
    " 21.0%",
    "+—",
    " €2,673.60",
    " Tamper-evident",
    " labels",
    "-17",
    "-€91.41",
    "+uv",
    "+91.81",
    " 21.0%",
    "+—",
    " €1,553.97",
    " SUBTOTAL",
    "-€6,049.90",
    "-DISCOUNT",
    "-€0.00",
    "+6,049.90",
    "+oiscount",
    "+£0.00",
    " SHIPPING",
    "-€0.00",
    "-VAT",
    "+£0.00",
    "+var",
    " 21%",
    " €1,270.48",
    " TOTAL",
    "@@ -81,9 +75,9 @@",
    " Payment",
    " reference:",
    " B26-156481",
    "-·",
    "+-",
    " Fictional",
    " entities",
    "-·",
    "+-",
    " synthetic",
    " invoice"
  ]
}

Generation provenance

{
  "artifact_id": "dt-c40e65fdbc741dcdf99d51f3",
  "degradation_asset_registry_version": null,
  "generated_at": "2026-09-05T06:11:04.325624+00:00",
  "recipe": null,
  "renderer": "canonical",
  "renderer_version": "pillow-opencv-v0.5.0-physical-assets-v1",
  "request_sha256": "c40e65fdbc741dcdf99d51f3ef46aa922443241fad95a5911f5df6c0d489faab",
  "seed": 10001,
  "software": {
    "numpy": "2.2.6",
    "opencv": "4.12.0",
    "pillow": "11.3.0",
    "python": "3.12.14"
  },
  "template_id": "invoice-nordic-minimal-v1"
}