Home / Validate VAT / Thailand
Validate Thailand Tax ID Numbers via API
When building B2B applications that serve Thailand (ประเทศไทย (Prathet Thai)), validating your customers' เลขประจำตัวผู้เสียภาษี (Tax Identification Number / TIN) is essential for B2B compliance and protecting your business from tax liability.
The TaxID API provides instant format validation and live lookup for Thailand เลขประจำตัวผู้เสียภาษี numbers via RD (Revenue Department / กรมสรรพากร). Every request returns the validation status with sub-100ms response times for cached results.Thailand applies a standard rate of 7% (เลขประจำตัวผู้เสียภาษี).
QUICK START
curl -H "Authorization: Bearer YOUR_API_KEY" \ http://localhost:3000/api/v1/validate/TH/1234567890123
Code examples
Choose your language. Every example validates a Thailand VAT number and returns the registration status with company details.
const res = await fetch('http://localhost:3000/api/v1/validate/TH/1234567890123', {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
const data = await res.json();
// { valid: true, status: "active", company_name: "...", country_code: "TH", cached: false }
console.log(data);When to validate Thailand tax ID numbers
B2B invoicing and accounts payable
When issuing or receiving invoices from Thailand businesses, validating the เลขประจำตัวผู้เสียภาษี (Tax Identification Number / TIN) ensures the identifier is genuine before committing the transaction to your ERP. Invalid or fabricated tax IDs are a leading vector for invoice fraud and can result in rejected filings or audit penalties.
SaaS and e-commerce checkout
If your platform serves Thailand business customers, collecting and validating their เลขประจำตัวผู้เสียภาษี (Tax Identification Number / TIN) at checkout is required for accurate tax treatment, correct invoicing, and downstream reporting. An invalid tax ID at the point of sale creates a correction burden across your finance stack.
Supplier and marketplace onboarding
For procurement platforms and regulated marketplaces onboarding Thailand sellers or vendors, validating the เลขประจำตัวผู้เสียภาษี (Tax Identification Number / TIN) at registration prevents fraudulent or duplicate accounts from entering your ecosystem. Validate once at onboarding, then re-validate periodically to detect deregistrations or changes.
About Thailand VAT format (เลขประจำตัวผู้เสียภาษี)
Thailand's VAT rate is currently 7% (temporarily reduced from the statutory 10% rate, in effect since 1997 and renewed periodically). The 13-digit TIN doubles as both corporate and individual identification. Thailand is a growing regional hub for B2B SaaS in Southeast Asia.
| Field | Value |
|---|---|
| Country code | TH |
| Local name | เลขประจำตัวผู้เสียภาษี (Tax Identification Number / TIN) |
| Format | 13 digits |
| Regex pattern | ^[0-9]{13}$ |
| Example | 1234567890123 |
| VIES supported | No |
VAT rates in Thailand
Thailand applies a standard เลขประจำตัวผู้เสียภาษี rate of 7%.
| Rate type | Percentage | Currency |
|---|---|---|
| Standard rate | 7% | THB |
Frequently asked questions
What is the Thailand tax ID number format?
Thailand tax ID numbers (เลขประจำตัวผู้เสียภาษี (Tax Identification Number / TIN)) follow the format: 13 digits. A valid example is 1234567890123. The TaxID API validates the format locally and where possible checks against the RD (Revenue Department / กรมสรรพากร), ensuring you only accept properly registered businesses.
Should I validate เลขประจำตัวผู้เสียภาษี numbers when transacting with Thailand businesses?
Validating เลขประจำตัวผู้เสียภาษี numbers reduces fraud risk, prevents invalid identifiers from entering your accounting system, and is required by many B2B contracts and procurement platforms. While mandatory rules vary by jurisdiction, validating at onboarding is widely considered best practice — especially for SaaS, marketplace, and fintech platforms with global customer bases.
What is the standard tax rate in Thailand?
The standard tax rate in Thailand is 7% (เลขประจำตัวผู้เสียภาษี). Thailand applies a single flat rate with no reduced rates. The TaxID API's /rates endpoint returns all current rates for programmatic access.
How long does Thailand tax ID validation take with TaxID?
For cached results (previously validated in the last 24 hours), the TaxID API responds in under 10ms. Format validation is instantaneous. For uncached requests requiring a live lookup against RD (Revenue Department / กรมสรรพากร), response time is typically 100–500ms. Valid numbers are cached for 24 hours; invalid numbers are cached for 1 hour.
How does the TaxID API validate Thailand เลขประจำตัวผู้เสียภาษี numbers?
The TaxID API validates Thailand เลขประจำตัวผู้เสียภาษี numbers in two steps: first it checks the format against the official pattern (13 digits), then it queries RD (Revenue Department / กรมสรรพากร) where a live API is available. Thailand's VAT rate is currently 7% (temporarily reduced from the statutory 10% rate, in effect since 1997 and renewed periodically). The 13-digit TIN doubles as both corporate and individual identification. Thailand is a growing regional hub for B2B SaaS in Southeast Asia.
Start validating Thailand VAT numbers
Free plan includes 100 validations/month. No credit card required.
Get free API keyDeveloper resources:
Also validate VAT in:
Concepts explained: