validate_invoice
Validate an EU e-invoice XML string against the official EN 16931 Schematron. Accepts either syntax — UBL 2.1 (Invoice or CreditNote) or UN/CEFACT CII — and auto-detects which. A document declaring the XRechnung 3.0 CustomizationID is additionally checked against KoSIT's XRechnung delta ruleset. Returns whether it is valid and any failing BR-* / BR-DE-* business rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | Raw e-invoice XML (UBL 2.1 or UN/CEFACT CII). |