Tools › SmartFormular E-Rechnung lite › Validation rules › BR-AF-04
BR-AF-04
For a charge with "IGIC (Canary Islands)" (L), the seller's VAT number or tax number (BT-31, BT-32) is missing
What the message means
For a charge with "IGIC (Canary Islands)" (L), the seller's VAT number or tax number (BT-31, BT-32) is missing.
What the issuer needs to change
Add the missing numbers.
Fields concerned
BG-21document level chargesBT-31seller VAT identifierBT-32seller tax registration identifierBT-63seller tax representative VAT identifierBT-102document level charge VAT category code
Your invoice reports BR-AF-04? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.
Check an e-invoiceOrigin
- Rule set
- EN 16931 (CEN, rule set 1.3.16)
- Syntax
- CII, UBL
- Level
- Error
Original rule text
An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" 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).
Technical details for IT
UBL
Context: /ubl:Invoice | /cn:CreditNote Test: not((exists(//cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='L'][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[cbc:ID='L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'])))
CII
Context: //ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=true()]/ram:CategoryTradeTax[ram:CategoryCode = 'L'][upper-case(ram:TypeCode) = 'VAT']
Test: not(/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = ('VA', 'FC')] or /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA'])
Related rules
- BR-AF-01Lines, allowances or charges use the VAT category "IGIC (Canary Islands)" (L), but the VAT breakdown (BG-23) …
- BR-AF-02For lines with "IGIC (Canary Islands)" (L), the seller's VAT number or tax number (BT-31, BT-32) is missing
- BR-AF-03For an allowance with "IGIC (Canary Islands)" (L), the seller's VAT number or tax number (BT-31, BT-32) is …
- BR-AF-05For a line with "IGIC (Canary Islands)" (L) the VAT rate is wrong: it must be zero or more
- BR-AF-06For an allowance with "IGIC (Canary Islands)" (L) the VAT rate is wrong: it must be zero or more
- BR-AF-07For a charge with "IGIC (Canary Islands)" (L) the VAT rate is wrong: it must be zero or more