[
  {
    "source_file": "inputs/invoice-01.png",
    "supplier": "Cedar Print",
    "invoice_number": "000742",
    "invoice_date": "2026-10-18",
    "po": "PO-1042",
    "currency": "CAD",
    "line_items": [
      {
        "description": "Workshop handbooks",
        "qty": 80,
        "unit_price": 7.5,
        "amount": 600.0,
        "po_qty": 80,
        "po_unit_cad": 7.5,
        "recalculated_amount": 600.0
      }
    ],
    "subtotal": 600.0,
    "tax": 72.0,
    "shipping": 20.0,
    "total": 692.0,
    "recalculated": {
      "subtotal": 600.0,
      "tax_12pct_merchandise": 72.0,
      "total": 692.0
    },
    "bank_account_suffix": "0412",
    "po_bank_suffix": "0412",
    "uncertain_characters": [],
    "exceptions": [
      "INFO: Shipping 20.00 CAD is not a line on PO-1042 (inputs/purchase-orders.csv); PO has no shipping column, so confirm shipping is authorised before approval."
    ],
    "status": "Matches PO and arithmetic; minor shipping confirmation only"
  },
  {
    "source_file": "inputs/invoice-02.png",
    "supplier": "Harbour AV",
    "invoice_number": "001083",
    "invoice_date": "2026-10-19",
    "po": "PO-1043",
    "currency": "CAD",
    "line_items": [
      {
        "description": "Microphone rental",
        "qty": 3,
        "unit_price": 85.0,
        "amount": 255.0,
        "po_qty": 2,
        "po_unit_cad": 85.0,
        "recalculated_amount": 255.0
      },
      {
        "description": "Stand rental",
        "qty": 2,
        "unit_price": 15.0,
        "amount": 30.0,
        "po_qty": 2,
        "po_unit_cad": 15.0,
        "recalculated_amount": 30.0
      }
    ],
    "subtotal": 285.0,
    "tax": 34.2,
    "shipping": 0.0,
    "total": 329.2,
    "recalculated": {
      "subtotal": 285.0,
      "tax_12pct_merchandise": 34.2,
      "total": 319.2,
      "po_expected_subtotal": 200.0,
      "po_expected_tax": 24.0,
      "po_expected_total": 224.0
    },
    "bank_account_suffix": "8891",
    "po_bank_suffix": "8821",
    "uncertain_characters": [],
    "exceptions": [
      "HOLD: Stated total 329.20 does not equal subtotal 285.00 + tax 34.20 + shipping 0.00 = 319.20 (overstated by 10.00).",
      "HOLD: Microphone rental qty 3 vs PO-1043 qty 2 (inputs/purchase-orders.csv); excess 1 x 85.00 = 85.00 + 10.20 tax = 95.20.",
      "HOLD: Bank account suffix 8891 differs from PO-1043 record 8821, and invoice states 'Banking details updated on this invoice' - possible payment-redirection risk; verify via independently held supplier contact through the authorised process before any payment.",
      "INFO: If billed per PO, expected total is 200.00 + 24.00 tax = 224.00 CAD vs 329.20 stated (difference 105.20)."
    ],
    "status": "Do not pay - hold pending verification"
  }
]
