arthurdejong / python-stdnum

A Python library to provide functions to handle, parse and validate standard numbers.
https://arthurdejong.org/python-stdnum/
GNU Lesser General Public License v2.1
484 stars 203 forks source link

Added Belgian BIS Number. #418

Closed jeffh92 closed 1 year ago

jeffh92 commented 1 year ago

This adds support for Belgian BIS numbers for non Belgians with social security rights. It has the same format as Belgian national numbers, but can be differentiated by its month part, which is increased depending on whether the gender was known.

In my next PR, I will add a Belgian social security number (SSN) module that validates both national as BIS numbers, as the Begian SSN is the national number if available, otherwise a BIS number is assigned. More information:

arthurdejong commented 1 year ago

Hi, thanks for providing this format. I've merged it as be33a80 with a few minor tweaks to the stdnum.be.nn module. Perhaps with a stdnum.be.ssn module we can simplify things further.