UBL-SR-17
EN 16931-1 layer: en16931
Checked against Peppol BIS Billing 3.0 2026.5
What does UBL-SR-17 mean? Buyer legal registration identifier shall occur maximum once
Why did my invoice fail UBL-SR-17?
The Buyer legal registration identifier (BT-47), carried in cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID, may appear at most once. This is the company registration number that identifies the buyer as a legal entity, and EN 16931 allows only one such value.
Official rule text
Buyer legal registration identifier shall occur maximum once
Common causes
- Multiple cac:PartyLegalEntity elements are generated for the buyer, each with its own CompanyID.
- The buyer's trade register number and VAT number are both mapped into CompanyID instead of using the VAT identifier field.
- A template repeats CompanyID for both a national and a local registry.
How do I fix it?
Provide one entry only: <cac:PartyLegalEntity><cbc:CompanyID schemeID="0198">DK16356706</cbc:CompanyID></cac:PartyLegalEntity> and delete duplicate PartyLegalEntity/CompanyID occurrences.
Related rules
UBL-SR-01 · UBL-SR-02 · UBL-SR-03 · UBL-SR-04 · UBL-SR-05 · UBL-SR-06 · UBL-SR-07 · UBL-SR-08
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.