{
  "author": "Anant Mishra",
  "date": "2026-11-28",
  "status": "fictional_assumptions_only",
  "scope": "No tax or line adjustments; explicit matching units; AED only",
  "lines": [
    {
      "id": "DEMO-A",
      "quantity": "250",
      "price": "120",
      "base": "100",
      "quantity_unit": "C62",
      "price_unit": "C62",
      "currency": "AED",
      "stated": "300"
    },
    {
      "id": "DEMO-B",
      "quantity": "250",
      "price": "120",
      "base": "100",
      "quantity_unit": "C62",
      "price_unit": "C62",
      "currency": "AED",
      "stated": "30000"
    },
    {
      "id": "DEMO-C",
      "quantity": "250",
      "price": "120",
      "base": "0",
      "quantity_unit": "C62",
      "price_unit": "C62",
      "currency": "AED",
      "stated": "300"
    },
    {
      "id": "DEMO-D",
      "quantity": "250",
      "price": "120",
      "base": "100",
      "quantity_unit": "C62",
      "price_unit": "KGM",
      "currency": "AED",
      "stated": "300"
    },
    {
      "id": "DEMO-E",
      "quantity": "3",
      "price": "1.015",
      "base": "3",
      "quantity_unit": "C62",
      "price_unit": "C62",
      "currency": "AED",
      "stated": "1.02"
    }
  ],
  "expected": [
    {
      "id": "DEMO-A",
      "status": "calculated",
      "unrounded": "300",
      "stated": "300",
      "stated_minus_calculated": "0"
    },
    {
      "id": "DEMO-B",
      "status": "calculated",
      "unrounded": "300",
      "stated": "30000",
      "stated_minus_calculated": "29700"
    },
    {
      "id": "DEMO-C",
      "status": "hold_zero_base"
    },
    {
      "id": "DEMO-D",
      "status": "hold_unit_mismatch"
    },
    {
      "id": "DEMO-E",
      "status": "calculated",
      "unrounded": "203/200",
      "stated": "51/50",
      "stated_minus_calculated": "1/200"
    }
  ]
}
