validate_xrechnung
Validates XRechnung, ZUGFeRD, or Factur-X invoice XML against EN 16931 and returns structured, severity-graded issue reports for offline compliance checks.
Instructions
Validate an XRechnung or ZUGFeRD/Factur-X XML document against the EN 16931 core model. Returns a structured report with severity-graded issues. Stateless, offline.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"xml": "<xml>"
},
"name": "validate_xrechnung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The XRechnung/ZUGFeRD invoice XML. UBL or UN/CEFACT CII flavors both accepted. Must be a non-empty string. |