Skip to content

Constrainsts and rules

Michiel de Smet edited this page Jun 7, 2021 · 1 revision

Inss Rules

Within this part of the wiki the constraints are explained which need to be taken into account when creating an INSS.

Birth Number

Last Birth Number Check

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.

Max Birth Number

The birth number can not exceed 998. If the birth number is higher than 997, it will be automatically corrected to 997.

Security Number

The security number is calculated based on the birth date, the corrected birth number.

  1. birth date + birth number
  2. Than module value (97) taken from that
  3. Than the solution from step 2. minus the module value again (97).
  4. Resulting in the security number

Clone this wiki locally