Skip to main content
BR-KSA-23ErrorZATCA Phase 2 UBL 2.1implemented

Exempt VAT Breakdown Reason Code (BT-121)

A VAT breakdown (BG-23) with category 'E' must declare an official ZATCA VATEX-SA-* code in cbc:TaxExemptionReasonCode.

Scope
Tax Breakdown
Applicable Invoice Types
Standard (B2B), Simplified (B2C), Credit Note, Debit Note
Catalog Version
v1.0.0 (2026-11-23)
Target XPath
/Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:TaxExemptionReasonCode

Typical Reason for Failure

Exempt lines set TaxCategory to E and Percent to 0 without attaching a VATEX-SA-* code.

Invalid Synthetic Example

Before (Fails)xml
<cac:TaxCategory><cbc:ID>E</cbc:ID><cbc:Percent>0.00</cbc:Percent></cac:TaxCategory>

Corrected Synthetic Example

After (Fixed)xml
<cac:TaxCategory><cbc:ID>E</cbc:ID><cbc:Percent>0.00</cbc:Percent><cbc:TaxExemptionReasonCode>VATEX-SA-29</cbc:TaxExemptionReasonCode><cbc:TaxExemptionReason>Financial services</cbc:TaxExemptionReason></cac:TaxCategory>

Explanation of the Fix

Attach both the matching ZATCA VATEX-SA-* code and textual reason.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Test your invoice against BR-KSA-23 now

Browser quick check; raw XML is never stored.

Open Validator