# ValidaLatam — LatAm ID & Tax Document Validator

> Validate and format Latin American tax, ID and bank documents (CPF, CNPJ, CUIT, CUIL, DNI, CBU, RFC, CURP, CLABE, RUT, NIT, RUC, CI, IBAN) with deterministic check-digit algorithms. Auto-detects type; works offline-friendly via the ValidaLatam API.

ValidaLatam — LatAm ID & Tax Document Validator is a free AI agent skill on Agensi by IA Latam, in Finance & Accounting. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [IA Latam](https://www.agensi.io/creators/ia-latam)
- Category: [Finance & Accounting](https://www.agensi.io/skills/finance-accounting)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/validalatam-latam-id-tax-document-validator
- Tags: api, database, finance, latam-fintech, kyc, data-validation, brazil-cpf, mexico-rfc

## About this skill

ValidaLatam teaches your agent to validate, normalize and format Latin American tax IDs, national IDs and bank account numbers using the official published check-digit algorithms, via the free, open-source `validalatam-mcp` server.

### Supported documents
- **Brazil:** CPF, CNPJ
- **Argentina:** CUIT, CUIL, DNI, CBU, CVU
- **Mexico:** RFC, CURP, CLABE
- **Chile:** RUT · **Colombia:** NIT · **Peru:** RUC · **Uruguay:** RUT, CI · **Ecuador:** Cédula, RUC · **Paraguay:** RUC
- **IBAN**

### What it does
- Auto-detects document type (`AUTO`, optional country hint)
- Returns valid/invalid, canonical formatted value, digits-only normalized value and a clear error reason
- Batch validation of up to 1,000 items (great for CSV / CRM cleaning)
- Generates synthetic, check-digit-valid **fake** test data for QA

### Use cases
KYC onboarding, checkout and invoicing forms, CRM data cleaning, QA test fixtures.

> Note: "valid" means well-formed (structure + check digit), not registered with the tax authority.

### Setup
`uvx validalatam-mcp` or `claude mcp add validalatam -- uvx validalatam-mcp`. Free tier: 50 validations/day per IP; set `RAPIDAPI_KEY` for plan quotas.

MIT licensed. Source: https://github.com/elmatis172/validalatam-mcp · Docs: https://validalatam.ia-latam.app/docs

## Requires

- Validalatam MCP
- uv (Python tool runner)

## Known limitations

Does not check government registration status. Free usage capped at 50 daily calls without RapidAPI key. Batch calls limited to 1,000 items per request.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ValidaLatam — LatAm ID & Tax Document Validator skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Why should I use this skill instead of just asking an AI to validate the numbers?

Unlike LLMs which often hallucinate the complex modular arithmetic of tax IDs, this skill uses deterministic official algorithms to ensure 100% mathematical accuracy for documents like CPF, RFC, and CUIT.

### Which specific Latin American countries are currently supported for ID validation?

The skill supports a wide range of Latin American countries including Brazil, Mexico, Argentina, Chile, Colombia, Peru, Uruguay, Ecuador, and Paraguay.

### Does this skill verify if the tax ID is currently active and registered with the government?

No, this skill focuses on structural integrity and check-digit logic; it does not check the 'active' status of an ID against live government databases like the SAT or Receita Federal.

### What are the technical requirements to integrate this skill into my existing AI agent?

The skill interfaces with the validalatam-mcp server via HTTPS and can be integrated into any AI agent framework that supports MCP (Model Context Protocol) or standard API tools.

### Can I use this skill to generate dummy data for testing my own applications?

Yes, the skill includes a dedicated tool for generating synthetic, check-digit-valid IDs, which is perfect for QA testing and development environments without using real user data.

### How does the skill handle a list of IDs if I don't know which country each one belongs to?

The 'AUTO' mode enables the skill to intelligently detect the document type and country from a raw string, though you can specify a country code to resolve any regional ambiguities.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
