-
Notifications
You must be signed in to change notification settings - Fork 0
Constrainsts and rules
Michiel de Smet edited this page Jun 7, 2021
·
1 revision
Within this part of the wiki the constraints are explained which need to be taken into account when creating an INSS.
In order to check if the birth number is correct. We need to know the gender for the INSS generation. Due to the fact that the Male gender can only have uneven numbers. In contrary to the female numbers which need to be even.
The birth number can not exceed 998. If the birth number is higher than 997, it will be automatically corrected to 997.
The security number is calculated based on the birth date, the corrected birth number.
- birth date + birth number
- Than module value (97) taken from that
- Than the solution from step 2. minus the module value again (97).
- Resulting in the security number