Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/do
Commit message (Collapse)AuthorAgeFilesLines
* Fix Python 2.6 compatibilityArthur de Jong2018-01-012-6/+6
|
* Add stdnum.do.ncf.check_dgii()Arthur de Jong2017-10-221-1/+51
| | | | | | This adds functions for querying the Dirección General de Impuestos Internos (DGII) API to check if the RNC and NCF combination provided is valid.
* Add stdnum.do.rnc.check_dgii() and search_dgii()Arthur de Jong2017-10-221-1/+100
| | | | | | This adds functions for querying the Dirección General de Impuestos Internos (DGII) API to validate the RNC and search the register by keyword.
* Add Dominican Republic receipt number (NCF)Arthur de Jong2017-10-221-0/+82
| | | | | This number does not have a check digit but uses a distinctive enough format that it should not be too great of a problem.
* Also add a whitelist for Dominican Republic RNCArthur de Jong2017-10-141-3/+14
| | | | | | Some RNCs are apparently valid while having an incorrect check digit (though most appear to be inactive). There also appear to be valid RNCs that do not have 9 digits.
* Add a few new numbers to the Cedula whitelistArthur de Jong2017-10-141-76/+95
| | | | | | These numbers were found to be valid but had an invalid check digit nonetheless (though most appear to be inactive). Also there appear to be a few valid Cedula that do not have 11 digits.
* Make import ordering consistentArthur de Jong2017-09-111-1/+1
|
* Docstring improvementsArthur de Jong2017-09-112-6/+6
|
* Use zip() instead of enumerate()Arthur de Jong2015-10-051-1/+1
| | | | Makes the code slightly simpler and more compact.
* Extend the list of valid CedulaArthur de Jong2015-04-231-84/+80
| | | | | | This is based on the list of Cedula found at http://prd.org.do/2013/07/30/lista-del-cen-del-prd-actualizada-y-registrada-en-la-junta-central-electoral/ (link provided by José Arturo García)
* Add Dominican Republic Cedula numberArthur de Jong2015-04-221-0/+160
| | | | | | | | | The Cedule is a Dominican Republic national identification number for persons. The number uses the Luhn checksum but apparently there are a lof of valid numbers in use that do not match the checksum. For this a whitelist is used.
* Add Dominican Republic RNC numberArthur de Jong2015-04-222-0/+102
The RNC (Registro Nacional del Contribuyente) is the Dominican Republic taxpayer registration number for companies.