Skip to main content

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
✅ 12345678901    (11 digits)
✅ 1234567890     (10 digits)
✅ 123456789      (9 digits)
Normalization format:
  • 11 digits → XXX.XXX.XXX-XX
  • 10 digits → XX.XXX.XXX-XX
  • 9 digits → X.XXX.XXX-XX
Can I send only numbers without dots or dashes?YES - The system accepts pure numbers and formats them automatically.
Important: As of the latest update (January 2026), the system now accepts CPF with 9, 10, or 11 digits. Previously, only 10 or 11 digits were accepted.

Company - CNPJ

Document: CNPJ (Cadastro Nacional da Pessoa Jurídica) Accepted digits: 13 or 14 digits
✅ 12345678000190  (14 digits)
✅ 1234567000190   (13 digits)
Normalization format:
  • 14 digits → XX.XXX.XXX/XXXX-XX
  • 13 digits → X.XXX.XXX/XXXX-XX
Can I send only numbers without dots, slashes, or dashes?YES - The system accepts pure numbers and formats them automatically.

🇦🇷 Argentina (AR)

Person - DNI/CUIL

DNI (Documento Nacional de Identidad)

Accepted digits: 8 digits
✅ 12345678       (8 digits)
Normalization format: 8 digits → XX.XXX.XXX

CUIL (Código Único de Identificación Laboral)

Accepted digits: 11 digits
✅ 20123456789    (11 digits)
Normalization format: 11 digits → XX-XXXXXXXX-X
Can I send only numbers without dots or dashes?YES - The system accepts pure numbers and formats them automatically.

Company - CUIT

Document: CUIT (Clave Única de Identificación Tributaria) Accepted digits: 11 digits
✅ 30123456789    (11 digits)
Normalization format: 11 digits → XX-XXXXXXXX-X
Can I send only numbers without dashes?YES - The system accepts pure numbers and formats them automatically.

🇲🇽 Mexico (MX)

Person - RFC Persona Física

Document: RFC (Registro Federal de Contribuyentes) Accepted characters: 13 alphanumeric characters
Format Structure
✅ AAAA######XXX
   └─┬─┘└──┬─┘└┬┘
     │    │   └─ 3 characters (homoclave)
     │    └───── 6 numbers (date: YYMMDD)
     └────────── 4 letters (name/surnames)

Example: GOCG850101A12
         └─┬─┘└──┬─┘└┬┘
           │    │   └─ A12 (homoclave)
           │    └───── 850101 (Jan 1, 1985)
           └────────── GOCG (García Ochoa Carlos Gerardo)
Can I send only numbers without letters?NO - RFC requires letters AND numbers in the specific format. You cannot send only numbers.

Company - RFC Persona Moral

Document: RFC (Registro Federal de Contribuyentes) Accepted characters: 12 alphanumeric characters
Format Structure
✅ AAA######XXX
   └┬┘└──┬─┘└┬┘
    │   │   └─ 3 characters (homoclave)
    │   └───── 6 numbers (date: YYMMDD)
    └─────────3 letters (company name)

Example: GOC850101A12
         └┬┘└──┬─┘└┬┘
          │   │   └─ A12 (homoclave)
          │   └───── 850101 (Jan 1, 1985)
          └─────────GOC (García Ochoa Company)
Can I send only numbers without letters?NO - RFC requires letters AND numbers in the specific format.

🇨🇱 Chile (CL)

Person - RUT

Document: RUT (Rol Único Tributario) Accepted digits: 7-8 digits + 1 verification digit
✅ 12345678K     (8 digits + verifier)
✅ 1234567K      (7 digits + verifier)
✅ 123456789     (8 digits + numeric verifier)
Normalization format:
  • 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).
Can I send only numbers without dots or dashes?YES - The system accepts pure numbers and formats them automatically.

Company - RUT Empresa

Document: RUT (Rol Único Tributario) Accepted digits: 8-9 digits + 1 verification digit
✅ 123456789K    (9 digits + verifier)
✅ 12345678K     (8 digits + verifier)
Normalization format:
  • 8 digits → XX.XXX.XXX-X
  • 7 digits → X.XXX.XXX-X
