Validate a Panamanian (PA) identity or tax document.
Document type, either fully-qualified (PA_CEDULA, PA_RUC) or short (CEDULA, RUC, PASAPORTE).
PA_CEDULA
PA_RUC
CEDULA
RUC
PASAPORTE
Raw document string (formatting tolerated).
true if the value passes PA-specific validation rules.
true
import { validate } from "nationid/pa";validate("PA_CEDULA", "8-123-456");validate("RUC", "8-123-456-12345"); Copy
import { validate } from "nationid/pa";validate("PA_CEDULA", "8-123-456");validate("RUC", "8-123-456-12345");
Validate a Panamanian (PA) identity or tax document.