{"uid":"cap_NtO0Lv1qfYYTuU5qi1x-v","slug":"toll402-vietnamese-mst-enterprise-tax-code-validator-164a9838","name":"Toll402 Vietnamese MST (Enterprise/Tax Code) Validator","description":"Offline structural validator for a Vietnamese Enterprise/Tax Code (Mã số thuế, MST). Strips spaces, checks the 10-digit head-office pattern or the 13-character branch pattern (10 digits + '-' + 3-digit sequence). Uses regex only since the official modulus-11 check-digit weight table is not consistently published.","url":"https://toll402.dev/v1/t/mst_vn_validate","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":["value"],"properties":{"value":{"type":"string","description":"MST string, e.g. '0101243150' or '0101243150-001'"}},"additionalProperties":false},"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":null,"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_WIblDIPPg9vdd0l1umdEw","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 Vietnamese Enterprise or Tax Code (Mã số thuế, MST) using offline structural regex checks for both head-office (10-digit) and branch (13-character) formats.","exampleAgentPrompt":"Can you check whether '0101243150-001' is a valid Vietnamese tax code (MST)? I need to know if the format is correct before I use it on an invoice.","exampleUseCases":[{"title":"Invoice data quality check","prompt":"Before I send this invoice to our Vietnamese supplier, can you verify that their tax code '0301234567' is structurally valid as a Vietnamese MST?"},{"title":"Onboarding Vietnamese business partner","prompt":"We're onboarding a new Vietnamese company and they gave us the tax code '0101243150-023' — can you check if that's a valid branch-format MST?"},{"title":"Bulk data cleanup for ERP import","prompt":"I have a Vietnamese enterprise tax ID '0800123456' pulled from our CRM — please validate whether it's a properly formatted 10-digit head-office MST before we import it into the ERP."}],"resultDescription":"Returns a structured response indicating whether the input string is a valid Vietnamese MST, distinguishing between the 10-digit head-office pattern and the 13-character branch pattern (10 digits + '-' + 3-digit suffix), and whether stripping spaces changes the result.","failureModes":["Input string is empty or missing — returns validation failure","Input contains non-numeric characters beyond the allowed dash separator — returns invalid","Ambiguous borderline strings (e.g. 11 digits) that match neither pattern — returns invalid","The check-digit modulus-11 algorithm is not applied since the official weight table is not consistently published — format-valid codes may still be numerically invalid per official rules"],"whenToPreferThis":"Choose this endpoint when you need fast, offline, zero-dependency structural validation of Vietnamese MST strings without calling the Vietnamese government's official portal. It is ideal for pre-submission data quality checks, ETL pipelines, and onboarding workflows where network access to official registries is unavailable or undesirable. It does not perform live registry lookups, so pair it with an official database check if full legal confirmation is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:50:44.731Z","isFirstParty":false}