Validation rules
UBL-SR-53
A cac:PartyTaxScheme states a TaxScheme/ID but no cbc:CompanyID — the identifier itself (e.g. the VAT number) is missing from the tax scheme entry.
- Rule
UBL-SR-53— 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 serializer only emits PartyTaxScheme when a vat_id/tax_number value exists, always with its CompanyID.
How to fix it
Add the identifier as cbc:CompanyID, or remove the empty PartyTaxScheme wrapper.
UBL-SR-53 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator lehnt die Rechnung ab, weil ein cac:PartyTaxScheme zwar eine TaxScheme/ID nennt, aber keine cbc:CompanyID trägt — der eigentliche Identifikator (z. B. die USt-IdNr.) fehlt.
So beheben Sie den Fehler
Ergänzen Sie den Identifikator als cbc:CompanyID — oder entfernen Sie das leere PartyTaxScheme.
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.