Validate e-invoice
validate_einvoiceTechnically check a German/EU electronic invoice (ZUGFeRD, Factur-X, XRechnung UBL or CII) from a PDF or XML file. Detects format and profile, checks the XML schema and selected business rules, optionally runs the open-source KoSIT validation tool (XRechnung configuration), and reports findings with severity and location. Always state the check scope from the wording field when summarising. A result without errors does not mean the invoice meets all legal requirements. Does not store the file.
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": {
"fileBase64": "<fileBase64>"
},
"name": "validate_einvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Output language, default de. | |
| filename | No | ||
| fileBase64 | Yes | File content (PDF or XML), base64, max 8 MB decoded. |