extract_invoice
Extract structured JSON (parties, lines, totals, payment data) from an e-invoice: XRechnung UBL/CII XML or a ZUGFeRD/Factur-X PDF (embedded XML is pulled from the PDF). Send exactly one of xml / pdfBase64. 5 credits, requires an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | ||
| pdfBase64 | No | Base64-encoded PDF, max ~2 MB |