{"sample":true,"notRealCustomer":true,"paid":false,"charged":false,"input":{"invoice":{"invoiceId":"INV-4701","carrier":"CARRIER-A","shipmentId":"BL-204","date":"2026-10-10","currency":"USD","total":"1600.00","lines":[{"lineId":"L1","code":"LINEHAUL","amount":"1200.00"},{"lineId":"L2","code":"FUEL","amount":"240.00"},{"lineId":"L3","code":"DETENTION","amount":"160.00"}]},"contract":{"contractId":"RC-2026","carrier":"CARRIER-A","currency":"USD","validFrom":"2026-01-01","validTo":"2026-12-31","rateLines":[{"code":"LINEHAUL","maxTotal":"1000.00","basis":"PER_INVOICE","clauseRef":"RATE-1"},{"code":"FUEL","maxTotal":"150.00","basis":"PER_INVOICE","clauseRef":"RATE-2"},{"code":"DETENTION","maxTotal":"75.00","basis":"PER_INVOICE","clauseRef":"FREE-TIME-3","requiresProof":true}]},"shipment":{"shipmentId":"BL-204","carrier":"CARRIER-A","serviceDate":"2026-10-09","serviceCodes":["LINEHAUL","FUEL","DETENTION"],"proofCodes":["LINEHAUL","FUEL"]},"priorInvoices":[]},"result":{"ok":true,"product":"GLIN_FREIGHT_INVOICE_PAYGUARD","version":"1.0.0","decision":"HOLD_FOR_HUMAN_REVIEW","autoApprove":false,"autoPay":false,"invoice":{"invoiceId":"INV-4701","carrier":"CARRIER-A","shipmentId":"BL-204","currency":"USD","invoiceTotal":1600,"lineTotal":1600},"coverage":{"inputLines":3,"matchedChargeCodes":3,"contractedCodes":3,"shipmentProofCodes":2,"priorPaidRecordsChecked":0,"allSourcesCustomerProvided":true},"exposure":{"documentedContractRateVariance":290,"possibleAlreadyPaidInvoiceExposure":null,"areAmountsAdditive":false,"confirmedSavings":0,"confirmedRecovery":0},"blockers":[],"flags":["MISSING_SERVICE_PROOF_DETENTION"],"findings":[{"type":"DOCUMENTED_RATE_CAP_VARIANCE","severity":"HIGH","code":"LINEHAUL","billed":1200,"contractCap":1000,"potentialOvercharge":200,"documentRefs":{"invoiceLineIds":["L1"],"shipmentId":"BL-204","contractId":"RC-2026","clauseRef":"RATE-1"},"action":"REQUEST_CREDIT_OR_REVISED_CARRIER_INVOICE","basis":"Per-invoice cap under the supplied contract, not a verified recovery."},{"type":"DOCUMENTED_RATE_CAP_VARIANCE","severity":"HIGH","code":"FUEL","billed":240,"contractCap":150,"potentialOvercharge":90,"documentRefs":{"invoiceLineIds":["L2"],"shipmentId":"BL-204","contractId":"RC-2026","clauseRef":"RATE-2"},"action":"REQUEST_CREDIT_OR_REVISED_CARRIER_INVOICE","basis":"Per-invoice cap under the supplied contract, not a verified recovery."},{"type":"CONTRACT_REQUIRES_MISSING_PROOF","severity":"HIGH","code":"DETENTION","billed":160,"documentRefs":{"invoiceLineIds":["L3"],"shipmentId":"BL-204","contractId":"RC-2026","clauseRef":"FREE-TIME-3"},"action":"REQUEST_REQUIRED_SERVICE_EVIDENCE","potentialOvercharge":null}],"disputeDraft":{"sendAutomatically":false,"subject":"Invoice INV-4701 - itemized prepayment review request","text":"Please review invoice INV-4701 for shipment BL-204. We identified 3 item-level or document exceptions using the supplied contract and shipment inputs. The quantified per-invoice rate-cap variance is USD 290.00. Kindly provide the itemized source records, contract references and corrected invoice or clarification before payment. This is a provisional review, not an allegation of an established overcharge."},"scope":"Customer-supplied 3-way freight invoice, contract and shipment checks only. No OCR, carrier portal, actual invoice authenticity, tariff or FX lookups performed.","safety":"No automated release or legal conclusion. Contract validity, invoice scope, tax, partial payments, credits, true service provision and operator rights must be verified independently.","testOnly":false},"paidRoute":"https://ozeejewwpjmabshxyitc.supabase.co/functions/v1/glin-freight-invoice-payguard-x402-v1/audit"}