beliq: Validate E-Invoice
beliq_validate_einvoiceValidates EU electronic invoices (UBL, CII, Factur-X/ZUGFeRD) against authority-pinned rules, returning compliance verdict, format, profile, ruleset version, and detailed error and warning messages.
Instructions
Validate an EU electronic invoice against authority-pinned, drift-checked rules and report whether it is compliant. Accepts a UBL or CII XML document (inline via document, or a file via documentPath), or a Factur-X / ZUGFeRD PDF via documentPath. Returns the verdict (valid or not), the detected format and profile, the ruleset (Schematron) version it was checked against, and every error and warning with its rule id, severity, location, and message. beliq validates the compliant document; transmission (Peppol, PDP, KSeF, SDI), archiving, and tax-authority reporting stay with your access point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Source syntax hint. 'auto' (default) detects CII vs UBL from the document. | |
| document | No | The invoice as XML text. Provide this OR documentPath, not both. | |
| franceCtc | No | Apply the French CTC (Factur-X / Chorus Pro) rule overlay during validation. | |
| documentPath | No | Path to an invoice file on disk: a UBL/CII XML, or a PDF carrying embedded XML (Factur-X / ZUGFeRD). Provide this OR document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| errors | Yes | ||
| format | Yes | ||
| warnings | Yes | ||
| errorCount | Yes | ||
| warningCount | Yes | ||
| profileDetected | No | ||
| schematronVersion | No |