Validate a German/EU e-invoice (E-Rechnung) with the OFFICIAL rule sets
eu_einvoice_validateValidate a German/EU e-invoice (E-Rechnung) with the OFFICIAL rule sets: CEN EN 16931 schematron (UBL + CII, validation-1.3.17) and KoSIT XRechnung 3.0 CIUS schematron. Accepts XRechnung UBL/CII XML or a ZUGFeRD / Factur-X PDF (embedded XML is extracted). Checks well-formedness, detects syntax and profile (XRechnung, Factur-X MINIMUM/BASIC WL/BASIC/EN16931/EXTENDED, Peppol BIS), returns valid/invalid with every error and warning (rule ID such as BR-CO-16 or BR-DE-15, message, XPath location) plus a short invoice summary. Send JSON {xml}|{base64}|{url} or the raw XML/PDF body (application/xml, application/pdf; max 3.5 MB). Optional rules=auto|en16931|xrechnung. Price: $0.02 USDC per call via x402.
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": "eu_einvoice_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | public http(s) URL of the XML or PDF | |
| xml | No | XRechnung / EN 16931 invoice XML (UBL 2.1 Invoice/CreditNote or UN/CEFACT CII) | |
| rules | No | auto (default): XRechnung rules for XRechnung documents, EN 16931 for others | |
| base64 | No | base64 of the XML or of a ZUGFeRD / Factur-X PDF |