# BR-E-03 Exempt document allowance requires a seller tax identifier

An invoice with a document level allowance (BG-20) where the document level allowance VAT category code (BT-95) is "Exempt from VAT" (E) shall contain the Seller VAT identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).

## Problem Description

An invoice with a document level allowance (BG-20) where the document level allowance VAT category code (BT-95) is "Exempt from VAT" (E) shall contain the Seller VAT identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).

> **ERROR**: XRechnung 3.0

## Context and Significance

This mirrors BR-E-02 for document level allowances: an exemption claim requires the supplier to be tax-identified.

## Solution

Add at least one seller tax identifier (BT-31, BT-32 or BT-63) to the invoice that carries the exempt document level allowance.

- validate
- convert

## Valid Examples

- Exempt allowance (BT-95 = E) with seller BT-32 = 201/123/40004

## Invalid Examples

- Exempt allowance (BT-95 = E) with no seller tax identifier at all

## Code Examples

### Valid XML
```
<cac:PartyTaxScheme>
  <cbc:CompanyID>DE123456789</cbc:CompanyID>
  <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:AllowanceCharge>
  <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
  <cbc:Amount currencyID="EUR">40.00</cbc:Amount>
  <cac:TaxCategory><cbc:ID>E</cbc:ID><cbc:Percent>0</cbc:Percent></cac:TaxCategory>
</cac:AllowanceCharge>
```

### Invalid XML
```
<cac:AllowanceCharge>
  <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
  <cbc:Amount currencyID="EUR">40.00</cbc:Amount>
  <cac:TaxCategory><cbc:ID>E</cbc:ID><cbc:Percent>0</cbc:Percent></cac:TaxCategory>
</cac:AllowanceCharge>
<!-- no PartyTaxScheme/CompanyID for the seller -->
```

## Affected Fields

- [BT-95 Document level allowance VAT category code](/resources/xrechnung/bt-95-document-level-allowance-vat-category-code)
- [BT-31 Seller VAT identifier](/resources/xrechnung/bt-31-seller-vat-identifier)
- [BT-32 Seller tax registration identifier](/resources/xrechnung/bt-32-seller-tax-registration-identifier)

## Related Rules

- [BR-E-02](/resources/kosit-validator-errors/br-e-02-exempt-line-seller-vat-id)
- [BR-E-04](/resources/kosit-validator-errors/br-e-04-exempt-charge-seller-vat-id)
- [BR-E-06](/resources/kosit-validator-errors/br-e-06-exempt-allowance-rate-zero)

## 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.
