Skip to content
SmartFormular

SmartFormular › SmartFormular E-Invoice Start › 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

Validation rule of EN 16931 (CEN, rule set 1.3.16) · Level: Error

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-25 invoice line
  • BT-151 invoiced item VAT category code
  • BT-152 invoiced item VAT rate

Your invoice reports BR-AG-05? Check it with SmartFormular E-Invoice Start, 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-invoice

Origin

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.

Source: CEN/TC 434, EN 16931 validation rules 1.3.16, European Union Public Licence 1.2

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, …

All validation rules

Technical explanation by SmartFormular, not tax or legal advice. Rules as of 31 August 2026 (KoSIT validator configuration).