Invoice & receipt reader: vendor, dates, line items, taxes and totals as JSON, with an independent maths check
read_invoiceReads an invoice, bill or receipt (text, web page, PDF or image URL) and returns vendor, customer, invoice number, dates, currency, line items, discounts, taxes, shipping, total and amount due. Then re-does the maths itself: quantity x price per line, lines vs subtotal, tax rates, subtotal + tax = total, paid vs due, due date after issue date. maths_ok=false means a human should look before paying. Not charged if the document is not an invoice. Price 0.02 USDC per call; first 3 calls per day free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Invoice/receipt URL (PDF, web page, JPG/PNG) | |
| text | No | Or the invoice text | |
| payment | No | Optional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts. |