Vietnam Tax Code Validator (MST Checksum)
Pricing
from $1.00 / 1,000 checked tax code
Vietnam Tax Code Validator (MST Checksum)
Validate Vietnamese tax codes (MST, mã số thuế) in bulk: format, check digit and branch codes. Runs offline, with no scraping.
Pricing
from $1.00 / 1,000 checked tax code
Rating
0.0
(0)
Developer
Vix
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
19 days ago
Last modified
Categories
Features
Share
Clean a list of Vietnamese tax codes (mã số thuế, MST) before it reaches your invoicing, ERP or onboarding system. Paste up to 100,000 codes and get one row per code saying whether its format and check digit are correct.
The Actor runs offline. It does not scrape any website or call any government portal, so results are fast and do not break when a site changes.
What it checks
| Input | Example | Result |
|---|---|---|
| Company code, 10 digits | 0100233488 | Format and check digit |
| Branch code, 13 digits | 0314409058-002 | Format, parent check digit, and that the suffix is not 000 |
| Personal ID used as a tax code, 12 digits | 079… | Format only, and the value is masked in the output |
Spaces, dots and hyphens are ignored, so 01.00.112.437 is read as 0100112437.
What it does not check
A passing result does not prove that a tax code is registered, active or owned by a given company. It means only that the code is well formed. Older 10-digit personal tax codes look the same as company codes and are reported as enterprise.
This Actor is not affiliated with or endorsed by the Vietnamese tax authority.
Input
{"taxCodes": ["0100233488", "0314409058-002", "0100233480"]}
Send codes as strings. A number would lose its leading zeros, and such input is rejected.
Output
One dataset row per non-blank input, in input order. index is the position in your list.
{"index": 1,"input": "0314409058-002","normalized": "0314409058002","formatted": "0314409058-002","taxCodeType": "branch","status": "valid","isValid": true,"parentTaxCode": "0314409058","branchSuffix": "002","message": "Format and check digit are correct. This does not prove the code is registered or active."}
status | Meaning | isValid |
|---|---|---|
valid | Format and check digit are correct | true |
invalid_checksum | The check digit does not match | false |
invalid_component | The sequence digits or branch suffix are all zeros | false |
invalid_length | Not 10, 12 or 13 digits | false |
invalid_format | Contains other characters | false |
format_only | 12-digit personal ID, which cannot be verified here | null |
Privacy
Tax codes are not written to the run log. A 12-digit personal ID appears in the output only as its last three digits. Apify keeps the run's input, unmasked, in your own run storage, so avoid sending personal IDs if you do not want them stored there. Input and results stay in your own Apify account, under its retention settings.