BR-KSA-37: Seller Building Number Must Be Exactly 4 Digits
BR-KSA-37: رقم مبنى البائع يجب أن يتكون من 4 أرقام بالضبط
The seller address building number must contain exactly 4 digits.
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:BuildingNumber 📌 Overview & Impact
The seller address building number (KSA-17) must contain exactly 4 numeric digits matching the Saudi National Address.
⚠️ Common Causes for Rejection
- ✕ Providing a 3-digit, 5-digit, or alphanumeric building number (e.g. '123' or 'Bldg 4')
- ✕ Adding extra characters, spaces, or letters
- ✕ Leaving the building number empty
✅ How to Fix & Resolve
Verify SPL National Address
Check the registered 4-digit Building Number on SPL (Saudi Post) National Address certificate.
Pad or Correct Value
Ensure the XML value is exactly 4 digits (e.g. <cbc:BuildingNumber>3142</cbc:BuildingNumber>).
💻 Code Comparison: Invalid vs Compliant UBL 2.1 XML
<cbc:BuildingNumber>42B</cbc:BuildingNumber> <cbc:BuildingNumber>3142</cbc:BuildingNumber> Verify Your Invoice XML Online
Use Qeemah's free developer tools to inspect transforms, C14N digests, and Phase 2 QR codes.
❓ Frequently Asked Questions
What if my company's building number has an additional number (e.g. 1234-5678)?
Use the primary 4-digit Building Number in <cbc:BuildingNumber>. The 4-digit additional number is optional.
🔗 Related ZATCA Rules
BR-KSA-09: Seller Saudi National Address Mandatory Fields Missing
Seller address must contain all 6 Saudi National Address elements: Street Name, Building Number, Postal Code, City, District, and Country Code ('SA').
BR-KSA-63: Buyer Saudi National Address Mandatory When Country is 'SA'
If buyer country code is 'SA' on a Standard Tax Invoice, street name, building number, postal code (5 digits), city, district, and country code are all mandatory.
Stop Fighting Cryptic ZATCA XML Errors
Qeemah handles Phase 2 e-invoicing, cryptographic signing, and real-time clearance automatically. Integrate in minutes.