UBL-SR-15: Buyer name shall occur maximum once
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-15]-Buyer name shall occur maximum once
(count(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) <= 1)UBL-SR-15 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.
What this rule requires
In a UBL invoice or credit note, the element cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName (buyer name) must occur at most once. The rule is fatal, so a document with more than one such element fails validation. Zero occurrences are allowed by this rule.
How to fix
Remove all but one cbc:RegistrationName element under cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity. Check that the buyer party legal entity contains a single buyer name; if duplicates exist, delete the extras. This applies to both Invoice and CreditNote.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to UBL-SR-15.
Validate an invoice against these rules · All release changes