E-invoice validation: XRechnung, ZUGFeRD, Factur-X or UBL e-invoice
einvoice_validateValidate an EU e-invoice: send XRechnung, ZUGFeRD / Factur-X (XML or the PDF that embeds it), Peppol or other EN 16931 XML as text, as a file in a POST body or by URL. Returns valid or not and every broken business rule with its number (BR-CO-15, BR-DE-15…), the field, a plain message and the fix. Checks a subset of the EN 16931 and XRechnung 3.0 rules: sums, VAT, mandatory fields. Use before sending an e-invoice or when one is rejected. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
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": "einvoice_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Absolute public http(s) URL of the e-invoice: an XML file or a ZUGFeRD / Factur-X PDF (or send `xml`, or the file in a POST body) | |
| xml | No | The e-invoice XML as text (CII or UBL), up to 5 MB in a POST body | |
| profile | No | auto (default: the German XRechnung rules run when the file names XRechnung), xrechnung or en16931 |