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

Saudi Buyer Postal Code Must Be 5 Digits

When Buyer Country is 'SA', Buyer cbc:PostalZone must consist of exactly 5 numeric digits.

Scope
Buyer Address
Applicable Invoice Types
Standard (B2B)
Catalog Version
v1.0.0 (2026-11-23)
Target XPath
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone

Typical Reason for Failure

Customer records contain '0000' or 6-digit P.O. Box numbers instead of 5-digit Saudi postal codes.

Invalid Synthetic Example

Before (Fails)xml
<cbc:PostalZone>2332</cbc:PostalZone>

Corrected Synthetic Example

After (Fixed)xml
<cbc:PostalZone>23326</cbc:PostalZone>

Explanation of the Fix

Supply a valid 5-digit Saudi postal zone for domestic buyers.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Test your invoice against BR-KSA-67 now

Browser quick check; raw XML is never stored.

Open Validator