Validation rules
UBL-SR-26
The payment reference (BT-83) appears more than once in a cac:PaymentMeans — only one cbc:PaymentID per payment means is allowed.
- Rule
UBL-SR-26— official EN 16931 / XRechnung rule- Severity
- error
- Business term
BT-83— Remittance information- Field in your JSON
invoice.payment.reference- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
The serializer emits at most one PaymentID, from invoice.payment.reference.
How to fix it
Keep a single cbc:PaymentID per cac:PaymentMeans. Through normbill, invoice.payment.reference is a single value.
UBL-SR-26 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator lehnt die Rechnung ab, weil der Verwendungszweck (BT-83) in einem cac:PaymentMeans mehrfach vorkommt — nur eine cbc:PaymentID je Zahlungsweg ist erlaubt.
So beheben Sie den Fehler
Behalten Sie genau eine cbc:PaymentID je cac:PaymentMeans. Über normbill ist invoice.payment.reference ein einzelner Wert.
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.