Validate a Dutch (NL) identity or tax document.
Document type, either fully-qualified (NL_BSN, NL_BTW) or short (BSN, BTW, VAT).
NL_BSN
NL_BTW
BSN
BTW
VAT
Raw document string (formatting tolerated).
true if the value passes NL-specific validation rules.
true
import { validate } from "nationid/nl";validate("NL_BSN", "111222333");validate("BTW", "NL123456789B01"); Copy
import { validate } from "nationid/nl";validate("NL_BSN", "111222333");validate("BTW", "NL123456789B01");
Validate a Dutch (NL) identity or tax document.