[
  {
    "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
      }
    ],
    "subtotal": 600.0,
    "tax": 72.0,
    "shipping": 20.0,
    "total": 692.0,
    "bank_account_suffix": "0412",
    "exceptions": [
      {
        "code": "SHIPPING_NOT_ON_PO",
        "severity": "low",
        "field": "shipping",
        "invoice_value": 20.0,
        "expected_value": null,
        "detail": "Invoice charges 20.00 CAD shipping. inputs/purchase-orders.csv has no shipping/freight column, so this charge can be neither confirmed nor contradicted against PO-1042. Confirm the shipping charge was agreed before payment. No other discrepancy: qty 80 and unit 7.50 match the PO; 80 x 7.50 = 600.00; tax 12% x 600.00 = 72.00; 600.00 + 72.00 + 20.00 = 692.00; bank suffix 0412 matches the PO."
      }
    ]
  },
  {
    "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
      },
      {
        "description": "Stand rental",
        "qty": 2,
        "unit_price": 15.0,
        "amount": 30.0
      }
    ],
    "subtotal": 285.0,
    "tax": 34.2,
    "shipping": 0.0,
    "total": 329.2,
    "bank_account_suffix": "8891",
    "exceptions": [
      {
        "code": "BANK_ACCOUNT_MISMATCH",
        "severity": "high",
        "field": "bank_account_suffix",
        "invoice_value": "8891",
        "expected_value": "8821",
        "detail": "Invoice shows bank account ending 8891; both PO-1043 rows in inputs/purchase-orders.csv record 8821. Invoice footer states 'Banking details updated on this invoice.' An unverified bank-detail change on an invoice is a payment-fraud risk. Hold payment until the change is verified through an independent, previously known supplier contact (not details taken from this invoice)."
      },
      {
        "code": "TOTAL_ARITHMETIC_ERROR",
        "severity": "high",
        "field": "total",
        "invoice_value": 329.2,
        "expected_value": 319.2,
        "detail": "Stated total 329.20 does not equal the invoice's own components: subtotal 285.00 + tax 34.20 + shipping 0.00 = 319.20. Stated total is 10.00 too high. The 'total' field above preserves the value printed on the invoice."
      },
      {
        "code": "QUANTITY_EXCEEDS_PO",
        "severity": "high",
        "field": "line_items[0].qty",
        "invoice_value": 3,
        "expected_value": 2,
        "detail": "Microphone rental billed qty 3; PO-1043 authorises qty 2 at 85.00 (unit price matches). Excess of 1 unit = 85.00 merchandise + 10.20 tax (12%) = 95.20. The invoice subtotal 285.00 and tax 34.20 are arithmetically correct but are based on the billed qty 3. Confirm what was actually received/used; the inputs contain no receiving record. Stand rental (qty 2 at 15.00) matches the PO. For reference, at PO quantities and prices: (2 x 85.00) + (2 x 15.00) = 200.00; tax 12% = 24.00; shipping 0.00; total 224.00, which is 105.20 below the printed total (95.20 extra unit incl. tax + 10.00 arithmetic error)."
      }
    ]
  }
]
