Validate a Finnish (FI) identity, business or VAT document.
Document type, either fully-qualified (FI_HETU, FI_YTUNNUS, FI_VAT) or short (HETU, YTUNNUS, Y, VAT, ALV).
FI_HETU
FI_YTUNNUS
FI_VAT
HETU
YTUNNUS
Y
VAT
ALV
Raw document string (formatting tolerated).
true if the value passes FI-specific validation rules.
true
import { validate } from "nationid/fi";validate("FI_HETU", "131052-308T"); // truevalidate("YTUNNUS", "1572860-0"); Copy
import { validate } from "nationid/fi";validate("FI_HETU", "131052-308T"); // truevalidate("YTUNNUS", "1572860-0");
Validate a Finnish (FI) identity, business or VAT document.