# BR-Z-06 Zero-rated document allowance rate must be zero

In a document level allowance (BG-20) where the document level allowance VAT category code (BT-95) is "Zero rated", the document level allowance VAT rate (BT-96) shall be 0 (zero).

## Problem Description

> **ERROR**: EN 16931 VAT category rule

## Context and Significance

This EN16931 rule is the counterpart of BR-Z-05 for document level allowances with category Z. In practice, the error occurs when the software copies the default rate, such as 19, into every document level allowance regardless of its category.

## Solution

Set the document level allowance VAT rate (BT-96) to 0 for category Z allowances; use category S with a positive rate if VAT actually applies.

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

## Valid Examples

- Document allowance with BT-95 = Z and BT-96 = 0

## Invalid Examples

- Document allowance with BT-95 = Z but BT-96 = 19

## Code Examples

### Valid XML
```
<cac:AllowanceCharge>
  <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
  <cbc:Amount currencyID="EUR">10.00</cbc:Amount>
  <cac:TaxCategory><cbc:ID>Z</cbc:ID><cbc:Percent>0</cbc:Percent><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:TaxCategory>
</cac:AllowanceCharge>
```

### Invalid XML
```
<cac:AllowanceCharge>
  <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
  <cbc:Amount currencyID="EUR">10.00</cbc:Amount>
  <cac:TaxCategory><cbc:ID>Z</cbc:ID><cbc:Percent>19</cbc:Percent><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:TaxCategory>
</cac:AllowanceCharge>
```

## Affected Fields

- [BT-95 Document level allowance VAT category code](/resources/xrechnung/bt-95-document-level-allowance-vat-category-code)
- [BT-96 Document level allowance VAT rate](/resources/xrechnung/bt-96-document-level-allowance-vat-rate)

## Related Rules

- [BR-Z-03](/resources/kosit-validator-errors/br-z-03-zero-rated-allowance-seller-vat-id)
- [BR-Z-05](/resources/kosit-validator-errors/br-z-05-zero-rated-line-rate-zero)
- [BR-Z-07](/resources/kosit-validator-errors/br-z-07-zero-rated-charge-rate-zero)

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