Validation rules
UBL-SR-11 — UBL rule
The seller legal registration identifier (BT-30) appears more than once — only one PartyLegalEntity/CompanyID is allowed.
- Rule
UBL-SR-11— 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 legal registration identifier; the serializer never emits this CompanyID.
How to fix it
Keep a single cbc:CompanyID inside the supplier's cac:PartyLegalEntity.
UBL-SR-11 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator lehnt die Rechnung ab, weil die Registernummer des Verkäufers (BT-30) mehrfach vorkommt — nur eine PartyLegalEntity/CompanyID ist erlaubt.
So beheben Sie den Fehler
Behalten Sie genau eine cbc:CompanyID in der cac:PartyLegalEntity des Verkäufers.
Related rules
UBL-SR-10— The seller trading name (BT-28) appears more than once — the supplier party may carry only one PartyName/Name.UBL-SR-12— The seller VAT identifier (BT-31) appears more than once — only one PartyTaxScheme with TaxScheme/ID 'VAT'…UBL-SR-09— The seller name (BT-27) appears more than once — the supplier party may carry only one…UBL-SR-13— The seller tax registration identifier (BT-32) appears more than once — only one non-VAT PartyTaxScheme may…UBL-SR-08— The invoicing period (BG-14) appears more than once — only one document-level cac:InvoicePeriod is allowed.UBL-SR-14— The seller's additional legal information (BT-33) appears more than once — 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.