Validation rules
UBL-SR-46
The payment means text (BT-82, the name attribute on cbc:PaymentMeansCode) appears more than once in the document.
- Rule
UBL-SR-46— official EN 16931 / XRechnung rule- Severity
- error
- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
The normbill invoice model has no payment means text; the serializer never sets the name attribute.
How to fix it
Set the name attribute on at most one PaymentMeansCode.
UBL-SR-46 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator lehnt die Rechnung ab, weil der Zahlungsweg-Text (BT-82, das name-Attribut auf cbc:PaymentMeansCode) mehrfach vorkommt.
So beheben Sie den Fehler
Setzen Sie das name-Attribut auf höchstens einem PaymentMeansCode.
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.