BR-E-04: An Invoice that contains a Document level charge (BG-21) where the Document level charge…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[BR-E-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).
(exists(//cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='E'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) and (exists(//cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) or exists(//cac:TaxRepresentativeParty/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID))) or not(exists(//cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='E'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']))BR-E-04 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 BG-21, BT-102, BT-31, BT-32, BT-63.
What this rule requires
BR-E-04 is a fatal rule. It requires that if an invoice or credit note contains a document level charge (BG-21) whose VAT category code is 'Exempt from VAT' (code E under VAT), then the seller must be identified by at least one of: Seller VAT Identifier (BT-31), Seller tax registration identifier (BT-32), or Seller tax representative VAT identifier (BT-63). In UBL this is enforced as: when an cac:AllowanceCharge[cbc:ChargeIndicator=true()] contains a cac:TaxCategory with cbc:ID equal to E after normalize-space and a TaxScheme/ID that is VAT after upper-casing and normalization, the document must contain either cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID or cac:TaxRepresentativeParty/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID. In CII the rule applies to ram:SpecifiedTradeAllowanceCharge with ChargeIndicator=true and CategoryTradeTax having CategoryCode='E' and upper-cased TypeCode='VAT'; the test then requires either SellerTradeParty/.../SpecifiedTaxRegistration/ID[@schemeID=('VA','FC')] or SellerTaxRepresentativeTradeParty/.../SpecifiedTaxRegistration/ID[@schemeID='VA'].
How to fix
Add the missing identifier. In UBL, add either cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID (the test does not restrict its tax scheme) or cac:TaxRepresentativeParty/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID. In CII, add either ram:SpecifiedTaxRegistration/ram:ID with @schemeID equal to VA or FC inside SellerTradeParty, or ram:SpecifiedTaxRegistration/ram:ID with @schemeID='VA' inside SellerTaxRepresentativeTradeParty. Because the severity is fatal, the document must be corrected to satisfy the test.
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-E-04.
Validate an invoice against these rules · All release changes