Invoice Extract
invoice_extractStructured data from an invoice: seller and buyer (name, address, tax ID), invoice number, dates, currency, line items, subtotal, tax, total and payment details, with null for anything absent. The arithmetic is checked (line sum against subtotal, subtotal plus tax against total) and mismatches are returned. PDF with a text layer by URL or base64, or plain text. Price: $0.005 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | https link to a PDF invoice with a text layer (JSON body field) | |
| text | No | The invoice text (JSON body field); or give url or pdf_base64 instead | |
| pdf_base64 | No | The PDF as base64, up to 15 MB (JSON body field) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| checks | No | ||
| source | No | ||
| invoice | No | ||
| checkedAt | No | ||
| disclaimer | No | ||
| allChecksPass | No |