Validation rules
BR-49
Payment instructions (BG-16) are present but the payment means type code (BT-81) is missing.
- Rule
BR-49— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-81— Payment means code- Field in your JSON
invoice.payment.means_code- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
The serializer always writes a means code — invoice.payment.means_code, defaulting to 58 with an IBAN and 30 without. The UBL schema makes the element mandatory anyway.
How to fix it
Add cbc:PaymentMeansCode (UNCL 4461), e.g. 58 for SEPA credit transfer.
BR-49 auf Deutsch — was bedeutet der Fehler?
Zahlungsangaben (BG-16) sind vorhanden, aber der Code der Zahlungsart (BT-81) fehlt.
So beheben Sie den Fehler
Ergänzen Sie cbc:PaymentMeansCode (UNCL 4461), z. B. 58 für SEPA-Überweisung.
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.