Tools › SmartFormular E-Rechnung lite › Validation rules › BR-AF-09
BR-AF-09
The VAT amount for "IGIC (Canary Islands)" (L) (BT-117) is not taxable amount times rate
What the message means
The VAT amount for "IGIC (Canary Islands)" (L) (BT-117) is not taxable amount times rate.
What the issuer needs to change
Recalculate the VAT amount and round it to the cent.
Fields concerned
BG-23VAT breakdownBT-116VAT category taxable amountBT-117VAT category tax amountBT-118VAT category codeBT-119VAT category rate
Your invoice reports BR-AF-09? 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
The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119).
Technical details for IT
UBL
Context: /*/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'] Test: not((abs(xs:decimal(../cbc:TaxAmount)) - 1 < round((abs(xs:decimal(../cbc:TaxableAmount)) * (xs:decimal(cbc:Percent) div 100)) * 10 * 10) div 100 ) and (abs(xs:decimal(../cbc:TaxAmount)) + 1 > round((abs(xs:decimal(../cbc:TaxableAmount)) * (xs:decimal(cbc:Percent) div 100)) * 10 * 10) div 100 ))
CII
Context: //rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'L'][upper-case(ram:TypeCode) = 'VAT'] Test: not(true())
Related rules
- 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
- BR-AF-08The taxable amount for "IGIC (Canary Islands)" (L) in the VAT breakdown (BT-116) does not match the lines, …
- BR-AF-10With "IGIC (Canary Islands)" (L) no exemption reason may be given (BT-120, BT-121)
- BR-AG-01Lines, allowances or charges use the VAT category "IPSI (Ceuta and Melilla)" (M), but the VAT breakdown …
- BR-AG-02For lines with "IPSI (Ceuta and Melilla)" (M), the seller's VAT number or tax number (BT-31, BT-32) is missing