EN16931 / XRechnung / Peppol BIS 3 Validator

UBL-SR-21: Payee legal registration identifier shall occur maximum once, if the Payee…

fatal UBL

What this error means and how to fix it

A UBL syntax rule: an element occurs more often than EN 16931 allows, or another restriction of the UBL syntax binding is not met. This is an error: the invoice is rejected until it is fixed.

Check your invoice against UBL-SR-21 — free

Runs the KoSIT validator 1.6.3, unmodified · result in seconds · the file is not stored · No file at hand? Try a sample invoice

This error needs information only you have, so it is not repaired automatically. The free check shows every finding in the file with its location; if other errors in the same file are in the automatic set (totals, VAT breakdown, rounding, element order), the result page offers the corrected file for 9 €.

Rule text

[UBL-SR-21]-Payee legal registration identifier shall occur maximum once, if the Payee is different from the Seller
Where the rule is checked (XPath context and test)
SyntaxSeverityContext (XPath)Test (XPath)
EN16931-UBLfatalcac:PayeeParty(count(cac:PartyLegalEntity/cbc:CompanyID) <= 1) and ((cac:PartyName/cbc:Name) != (../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName))

Source: EN 16931-1 Schematron, UBL syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).

Check your invoice against this rule