invoice_extract
Extract structured financial data from invoices, receipts, and bills, then verify subtotal plus tax equals total for accounting workflows.
Instructions
Extract structured financial data (vendor, invoice #, PO #, dates, line items, subtotal, tax, total, currency) from invoices, receipts, and bills, verifying mathematical consistency (subtotal + tax == total). Use when processing accounting documents or receipts. Do not use for generic documents. Read-only and idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public HTTPS URL pointing directly to an invoice image or PDF file (e.g. 'https://example.com/invoice.pdf'). | |
| raw_text | No | Pre-extracted or OCR text content of the invoice to parse directly. | |
| file_base64 | No | Base64-encoded file content of the invoice or receipt document. | |
| currency_hint | No | 3-letter ISO 4217 currency code hint (e.g. 'USD', 'EUR', 'GBP') if no symbol is found. | USD |