What the rule requires
A UBL invoice should not carry a VAT exemption reason code on an invoice line
(cbc:TaxExemptionReasonCode in cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory).
EN 16931 has only the VAT category (BT-151) and the VAT rate (BT-152) on a line. The exemption reason — code BT-121 and text BT-120 — belongs in the VAT breakdown of the whole invoice (BG-23), once per VAT category.
The rule is a warning and appears once per invoice, however many lines carry the code. The invoice is often rejected all the same: if the code on the line is not a valid VATEX code, the validator reports the error BR-CL-22 for every line.
Common causes
- Shop plugins copy the product's tax data in full to every line, exemption reason included.
- Often together with UBL-CR-601: the reason as text on the line.
How to fix it
Remove the exemption reason code and text from the lines and give them once in the VAT breakdown.
Example (UBL)
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">0.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">100.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">0.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>K</cbc:ID> <!-- BT-118 -->
<cbc:Percent>0</cbc:Percent> <!-- BT-119 -->
<cbc:TaxExemptionReasonCode>VATEX-EU-IC</cbc:TaxExemptionReasonCode> <!-- BT-121: here -->
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
…
<cac:InvoiceLine>
…
<cac:Item>
<cbc:Name>Sample item</cbc:Name>
<cac:ClassifiedTaxCategory>
<cbc:ID>K</cbc:ID> <!-- BT-151 -->
<cbc:Percent>0</cbc:Percent> <!-- BT-152 -->
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme> <!-- no exemption reason -->
</cac:ClassifiedTaxCategory>
</cac:Item>
…
</cac:InvoiceLine>
Which VAT category and which exemption reason apply to your sales is a tax question — settle it with your tax adviser.
Sources: KoSIT, XRechnung validator configuration 3.0.2 (rules UBL-CR-600 and BR-CL-22, levels "warning" and "error"); XRechnung specification 3.0.2 (groups VAT BREAKDOWN and LINE VAT INFORMATION).