extract_document
Extract structured JSON data from invoices, receipts, and business documents via public URL. Get vendor, customer, line items, totals, VAT, and currency fields.
Instructions
Extract structured data from an invoice, receipt, commercial register, VAT certificate, or other business document at a public URL. Returns JSON with all detected fields including vendor, customer, line items, totals, VAT, and currency. Each extraction consumes one unit from the authenticated user's plan quota.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language hint (ar=Arabic, en=English, fr=French, es=Spanish). Omit for automatic detection. | |
| document_url | Yes | Public URL of the document to extract (JPEG, PNG, WebP, or PDF). Must be publicly accessible — no authentication required to fetch. | |
| document_type | No | Document subtype hint. Use 'inventory' for itemised invoices with line items, 'general' for service invoices, 'pos' for POS receipts, 'auto' to let the API decide (default). |