# BR-AG-10 IPSI breakdown must not carry an exemption reason

A VAT breakdown (BG-23) with VAT category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120).

## Problem Description

> **ERROR**: EN 16931 rule for IGIC/IPSI (Canary Islands, Ceuta, Melilla)

## Context and Significance

The IPSI category (the indirect tax of Ceuta and Melilla) comes from the updated EN16931 code lists supported by the current XRechnung 3.0.2 rulepack and is a taxable category, so an exemption reason would contradict it; exemption reasons belong to categories E, K, G, O or AE.

## Solution

Remove cbc:TaxExemptionReasonCode (BT-121) and cbc:TaxExemptionReason (BT-120) from the "M" (IPSI) cac:TaxSubtotal/cac:TaxCategory; IPSI is a taxed category, not an exemption.

- [Validate XML](/en/xrechnung-validator?source=resource&rule=BR-AG-10)
- [Convert invoice](/en/pdf-to-xrechnung?source=resource&rule=BR-AG-10)

## Valid Examples

- BG-23 group with BT-118 = "M" (IPSI), rate 10.00 %, and no BT-120 or BT-121

## Invalid Examples

- BG-23 group with BT-118 = "M" (IPSI) that also carries BT-121 = "VATEX-EU-IC"

## Code Examples

### Valid XML
```
<cac:TaxSubtotal>
  <cac:TaxCategory>
    <cbc:ID>M</cbc:ID>
    <cbc:Percent>10.00</cbc:Percent>
    <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
  </cac:TaxCategory>
</cac:TaxSubtotal>
```

### Invalid XML
```
<cac:TaxSubtotal>
  <cac:TaxCategory>
    <cbc:ID>M</cbc:ID>
    <cbc:Percent>10.00</cbc:Percent>
    <cbc:TaxExemptionReasonCode>VATEX-EU-IC</cbc:TaxExemptionReasonCode>
    <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
  </cac:TaxCategory>
</cac:TaxSubtotal>
```

## Affected Fields

- [BT-118 VAT category code](/resources/xrechnung/bt-118-vat-category-code)
- [BT-120 VAT exemption reason text](/resources/xrechnung/bt-120-vat-exemption-reason-text)
- [BT-121 VAT exemption reason code](/resources/xrechnung/bt-121-vat-exemption-reason-code)

## Related Rules

- [BR-AG-01](/resources/kosit-validator-errors/br-ag-01-ipsi-vat-breakdown-required)
- [BR-CL-22](/resources/kosit-validator-errors/br-cl-22-vatex-tax-exemption-reason)

## Validation Tools

- [Official KoSIT Validator](https://github.com/itplr-kosit/validator): Run the official KoSIT validator with the XRechnung configuration to check EN 16931 and XRechnung rules.
- [Convert PDF to XRechnung](/pdf-to-xrechnung): Find validation errors during conversion and review each correction.

## Related Resources

- [Official Specification](https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
- [All validation errors](/resources/kosit-validator-errors): Overview of the EN 16931, XRechnung and Peppol validation rules explained here.
