The Unique Personal ID of Colombia. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | COL, CO |
| ID type | Unique Personal ID |
| Official name | Número Único de Identificación Personal (NUIP) |
| Also known as | Unique Personal ID; NUIP; Número único de identidad personal |
| Display format | ##(#).###.###-C |
| Input masks | ##.###.###-#, ###.###.###-# |
| Length | 9 to 10 |
| Example | 12.345.678-8 |
| Checksum | yes |
| Checksum algorithm | Weighted sum mod 11 (right-to-left prime weights; 11 → 0, 10 → 1) |
| Parsable | no |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('COL', '12.345.678-8').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/col and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/col';
register(country);
validateNationalId('COL', '12.345.678-8').isValid; // true