Saudi VAT Number Generator
Generate 15-digit ZATCA VAT registration numbers that start and end with 3 — synthetic test data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
Examples
Valid VAT number
300000000000003Valid — 15 digits, starts and ends with 3It is the placeholder ZATCA uses, and it satisfies both rule digits.
With the SA prefix
SA300000000000003Valid — the SA prefix is accepted and removed before the rule checkYour form can pass either the local number or the prefixed form without extra handling.
Does not end with 3
SA300000000000004Invalid — it must end with 3; this ends with 4The length and prefix pass, so only the trailing-digit rule fails.
About this tool
The Saudi VAT Number Generator produces one 15-digit ZATCA VAT registration number. The rule is simple: 15 digits that start with 3 and end with 3. ZATCA does not publish a check digit, so there is no checksum to compute and validation checks the shape instead.
Input is accepted with or without the SA prefix and with separators, which helps when your form passes values in different formats. The validator reports the length, the leading digit or the trailing digit that failed, so a test can assert the exact reason rather than a generic rejection.
These numbers are synthetic test data for QA and development, never for real tax registrations, filings, or vendor verification, and DevTools accepts no liability for how generated data is used. Everything runs locally in your browser.
What this tool does not do
- There is no published check digit, so a typo in the middle digits cannot be detected.
- Validation cannot confirm that a number is registered with ZATCA or belongs to the vendor.
- Only the 15-digit VAT number is covered; the National ID and Iqama live in a separate tool.
- Generated values always pass the rule, so they look exactly like real numbers and must stay in test data.
How to use this tool
Choose the Saudi VAT option
The tool is pinned to the ZATCA VAT format: 15 digits starting and ending with 3.
Generate a value
Click Generate to create one 15-digit number that satisfies both rule digits.
Validate or copy
Switch to Validate to check a pasted value with or without SA, or copy the result and download it as .txt.
Use cases
Vendor master data
Fill Saudi supplier records with VAT numbers that satisfy the ZATCA shape.
E-invoicing fixtures
Test invoice payloads that require a 15-digit seller or buyer VAT number.
Prefix normalization
Confirm your parser accepts both 300… and SA300… forms.
Saudi VAT rules
| Part | Rule |
|---|---|
| Length | 15 digits |
| First digit | 3 |
| Last digit | 3 |
| Check digit | None published by ZATCA |
| Accepted input | Bare 15 digits or the SA prefix, with optional separators |
Length and the two rule digits are the whole check; there is no hidden checksum.
Common mistakes
Mistake:Looking for a checksum
Fix:ZATCA publishes no check digit; only the length and the two 3s can be verified.
Mistake:Rejecting the SA prefix
Fix:The prefix is a common presentation; strip it before the rule check.
Mistake:Accepting a 14-digit number
Fix:The length is fixed at 15, so a truncated value fails before the digit rules.
Frequently asked questions
Are these real ZATCA VAT numbers?
No. They are synthetic fixtures for QA and development, never for real tax registrations, filings, or vendor verification; DevTools accepts no liability for how generated data is used.
Does a Saudi VAT number have a check digit?
No. ZATCA publishes no check digit, so the only rules are 15 digits that start with 3 and end with 3.
Can I paste a number with the SA prefix?
Yes. The validator accepts the bare 15 digits or the SA prefix, with optional separators, and strips the prefix before applying the rules.
Why is a 14-digit value rejected?
The length is fixed at 15 digits, and the length check runs before the leading and trailing 3 rules, so a truncated value fails immediately.
Can a typo in the middle digits be detected?
No. Without a check digit, only the length and the two rule digits can be verified, so an error in the middle of the number passes.
References & standards
Related tools
Saudi National ID & Iqama Generator
Generate synthetic 10-digit Saudi National ID (1…) and Iqama (2…) numbers with the Luhn check digit.
VAT Number Generator
Generate VAT numbers for EU, UK, Switzerland, Norway and global tax integration testing.
Tax Number Generator
Generate valid tax identification numbers for testing (TR, US, SG, etc.)
National Identity Generator
Generate and validate national ID numbers for testing (TR, US, DE, UK, SA, AE, QA, KW, CA, ES, BR, FR, IT, NL, SE, NO, EG, SG)
Tax ID Validator
Auto-detect and validate VAT, EIN, TIN and GST identifiers with batch checksum reporting.