Peppol BIS Billing 3.0.20 · UBL

UBL-SR-40: Buyer trade name shall occur maximum once

Peppol BIS Billing 3.0.20 · UBL

fatalschema

Original rule text

[UBL-SR-40]-Buyer trade name shall occur maximum once

Stored validation assertion
(count(cac:AccountingCustomerParty/cac:Party/cac:PartyName/cbc:Name) <= 1)

UBL-SR-40 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 applies to UBL Invoice and CreditNote. It requires that within cac:AccountingCustomerParty/cac:Party/cac:PartyName, the buyer trade name element cbc:Name occurs at most once. The document fails if that element is present more than once, because the test count(cac:AccountingCustomerParty/cac:Party/cac:PartyName/cbc:Name) <= 1 is false.

How to fix

In the UBL document, ensure the path cac:AccountingCustomerParty/cac:Party/cac:PartyName/cbc:Name appears no more than once. If it occurs multiple times, remove the extra cbc:Name elements or combine the values into a single cbc:Name.

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

Validate an invoice against these rules · All release changes