Peppol BIS Billing 3.0.21 · UBL

BR-07: An Invoice shall contain the Buyer name (BT-44)

Peppol BIS Billing 3.0.21 · UBL

fatalbusiness

Original rule text

[BR-07]-An Invoice shall contain the Buyer name (BT-44).

Stored validation assertion
normalize-space(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) != ''

BR-07 is a fatal rule in the business layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected. It refers to BT-44.

What this rule requires

The rule requires that an invoice or credit note in UBL contains a non-empty buyer name in cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName (BT-44), and that a CII invoice contains a non-empty buyer name in rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Name. The test ignores surrounding whitespace, so a value that is missing, empty, or only whitespace does not satisfy it. Because the severity is fatal, a document without this value fails validation.

How to fix

Set the buyer name element to the actual buyer name. For UBL invoices and credit notes, populate cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName with the buyer's name. For CII, populate rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Name with the buyer's name. Ensure the value contains at least one non-whitespace character.

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 BR-07.

Validate an invoice against these rules · All release changes