Validation rules
UBL-SR-22 — UBL rule
The tax representative name (BT-62) appears more than once — cac:TaxRepresentativeParty may carry only one PartyName/Name.
- Rule
UBL-SR-22— 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 tax representative (BG-11); generated XML never contains cac:TaxRepresentativeParty.
How to fix it
Keep a single cac:PartyName/cbc:Name inside the tax representative party.
UBL-SR-22 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator lehnt die Rechnung ab, weil der Name des Steuervertreters (BT-62) mehrfach vorkommt — cac:TaxRepresentativeParty darf nur einen PartyName/Name tragen.
So beheben Sie den Fehler
Behalten Sie genau einen cac:PartyName/cbc:Name beim Steuervertreter.
Related rules
UBL-SR-21— The payee legal registration identifier (BT-61) is invalid: at most one PartyLegalEntity/CompanyID is…UBL-SR-23— The tax representative VAT identifier (BT-63) appears more than once — only one PartyTaxScheme/CompanyID is…UBL-SR-20— The payee identifier (BT-60) is invalid: cac:PayeeParty may carry at most one PartyIdentification/ID (SEPA…UBL-SR-24— Delivery information (BG-13) appears more than once — only one cac:Delivery element is allowed.UBL-SR-19— The payee name (BT-59) is invalid: cac:PayeeParty may carry at most one PartyName/Name, and it must differ…UBL-SR-25— The deliver-to party name (BT-70) appears more than once — cac:Delivery may carry only one…
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.