Explain an XRechnung / EN 16931 rule code
explain_ruleExplains a validation rule code (e.g. BR-DE-15, BR-CO-10, BR-S-08, PEPPOL-EN16931-R008) in German: what the rule requires, how to fix the invoice and which XML element is affected (UBL and CII path). Useful for findings from any validator, e.g. the KoSIT validator. No API key needed, not counted against the quota. Returns structuredContent {code, gefunden (boolean), titel, was, beheben, pfad_ubl, pfad_cii, mehr (link to the explanation page)}. Covers the 53 most frequent rules; for other codes gefunden is false and mehr links to the list of all explained rules (not an error).
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": {
"code": "<code>"
},
"name": "explain_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Rule code as reported by the validator, e.g. "BR-DE-15" (case-insensitive, surrounding brackets or spaces are ignored). |