Validate a Swedish (SE) identity or tax document.
Document type, either fully-qualified (SE_PERSONNUMMER, SE_ORGNR, SE_VAT) or short (PERSONNUMMER, PNR, ORGNR, ORG, VAT, MOMS).
SE_PERSONNUMMER
SE_ORGNR
SE_VAT
PERSONNUMMER
PNR
ORGNR
ORG
VAT
MOMS
Raw document string (formatting tolerated).
true if the value passes SE-specific validation rules.
true
import { validate } from "nationid/se";validate("SE_PERSONNUMMER", "811228-9874");validate("ORGNR", "556016-0680"); Copy
import { validate } from "nationid/se";validate("SE_PERSONNUMMER", "811228-9874");validate("ORGNR", "556016-0680");
Validate a Swedish (SE) identity or tax document.