What is UNTDID 5305?
UNTDID 5305 is the "Duty or tax or fee category code" data element from the United Nations Trade Data Interchange Directory (UNTDID) of UN/CEFACT. In e-invoices the code designates the VAT category – at line level (BT-151) and in the tax breakdown (BT-95, BT-102, BT-118).
The EN 16931 subset
EN 16931 permits exactly nine codes:
- S – Standard rate: taxed normally. The concrete tax rate is given separately as a percentage; the reduced German rate of 7 % is also encoded as category S with rate 7 – there is no dedicated code for reduced rates.
- Z – Zero rated goods: tax rate 0 %
- E – Exempt from tax: an exemption reason (free text or a VATEX code) is required
- AE – VAT Reverse charge: the buyer is liable for the VAT (in Germany § 13b UStG)
- K – VAT exempt for EEA intra-community supply
- G – Free export item, tax not charged
- O – Service outside scope of tax
- L – Canary Islands general indirect tax (IGIC)
- M – Tax for production, services and importation in Ceuta and Melilla (IPSI)
The code A from the complete list means "Mixed tax rate" – it does not represent the reduced tax rate and is not permitted in EN 16931.
Typical German cases
- 19 % or 7 % VAT: category S with the respective rate
- Small business exemption under § 19 UStG: category E with an exemption reason text
- Reverse charge under § 13b UStG: category AE, optionally with the VATEX code VATEX-EU-AE
- Intra-community supply: category K
Usage in RechnungsAPI
The vat.code field accepts the nine EN 16931 codes. Categories S and Z must not carry an exemption reason, while category E requires one. See the API documentation for details.