Validation rules
UBL-SR-36
An invoice line carries more than one invoicing period (BG-26) — only one cac:InvoicePeriod per line is allowed.
- Rule
UBL-SR-36— 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 InvoicePeriod per line, from invoice.lines[i].period.
How to fix it
Keep a single cac:InvoicePeriod per invoice line.
UBL-SR-36 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator lehnt die Rechnung ab, weil eine Position mehrere Abrechnungszeiträume (BG-26) trägt — nur eine cac:InvoicePeriod je Position ist erlaubt.
So beheben Sie den Fehler
Behalten Sie genau eine cac:InvoicePeriod 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.