Validate E-Invoice
validate-e-invoiceCheck a ZUGFeRD, Factur-X or XRechnung invoice, given as PDF or as bare invoice XML (CII or UBL), against PDF/A-3 (PDFs only) and the schema and business rules of EN 16931, Factur-X and XRechnung. Returns "valid", the "level", the "checks" that ran (the "pdf" and the invoice "xml", each with "rules_checked" and "rules_failed") and the "errors" and "warnings", each with its "source" (pdf, xml or file), the "rule" it breaks and a "message". Always runs asynchronously and returns a job id; poll "check-job-status" or provide "webhook_url" to receive a callback.
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": {
"file": "<file>"
},
"name": "validate-e-invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Publicly reachable URL of the e-invoice: a PDF or an invoice XML. | |
| webhook_url | No | Callback URL invoked when the async job finishes. Omit and poll "check-job-status" instead if no callback endpoint is available. |