UBL-SR-19: Anzahl eines Elements durch EN 16931 begrenzt
Die Syntax erlaubt das Element an dieser Stelle öfter (oder gar nicht), EN 16931 ordnet es aber einem Geschäftsbegriff zu, daher begrenzen die CEN-Regeln seine Anzahl: « Payee name shall occur maximum once, if the Payee is different from the Seller » Unten: die Meldung, Ursache und Lösung.
- Spezifikation: UBL-Syntaxregeln (UBL-CR, UBL-SR, UBL-DT), CEN EN 16931 validation artefacts 1.3.16
- Schwere: Fehler
- Gemeldet von
POST /einvoice/validateund unseren kostenlosen Prüfern, mit Verweis auf diese Seite
Die Meldung des Validators
UBL-SR-19 ist eine Regel der UBL-Syntaxregeln (UBL-CR, UBL-SR, UBL-DT) (CEN-Validierungsartefakte 1.3.16) für UBL. Sie ist ein Fehler (fatal): ein Validator weist die Rechnung zurück.
[UBL-SR-19]-Payee name shall occur maximum once, if the Payee is different from the SellerWas die Regel prüft
Die Syntax erlaubt das Element an dieser Stelle öfter (oder gar nicht), EN 16931 ordnet es aber einem Geschäftsbegriff zu, daher begrenzen die CEN-Regeln seine Anzahl: « Payee name shall occur maximum once, if the Payee is different from the Seller »
Warum Rechnungen daran scheitern
Das Programm schreibt je Quellwert ein Element (zwei Bemerkungen, zwei Referenzen), wo EN 16931 eines erwartet, oder lässt ein Element weg, das genau einmal stehen muss.
So beheben Sie den Fehler
Das Element so oft schreiben, wie die Meldung sagt; mehrere Werte zusammenfassen oder in einen wiederholbaren Geschäftsbegriff verschieben.
Diese Erklärung gilt für die ganze Familie UBL-SR (54 Regeln, Übersicht); die Seite wird daher nicht indexiert.
Die Regel im Wortlaut
Wo die Regel ansetzt (context) und was gelten muss (test), unverändert aus CEN EN 16931 validation artefacts 1.3.16. Ein assert schlägt fehl, wenn sein Test falsch ist.
Wortlaut und Prüfung: © CEN/TC 434, EN-16931-Validierungsartefakte, EUPL 1.2. Zitiert ohne Änderung; die Erklärungen auf dieser Seite sind von Veriport.
context: cac:PayeeParty
test: (count(cac:PartyName/cbc:Name) <= 1) and ((cac:PartyName/cbc:Name) != (../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName))Eigene Rechnung prüfen
Laden Sie Ihre XRechnung, ZUGFeRD- oder Peppol-Datei im kostenlosen XRechnung-Prüfer hoch: er wendet dieselben Regeldateien an und verlinkt bei jedem Befund die Seite der Regel. Für Ihre Software: POST /einvoice/validate (Referenz) liefert dieselbe Prüfung als JSON, jeder Befund mit dem Feld explanation, das auf diese Seiten zeigt (5 Aufrufe je Prüfung, ohne Schlüssel im Tageskontingent).
Sources
- EN 16931 validation artefacts 1.3.16 (UBL and CII schematron, the business rules BR-*) — CEN/TC 434, published with the European Commission (Connecting Europe), consulted 2026-10-28
- EN 16931 validation artefacts: licence, European Union Public Licence (EUPL) v1.2 (LICENSE.txt, the README « License » section and the release notes of validation-1.3.16) — European Commission (Connecting Europe), for CEN/TC 434, consulted 2026-11-17. The EUPL permits reproduction and communication to the public, with the licence, the copyright notices and the disclaimer kept; a modified copy must say so. The rule library quotes the rule ids and messages of the BR-*, UBL-* and CII-* rules unmodified, credits the artefacts and links the licence.