Peppol BIS Billing 3.0.20 · UBL

UBL-SR-19: Payee name shall occur maximum once, if the Payee is different from the Seller

Peppol BIS Billing 3.0.20 · UBL

fatalschema

Original rule text

[UBL-SR-19]-Payee name shall occur maximum once, if the Payee is different from the Seller

Stored validation assertion
(count(cac:PartyName/cbc:Name) <= 1) and ((cac:PartyName/cbc:Name) != (../cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName))

UBL-SR-19 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 within cac:PayeeParty, the payee name in cac:PartyName/cbc:Name occurs at most once, and that its value is not equal to the seller's cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName. Although the message says “maximum once”, the second part of the test cannot be satisfied if no payee name is present, so effectively exactly one cac:PartyName/cbc:Name is required and it must differ from the seller's registration name. A document violates this fatal rule when it has more than one payee name, no payee name, or a payee name equal to the seller's registration name.

How to fix

In cac:PayeeParty, provide exactly one cac:PartyName/cbc:Name whose text value is different from the value in cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName. If the payee is the same as the seller, omit the cac:PayeeParty element entirely instead of duplicating the seller's name. Remove any duplicate cac:PartyName elements inside cac:PayeeParty.

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

Validate an invoice against these rules · All release changes