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
495 stars 205 forks source link

Fix SIRET validation for SIRET codes #292

Closed BIGBen99 closed 2 years ago

BIGBen99 commented 2 years ago

Some SIRET codes do not validate Luhn algorithm but are valid. In those cases, sum of the digits should be a multiple of 5.