Tools › SmartFormular E-Rechnung lite › Validation rules › BR-AG-05
BR-AG-05
For a line with "IPSI (Ceuta and Melilla)" (M) the VAT rate is wrong: it must be zero or more
What the message means
For a line with "IPSI (Ceuta and Melilla)" (M) the VAT rate is wrong: it must be zero or more.
What the issuer needs to change
Correct the VAT rate or category.
Fields concerned
BG-25invoice lineBT-151invoiced item VAT category codeBT-152invoiced item VAT rate
Your invoice reports BR-AG-05? 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
In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero.
Technical details for IT
UBL
Context: cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'M'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']| cac:CreditNoteLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'M'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT'] Test: not((cbc:Percent) >= 0)
CII
Context: //rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'M'][upper-case(ram:TypeCode) = 'VAT'] Test: not(ram:RateApplicablePercent >= 0)
Related rules
- BR-AG-02For lines with "IPSI (Ceuta and Melilla)" (M), the seller's VAT number or tax number (BT-31, BT-32) is missing
- BR-AG-03For an allowance with "IPSI (Ceuta and Melilla)" (M), the seller's VAT number or tax number (BT-31, BT-32) is …
- BR-AG-04For a charge with "IPSI (Ceuta and Melilla)" (M), the seller's VAT number or tax number (BT-31, BT-32) is …
- 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, …