Validation rules

UBL-SR-51

An address carries more than one cac:AddressLine — only one additional address line (line 3) is allowed per postal address.

Rule
UBL-SR-51official 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 address model has no third address line; generated addresses never contain cac:AddressLine.

How to fix it

Keep at most one AddressLine per address; the first two lines belong in cbc:StreetName and cbc:AdditionalStreetName.

UBL-SR-51 auf Deutsch — was bedeutet der Fehler?

Der KoSIT-Validator lehnt die Rechnung ab, weil eine Anschrift mehrere cac:AddressLine-Elemente trägt — nur eine zusätzliche Adresszeile (Zeile 3) je Anschrift ist erlaubt.

So beheben Sie den Fehler

Behalten Sie höchstens eine AddressLine je Anschrift; die ersten beiden Zeilen gehören in cbc:StreetName und cbc:AdditionalStreetName.

Official sources

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.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.