Can I send only numbers without dots or dashes?YES - The system accepts pure numbers and formats them automatically.

🇨🇴 Colombia (CO)

Person - Cédula/NIT

Document: Cédula de Ciudadanía or NIT Accepted digits: 6-10 digits (variable length)
✅ 1234567890    (10 digits)
✅ 123456789     (9 digits)
✅ 12345678      (8 digits)
✅ 1234567       (7 digits)
✅ 123456        (6 digits)
No special format - Colombian personal IDs don’t have a standard formatting pattern.
Can I send only numbers?YES - The system accepts pure numbers without any special formatting.

Company - NIT

Document: NIT (Número de Identificación Tributaria) Accepted digits: 9 digits + 1 verification digit (10 total)
✅ 1234567890    (10 digits - 9 + verifier)
Normalization format: 10 digits → XXXXXXXXX-X
Can I send only numbers without dashes?YES - The system accepts pure numbers and formats them automatically.

🇵🇪 Peru (PE)

Person - DNI

Document: DNI (Documento Nacional de Identidad) Accepted digits: 8 digits (fixed length)
✅ 12345678      (8 digits)
No special format - Peruvian DNI doesn’t use dots, dashes, or other formatting characters.
Can I send only numbers?YES - Only numbers, no special formatting required.

Company - RUC

Document: RUC (Registro Único de Contribuyentes) Accepted digits: 11 digits (fixed length)
✅ 20123456789   (11 digits)
Format note: The first 2 digits indicate the taxpayer type:
  • 20 = Companies (Personas Jurídicas)
  • 10 = Natural persons with business activity
Can I send only numbers?YES - Only numbers, no special formatting required.

🇺🇾 Uruguay (UY)

Person - CI

Document: CI (Cédula de Identidad) Accepted digits: 7-8 digits
✅ 12345678      (8 digits)
✅ 1234567       (7 digits)
No special format - Uruguayan CI doesn’t use formatting characters.
Can I send only numbers?YES - Only numbers, no special formatting required.

Company - RUT

Document: RUT (Registro Único Tributario) Accepted digits: 12 digits (fixed length)
✅ 212345670018  (12 digits)
No special format - Uruguayan RUT doesn’t use formatting characters.
Can I send only numbers?YES - Only numbers, no special formatting required.

🇵🇾 Paraguay (PY)

Person - CI

Document: CI (Cédula de Identidad) Accepted digits: 6-8 digits
✅ 12345678      (8 digits)
✅ 1234567       (7 digits)
✅ 123456        (6 digits)
No special format - Paraguayan CI doesn’t use formatting characters.
Can I send only numbers?YES - Only numbers, no special formatting required.

Company - RUC

Document: RUC (Registro Único de Contribuyentes) Accepted digits: 6-8 digits + 1 verification digit
✅ 123456789     (8 digits + verifier)
✅ 12345678      (7 digits + verifier)
Normalization format: With verifier → XXXXXX-X (minimum 6 digits)
Can I send only numbers without dashes?YES - The system accepts pure numbers and formats them automatically.

🇺🇸 United States (US)

Company - EIN

Document: EIN (Employer Identification Number) Accepted digits: 9 digits (fixed length)
✅ 123456789     (9 digits)
Normalization format: 9 digits → 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.
Can I send only numbers without dashes?YES - The system accepts pure numbers and formats them automatically.

🇻🇪 Venezuela (VE)

Company - RIF

Document: RIF (Registro de Información Fiscal) Accepted characters: 1 letter + 9 digits (10 total)
✅ J123456789    (J/G/V/E/P + 9 digits)
Normalization format: Letter + 9 digits → 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)
Can I send just the letter and numbers without dashes?YES - The system accepts the format without dashes and formats it automatically.
Important: The letter is required. You cannot send only numbers for Venezuelan RIF.

📊 Complete Summary Table

