C:\Users\Usuario\.nuget\packages\sixlabors.imagesharp\4.1.0\build\SixLabors.ImageSharp.targets(28,5): warning : No Six Labors license found. Set $(SixLaborsLicenseKey), set $(SixLaborsLicenseFile), or add a 'sixlabors.lic' file to the project/workspace. [C:\Users\Usuario\InvoiceAgent\src\InvoiceAgent.Core\InvoiceAgent.Core.csproj] C:\Users\Usuario\.nuget\packages\sixlabors.imagesharp\4.1.0\build\SixLabors.ImageSharp.targets(28,5): warning : Please obtain a license from https://sixlabors.com/pricing/ [C:\Users\Usuario\InvoiceAgent\src\InvoiceAgent.Core\InvoiceAgent.Core.csproj] [LOAD] test-assets/invoice_scan.pdf [OCR] No usable text layer; routing to OCR. [OCR] Document confidence 89,6 (Success) [OCR] Low confidence (44,0): '|' at (1950, 187) [OCR] Low confidence (54,2): 'oO.' at (491, 835) [OCR] Low confidence (60,7): 'ry' at (495, 1300) [OCR] Low confidence (66,7): '~~' at (586, 1585) [OCR] Low confidence (57,9): '£412.50' at (1763, 1710) [OCR] Low confidence (58,9): '£472.50' at (2130, 1710) [OCR] Low confidence (49,6): '(20%)' at (1485, 2006) [EXTRACT] Calling Claude to structure the OCR text... [PROVENANCE] Resolving fields against OCR tokens... [PROVENANCE] invoice_number: UNVERIFIED (source_text not found in OCR output) [PROVENANCE] invoice_date: UNVERIFIED (source_text not found in OCR output) [PROVENANCE] vendor_name: UNVERIFIED (source_text not found in OCR output) [PROVENANCE] currency: UNVERIFIED (source_text not found in OCR output) [PROVENANCE] subtotal: verified, ocr_confidence=86,5 [PROVENANCE] tax: verified, ocr_confidence=89,1 [PROVENANCE] total_due: verified, ocr_confidence=91,7 [PROVENANCE] line_items[0].description: verified, ocr_confidence=60,7 [PROVENANCE] line_items[0].quantity: verified, ocr_confidence=94,5 [PROVENANCE] line_items[0].unit_price: verified, ocr_confidence=92,3 [PROVENANCE] line_items[0].total: verified, ocr_confidence=92,3 [PROVENANCE] line_items[1].description: verified, ocr_confidence=96,2 [PROVENANCE] line_items[1].quantity: verified, ocr_confidence=95,3 [PROVENANCE] line_items[1].unit_price: verified, ocr_confidence=96,8 [PROVENANCE] line_items[1].total: verified, ocr_confidence=91,5 [PROVENANCE] line_items[2].description: verified, ocr_confidence=66,7 [PROVENANCE] line_items[2].quantity: verified, ocr_confidence=94,5 [PROVENANCE] line_items[2].unit_price: verified, ocr_confidence=91,9 [PROVENANCE] line_items[2].total: verified, ocr_confidence=91,9 [PROVENANCE] line_items[3].description: verified, ocr_confidence=93,2 [PROVENANCE] line_items[3].quantity: verified, ocr_confidence=94,5 [PROVENANCE] line_items[3].unit_price: verified, ocr_confidence=57,9 [PROVENANCE] line_items[3].total: verified, ocr_confidence=58,9 [VALIDATE] Checking arithmetic... [VALIDATE] FAIL: Travel & Expenses (per agreement): 1 x 412,5 = 412,5, line total reads 472,5 [VALIDATE] FAIL: Line items sum to 10922,5, subtotal reads 10862,5 [RETRY 1] Checking alternate OCR character candidates... [RETRY 1] No alternate candidate reconciled the arithmetic. [RETRY 2] Crop + targeted re-read on the disputed field... [RETRY 2] Disputed field: line_items[3].total at (2130,1710,137,32) [RETRY 2] Crop-reread threw: IronOcrProductException: No OCR input detected. Please provide an input using the OcrInput object to begin the text recognition. [RETRY 2] Crop-reread did not reconcile the arithmetic. [RESULT] Escalated to human review (10 trigger(s)). [RESULT] ArithmeticDiscrepancy: Travel & Expenses (per agreement): 1 x 412,5 = 412,5, line total reads 472,5 [RESULT] ArithmeticDiscrepancy: Line items sum to 10922,5, subtotal reads 10862,5 [RESULT] UnverifiedField: invoice_number: source_text did not match any OCR span [RESULT] UnverifiedField: invoice_date: source_text did not match any OCR span [RESULT] UnverifiedField: vendor_name: source_text did not match any OCR span [RESULT] UnverifiedField: currency: source_text did not match any OCR span [RESULT] LowOcrConfidence: line_items[0].description: OCR confidence 60,7 below floor 70,0 [RESULT] LowOcrConfidence: line_items[2].description: OCR confidence 66,7 below floor 70,0 [RESULT] LowOcrConfidence: line_items[3].unit_price: OCR confidence 57,9 below floor 70,0 [RESULT] LowOcrConfidence: line_items[3].total: OCR confidence 58,9 below floor 70,0 [RESULT] Audit record written to test-assets/invoice_scan.audit.json