Convert an e-invoice to Universal Invoice JSON
dochorizon_convert_einvoiceConvert an e-invoice (XML or hybrid PDF) to the Universal Invoice JSON structure (parties, lines, taxes, totals). Nothing is sent to anyone. May use credits per your pricing. POST /einvoicing/v1/tools/convert/einvoice.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | The e-invoice as XML text (UBL, CII, ...). | |
| validate | No | Validate the e-invoice during conversion. | |
| 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). | |
| include_unmapped_fields | No | Also return fields of the original that have no place in the universal format. |