BR-Z-03: An Invoice that contains a Document level allowance (BG-20) where the Document level…
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[BR-Z-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" 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=false()]/cac:TaxCategory[normalize-space(cbc:ID)='Z'][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=false()]/cac:TaxCategory[normalize-space(cbc:ID) = 'Z'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']))BR-Z-03 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-20, BT-95, BT-31, BT-32, BT-63.
What this rule requires
The rule applies only when an Invoice or CreditNote contains a document-level allowance (UBL: cac:AllowanceCharge[cbc:ChargeIndicator=false()]; CII: ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=false()]) whose VAT category code is Z under VAT (UBL: cac:TaxCategory/cbc:ID normalized to Z and cac:TaxScheme/cbc:ID normalized to VAT; CII: ram:CategoryTradeTax/ram:CategoryCode = 'Z' and upper-case ram:TypeCode = 'VAT'). In that case, at least one seller identifier must be present: in UBL, a cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID (covering BT-31 and BT-32) or a cac:TaxRepresentativeParty/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']/cbc:CompanyID (BT-63); in CII, a SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID with @schemeID VA or FC, or a SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID with @schemeID VA. If no such allowance exists, the rule passes. As a fatal rule, failure results in validation rejection.
How to fix
Add at least one of the required identifiers. UBL: add cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID with the seller's VAT or tax registration number, or add cac:TaxRepresentativeParty/cac:PartyTaxScheme with cac:TaxScheme/cbc:ID = 'VAT' and cbc:CompanyID. CII: add /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID with @schemeID VA or FC, or add ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID with @schemeID VA. Ensure the identifier value is present.
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-Z-03.
Validate an invoice against these rules · All release changes