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
498 stars 206 forks source link

Add support for Tanzania TIN #224

Open unho opened 4 years ago

unho commented 4 years ago

Could not find any specification on the structure/format, neither whether it has any check algorithm.

Note that there also exists a VAT Registration Number (VRN), so the TIN could not be used as such.

Examples:

unho commented 1 year ago

@arthurdejong based on this country having a TIN and a VAT number, I am starting to think that we have to go back and undo most of the vat aliases, even if this breaks third party software. I propose adding a vatnumber alias instead. What do you think?

unho commented 1 year ago

I have decided to add a PR with an implementation using no aliases.