Validate e-invoice
validate_invoiceValidate one e-invoice and return the verdict valid, the per-stage summary, the format (container, syntax, profile), the problems as findings (German titles, official rule texts, affected EN 16931 business terms) and the extracted invoice data invoice. Pass an XML invoice as xml (plain text), a PDF (ZUGFeRD, Factur-X) or any file as file_base64. Max. 30 MB. Takes about 1 to 10 seconds and counts against the monthly quota.
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_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | The invoice XML (XRechnung, CII, UBL) as text. Use either this or `file_base64`. | |
| strict | No | Count a KoSIT reject even when only warnings are behind it (those warnings become errors). Recommended for invoices to public authorities. | |
| filename | No | Optional file name, shown in the result. | |
| file_base64 | No | The invoice file, base64-encoded - required for PDF (ZUGFeRD, Factur-X). Use either this or `xml`. | |
| include_invoice_data | No | `false` leaves out the extracted invoice data `invoice`. |