BR-AG-09ErrorVAT categories (BR-S, BR-Z, BR-E, BR-AE …)

BR-AG-09: VAT amount for IPSI (Ceuta and Melilla) is wrong

The invoice is invalid and will be rejected.

What does the error mean?

The VAT amount (BT-117) of category M must be taxable amount (BT-116) × rate (BT-119) / 100, rounded to 2 decimals.

How to fix it

Calculate VAT once per rate on the taxable amount, instead of adding up VAT rounded per line.

Original validator message

[BR-AG-09] 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).

Checked in: UBL, CII

Fields involved

  • BT-117 VAT category tax amount
  • BG-23 VAT BREAKDOWN
  • BT-118 VAT category code
  • BT-116 VAT category taxable amount
  • BT-119 VAT category rate

Check your invoice now

Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.

Open the validator

Avoid the errors in the first place

With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.

Read the API docs

Related error codes

All error codes →