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
503 stars 211 forks source link

gb is missing for get_cc_model (no imports in __init__) #419

Open EmberCraze opened 1 year ago

EmberCraze commented 1 year ago

Using get_ccmodel does not work for GB because the \_init__.py file is missing imports to the relevant modules as business_tin or vat or personal_tin.

Which number is defined as which? I would like make a PR with is change.

arthurdejong commented 1 year ago

I'm sorry but I don't know which formats are used for exactly what (other than what is already described in the documentation). The VAT number is most likely generally assigned to businesses only while the UTR seems to be assigned to both individuals and organisations. I'm unsure if any one of them are general-purpose unique identifiers beyond the scope of the relevant tax. Some countries seem to have a single identifier that is used across government services (and sometimes beyond) while other countries have an identifier per government agency.