{"uid":"cap_onB5-RdDSULb2WQCS7vH1","slug":"subpay-invoice-receipt-parser-with-arithmetic-validation-7e473123","name":"Subpay Invoice & Receipt Parser with Arithmetic Validation","description":"Reads invoices, bills and receipts from PDF into structured JSON — vendor, customer, dates, PO, line items, discount, tax, shipping, total, balance due — and checks the arithmetic: quantity × unit price, lines to subtotal, tax rate, total and balance due. The response says exactly which figures don't add up. $0.04 per page (up to 25 pages), quoted per document.","url":"https://subpay.ai/api/v1/invoice?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hImOqha1aXPIVvZOrWHxJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON data from invoice, bill, or receipt PDFs (vendor, customer, line items, taxes, totals) and validates the arithmetic across all figures","exampleAgentPrompt":"Can you parse this vendor invoice PDF and pull out all the line items, tax, total, and balance due as structured JSON — and flag any arithmetic errors where the numbers don't add up?","exampleUseCases":[{"title":"Accounts payable invoice audit","prompt":"I've got a supplier invoice PDF I need to verify before paying — can you extract all the line items, check that quantity times unit price is correct, and confirm the tax and total add up properly?"},{"title":"Expense receipt digitization","prompt":"Parse this receipt PDF into structured JSON with the vendor name, date, line items, tax, and total so I can enter it into our expense system."},{"title":"PO matching and discrepancy detection","prompt":"We received an invoice PDF from a contractor — can you extract the PO number, line items, and total, and tell me if any of the math is off before we approve payment?"}],"resultDescription":"A structured JSON object containing extracted fields from the invoice or receipt (vendor info, customer info, dates, PO number, line items with quantities and unit prices, discount, tax, shipping, subtotal, total, and balance due), plus an arithmetic validation report identifying exactly which figures don't add up (e.g. line extension errors, subtotal mismatches, incorrect tax rate application, total discrepancies).","failureModes":["PDF exceeds 25-page limit — document rejected","Unreadable or scanned-only PDF with no extractable text — poor extraction quality","Non-invoice document submitted — fields may be missing or incorrect","Corrupted or password-protected PDF — parse failure","Ambiguous currency or locale formatting — arithmetic validation may flag false positives"],"whenToPreferThis":"Choose this endpoint when you need both structured data extraction AND arithmetic validation from invoice or receipt PDFs in a single call. It is purpose-built for financial documents (invoices, bills, receipts) and uniquely reports exactly which calculations are wrong, making it ideal for accounts payable automation, expense auditing, or payment approval workflows. Prefer this over generic OCR or document extraction tools when arithmetic correctness verification is required alongside data extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:36:29.958Z","isFirstParty":false,"canonicalSlug":"subpay-invoice-receipt-parser-with-arithmetic-validation-7e473123"}