Validation rules
UBL-SR-55
More than one direct-debit mandate (BG-19) is present — cac:PaymentMeans/cac:PaymentMandate is allowed at most once.
- Rule
UBL-SR-55— 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 serializer emits at most one PaymentMandate, from invoice.payment mandate fields.
How to fix it
Keep a single PaymentMandate in the document.
UBL-SR-55 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator lehnt die Rechnung ab, weil mehrere Lastschrift-Mandate (BG-19) vorhanden sind — cac:PaymentMeans/cac:PaymentMandate ist höchstens einmal erlaubt.
So beheben Sie den Fehler
Behalten Sie genau ein PaymentMandate im Dokument.
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.