Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Swedish Personal Number (Personnummer) #2180

Open
blacksrc opened this issue Dec 3, 2023 · 1 comment
Open

Support for Swedish Personal Number (Personnummer) #2180

blacksrc opened this issue Dec 3, 2023 · 1 comment

Comments

@blacksrc
Copy link
Contributor

blacksrc commented Dec 3, 2023

Description:
Currently, the package lacks support for validating Swedish Personal Numbers, commonly known as Personnummer. This feature would enhance the system's functionality by accommodating a widely-used identification format in Sweden.

Format:
A Swedish Personal Number consists of either 10 or 12 digits in the following formats:

YYYYMMDDXXXX
YYMMDDXXXX

Details:

YYYY or YY represents the birth year.
MM represents the birth month.
DD represents the birth day.
XXXX is the checksum.

Reference:
Skatteverket - Personnummer

Potential Extension:
Implementing support for the Swedish Personal Number could serve as a foundation for expanding the application's Social Security Number (SSN) validation to include various formats used in different countries.

This enhancement aligns with a broader goal of accommodating diverse identification standards, contributing to the versatility and inclusivity of the application.

@blacksrc
Copy link
Contributor Author

blacksrc commented Dec 3, 2023

I am actively working on implementing the solution for this feature request. If there are no objections or concerns raised regarding the necessity of this, I plan to submit a Pull Request (PR) promptly.

Your feedback is valuable, and I encourage any discussions or suggestions related to the proposed feature. Please feel free to share your thoughts :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant