BR-KSA-37ErrorZATCA Phase 2 UBL 2.1implemented
Seller Building Number Must Be 4 Digits
Seller PostalAddress/cbc:BuildingNumber must be exactly 4 numeric digits matching Saudi National Address format.
- Scope
- Seller Address
- Applicable Invoice Types
- Standard (B2B), Simplified (B2C), Credit Note, Debit Note
- Catalog Version
- v1.0.0 (2026-11-23)
- Target XPath
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:BuildingNumber
Typical Reason for Failure
Building numbers like '12' or 'Bldg-402' fail the strict 4-digit regex.
Invalid Synthetic Example
Before (Fails)xml
<cbc:BuildingNumber>402</cbc:BuildingNumber>Corrected Synthetic Example
After (Fixed)xml
<cbc:BuildingNumber>2322</cbc:BuildingNumber>Explanation of the Fix
Supply the official 4-digit numeric Saudi National Address building number.
Official Source Reference
ZATCA Electronic Invoice XML Implementation Standard (Phase 2)
Open official specificationTest your invoice against BR-KSA-37 now
Browser quick check; raw XML is never stored.