validate_erechnung
Validates ZUGFeRD PDF/A-3b and XRechnung 3.0 XML against EN 16931 XSD, KoSIT BR-DE rules, and veraPDF, returning valid status plus structured rule IDs and hints.
Instructions
Validate a ZUGFeRD PDF/A-3b (Base64) or XRechnung 3.0 XML against official EN 16931 XSD, KoSIT German Business Rules (BR-DE-*), and veraPDF ISO 19005-3. Returns valid=true/false plus structured rule_id, field, and human_hint.
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_erechnung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Filename ending in .pdf or .xml | |
| fileBase64 | No | Base64-encoded ZUGFeRD PDF or XRechnung XML | |
| xmlContent | No | Raw UTF-8 XRechnung / Factur-X XML string (alternative to fileBase64) |