Validation rules
UBL-CR-561
An invoice line contains cac:TaxTotal. In EN 16931 VAT is broken down at document level only (BG-23) — lines state just their category and rate (BT-151/BT-152).
- Rule
UBL-CR-561— official EN 16931 / XRechnung rule- Severity
- warning
- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Only reachable when validating your own XML — normbill-generated documents cannot trigger it
normbill computes the document-level VAT breakdown from the lines; generated lines never carry TaxTotal.
How to fix it
Remove the line-level TaxTotal; put the VAT breakdown into the document-level cac:TaxTotal/cac:TaxSubtotal elements.
UBL-CR-561 auf Deutsch — was bedeutet der Fehler?
Der KoSIT-Validator meldet eine Warnung, weil eine Rechnungsposition cac:TaxTotal enthält. In der EN 16931 wird die Umsatzsteuer nur auf Dokumentebene aufgeschlüsselt (BG-23) — Positionen nennen lediglich Kategorie und Satz (BT-151/BT-152).
So beheben Sie den Fehler
Entfernen Sie das TaxTotal auf Positionsebene; die Steueraufschlüsselung gehört in die dokumentweiten cac:TaxTotal/cac:TaxSubtotal-Elemente.
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.