This section provides reference for the supported identification documents across different countries, including their validation rules, formatting requirements, and examples. The API utilizes these standards to ensure accurate and consistent data processing.
Refer to the table below to check the validation criteria for each document type.
Country | Type | Document Name | Validation | Pattern | Examples |
---|---|---|---|---|---|
Brazil | CPF | Cadastro de Pessoas Físicas | 11 Characters - Format: 999.999.999-99 | ^[0-9]{11}$ | 00011122233 , 01234567891 |
Chile | RUT | Registro Único Tributario | 8 - 9 Characters - Format: 9.999.999-9 or 99.999.999-K | ^[0-9]{1,2}([0-9]{3}){2}[0-9kK]$ | 220604497 , 12531902 , 2012346K , 12345678k |
Colombia | CC | Cédula de Ciudadanía | 10 Characters | ^[0-9]{10}$ | 1234567890 , 1112223334 |
Colombia | CE | Cédula de Extranjería | 7 Characters | ^[A-Za-z]{1}[0-9]{6}$ | a000111 , Z778899 |
Colombia | TI | Tarjeta de Identidad | 11 Characters | ^[0-9]{11}$ | 20503644968 , 01234567891 |
Colombia | NIT | Número de Identificación Tributaria | 8 - 10 Characters - Format: 99.999.999 , 999.999.999 , or 999.999.999-9 | ^[0-9]{8,10}$ | 11111111 , 123456789 , 2222222222 |
Mexico | CURP | Clave Única de Registro de Población | 18 Characters | ^[A-Za-z]{4}[0-9]{6}[HMhm][A-Za-z]{5}[0-9]{2}$ | ABCD112233MGHIJL90 , dcba001122habcde12 |
Mexico | RFC | Registro Federal de Contribuyentes | 12 - 13 Characters - Format: LLLLNNNNNNAAA | ^[A-ZÑ&a-zñ]{3,4}[0-9]{6}[A-Za-z0-9]{3}$ | GAAA750430HZ0 , AGB860519G31 , zbc123456pl2 |
Peru | DNI | Documento Nacional de Identidad | 9 Characters - Format: 99.999.999-K | ^[0-9]{8}[A-Za-z0-9]{1}$ | 123456789 , 12345678A , 87654321b |
Peru | CE | Cédula de Extranjería | 8 - 10 Characters | ^[A-Za-z]{2}[0-9]{6,10}$ | AZ000111 , az000111 , BB4445556 , bc11122233 |
Peru | RUC | Registro Único de Contribuyente | 11 Characters - Format: 99999999999 | ^[0-9]{11}$ | 20503644968 , 01234567891 |