Validation rules
BR-DE-23-b
Payment means is a credit transfer (code 30/58), so direct-debit information (BG-19) must not be present.
- Rule
BR-DE-23-b— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-89— SEPA direct debit mandate reference- Field in your JSON
invoice.payment.mandate_id
How to fix it
Remove invoice.payment.mandate_id / creditor_id / debited_iban, or set means_code to 59.
BR-DE-23-b auf Deutsch — was bedeutet der Fehler?
Als Zahlungsart ist eine Überweisung (Code 30/58) angegeben, dann dürfen Lastschriftangaben (BG-19) nicht übermittelt werden.
So beheben Sie den Fehler
Entfernen Sie invoice.payment.mandate_id / creditor_id / debited_iban — oder setzen Sie means_code auf 59.
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.
Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.