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
489 stars 204 forks source link

Add support for Montenegro TIN #331

Closed unho closed 1 year ago

unho commented 1 year ago

Closes #223.

arthurdejong commented 1 year ago

Hi @unho,

Thanks for providing the code. I managed to reverse-engineer a checksum algorithm that was valid for all numbers (except the 22233344 value that was in the tests). Merged as 2b6e087.

unho commented 1 year ago

Wonderful!