Validation rules
UBL-SR-21
The payee legal registration identifier (BT-61) is invalid: at most one PartyLegalEntity/CompanyID is allowed in cac:PayeeParty, and the payee must differ from the seller.
- Rule
UBL-SR-21— 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 payee party (BG-10); generated XML never contains cac:PayeeParty.
How to fix it
Keep a single payee CompanyID, or remove the PayeeParty when the seller is paid directly.
UBL-SR-21 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator lehnt die Rechnung ab: die Registernummer des Zahlungsempfängers (BT-61) darf höchstens einmal vorkommen, und der Zahlungsempfänger muss sich vom Verkäufer unterscheiden.
So beheben Sie den Fehler
Behalten Sie genau eine CompanyID beim Zahlungsempfänger — oder entfernen Sie die PayeeParty.
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.