Thailand Company TIN Generator
Generate 13-digit Thai juristic person tax IDs (0…) with the mod-11 check digit — 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
Generated company TIN
Juristic person TIN · Generate0994000617721A 0 prefix, a DBD-style body and the mod-11 check digit 1.
Validate a pasted TIN
0994000617721Valid — check digit 1 matches the first 12 digitsThe validator confirms the leading 0 and the checksum.
Wrong check digit
0994000617723Invalid — check digit is 3 but the first 12 digits require 1The validator prints the expected digit for the body.
About this tool
The Thailand Company TIN Generator produces 13-digit juristic person tax identification numbers. For companies the TIN is the juristic person registration number from the Department of Business Development, so it starts with 0 and shares the citizen ID's mod-11 check digit.
The generator emits numbers beginning 0105 — a Bangkok office registration for a limited company — and appends the check digit computed over the first 12 digits with weights 13 down to 2. Validation rejects any value that does not start with 0, which keeps company numbers separate from citizen IDs. Individuals use their 13-digit citizen ID as a TIN, and that has its own generator.
These are synthetic values for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used. Everything runs locally in your browser.
What this tool does not do
- Only juristic person numbers starting with 0 are generated and validated.
- The 0105 prefix is fixed at generation time; other office and company-type prefixes are not emitted.
- Validation does not query the Department of Business Development.
- Individual TINs are citizen IDs and need the separate national-ID tool.
How to use this tool
Generate one company TIN
Click Generate to create a 13-digit number starting 0105 with a valid mod-11 check digit.
Copy the value
Copy it to an invoice or vendor fixture, or download it as a .txt file.
Validate a pasted TIN
Switch to Validate to confirm the leading 0 and recompute the check digit.
Use cases
Vendor master data
Fill company tax-ID fields in supplier records with values that pass the mod-11 check.
Company versus person routing
Test that a leading 0 routes to company validation and a leading 1–8 to citizen-ID validation.
Invoice templates
Seed Thai invoice headers with a juristic person number before rendering test PDFs.
Juristic person TIN structure
| Part | Rule |
|---|---|
| Length | 13 digits |
| First digit | 0 for juristic persons |
| Generated prefix | 0105 — Bangkok office, limited company |
| Check weights | 13, 12 … 2 over the first 12 digits |
| Check formula | (11 − sum mod 11) mod 10 |
| Individual TIN | The person's 13-digit citizen ID, handled by a separate tool |
A number that does not start with 0 fails company-TIN validation.
Common mistakes
Mistake:Using a citizen ID as a company TIN
Fix:Citizen IDs start with 1–8; company TINs start with 0.
Mistake:Expecting a separate company algorithm
Fix:Juristic person numbers use the same mod-11 check as the citizen ID.
Mistake:Assuming every 0105 number is real
Fix:The prefix is a generation choice for a Bangkok limited company, not proof of registration.
Frequently asked questions
Are these real TINs, and can I use them in production?
No. They are synthetic test values for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used.
What is a Thai juristic person TIN?
For companies it is the 13-digit juristic person registration number from the Department of Business Development, so it starts with 0 and uses the same mod-11 check as the citizen ID.
Why do generated numbers start with 0105?
0105 encodes a Bangkok office registration for a limited company. It is a fixed generation prefix, not a rule that every company number shares.
Can I validate a citizen ID with this tool?
No. Citizen IDs start with 1 to 8, and this validator rejects anything that does not start with 0. Use the national-ID tool instead.
Does validation check more than the check digit?
It checks the 13-digit length, the leading 0 and the mod-11 check digit. It does not query the Department of Business Development.
References & standards
Related tools
Thai National ID Generator
Generate synthetic 13-digit Thai citizen ID numbers with the mod-11 check digit, and validate pasted values.
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.