{"uid":"cap_hXpv5Q1kTWmgNqBbpU9rK","slug":"subpay-ai-invoice-ocr-arithmetic-checker-438fcb17","name":"subpay.ai Invoice OCR & Arithmetic Checker","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/invoice/mcp?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_m-NcJ-_bnnboHLh_cs5l2","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":"Parses invoice, bill, or receipt PDFs into structured JSON and validates the arithmetic across all line items, taxes, and totals","exampleAgentPrompt":"Can you read this invoice PDF and extract all the structured fields — vendor, customer, line items, taxes, and totals — then tell me if any of the math doesn't add up?","exampleUseCases":[{"title":"AP team invoice verification","prompt":"We just received a vendor invoice as a PDF. Can you parse it into structured JSON with all the line items, tax, and total, then flag any arithmetic errors before we approve it for payment?"},{"title":"Freelancer receipt reconciliation","prompt":"I have a bunch of receipts from our contractor as PDFs. Can you extract the vendor, dates, line items, and totals from this one and check whether the numbers actually add up correctly?"},{"title":"Automated billing audit","prompt":"Pull this PDF bill into structured data — I need the vendor, PO number, all line items with quantities and unit prices, the tax amount, and the balance due — and tell me if quantity times unit price is correct for each line and whether everything rolls up to the right total."}],"resultDescription":"Returns a structured JSON object containing vendor information, customer details, invoice dates, PO number, line items (quantity, unit price, extended amount), discount, tax rate and amount, shipping, subtotal, total, and balance due — along with an arithmetic validation report identifying exactly which calculations are incorrect (e.g., which line items have quantity × unit price mismatches, whether lines sum to stated subtotal, whether tax rate is applied correctly, and whether total and balance due are consistent).","failureModes":["PDF is not readable or is a scanned image without OCR layer — extraction may be incomplete","Document exceeds 25-page limit — rejected or truncated","PDF is password-protected — cannot be parsed","Document is not an invoice, bill, or receipt — fields may be missing or misclassified","Poor scan quality leads to misread numbers, producing false arithmetic errors","Network or payment failure at x402 layer — no response returned"],"whenToPreferThis":"Choose this endpoint when you need to both extract structured fields from an invoice/bill/receipt PDF AND verify the arithmetic in a single call. It is purpose-built for accounts payable workflows, invoice auditing, and contractor billing checks. Prefer it over generic PDF extraction tools when arithmetic validation (line items → subtotal → tax → total → balance due) is required. At $0.04 per page it is cost-effective for documents up to 25 pages.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:32:06.094Z","isFirstParty":false,"canonicalSlug":"subpay-ai-invoice-ocr-arithmetic-checker-438fcb17"}