Validate e-invoice
validate_invoiceRun the official rule set for the detected format (KoSIT for XRechnung/ZUGFeRD/Factur-X, OpenPeppol for Peppol BIS, FA(3) schema for KSeF). Returns valid/invalid with every failed rule: id, severity, message, XPath.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kosit | No | Run the full KoSIT schematron (default true). false = schema and core checks only, faster | |
| content | No | Invoice XML (UBL, CII, XRechnung, Peppol BIS, ZUGFeRD/Factur-X XML, KSeF FA(3)) as text | |
| content_base64 | No | A ZUGFeRD / Factur-X PDF (or any invoice file) as base64, when the invoice is not plain XML |