Peppol BIS Billing 3.0.20 · UBL

BR-09: The Seller postal address (BG-5) shall contain a Seller country code (BT-40)

Peppol BIS Billing 3.0.20 · UBL

fatalbusiness

Original rule text

[BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40).

Stored validation assertion
normalize-space(cac:Country/cbc:IdentificationCode) != ''

BR-09 is a fatal rule in the business layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected. It refers to BG-5, BT-40.

What this rule requires

The seller postal address (BG-5, "Verkäuferpostanschrift") must contain a seller country code (BT-40, "Ländercode des Verkäufers"). In UBL, the element cac:Country/cbc:IdentificationCode inside the seller postal address must not be empty or contain only whitespace after normalize-space() is applied. In CII, the ram:CountryID inside ram:PostalTradeAddress must not be empty or only whitespace. Because the severity is fatal, an empty or whitespace-only value causes validation failure.

How to fix

Set the seller country code in the postal address. For UBL, populate cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode with the seller's country code. For CII, populate ram:CountryID within ram:SellerTradeParty/ram:PostalTradeAddress. The value must be a non-empty country code; the rule does not check the specific code list, but the code should meet any other applicable requirements.

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

Validate an invoice against these rules · All release changes