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

Document-Level Charge Reason Text Mandatory (BT-104)

Any document-level cac:AllowanceCharge with ChargeIndicator=true must specify cbc:AllowanceChargeReason.

Scope
Allowances & Charges
Applicable Invoice Types
Standard (B2B), Simplified (B2C), Credit Note, Debit Note
Catalog Version
v1.0.0 (2026-11-23)
Target XPath
/Invoice/cac:AllowanceCharge/cbc:AllowanceChargeReason

Typical Reason for Failure

Shipping/handling charges are inserted at header level without a reason string.

Invalid Synthetic Example

Before (Fails)xml
<cac:AllowanceCharge><cbc:ChargeIndicator>true</cbc:ChargeIndicator><cbc:Amount currencyID="SAR">50.00</cbc:Amount></cac:AllowanceCharge>

Corrected Synthetic Example

After (Fixed)xml
<cac:AllowanceCharge><cbc:ChargeIndicator>true</cbc:ChargeIndicator><cbc:AllowanceChargeReason>Freight Charge</cbc:AllowanceChargeReason><cbc:Amount currencyID="SAR">50.00</cbc:Amount></cac:AllowanceCharge>

Explanation of the Fix

Include cbc:AllowanceChargeReason text for each document charge.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Related Rules

Test your invoice against BR-KSA-21 now

Browser quick check; raw XML is never stored.

Open Validator