Validate a Polish (PL) identity or tax document.
Document type, either fully-qualified (PL_PESEL, PL_NIP, PL_REGON) or short (PESEL, NIP, REGON).
PL_PESEL
PL_NIP
PL_REGON
PESEL
NIP
REGON
Raw document string (formatting tolerated).
true if the value passes PL-specific validation rules.
true
import { validate } from "nationid/pl";validate("PL_PESEL", "44051401359");validate("NIP", "5260250274"); Copy
import { validate } from "nationid/pl";validate("PL_PESEL", "44051401359");validate("NIP", "5260250274");
Validate a Polish (PL) identity or tax document.