Validate an e-invoice
validate_einvoiceRead-only
Validate an e-invoice (XRechnung UBL/CII, ZUGFeRD / Factur-X PDF, Peppol BIS Billing 3.0, EN 16931) with the official KoSIT validator. Returns valid/invalid, the detected format, every error and warning with its rule code, and the exact corrected value for common calculation errors. Pass the XML as text in xml, or a PDF/XML file base64-encoded in file_base64. Max 5 MB.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | The invoice XML (UBL or CII) as text. | |
| france | No | Also check the French rules (BR-FR, XP Z12-012), reported as a separate `france` block. Automatic when the seller country is FR. | |
| file_base64 | No | Alternative: the file (ZUGFeRD/Factur-X PDF or XML), base64-encoded. |