Peppol BIS Billing 3.0.20 · UBL

BR-20: The Seller tax representative postal address (BG-12) shall contain a Tax representative…

Peppol BIS Billing 3.0.20 · UBL

fatalbusiness

Original rule text

[BR-20]-The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11).

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

BR-20 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-12, BT-69, BG-4, BG-11.

What this rule requires

The rule requires that when a seller tax representative party and its postal address are present, the address must include a country code. In UBL, cac:TaxRepresentativeParty/cac:PostalAddress must have a non-empty cac:Country/cbc:IdentificationCode. In CII, //ram:SellerTaxRepresentativeTradeParty must have a non-empty ram:PostalTradeAddress/ram:CountryID. The test uses normalize-space(), so a value that is empty or consists only of whitespace does not satisfy the rule. This is a fatal rule, so such a document fails validation.

How to fix

Populate the tax representative postal address country code. For UBL, ensure cac:TaxRepresentativeParty/cac:PostalAddress/cac:Country/cbc:IdentificationCode contains a non-empty value. For CII, ensure //ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:CountryID contains a non-empty value. Check that the invoice generation system does not output an empty or whitespace-only element for this field.

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

Validate an invoice against these rules · All release changes