{ "invoice_id": "invoice_scan", "source_pdf_path": "C:\\Users\\Usuario\\InvoiceAgent\\test-assets\\invoice_scan.pdf", "processed_at": "2026-08-20T07:59:03.0967658+00:00", "fields": { "invoice_number": { "value": null, "matched_ocr_text": null, "ocr_confidence": null, "bbox": null, "verified": false }, "invoice_date": { "value": null, "matched_ocr_text": null, "ocr_confidence": null, "bbox": null, "verified": false }, "vendor_name": { "value": null, "matched_ocr_text": null, "ocr_confidence": null, "bbox": null, "verified": false }, "currency": { "value": "GBP", "matched_ocr_text": "\u00A3", "ocr_confidence": null, "bbox": null, "verified": false }, "subtotal": { "value": 10862.5, "matched_ocr_text": "\u00A310,862.50", "ocr_confidence": 86.53607177734375, "bbox": { "x": 2077, "y": 1905, "width": 189, "height": 35 }, "verified": true }, "tax": { "value": 2172.5, "matched_ocr_text": "\u00A32,172.50", "ocr_confidence": 89.11575317382812, "bbox": { "x": 2098, "y": 2004, "width": 168, "height": 35 }, "verified": true }, "total_due": { "value": 13035, "matched_ocr_text": "\u00A313,035.00", "ocr_confidence": 91.68980407714844, "bbox": { "x": 2029, "y": 2123, "width": 237, "height": 41 }, "verified": true }, "line_items[0].description": { "value": "ry Retainer \u2014 August 2026", "matched_ocr_text": "ry Retainer \u2014 August 2026", "ocr_confidence": 60.66159439086914, "bbox": { "x": 495, "y": 1291, "width": 486, "height": 41 }, "verified": true }, "line_items[0].quantity": { "value": 1, "matched_ocr_text": "1", "ocr_confidence": 94.48915100097656, "bbox": { "x": 1517, "y": 1292, "width": 11, "height": 29 }, "verified": true }, "line_items[0].unit_price": { "value": 4500, "matched_ocr_text": "\u00A34,500.00", "ocr_confidence": 92.31877899169922, "bbox": { "x": 1733, "y": 1291, "width": 168, "height": 35 }, "verified": true }, "line_items[0].total": { "value": 4500, "matched_ocr_text": "\u00A34,500.00", "ocr_confidence": 92.31877899169922, "bbox": { "x": 1733, "y": 1291, "width": 168, "height": 35 }, "verified": true }, "line_items[1].description": { "value": "Data Migration Support", "matched_ocr_text": "Data Migration Support", "ocr_confidence": 96.20516204833984, "bbox": { "x": 215, "y": 1431, "width": 423, "height": 41 }, "verified": true }, "line_items[1].quantity": { "value": 18, "matched_ocr_text": "18 hrs", "ocr_confidence": 95.26139831542969, "bbox": { "x": 1430, "y": 1433, "width": 103, "height": 31 }, "verified": true }, "line_items[1].unit_price": { "value": 150, "matched_ocr_text": "\u00A3150.00", "ocr_confidence": 96.76514434814453, "bbox": { "x": 1763, "y": 1432, "width": 138, "height": 32 }, "verified": true }, "line_items[1].total": { "value": 2700, "matched_ocr_text": "\u00A32,700.00", "ocr_confidence": 91.52900695800781, "bbox": { "x": 2099, "y": 1433, "width": 167, "height": 34 }, "verified": true }, "line_items[2].description": { "value": "Platform Integration ~~ Phase 2 (Fixed Fee)", "matched_ocr_text": "Platform Integration ~~ Phase 2 (Fixed Fee)", "ocr_confidence": 66.67977905273438, "bbox": { "x": 215, "y": 1569, "width": 761, "height": 42 }, "verified": true }, "line_items[2].quantity": { "value": 1, "matched_ocr_text": "1", "ocr_confidence": 94.48915100097656, "bbox": { "x": 1517, "y": 1292, "width": 11, "height": 29 }, "verified": true }, "line_items[2].unit_price": { "value": 3250, "matched_ocr_text": "\u00A33,250.00", "ocr_confidence": 91.90187072753906, "bbox": { "x": 1733, "y": 1570, "width": 167, "height": 35 }, "verified": true }, "line_items[2].total": { "value": 3250, "matched_ocr_text": "\u00A33,250.00", "ocr_confidence": 91.90187072753906, "bbox": { "x": 1733, "y": 1570, "width": 167, "height": 35 }, "verified": true }, "line_items[3].description": { "value": "Travel \u0026 Expenses (per agreement)", "matched_ocr_text": "Travel \u0026 Expenses (per agreement)", "ocr_confidence": 93.21842956542969, "bbox": { "x": 213, "y": 1710, "width": 619, "height": 41 }, "verified": true }, "line_items[3].quantity": { "value": 1, "matched_ocr_text": "1", "ocr_confidence": 94.48915100097656, "bbox": { "x": 1517, "y": 1292, "width": 11, "height": 29 }, "verified": true }, "line_items[3].unit_price": { "value": 412.5, "matched_ocr_text": "\u00A3412.50", "ocr_confidence": 57.89717102050781, "bbox": { "x": 1763, "y": 1710, "width": 137, "height": 32 }, "verified": true }, "line_items[3].total": { "value": 472.5, "matched_ocr_text": "\u00A3472.50", "ocr_confidence": 58.94508361816406, "bbox": { "x": 2130, "y": 1710, "width": 137, "height": 32 }, "verified": true } }, "validation": { "passed": false, "failures": [ "Travel \u0026 Expenses (per agreement): 1 x 412,5 = 412,5, line total reads 472,5", "Line items sum to 10922,5, subtotal reads 10862,5" ], "resolved_via": null }, "escalated_to_human": true }