UBL-SR-17: Buyer legal registration identifier shall occur maximum once
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-SR-17]-Buyer legal registration identifier shall occur maximum once
(count(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID) <= 1)UBL-SR-17 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected.
What this rule requires
The rule requires that the buyer's legal registration identifier, carried in cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID, occurs at most once. A document fails when this element appears more than once in the buyer party legal entity. This is a fatal rule.
How to fix
Ensure the buyer party legal entity (cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity) contains no more than one cbc:CompanyID. Remove any duplicate cbc:CompanyID elements so that exactly one remains.
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-17.
Validate an invoice against these rules · All release changes