Explain error codes
explain_errorsExplain rule codes in plain language. Works without an API key.
Covers the codes of validate_invoice findings and hints: EN 16931,
XRechnung, ZUGFeRD and invowerk's own hint codes (IW-*).
Input: codes is a list of one or more codes, e.g. ["BR-CO-18", "BR-DE-21"].
Duplicates are removed. lang is "de" (default) or "en".
Returns lang and explanations. Each explanation has title, meaning,
causes, fixes, severity, standard, bt_refs, xpath_hints and
explain_url (the German page for the code). If any code is unknown, the call
fails and names the unknown codes.
Credits: free. This tool is not metered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the explanations: "de" (default) or "en". | de |
| codes | Yes | One or more rule codes from validate_invoice, e.g. ["BR-CO-18", "BR-DE-21"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||