Validation rules

UBL-SR-02

The receiving advice reference (BT-15) appears more than once — only one cac:ReceiptDocumentReference with one cbc:ID is allowed.

Rule
UBL-SR-02official 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 receiving advice reference; generated XML never contains this element.

How to fix it

Keep a single ReceiptDocumentReference element in your XML.

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

Der KoSIT-Validator lehnt die Rechnung ab, weil die Referenz auf die Wareneingangsmeldung (BT-15) mehrfach vorkommt — nur ein cac:ReceiptDocumentReference ist erlaubt.

So beheben Sie den Fehler

Behalten Sie genau ein ReceiptDocumentReference-Element im XML.

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.