# BT-95 Document level allowance VAT category code

VAT category code for the document-level allowance.

## Quick answer

> **Discounts and charges**: Document-level discounts, surcharges, and the tax data attached to them.

- [Validate XML](/en/xrechnung-validator?source=resource&bt=BT-95)
- [Convert invoice](/en/pdf-to-xrechnung?source=resource&bt=BT-95)

## In plain language

Document-level allowances reduce the invoice total; document-level charges increase it. ChargeIndicator selects the BG-20 allowance or BG-21 charge interpretation in UBL/CII.

## What you usually enter here

UN/CEFACT UNCL5305 VAT category code

Typical valid values include: S, Z, E, AE

Mandatory for each BG-20 document-level allowance.

## Where the field sits

BT-95 belongs to the Totals and tax part of the invoice. UBL 2.1 Syntax: Invoice › cac:AllowanceCharge[cbc:ChargeIndicator=false()] › cac:TaxCategory › cbc:ID. CII (UN/CEFACT) Syntax: rsm:CrossIndustryInvoice › rsm:SupplyChainTradeTransaction › ram:ApplicableHeaderTradeSettlement › ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=false()] › ram:CategoryTradeTax › ram:CategoryCode.

## What goes wrong often

Avoid values like: 19, standard

Relevant rule codes: BR-32, BR-CL-17

## Valid Examples

- S
- Z
- E
- AE

## Invalid Examples

- 19
- standard

## Related Fields

- [BT-92 Document level allowance amount](/resources/xrechnung/bt-92-document-level-allowance-amount)
- [BT-96 Document level allowance VAT rate](/resources/xrechnung/bt-96-document-level-allowance-vat-rate)

## XML mapping and field facts

Open the technical reference if you need XML paths, validator rule codes, legal wording, or schema-specific mapping details.

### Field ID:
BT-95

### Data Type:
code

### Cardinality:
1..1

### Requirement:
Mandatory

### Since Version:
XRechnung 1.0+

## XML Implementation

### UBL 2.1 Syntax
```
/Invoice/cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cac:TaxCategory/cbc:ID
```

### CII (UN/CEFACT) Syntax
```
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=false()]/ram:CategoryTradeTax/ram:CategoryCode
```

## Validation Rules

### BR-32
BR-32

### BR-CL-17
BR-CL-17

## Check whether your XRechnung sets BT-95 correctly

Upload the XML file to the free validator. It applies the KoSIT rules for XRechnung 3.0 and names each finding with its rule ID, for this field for example BR-CL-17, BR-32. Creating a new invoice instead? The converter checks the invoice against the same rules and shows the findings before download.

- [Validate XML](/en/xrechnung-validator)
- [Convert invoice](/en/pdf-to-xrechnung)

Free, no account needed. XML file up to 2 MB.

## Official sources and tools

- [KoSIT Validator](https://erechnungsvalidator.service-bw.de/)
- [XRechnung Standard](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
