Peppol BIS Billing 3.0.20 · UBL

UBL-SR-14: Seller additional legal information shall occur maximum once

Peppol BIS Billing 3.0.20 · UBL

fatalschema

Original rule text

[UBL-SR-14]-Seller additional legal information shall occur maximum once

Stored validation assertion
(count(cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyLegalForm) <= 1)

UBL-SR-14 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 in the seller party (cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity), the cbc:CompanyLegalForm element (message: “Seller additional legal information”) occurs no more than once. The test counts occurrences and requires the count to be at most 1, so a document with two or more such elements in that location fails validation. Severity is fatal, so the document is rejected.

How to fix

In the invoice or credit note, inspect cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity. Ensure there is at most one cbc:CompanyLegalForm element. If multiple exist, remove all but one, retaining the correct seller legal form. In the producing system, avoid emitting repeated cbc:CompanyLegalForm elements for the seller.

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-14.

Validate an invoice against these rules · All release changes