{
  "method": "Actual parse_receipt_text output from synthetic supplied text. No OCR, camera, upload, email or production route was tested. These cases are demonstrations, not an independent accuracy benchmark.",
  "cases": [
    {
      "slug": "dining",
      "source": "DEMO CAFE\nReceipt 1234\n2026-08-24\nCurrency USD\nFood 40.00\nSubtotal 40.00\nTax 4.00\nTip 8.00\nTotal 52.00",
      "expectedInvoiceOrSaleTotal": "52.00",
      "output": {
        "merchant_name": "DEMO CAFE",
        "receipt_number": "1234",
        "purchased_at": "2026-08-24T00:00:00+00:00",
        "currency": "USD",
        "currency_candidates": [
          "USD"
        ],
        "currency_inferred": false,
        "multi_currency": false,
        "subtotal": "40.00",
        "discount": null,
        "tax": "4.00",
        "tip": "8.00",
        "total": "52.00",
        "payment_method": null,
        "receipt_kind": "food",
        "expense_category": "Meals",
        "document_variant": "receipt",
        "tax_inclusive": false,
        "confidence": 0.88,
        "arithmetic_ok": true,
        "items_ok": true,
        "status": "ready",
        "line_items": [
          {
            "description": "Food",
            "quantity": "1.00",
            "unit_price": "40.00",
            "amount": "40.00",
            "confidence": 0.76
          }
        ]
      },
      "sourceSha256": "6e0fd5e751d918bc8aaee61a026d0a78f106d504f2610acc15bb36988655b438"
    },
    {
      "slug": "fuel",
      "source": "DEMO FUEL\nReceipt H123\n24/08/2026\nCurrency INR\nProduct: Diesel\nRate(Rs/L): 98.79\nVolume(L): 40.49\nAmount(Rs): 4000.00\nAtot: 36473023.61",
      "expectedInvoiceOrSaleTotal": "4000.00",
      "output": {
        "merchant_name": "DEMO FUEL",
        "receipt_number": null,
        "purchased_at": "2026-08-24T00:00:00+00:00",
        "currency": "INR",
        "currency_candidates": [
          "INR"
        ],
        "currency_inferred": false,
        "multi_currency": false,
        "subtotal": "4000.00",
        "discount": null,
        "tax": null,
        "tip": null,
        "total": "4000.00",
        "payment_method": null,
        "receipt_kind": "fuel",
        "expense_category": "Fuel",
        "document_variant": "receipt",
        "tax_inclusive": false,
        "confidence": 0.96,
        "arithmetic_ok": true,
        "items_ok": true,
        "status": "ready",
        "line_items": [
          {
            "description": "Diesel",
            "quantity": "40.49",
            "unit_price": "98.79",
            "amount": "4000.00",
            "confidence": 0.94
          }
        ]
      },
      "sourceSha256": "650221b2a3b5e3f6eb372289d437e16fce99d43c5f12e527551c459b7312711f"
    },
    {
      "slug": "partial-invoice",
      "source": "DEMO SERVICES\nInvoice 1234\n2026-08-24\nCurrency USD\nSubtotal 100.00\nTax 10.00\nInvoice total 110.00\nDeposit paid 30.00\nBalance due 80.00",
      "expectedInvoiceOrSaleTotal": "110.00",
      "output": {
        "merchant_name": "DEMO SERVICES",
        "receipt_number": "1234",
        "purchased_at": "2026-08-24T00:00:00+00:00",
        "currency": "USD",
        "currency_candidates": [
          "USD"
        ],
        "currency_inferred": false,
        "multi_currency": false,
        "subtotal": "100.00",
        "discount": null,
        "tax": "10.00",
        "tip": null,
        "total": "110.00",
        "payment_method": null,
        "receipt_kind": "general",
        "expense_category": null,
        "document_variant": "receipt",
        "tax_inclusive": false,
        "confidence": 0.88,
        "arithmetic_ok": true,
        "items_ok": false,
        "status": "needs_review",
        "line_items": [
          {
            "description": "Deposit paid",
            "quantity": "1.00",
            "unit_price": "30.00",
            "amount": "30.00",
            "confidence": 0.76
          }
        ]
      },
      "sourceSha256": "0dc2b67c5ef2c9dee139dc61283ca21ae3e6017afa04152aa1291137a357f684"
    }
  ]
}
