Metadata for this ID type
Calculate checksum (if applicable)
Parse ID number (if applicable)
Validate an ID number
StaticchecksumNorway uses two check digits - return the last one for compatibility
StaticparseParse Norway national ID number
StaticvalidateValidate the Norway ID number
Norway National Identity Number (Fødselsnummer) format Format: DDMMYYIIIKK https://en.wikipedia.org/wiki/National_identification_number#Norway https://en.wikipedia.org/wiki/National_identity_number_(Norway)
NOTE: D-nummer support is a documented deviation from the Python
idnumberssource library, which currently rejects D-nummer inputs (Python'sparse()callsdate(yyyy, mm, dd)directly with the rawdd, raising ValueError when dd >= 32). Issue #29 explicitly requires valid D-nummer validation, so this module accepts DD values 41–71 (the D-nummer range) and subtracts 40 from the day before constructing the calendar date. The checksum algorithm and all other behaviors remain identical to the Python implementation. The Python library should add the same logic to restore parity.