Validate a Colombian (CO) identity or tax document.
Document type, either fully-qualified (CO_CC, CO_NIT, ...) or short (CC, CE, TI, PASAPORTE, NIT, PEP, PPT).
CO_CC
CO_NIT
CC
CE
TI
PASAPORTE
NIT
PEP
PPT
Raw document string (formatting tolerated).
true if the value passes CO-specific validation rules.
true
import { validate } from "nationid/co";validate("CO_CC", "1.020.304.050"); // truevalidate("NIT", "900.123.456-1"); Copy
import { validate } from "nationid/co";validate("CO_CC", "1.020.304.050"); // truevalidate("NIT", "900.123.456-1");
Validate a Colombian (CO) identity or tax document.