# BR-AE-07 Reverse charge document charge VAT rate must be zero

In a document level charge (BG-21) where the document level charge VAT category code (BT-102) is "Reverse charge" (AE), the document level charge VAT rate (BT-103) shall be 0 (zero).

## Problem Description

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

> **Where BR-AE-07 is checked**
>
> A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. BR-AE-07: EN 16931 VAT category rule, reported in the stage “EN 16931 rules”.

## Solution

Set the reverse charge charge cac:TaxCategory/cbc:Percent (BT-103) to 0 to match the zero-rated AE lines and allowances.

- [Check XML for free](/en/xrechnung-validator)

## Context and Significance

This is the charge-level counterpart of BR-AE-05 and BR-AE-06, keeping the entire reverse charge category at a zero rate so the buyer accounts for the tax. In practice, the error occurs when a freight charge on a reverse charge invoice is exported with the standard rate.

## Valid Examples

- AE document charge with BT-102 = AE and BT-103 = 0

## Invalid Examples

- AE document charge with BT-102 = AE but BT-103 = 7

## Code Examples

### Valid XML
```
<cac:AllowanceCharge>
  <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
  <cbc:Amount currencyID="EUR">30.00</cbc:Amount>
  <cac:TaxCategory>
    <cbc:ID>AE</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>true</cbc:ChargeIndicator>
  <cbc:Amount currencyID="EUR">30.00</cbc:Amount>
  <cac:TaxCategory>
    <cbc:ID>AE</cbc:ID>
    <cbc:Percent>7</cbc:Percent>
    <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
  </cac:TaxCategory>
</cac:AllowanceCharge>
```

## Affected Fields

- [BT-102 Document level charge VAT category code](/en/resources/xrechnung/bt-102-document-level-charge-vat-category-code)
- [BT-103 Document level charge VAT rate](/en/resources/xrechnung/bt-103-document-level-charge-vat-rate)

## Related Rules

- [BR-AE-05](/en/resources/kosit-validator-errors/br-ae-05-reverse-charge-line-rate-zero)
- [BR-AE-06](/en/resources/kosit-validator-errors/br-ae-06-reverse-charge-allowance-rate-zero)
- [BR-AE-04](/en/resources/kosit-validator-errors/br-ae-04-reverse-charge-charge-seller-buyer-vat-id)

## 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](/en/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](/en/resources/kosit-validator-errors): Overview of the EN 16931, XRechnung and Peppol validation rules explained here.
