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
484 stars 203 forks source link

Cnp counties #407

Closed RaduBorzea closed 1 year ago

arthurdejong commented 1 year ago

Hi @RaduBorzea,

After doing some research I found https://github.com/vimishor/cnp-spec/blob/master/spec.md which clarified things (though I'm not sure on how official that specification is). In cf14a9f I merged your suggestion with some modifications (added tests, also made it part of the validation).