Validation rules
BR-DE-26
A corrected invoice (type_code 384) should reference the invoice it corrects (BT-25).
- Rule
BR-DE-26— official EN 16931 / XRechnung rule- Severity
- warning
- Business term
BT-25— Preceding invoice number- Field in your JSON
invoice.preceding_invoice
How to fix it
Set invoice.preceding_invoice to the number of the invoice being corrected.
BR-DE-26 auf Deutsch — was bedeutet der Fehler?
Eine Rechnungskorrektur (type_code 384) soll die korrigierte Rechnung referenzieren (BT-25). Der Validator meldet eine Warnung.
So beheben Sie den Fehler
Setzen Sie invoice.preceding_invoice auf die Nummer der korrigierten Rechnung.
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.