# BR-AF-05 IGIC line VAT rate must be zero or greater

In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero.

## Problem Description

In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero.

> **ERROR**: XRechnung 3.0

## Context and Significance

The IGIC category (the Canary Islands indirect tax) comes from the updated EN16931 code lists supported by the current XRechnung 3.0.2 rulepack; unlike VAT-free categories it can carry a positive rate, but the rate must never be negative.

## Solution

Set BT-152 (cbc:Percent) to a non-negative value such as 7.00; never use a negative rate for a "L" (IGIC) line.

- validate
- convert

## Valid Examples

- Line with category "L" (IGIC) and BT-152 = 7.00
- Line with category "L" (IGIC) and BT-152 = 0

## Invalid Examples

- Line with category "L" (IGIC) and BT-152 = -7.00

## Code Examples

### Valid XML
```
<cac:ClassifiedTaxCategory>
  <cbc:ID>L</cbc:ID>
  <cbc:Percent>7.00</cbc:Percent>
  <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:ClassifiedTaxCategory>
```

### Invalid XML
```
<cac:ClassifiedTaxCategory>
  <cbc:ID>L</cbc:ID>
  <cbc:Percent>-7.00</cbc:Percent>
  <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:ClassifiedTaxCategory>
```

## Affected Fields

- [BT-152 Invoiced item VAT rate](/resources/xrechnung/bt-152-invoice-line-vat-category-rate)
- [BT-151 Invoiced item VAT category code](/resources/xrechnung/bt-151-invoice-line-vat-category-code)

## Related Rules

- [BR-AF-06](/resources/kosit-validator-errors/br-af-06-igic-allowance-rate-zero-or-greater)
- [BR-AF-07](/resources/kosit-validator-errors/br-af-07-igic-charge-rate-zero-or-greater)

## Validation Tools

- [Official KoSIT Validator](https://erechnungsvalidator.service-bw.de/): Validate your XRechnung files against all BR-DE rules.
- [Convert PDF to XRechnung](/pdf-to-xrechnung): Automatic validation error fixes when converting.

## Related Resources

- [Official Specification](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
- [Complete Error List](/resources/kosit-validator-errors): Overview of all German XRechnung validation rules.
