Skip to content
Fourohtwo

Reads invoices, bills and receipts from PDF into structured JSON

subpay.ai/api/v1/invoice

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.

SolanaAnswering
POSThttps://subpay.ai/api/v1/invoice

Uptime100% of 2 checks in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://subpay.ai/api/v1/invoice" \
  -d '{"document":"<base64-encoded PDF>","fileName":"INV-1042.pdf"}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "document": "<base64-encoded PDF>",
  "fileName": "INV-1042.pdf"
}

More from Subpay invoice readerProvider status