Validation rules
UBL-SR-35
An invoice line references more than one purchase order line (BT-132) — only one OrderLineReference/LineID per line is allowed.
- Rule
UBL-SR-35— 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 order line reference; generated lines never contain cac:OrderLineReference.
How to fix it
Keep a single cac:OrderLineReference/cbc:LineID per invoice line.
UBL-SR-35 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator lehnt die Rechnung ab, weil eine Position auf mehrere Bestellpositionen (BT-132) verweist — nur eine OrderLineReference/LineID je Position ist erlaubt.
So beheben Sie den Fehler
Behalten Sie genau eine cac:OrderLineReference/cbc:LineID je Rechnungsposition.
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.