Tools › SmartFormular E-Rechnung lite › Validation rules › BR-AF-01
BR-AF-01
Lines, allowances or charges use the VAT category "IGIC (Canary Islands)" (L), but the VAT breakdown (BG-23) does not list it correctly
What the message means
Lines, allowances or charges use the VAT category "IGIC (Canary Islands)" (L), but the VAT breakdown (BG-23) does not list it correctly.
What the issuer needs to change
Add a VAT breakdown entry for L (exactly one).
Fields concerned
BG-20document level allowancesBG-21document level chargesBG-23VAT breakdownBG-25invoice lineBT-95document level allowance VAT category codeBT-102document level charge VAT category codeBT-118VAT category codeBT-151invoiced item VAT category code
Your invoice reports BR-AF-01? 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 an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC".
Technical details for IT
UBL
Context: /ubl:Invoice | /cn:CreditNote Test: not(((count(//cac:AllowanceCharge/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) + count(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'])) > 0 and count(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cbc:ID = 'L']) > 0) or ((count(//cac:AllowanceCharge/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) + count(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'])) = 0 and count(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) = 0))
CII
Context: /rsm:CrossIndustryInvoice Test: not(((count(//ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode='L']) + count(//ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode='L'])) >=2 or not (//ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode='L'])) and ((count(//ram:CategoryTradeTax[ram:CategoryCode='L']) + count(//ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode='L'])) >=2 or not (//ram:CategoryTradeTax[ram:CategoryCode='L'])))
Related rules
- BR-AE-08The taxable amount for "reverse charge" (AE) in the VAT breakdown (BT-116) does not match the lines, …
- BR-AE-09With "reverse charge" (AE) the VAT amount in the breakdown (BT-117) must be 0
- BR-AE-10The invoice shows no VAT – category "reverse charge" (AE) – but gives no reason (BT-120 or BT-121)
- 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-04For a charge with "IGIC (Canary Islands)" (L), the seller's VAT number or tax number (BT-31, BT-32) is missing