{"partialResults":false,"resources":[{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xe59c573e4a397a75Ec1F99D0C4FaF66505E516ba","scheme":"exact"}],"description":"Check a supplied invoice's line items, tax, and total. Use it when you need to know if the arithmetic balances. Buyer synonyms: invoice checker, invoice math, tax check, AP audit, bill verification. Unknown amounts are not treated as zero. No URL is fetched.","extensions":{"bazaar":{"info":{"input":{"body":{"currency":"USD","line_items":[{"amount":"250.00","description":"Design workshop","id":"workshop"},{"amount":"150.00","description":"Coaching session","id":"coaching","quantity":2,"unit_price":"75.00"}],"subtotal":"400.00","tax":"32.00","tax_rate":"8%","text":"Invoice 1042\nDesign workshop  $250.00\nCoaching session  2 x $75.00  $150.00\nSubtotal  $400.00\nTax 8%  $32.00\nTotal  $432.00","total":"432.00"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"checks":[{"detail":"Each stated quantity times unit price matches its line amount.","id":"line_extensions","left":"150.00","right":"150.00","status":"match"},{"detail":"2 line items sum to 400.00, matching the claimed subtotal.","id":"line_items_vs_subtotal","left":"400.00","right":"400.00","status":"match"},{"detail":"Tax 32.00 matches 0.08 of the claimed subtotal 400.00.","id":"tax_vs_base","left":"32.00","right":"32.00","status":"match"},{"detail":"Subtotal 400.00 plus tax 32.00 equals the claimed total 432.00.","id":"subtotal_plus_tax_vs_total","left":"432.00","right":"432.00","status":"match"},{"detail":"Every stated currency is USD.","id":"currency_consistency","left":"USD","right":"USD","status":"match"}],"claimed":{"currency":"USD","subtotal":"400.00","tax":"32.00","tax_rate":"0.08","total":"432.00"},"computed":{"base":"400.00","base_source":"claimed_subtotal","line_sum":"400.00","line_sum_complete":true,"subtotal_plus_tax":"432.00","tax_on_base":"32.00"},"contract":"tgw-invoice-check-beta-1","currency":"USD","currency_consistent":true,"disclaimer":"This check reads only the invoice you supplied. It does not fetch pages. Unknown amounts are not treated as zero.","evidence_scope":"supplied_document","extraction":"deterministic","limitations":["Only the invoice text and structured figures you supplied were read. No URL was fetched and no page was crawled.","A model may propose amounts from the supplied text. An amount is kept only when that amount appears in the text.","Checks are arithmetic on the supplied figures. An unknown or unreadable amount is not treated as zero.","A balanced or mismatch verdict uses those supplied figures. It is not tax, accounting, or legal advice, and it does not show that the invoice was paid."],"line_items":[{"amount":"250.00","currency":"USD","currency_explicit":false,"description":"Design workshop","extension":null,"extension_check":"not_applicable","id":"workshop","known":true,"quantity":null,"reason":null,"source":"structured","span":null,"unit_price":null},{"amount":"150.00","currency":"USD","currency_explicit":false,"description":"Coaching session","extension":"150.00","extension_check":"match","id":"coaching","known":true,"quantity":"2","reason":null,"source":"structured","span":null,"unit_price":"75.00"}],"mismatches":[],"mode":"supplied_document","page_fetch":false,"requested_currency":"USD","status":"ok","unknown_amounts":[],"verdict":"balanced"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"convert_to":{"description":"Optional. Attach an ECB conversion of the known total. Arithmetic stays in the document currency.","maxLength":3,"minLength":3,"type":"string"},"country":{"description":"Optional. Attach a standard VAT reference. It is not applied to the tax check.","maxLength":2,"minLength":2,"type":"string"},"currency":{"description":"Reporting currency. Default USD.","maxLength":3,"minLength":3,"type":"string"},"line_items":{"items":{"properties":{"amount":{"type":"string"},"currency":{"maxLength":3,"minLength":3,"type":"string"},"description":{"maxLength":200,"type":"string"},"id":{"maxLength":40,"type":"string"},"quantity":{"type":["number","string"]},"unit_price":{"type":"string"}},"type":"object"},"maxItems":40,"type":"array"},"mode":{"description":"The only mode. Fetch and search are rejected.","enum":["supplied_document"],"type":"string"},"subtotal":{"type":"string"},"tax":{"description":"Tax amount. Use 0.00 only when the invoice states zero tax.","type":"string"},"tax_rate":{"description":"Percent such as 8%, or a fraction such as 0.08. A bare 8 is not read as 8%.","type":"string"},"text":{"description":"Invoice text already in hand. URLs in the text are not fetched.","maxLength":8000,"type":"string"},"total":{"type":"string"}},"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":{"properties":{"checks":{"items":{"properties":{"detail":{"type":"string"},"id":{"type":"string"},"left":{"type":["string","null"]},"right":{"type":["string","null"]},"status":{"enum":["match","mismatch","unknown","not_applicable"],"type":"string"}},"required":["id","status","detail","left","right"],"type":"object"},"type":"array"},"claimed":{"properties":{"currency":{"type":"string"},"subtotal":{"type":["string","null"]},"tax":{"type":["string","null"]},"tax_rate":{"type":["string","null"]},"total":{"type":["string","null"]}},"required":["subtotal","tax","tax_rate","total","currency"],"type":"object"},"computed":{"properties":{"base":{"type":["string","null"]},"base_source":{"type":"string"},"line_sum":{"type":["string","null"]},"line_sum_complete":{"type":"boolean"},"subtotal_plus_tax":{"type":["string","null"]},"tax_on_base":{"type":["string","null"]}},"required":["line_sum","line_sum_complete","base","base_source","tax_on_base","subtotal_plus_tax"],"type":"object"},"contract":{"type":"string"},"currency":{"type":"string"},"currency_consistent":{"type":"boolean"},"disclaimer":{"type":"string"},"evidence_scope":{"const":"supplied_document","type":"string"},"extraction":{"type":"string"},"limitations":{"items":{"type":"string"},"type":"array"},"line_items":{"items":{"properties":{"amount":{"type":["string","null"]},"currency":{"type":["string","null"]},"currency_explicit":{"type":"boolean"},"description":{"type":"string"},"extension":{"type":["string","null"]},"extension_check":{"enum":["match","mismatch","unknown","not_applicable"],"type":"string"},"id":{"type":"string"},"known":{"type":"boolean"},"quantity":{"type":["string","null"]},"reason":{"type":["string","null"]},"source":{"type":"string"},"span":{"type":["string","null"]},"unit_price":{"type":["string","null"]}},"required":["id","description","known","amount","currency","extension_check","source","span"],"type":"object"},"type":"array"},"mismatches":{"items":{"properties":{"check":{"type":"string"},"detail":{"type":"string"},"left":{"type":["string","null"]},"right":{"type":["string","null"]}},"required":["check","detail","left","right"],"type":"object"},"type":"array"},"mode":{"const":"supplied_document","type":"string"},"page_fetch":{"const":false,"type":"boolean"},"requested_currency":{"type":"string"},"status":{"enum":["ok","partial","insufficient_evidence"],"type":"string"},"unknown_amounts":{"items":{"properties":{"field":{"type":"string"},"reason":{"type":"string"}},"required":["field","reason"],"type":"object"},"type":"array"},"verdict":{"enum":["balanced","mismatch","partial","insufficient"],"type":"string"}},"required":["contract","status","verdict","currency","requested_currency","currency_consistent","page_fetch","mode","evidence_scope","extraction","line_items","claimed","computed","checks","unknown_amounts","mismatches","limitations","disclaimer"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1795400281/bazaar-icons/93ba90ebd04de4e0.png","lastUpdated":"2026-11-23T02:18:17.854Z","quality":{"l30DaysTotalCalls":7,"l30DaysUniquePayers":1,"lastCalledAt":"2026-11-23T02:18:17.687Z"},"resource":"https://tgw-mindset-api.fly.dev/invoice-check","serviceName":"Invoice Math Checker","tags":["invoice-checker","invoice-math","tax-check","ap-audit","bill-verification"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"i4zbxqsjxbtgkaa"}}
