Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/ro/cf.py
Commit message (Collapse)AuthorAgeFilesLines
* Ensure EU VAT numbers don't accept duplicate country codesArthur de Jong2023-11-121-2/+2
|
* Retain RO prefix in Romanian VAT numbersArthur de Jong2020-11-011-9/+9
| | | | | | | | This does not strip the RO prefix from Romanian VAT numbers to be able to keep the distinction between a CUI/CIF that is registered for VAT (which commonly has the RO prefix) and those that don't. Closes https://github.com/arthurdejong/python-stdnum/issues/231
* Add Romanian CUI/CIF numberArthur de Jong2020-11-011-20/+10
| | | | | This module separates the validation of numbers assigned to companies (CUI or CIF) of those assigned to natural persons (CNP).
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-2/+2
| | | | | | | | | | | The problem with the latter is that it will also accept all kinds of unicode digits that are not the ASCII 0-9 digits causing all kinds of problems in check digit calculations. Some of these unicode characters are also considered digits by int() but some are not (such as the SUPERSCRIPT TWO unicode character). Closes https://github.com/arthurdejong/python-stdnum/issues/96
* Docstring improvementsArthur de Jong2017-09-111-4/+3
|
* Use zip() instead of enumerate()Arthur de Jong2015-10-051-2/+2
| | | | Makes the code slightly simpler and more compact.
* Implement validate() for Romanian numbersArthur de Jong2013-06-081-17/+27
|
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-261-3/+2
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a CF (Cod de înregistrare în scopuri de TVA, ↵Arthur de Jong2012-02-121-0/+72
Romanian VAT number) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@123 9dea7c4f-944c-4273-ac1a-574ede026edc