CountryEntityDocumentDigits/FormatNumbers OnlyWith Format
🇧🇷 BRPersonCPF9-11 digits✅ dots and dashes
🇧🇷 BRCompanyCNPJ13-14 digits✅ dots, slash, dashes
🇦🇷 ARPersonDNI8 digits✅ dots
🇦🇷 ARPersonCUIL11 digits✅ dashes
🇦🇷 ARCompanyCUIT11 digits✅ dashes
🇲🇽 MXPersonRFC PF13 alphanumeric❌ Alphanumeric required
🇲🇽 MXCompanyRFC PM12 alphanumeric❌ Alphanumeric required
🇨🇱 CLPersonRUT7-8 + K✅ dots and dash
🇨🇱 CLCompanyRUT8-9 + K✅ dots and dash
🇨🇴 COPersonCC/NIT6-10 digits-
🇨🇴 COCompanyNIT9 + 1 digits✅ dash
🇵🇪 PEPersonDNI8 digits-
🇵🇪 PECompanyRUC11 digits-
🇺🇾 UYPersonCI7-8 digits-
🇺🇾 UYCompanyRUT12 digits-
🇵🇾 PYPersonCI6-8 digits-
🇵🇾 PYCompanyRUC6-8 + 1 digit✅ dash
🇺🇸 USCompanyEIN9 digits✅ dash
🇻🇪 VECompanyRIF1 letter + 9 digits✅ dashes
Legend:
  • ✅ = Format accepted
  • ❌ = Format not accepted
  • - = No special formatting

❓ Frequently Asked Questions

YES - The system automatically cleans all formatting characters (dots, dashes, slashes, spaces) before validation.Examples of accepted formats:
Brazil CPF:
✅ 123.456.789-01
✅ 123-456-789-01
✅ 123 456 789 01
✅ 12345678901
→ All become: 123.456.789-01
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
YES - The system normalizes all taxIds to the standard format for each country.Example for Brazil CPF:
You send:    12345678901
Saved as:    123.456.789-01

You send:    123.456.789-01
Saved as:    123.456.789-01

You send:    123-456-789-01
Saved as:    123.456.789-01
Example for Argentina CUIT:
You send:    30123456789
Saved as:    30-12345678-9

You send:    30-12345678-9
Saved as:    30-12345678-9
❌ 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.)
Example error response:
{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Invalid CPF format. Expected 9-11 digits.",
    "details": {
      "field": "taxId",
      "taxIdName": "CPF",
      "providedValue": "12345",
      "expectedFormat": "9-11 digits (e.g., 123.456.789-01 or 12345678901)"
    }
  }
}
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:
✅ 123456789      (9 digits)  → 1.234.567-89
✅ 1234567890     (10 digits) → 12.345.678-90
✅ 12345678901    (11 digits) → 123.456.789-01
⚠️ Partial - The system validates:Format validation: Checks that the Tax ID has the correct number of digits and structureChecksum 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.
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

{
  "type": "person",
  "name": "João Silva",
  "taxId": "123.456.789-01",
  "countryCode": "BR"
}
// ✅ System normalizes to: 123.456.789-01

Creating a Company in Brazil

{
  "type": "company",
  "name": "Exemplo Ltda",
  "taxId": "12.345.678/0001-90",
  "countryCode": "BR"
}
// ✅ System normalizes to: 12.345.678/0001-90

Creating a Company in Argentina

{
  "type": "company",
  "name": "Ejemplo SA",
  "taxId": "30-12345678-9",
  "countryCode": "AR"
}
// ✅ System normalizes to: 30-12345678-9

Creating a Person in Mexico

{
  "type": "person",
  "name": "García Ochoa Carlos Gerardo",
  "taxId": "GOCG850101A12",
  "countryCode": "MX"
}
// ✅ RFC must include letters

Creating a Person in Chile

{
  "type": "person",
  "name": "María González",
  "taxId": "12.345.678-K",
  "countryCode": "CL"
}
// ✅ System normalizes to: 12.345.678-K

🔍 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