Validation rules

UBL-SR-43

A schemeID attribute is set on an AdditionalDocumentReference/cbc:ID that is not an invoiced-object reference — the scheme is only allowed together with DocumentTypeCode 130 (or 50 in credit notes).

Rule
UBL-SR-43official 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 additional document references; generated XML never contains this construct.

How to fix it

Remove the schemeID attribute, or add cbc:DocumentTypeCode 130 to mark the reference as the invoiced object (BT-18).

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

Der KoSIT-Validator lehnt die Rechnung ab, weil ein schemeID-Attribut auf einer AdditionalDocumentReference/cbc:ID gesetzt ist, die keine Objektkennung ist — das Schema ist nur zusammen mit DocumentTypeCode 130 (bzw. 50 bei Gutschriften) erlaubt.

So beheben Sie den Fehler

Entfernen Sie das schemeID-Attribut — oder ergänzen Sie cbc:DocumentTypeCode 130, um die Referenz als Objektkennung (BT-18) zu kennzeichnen.

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.