Validate ZUGFeRD / Factur-X / XRechnung XML
validate_einvoice_xmlValidate a ZUGFeRD 2.3, Factur-X, or XRechnung (UN/CEFACT CII or OASIS UBL 2.1) invoice XML document against EN 16931 and German BR-DE rules, including profile detection, mandatory BT fields, IBAN Mod-97, Leitweg-ID ISO 7064 Mod 97-10, line-item math, and net/tax/gross reconciliation.
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_einvoice_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | Raw ZUGFeRD, Factur-X, or XRechnung XML invoice document (CII CrossIndustryInvoice or UBL Invoice/CreditNote). | |
| fileName | No | Optional filename label included in the validation report (defaults to invoice.xml). |