invoice_parse
Extract structured JSON data from ZUGFeRD 2.x or XRechnung 3.x invoices. Accepts raw XML, base64-encoded XML, or base64-encoded PDF with embedded XML.
Instructions
Extract structured data from a ZUGFeRD 2.x or XRechnung 3.x invoice. Accepts raw XML (CII or UBL), base64-encoded XML, or base64-encoded PDF (ZUGFeRD hybrid — the XML is extracted from the PDF/A-3 attachment). Returns a structured JSON object matching the invoice data model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | No | Raw XML string. | |
| xml_base64 | No | Base64-encoded XML. | |
| pdf_base64 | No | Base64-encoded PDF (ZUGFeRD hybrid). | |
| include_raw_xml | No |