invoice_validate
Validate ZUGFeRD or XRechnung invoice XML against EN 16931 and German KoSIT rules. Returns structured validation report with errors and warnings.
Instructions
Validate a ZUGFeRD 2.x or XRechnung 3.x invoice XML against EN 16931 rules and German KoSIT Schematron rules (BR-DE-* business rules). Returns a structured validation report with errors and warnings. Supports all ZUGFeRD profiles (MINIMUM through EXTENDED) and XRechnung (CII and UBL syntax). Profile and syntax are auto-detected if not specified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | No | Raw XML string of the invoice to validate. | |
| xml_base64 | No | Base64-encoded XML bytes of the invoice. | |
| profile | No | Override profile detection. | |
| syntax | No | Override syntax detection. | |
| use_remote_kosit | No | Submit to KoSIT remote validator. | |
| strict | No | Include warnings in output. |