Validate a Nicaraguan (NI) identity or tax document.
Document type, either fully-qualified (NI_CEDULA, NI_RUC) or short (CEDULA, RUC, PASAPORTE).
NI_CEDULA
NI_RUC
CEDULA
RUC
PASAPORTE
Raw document string (formatting tolerated).
true if the value passes NI-specific validation rules.
true
import { validate } from "nationid/ni";validate("NI_CEDULA", "001-150590-1000A");validate("RUC", "J0310000000000"); Copy
import { validate } from "nationid/ni";validate("NI_CEDULA", "001-150590-1000A");validate("RUC", "J0310000000000");
Validate a Nicaraguan (NI) identity or tax document.