Validation rules
BR-27
The item net price (BT-146) must not be negative.
- Rule
BR-27— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-146— Item net price- Field in your JSON
invoice.lines[*].unit_price
How to fix it
Use a positive unit_price — credit notes (type_code 381) use a negative qty instead.
BR-27 auf Deutsch — was bedeutet der Fehler?
Der Netto-Einzelpreis einer Position (BT-146) darf nicht negativ sein.
So beheben Sie den Fehler
Verwenden Sie einen positiven unit_price. Gutschriften und Stornos drücken Sie über type_code 381 mit negativer Menge (qty) aus — nie über einen negativen Preis.
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.