Validate e-invoice
validate_einvoiceValidates an XRechnung (UBL or CII XML) or a ZUGFeRD / Factur-X PDF with the official KoSIT validator and the XRechnung configuration and returns the report: valid or invalid, findings with rule id, location and rule text. Charged per document from the account credit. The document is processed in memory and not stored.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_einvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | The invoice XML (XRechnung as UBL 2.1 Invoice or CreditNote, or UN/CEFACT CII). Give either xml or pdf_base64. | |
| pdf_base64 | No | A ZUGFeRD / Factur-X PDF as Base64; its embedded invoice XML is checked. Give either xml or pdf_base64. |