Validation rules
BR-DE-18
A payment-terms line starting with # is not a valid Skonto segment — XRechnung requires the exact format #SKONTO#TAGE=n#PROZENT=n.nn# (optionally #BASISBETRAG=n.nn#), one per line.
- Rule
BR-DE-18— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-20— Payment terms- Field in your JSON
invoice.payment.terms
How to fix it
Format cash-discount terms exactly like "#SKONTO#TAGE=14#PROZENT=2.00#", or describe them without a leading #.
BR-DE-18 auf Deutsch — was bedeutet der Fehler?
Eine Zeile der Zahlungsbedingungen (BT-20), die mit # beginnt, ist kein gültiges Skonto-Segment. Die XRechnung verlangt exakt das Format #SKONTO#TAGE=n#PROZENT=n.nn# (optional #BASISBETRAG=n.nn#), je Skonto eine eigene Zeile.
So beheben Sie den Fehler
Formatieren Sie Skonto-Angaben exakt wie "#SKONTO#TAGE=14#PROZENT=2.00#" — oder beschreiben Sie sie ohne führendes #.
Official sources
- XRechnung specification (KoSIT / xeinkauf.de)
- KoSIT validator on GitHub and the XRechnung validator configuration
Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.