{"uid":"cap_6D5s7UCePD5fwoyatV-iQ","slug":"thai-vat-tax-id-validator-f80564a3","name":"Thai VAT (Tax ID) Validator","description":"The OpenRouter for AI-agent tools: one gateway, every capability, pay per call. Built-in tools, agent-forged tools, a global verified business directory, 2,791 provider API endpoints (SEO, social, enrichment, ads, market data, AI generation) and aggregated x402 services. Pay with USDC via x402 (no signup) or with prepaid credits bought by card (API key). Charged only on success.","url":"https://toll402.dev/v1/t/vat_th_validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["taxId"],"properties":{"taxId":{"type":"string","description":"13-digit Thai Tax ID, digits only or with dashes/spaces"},"branchCode":{"type":"string","description":"5-digit branch code, defaults to 00000 (head office) if omitted"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dVH52oJc3zz_pZ1TRU_Cg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a 13-digit Thai Tax ID number, returning whether it is structurally valid along with an optional branch code check","exampleAgentPrompt":"Can you check if Thai tax ID 0105556091152 is valid, using the head office branch code?","exampleUseCases":[{"title":"Thai supplier onboarding tax check","prompt":"We're onboarding a new Thai supplier and they gave us tax ID 0105556091152 — can you validate that it's a legitimate Thai tax number before we add them to our system?"},{"title":"E-commerce invoice compliance","prompt":"Before we issue a tax invoice for our Thai customer, please verify that their tax ID 1234567890123 passes the Thai Revenue Department format check."},{"title":"Payroll system tax ID verification","prompt":"I need to verify the Thai employee tax ID 3100600445635 is correctly formatted — can you run it through the Thai tax ID validator with the default head office branch code?"}],"resultDescription":"A JSON object with an 'ok' boolean indicating whether the Thai Tax ID is structurally valid; may include parsed or normalized components and branch code validation status.","failureModes":["Invalid format: tax ID is not 13 digits, returning ok: false","Non-numeric characters that cannot be normalized cause a validation failure","Invalid branch code format (not 5 digits) results in an error","Missing required taxId field returns a schema validation error","Network or payment failure (HTTP 402 not fulfilled) prevents the call from completing"],"whenToPreferThis":"Use this endpoint when you need a fast, lightweight, offline-style structural check on a Thai Tax ID (TIN) number — ideal for pre-validating supplier, customer, or employee tax IDs before submitting to government systems or generating compliant invoices. It does not perform a live registry lookup but catches formatting errors instantly and cheaply at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:49:23.128Z","isFirstParty":false,"canonicalSlug":"thai-vat-tax-id-validator-f80564a3"}