diff --git a/data/source/invoice-phi169.json b/data/source/invoice-phi169.json new file mode 100644 index 0000000..6fb50ab --- /dev/null +++ b/data/source/invoice-phi169.json @@ -0,0 +1,39 @@ +{ + "_comment": "Extracted from PHI 169.pdf (Std_ReqHireInvoice_DN.rpt) by coordinate-aware extraction AND confirmed by reading the rendered page visually. Totals block: SUB TOTAL 24,360.00 / Escalation 0.00 / PLUS VAT 3,654.00 / INVOICE TOTAL 28,014.00. The 3,654.00 sits under the column headed PLUS VAT - it is 15% VAT, NOT an escalation; escalation is zero. INVOICE TOTAL is VAT-INCLUSIVE. Site is taken from the invoice's own description text.", + "invoice_no": "PHI 169", + "invoice_date": "2026-09-18", + "order_no": "PHR 174", + "debtor": "Mega Infrastructure", + "debtor_no": "09MIS001", + "period_from": "2026-08-21", + "period_to": "2026-09-18", + "description": "Hire Plant Sep 2026 Rooihuiskraal", + "site": "Rooihuiskraal", + "section": "Plant Hire", + "category": "External Plant Hire", + "currency": "ZAR", + "vat_reg_no": "4830324812", + "source_file": "PHI 169.pdf", + "vat_pct": 15, + "subtotal": 24360, + "escalation": 0, + "vat": 3654, + "total_excl": 24360, + "total_incl": 28014, + "lines": [ + { + "line_no": 1, + "machine_code": "TLB07-CASE", + "asset_code": "TLB07", + "_note": "Also billed on PHI 171 (Cosmo City, 7.50 Hr) over the same period. Per the client ruling of 2026-10-01 that is multi-site use of the same machine, so both book to TLB07.", + "description": "570 ST", + "qty": 87, + "unit": "Hr", + "rate": 280, + "rate_type": "Dry Rate", + "amount_excl": 24360, + "vat": 3654, + "total_incl": 28014 + } + ] +} \ No newline at end of file