parse_invoice
Extract structured JSON data from invoice PDFs. Parse seller, buyer, line items, totals, and payment info from European and international invoices.
Instructions
Extract structured data from an invoice PDF.
Returns JSON with seller, buyer, line items, totals, and payment info.
Supports European (Fattura Elettronica) and international invoice formats.
Args:
file_url: Public URL of the PDF file (max 20MB).
language: Document language(s) for OCR. Default: ita+eng.
extract_line_items: Whether to extract individual line items. Default: true.
validate_totals: Validate that line item sums match declared totals. Default: false.
Cost: $0.02 per document, paid via x402 USDC on Base.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | Yes | ||
| language | No | ita+eng | |
| extract_line_items | No | ||
| validate_totals | No |