Tools › SmartFormular E-Rechnung lite › Validation rules › BR-AG-09
BR-AG-09
The VAT amount for "IPSI (Ceuta and Melilla)" (M) (BT-117) is not taxable amount times rate
What the message means
The VAT amount for "IPSI (Ceuta and Melilla)" (M) (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-AG-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 "IPSI" 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) = 'M'][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 = 'M'][upper-case(ram:TypeCode) = 'VAT'] Test: not(true())
Related rules
- BR-AG-06For an allowance with "IPSI (Ceuta and Melilla)" (M) the VAT rate is wrong: it must be zero or more
- BR-AG-07For a charge with "IPSI (Ceuta and Melilla)" (M) the VAT rate is wrong: it must be zero or more
- BR-AG-08The taxable amount for "IPSI (Ceuta and Melilla)" (M) in the VAT breakdown (BT-116) does not match the lines, …
- BR-AG-10With "IPSI (Ceuta and Melilla)" (M) no exemption reason may be given (BT-120, BT-121)
- BR-B-01Lines, allowances or charges use the VAT category "split payment (Italy)" (B), but the VAT breakdown (BG-23) …
- BR-B-02For lines with "split payment (Italy)" (B), the seller's VAT number or tax number (BT-31, BT-32) is missing