{"slug":"www-getbags-app-api-agent-link-pl-c5a332aa-4390-4b95-8524-cc-45b940","title":"Audits an invoice for math and matching errors","host":"www.getbags.app","method":"POST","resource":"https://www.getbags.app/api/agent/link/pl-c5a332aa-4390-4b95-8524-ccf5fad6429c","category":"market","description":"Audits an invoice for math and matching errors: wrong line totals, subtotal/total mismatches, duplicate lines, prices or quantities over a purchase order, PO number mismatches, and duplicate invoice numbers. Send structured JSON; returns findings with severity and expected vs. observed values.","price_listed":0.25,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"invoice":{"invoice_number":"INV-1","items":[{"amount":"20.00","description":"Widget","quantity":"2","unit_price":"10.00"}],"supplier":"Acme","total":"20.00"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"customerEmail":{"description":"Optional buyer email for the receipt/customer record","type":"string"},"customerName":{"description":"Optional buyer name","type":"string"},"historical_invoices":{"description":"Optional. Up to 100 objects with supplier and invoice_number, used to detect duplicate invoices.","type":"array"},"invoice":{"description":"Required. Fields: supplier (string), invoice_number (string), items (array of 1-500: description, quantity, unit_price, optional sku and amount; numbers as decimal strings), optional currency (3 letters, default USD), subtotal, tax, shipping, discount, total, purchase_order_number.","type":"object"},"purchase_order":{"description":"Optional. Compare against a PO: number, items (same shape as invoice items), total.","type":"object"}},"required":["invoice"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Audits an invoice for math and matching errors: wrong line totals, subtotal/total mismatches, duplicate lines, prices or quantities over a purchase order, PO number mismatches, and duplicate invoice numbers. Send structured JSON; returns findings with severity and expected vs. observed values.","last_updated":"2026-11-08T02:05:32.642Z","schemes":["exact"]}