LatAm Tax ID Validator (NIT, RUT, RFC, CNPJ, CUIT)
Pricing
from $1.00 / 1,000 tax id checkeds
LatAm Tax ID Validator (NIT, RUT, RFC, CNPJ, CUIT)
Validate Colombian NIT, Chilean RUT, Mexican RFC, Brazilian CNPJ and Argentine CUIT numbers offline, with check digits and formatting. Personal numbers are masked.
Pricing
from $1.00 / 1,000 tax id checkeds
Rating
0.0
(0)
Developer
David Rincon
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Check whether Colombian NIT, Chilean RUT, Mexican RFC, Brazilian CNPJ and Argentine CUIT numbers are valid, in bulk, in seconds, without sending them anywhere.
- Five countries in one call: pass a list of IDs; the country is detected automatically or set once.
- Check digits and format: each number gets
valid, the reason when it is not, and the official display format. Includes Brazil's new alphanumeric CNPJ (issued from July 2026). - Privacy by design: numbers are validated offline. Company numbers come back in full; numbers that may belong to a person are masked, and the input is never echoed.
Output example
{"index": 0,"country": "BR","idType": "CNPJ","valid": true,"entityType": "company","id": "16727230000197","formatted": "16.727.230/0001-97","masked": false,"checksumVerified": true,"alsoValidIn": [],"error": null}
A person's number (for example an Argentine CUIT starting with 20) comes back as "id": "********682", "entityType": "person", "masked": true. Use index to match each row with your input list.
Cost
You pay per ID checked: US$0.001 per ID, so 1,000 IDs = US$1.00, plus US$0.00005 per run start. A typical run of 50 IDs costs about US$0.05.
Input
| Field | Type | Default | Description |
|---|---|---|---|
ids | array of strings | required | Tax IDs, with or without dots, dashes or slashes. |
country | CO, CL, MX, BR or AR | not set | Leave it out to try every country; the others where the ID is also valid go in alsoValidIn. |
maxItems | integer | 1000 | Stop after this many IDs. |
How entity type is decided
| Country | Company | Person or unknown (masked) |
|---|---|---|
| Colombia (NIT) | 9-digit NIT from 800.000.000 | Everything else (usually a cédula) |
| Chile (RUT) | 50.000.000 and above | Below 50.000.000 |
| Mexico (RFC) | 12 characters | 13 characters |
| Brazil (CNPJ) | Always (CNPJ is only for legal entities) | Never |
| Argentina (CUIT) | Prefix 30, 33 or 34 | Prefix 20, 23, 24 or 27 (person), others unknown |
FAQ
Does it check that the company exists or is active? No. It checks structure and check digits, which catches typos and made-up numbers. It does not query tax authorities.
Why is checksumVerified false for some Mexican RFCs? Around 1.5% of RFCs in use carry homoclave digits that do not follow the published algorithm, so an RFC with a correct format and date is still reported as valid.
Are my IDs stored? The Actor stores only the results shown above, with personal numbers masked. It never logs IDs. Like every Apify run, your input is kept in your own run storage under your Apify data retention settings.
Can AI agents use it? Yes. Input is a plain list and a run takes a few seconds.
Legal
Validation runs locally with public check-digit algorithms. No website or government service is contacted and no personal data is returned.
Related Actors
- Tax ID & VAT Number Validator (65 countries): need EU VAT, UK VAT, US EIN, ABN, GSTIN or other countries? The same offline checks for 65 countries in one call.
En español
Valida NIT (Colombia), RUT (Chile), RFC (México), CNPJ (Brasil) y CUIT (Argentina) en lote, sin enviar los números a ningún servicio. Los números de empresas se devuelven completos; los que pueden ser de personas salen enmascarados y la entrada nunca se repite en la salida.
Changelog
- 0.2: results are saved in batches (1,000 IDs in about 4 s);
countryno longer has an empty option, leave it out to auto-detect. - 0.1: first version.