Validate an e-invoice
dochorizon_validate_einvoiceValidate an e-invoice (XML or hybrid PDF) against its standard (EN 16931, XRechnung, Peppol BIS, ...): returns the detected type, valid yes/no, a summary and each broken rule with its XPath location. Nothing is sent to anyone. May use credits per your pricing. POST /einvoicing/v1/tools/validate.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | The e-invoice as XML text (UBL, CII, ...). | |
| data_base64 | No | The e-invoice file as base64 (XML, or a hybrid PDF such as ZUGFeRD / Factur-X). | |
| einvoice_type | No | The e-invoice type, if it should not be auto-detected (see dochorizon_list_einvoice_types). |