Vietnam Tax Code Validator (MST Checksum) avatar

Vietnam Tax Code Validator (MST Checksum)

Pricing

from $1.00 / 1,000 checked tax code

Go to Apify Store
Vietnam Tax Code Validator (MST Checksum)

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

Vix

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

19 days ago

Last modified

Categories

Features

Limited permissions

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

InputExampleResult
Company code, 10 digits0100233488Format and check digit
Branch code, 13 digits0314409058-002Format, parent check digit, and that the suffix is not 000
Personal ID used as a tax code, 12 digits079…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."
}
statusMeaningisValid
validFormat and check digit are correcttrue
invalid_checksumThe check digit does not matchfalse
invalid_componentThe sequence digits or branch suffix are all zerosfalse
invalid_lengthNot 10, 12 or 13 digitsfalse
invalid_formatContains other charactersfalse
format_only12-digit personal ID, which cannot be verified herenull

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.