{ "_comment": "Extracted from PHI 166.pdf (Std_ReqHireInvoice_DN.rpt) by coordinate-aware extraction AND confirmed by reading the rendered pages visually. The totals block on page 2 reads: SUB TOTAL 161,367.50 / Escalation 0.00 / PLUS VAT 24,205.13 / INVOICE TOTAL 185,572.63. So 24,205.13 is 15% VAT, NOT an escalation - escalation is zero on every line. INVOICE TOTAL 185,572.63 is therefore VAT-INCLUSIVE. Do NOT hand-edit a figure to make it balance - the seed re-checks all of this and fails loudly.", "invoice_no": "PHI 166", "invoice_date": "2026-09-18", "order_no": "PHR 170", "debtor": "Mega Infrastructure", "debtor_no": "09MIS001", "period_from": "2026-08-21", "period_to": "2026-09-18", "description": "Plant Hire SEP 2026 West Park", "site": "West Park", "section": "Plant Hire", "category": "External Plant Hire", "currency": "ZAR", "vat_reg_no": "4830324812", "source_file": "PHI 166.pdf", "vat_pct": 15, "subtotal": 161367.5, "escalation": 0, "vat": 24205.13, "total_excl": 161367.5, "total_incl": 185572.63, "lines": [ { "line_no": 1, "machine_code": "MG-01-DEZI", "asset_code": "MG01", "description": "MG80 Motor Grader", "qty": 169.5, "unit": "Hr", "rate": 345, "rate_type": "Dry Rate", "amount_excl": 58477.5, "vat": 8771.63, "total_incl": 67249.13 }, { "line_no": 2, "machine_code": "MPLANT05", "asset_code": "SC01", "_note": "Client ruling 2026-10-01: MPLANT05 also appears on PHI 171 (Cosmo City) over the same period. NOT a duplicate - the same container was used on more than one site this month, so both lines book to the single machine SC01. The register has no MPLANT05 and seven Site Containers (SC01-SC07); SC01 was chosen as the consistent target - change it in the Booked to column if it should be another.", "description": "Storage Container", "qty": 2, "unit": "Month", "rate": 1200, "rate_type": "Dry Rate", "amount_excl": 2400, "vat": 360, "total_incl": 2760 }, { "line_no": 3, "machine_code": "RV-03-CAT", "asset_code": "RV03", "description": "CP-533C 12 TON Roller Vibration", "qty": 171.5, "unit": "Hr", "rate": 240, "rate_type": "Dry Rate", "amount_excl": 41160, "vat": 6174, "total_incl": 47334 }, { "line_no": 4, "machine_code": "TLB05-CASE", "asset_code": "TLB05", "description": "570 T", "qty": 171.5, "unit": "Hr", "rate": 280, "rate_type": "Dry Rate", "amount_excl": 48020, "vat": 7203, "total_incl": 55223 }, { "line_no": 5, "machine_code": "TP601-TATA", "asset_code": "TP601", "description": "1518 6 Cube Tipper Truck", "qty": 43.5, "unit": "Hr", "rate": 260, "rate_type": "Dry Rate", "amount_excl": 11310, "vat": 1696.5, "total_incl": 13006.5 } ] }