python-stdnum
python-stdnum copied to clipboard
A Python library to provide functions to handle, parse and validate standard numbers.
https://en.wikipedia.org/wiki/Digital_object_identifier Pattern and examples: https://ihateregex.io/expr/doi/
* https://www.vatify.eu/bosnia-and-herzegovina-vat-number.html * https://tin-check.com/en/bosnia-and-herzegovina/
Is there any reason why the default checkers use `str.index()` instead of a `dict`? In this example (taken from [here](https://github.com/arthurdejong/python-stdnum/blob/38c368de1c5977aa46c6cd99c276ce8fdca12cca/stdnum/mx/curp.py#L102)) ```python3 # characters used for checksum calculation, _alphabet = '0123456789ABCDEFGHIJKLMN&OPQRSTUVWXYZ'...
Hi This is an extension of the ISO6346 container codes: they use the same format and (how I understand it) calculation of check digits. The difference is the 4th character:...
* https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/Oman-TIN.pdf > There structure of TIN may differ depending on type of taxes. For the VAT and Excise Tax, the TIN consists of 12 alphabetic- numeric characters. However, for...
* Seems to be called `Numéro d’Identification Unique (NIU)` according to https://niu.cg/fr/LeNIU/Pr%C3%A9sentation * Sometimes `N.I.U.` * https://www.sgg.cg/textes-officiels/Congo-Arrete-2004-11185-attribution-utilisation-NIU.pdf > Article 3 : Le numéro d'identification unique est attribué chronologiquement aux requérants...
* Seems to be called `Numéro d'Identification Fiscale (NIF)` according to https://hetraonline.impots.mg/accueil/papier_inscri * http://www.impots.mg/fr/27-tabs-procedures Search online: * http://www.impots.mg/fr/repertoire (not actually a search, but a list) Examples: * 4004348715 from https://msera.mg/condition-general-vente...
* According to https://www.225invest.ci/fr/actualite/articles_caroussel.xhtml?id=9 a new 14 digits `numéro d’Identifiant Unique « IDU »` will replace the NCC and other numbers. * Also https://servicepublic.gouv.ci/accueil/detaildemarcheparticulier/2/455/100 * https://www.idu.ci/ * https://www.225invest.ci/fr/actualite/articles_caroussel_details.xhtml?id=5 > Le...
* `Número de Identificação Fiscal - NIF` * Also `Número de Contribuinte` * https://kontaktu.mef.gw/api/public_files/cQ07WYIBVxKCKoELcDhC.pdf > número de identificação fiscal (NIF) do declarante, com os numeros inteiros positivos de 9 digitos....
* Seems to be called `Número de Identificação Fiscal (NIF)` * https://caboverde.eregulations.org/show-step.asp?l=pt&mid=5&rid=2&sno=7 * Description of the structure: https://portondinosilhas.gov.cv/images/igrp-portal/img/documentos/EA834694B09A15FAE044002128A60A02.pdf (attached [here](https://github.com/arthurdejong/python-stdnum/files/10528188/EA834694B09A15FAE044002128A60A02.pdf) just in case) > O NIF das pessoas singulares residentes...