Skip to content

Validate id code checksum #4

Description

@tgranqvist

Add a user defined function to validate the personal id code checksum.

It is a simple calculation:

  • Concatenate the 6-digit date part with the 3-character identificator, skipping the century separator
  • Integer divide the sum by 31
  • Check the result from the following 0123456789ABCDEFHJKLMNPRSTUVWXY
  • If match, valid. Otherwise, invalid

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions