Overview
This guide provides detailed information about the Tax ID formats accepted by the platform for each country and entity type. The system automatically normalizes all Tax IDs to the standard format for each country.Important: You can send Tax IDs with or without formatting characters (dots, dashes, slashes, spaces). The system will automatically clean and normalize them before validation.
🇧🇷 Brazil (BR)
Person - CPF
Document: CPF (Cadastro de Pessoas Físicas) Accepted digits: 9, 10, or 11 digits- 11 digits →
XXX.XXX.XXX-XX - 10 digits →
XX.XXX.XXX-XX - 9 digits →
X.XXX.XXX-XX
Company - CNPJ
Document: CNPJ (Cadastro Nacional da Pessoa Jurídica) Accepted digits: 13 or 14 digits- 14 digits →
XX.XXX.XXX/XXXX-XX - 13 digits →
X.XXX.XXX/XXXX-XX
🇦🇷 Argentina (AR)
Person - DNI/CUIL
DNI (Documento Nacional de Identidad)
Accepted digits: 8 digitsXX.XXX.XXX
CUIL (Código Único de Identificación Laboral)
Accepted digits: 11 digitsXX-XXXXXXXX-X
Company - CUIT
Document: CUIT (Clave Única de Identificación Tributaria) Accepted digits: 11 digitsXX-XXXXXXXX-X
🇲🇽 Mexico (MX)
Person - RFC Persona Física
Document: RFC (Registro Federal de Contribuyentes) Accepted characters: 13 alphanumeric charactersFormat Structure
Company - RFC Persona Moral
Document: RFC (Registro Federal de Contribuyentes) Accepted characters: 12 alphanumeric charactersFormat Structure
🇨🇱 Chile (CL)
Person - RUT
Document: RUT (Rol Único Tributario) Accepted digits: 7-8 digits + 1 verification digit- 8 digits →
XX.XXX.XXX-X - 7 digits →
X.XXX.XXX-X
Important: The verification digit can be a number (0-9) or the letter K (uppercase or lowercase).
Company - RUT Empresa
Document: RUT (Rol Único Tributario) Accepted digits: 8-9 digits + 1 verification digit- 8 digits →
XX.XXX.XXX-X - 7 digits →
X.XXX.XXX-X
🇨🇴 Colombia (CO)
Person - Cédula/NIT
Document: Cédula de Ciudadanía or NIT Accepted digits: 6-10 digits (variable length)No special format - Colombian personal IDs don’t have a standard formatting pattern.
Company - NIT
Document: NIT (Número de Identificación Tributaria) Accepted digits: 9 digits + 1 verification digit (10 total)XXXXXXXXX-X
🇵🇪 Peru (PE)
Person - DNI
Document: DNI (Documento Nacional de Identidad) Accepted digits: 8 digits (fixed length)No special format - Peruvian DNI doesn’t use dots, dashes, or other formatting characters.
Company - RUC
Document: RUC (Registro Único de Contribuyentes) Accepted digits: 11 digits (fixed length)Format note: The first 2 digits indicate the taxpayer type:
- 20 = Companies (Personas Jurídicas)
- 10 = Natural persons with business activity
🇺🇾 Uruguay (UY)
Person - CI
Document: CI (Cédula de Identidad) Accepted digits: 7-8 digitsNo special format - Uruguayan CI doesn’t use formatting characters.
Company - RUT
Document: RUT (Registro Único Tributario) Accepted digits: 12 digits (fixed length)No special format - Uruguayan RUT doesn’t use formatting characters.
🇵🇾 Paraguay (PY)
Person - CI
Document: CI (Cédula de Identidad) Accepted digits: 6-8 digitsNo special format - Paraguayan CI doesn’t use formatting characters.
Company - RUC
Document: RUC (Registro Único de Contribuyentes) Accepted digits: 6-8 digits + 1 verification digitXXXXXX-X (minimum 6 digits)
🇺🇸 United States (US)
Company - EIN
Document: EIN (Employer Identification Number) Accepted digits: 9 digits (fixed length)XX-XXXXXXX
Format note: EIN is issued by the IRS for business entities. The first 2 digits indicate the IRS campus where the EIN was issued.
🇻🇪 Venezuela (VE)
Company - RIF
Document: RIF (Registro de Información Fiscal) Accepted characters: 1 letter + 9 digits (10 total)X-XXXXXXXX-X
Valid letters (first character):
- J = Jurídico (Legal entities/companies)
- G = Gobierno (Government entities)
- V = Venezolano (Venezuelan natural persons)
- E = Extranjero (Foreign persons)
- P = Pasaporte (Passport)
📊 Complete Summary Table
| Country | Entity | Document | Digits/Format | Numbers Only | With Format |
|---|---|---|---|---|---|
| 🇧🇷 BR | Person | CPF | 9-11 digits | ✅ | ✅ dots and dashes |
| 🇧🇷 BR | Company | CNPJ | 13-14 digits | ✅ | ✅ dots, slash, dashes |
| 🇦🇷 AR | Person | DNI | 8 digits | ✅ | ✅ dots |
| 🇦🇷 AR | Person | CUIL | 11 digits | ✅ | ✅ dashes |
| 🇦🇷 AR | Company | CUIT | 11 digits | ✅ | ✅ dashes |
| 🇲🇽 MX | Person | RFC PF | 13 alphanumeric | ❌ | ❌ Alphanumeric required |
| 🇲🇽 MX | Company | RFC PM | 12 alphanumeric | ❌ | ❌ Alphanumeric required |
| 🇨🇱 CL | Person | RUT | 7-8 + K | ✅ | ✅ dots and dash |
| 🇨🇱 CL | Company | RUT | 8-9 + K | ✅ | ✅ dots and dash |
| 🇨🇴 CO | Person | CC/NIT | 6-10 digits | ✅ | - |
| 🇨🇴 CO | Company | NIT | 9 + 1 digits | ✅ | ✅ dash |
| 🇵🇪 PE | Person | DNI | 8 digits | ✅ | - |
| 🇵🇪 PE | Company | RUC | 11 digits | ✅ | - |
| 🇺🇾 UY | Person | CI | 7-8 digits | ✅ | - |
| 🇺🇾 UY | Company | RUT | 12 digits | ✅ | - |
| 🇵🇾 PY | Person | CI | 6-8 digits | ✅ | - |
| 🇵🇾 PY | Company | RUC | 6-8 + 1 digit | ✅ | ✅ dash |
| 🇺🇸 US | Company | EIN | 9 digits | ✅ | ✅ dash |
| 🇻🇪 VE | Company | RIF | 1 letter + 9 digits | ✅ | ✅ dashes |
- ✅ = Format accepted
- ❌ = Format not accepted
-= No special formatting
❓ Frequently Asked Questions
Can I send the taxId with dots, dashes, and other formatting characters?
Can I send the taxId with dots, dashes, and other formatting characters?
✅ YES - The system automatically cleans all formatting characters (dots, dashes, slashes, spaces) before validation.Examples of accepted formats:
Can I send the taxId with only numbers (no formatting)?
Can I send the taxId with only numbers (no formatting)?
✅ YES - For most countries (except Mexico RFC and Venezuela RIF which require letters), you can send only numbers.Exception countries (require letters):
- 🇲🇽 Mexico: RFC requires letters + numbers
- 🇻🇪 Venezuela: RIF requires 1 letter + numbers
Does the system automatically normalize the format?
Does the system automatically normalize the format?
✅ YES - The system normalizes all taxIds to the standard format for each country.Example for Brazil CPF:Example for Argentina CUIT:
What happens if I send an invalid format?
What happens if I send an invalid format?
❌ The system will reject the taxId with a validation error indicating:
- The expected format
- The required number of digits
- Examples of valid formats
- The country-specific document name (CPF, CNPJ, CUIT, etc.)
Can I send a 9-digit CPF for Brazil?
Can I send a 9-digit CPF for Brazil?
✅ YES - As of the latest update (January 2026), the system accepts CPF with 9, 10, or 11 digits.Previously: Only 10 or 11 digits were accepted.Now accepted:
Are verification digits validated?
Are verification digits validated?
⚠️ Partial - The system validates:✅ Format validation: Checks that the Tax ID has the correct number of digits and structure❌ Checksum validation: The system does NOT validate mathematical checksums (verification digits) for most countriesWhy? Checksum validation would reject valid but incorrectly typed IDs. Instead, the system relies on enrichment providers to validate the actual existence and validity of the document.
What if my country is not listed?
What if my country is not listed?
For countries not listed above, the system will accept Tax IDs without strict format validation. You can provide the Tax ID in any reasonable format, and it will be stored as-is without normalization.Supported but not strictly validated countries include:
- 🇪🇸 Spain (NIF/CIF)
- 🇵🇹 Portugal (NIF)
- 🇪🇪 Estonia (Isikukood)
- 🇧🇴 Bolivia (NIT)
- 🇪🇨 Ecuador (RUC/Cédula)
- And others…
💡 Examples by Use Case
Creating a Person in Brazil
Creating a Company in Brazil
Creating a Company in Argentina
Creating a Person in Mexico
Creating a Person in Chile
🔍 Best Practices
Always Provide Country Code
Always include the
countryCode field when creating entities. This allows the system to apply the correct validation rules for that country.Send Clean Data
While the system cleans formatting characters, sending clean data reduces processing time and potential errors.
Handle Validation Errors
Implement proper error handling for Tax ID validation errors. The error response includes helpful details about the expected format.
Test Before Production
Test your Tax ID inputs in the sandbox environment before going to production, especially for countries with strict format requirements.
Last updated: January 28, 2026 • Version: 5.0Changes in this version:
- ✨ Added support for 9-digit CPF in Brazil
- 📋 Expanded coverage to include all Latin American countries
- 🔍 Added detailed format explanations and examples
- ❓ Enhanced FAQ section with common scenarios