BR-KSA-40ErrorZATCA Phase 2 UBL 2.1implemented
Seller VAT Number 15-Digit Format Starting & Ending With 3
Seller VAT number must consist of exactly 15 numeric digits where both the first and fifteenth digits are '3'.
- Scope
- Seller Party
- 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:PartyTaxScheme/cbc:CompanyID
Typical Reason for Failure
10-digit TIN or VAT number with spaces/hyphens fails BR-KSA-40.
Invalid Synthetic Example
Before (Fails)xml
<cbc:CompanyID>3101223935</cbc:CompanyID>Corrected Synthetic Example
After (Fixed)xml
<cbc:CompanyID>310122393500003</cbc:CompanyID>Explanation of the Fix
Use the complete 15-digit Saudi VAT registration number starting and ending with 3.
Official Source Reference
ZATCA Electronic Invoice XML Implementation Standard (Phase 2)
Open official specificationTest your invoice against BR-KSA-40 now
Browser quick check; raw XML is never stored.