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
498 stars 206 forks source link

MX_rfc calc_check_digit question #247

Open 13971527483 opened 3 years ago

13971527483 commented 3 years ago

I think there are some problems with this verification mechanism. i get verification from: https://www.infomex.org.mx/jspsi/documentos/2005/seguimiento/06101/0610100162005_065.doc.Right or not? For peronal rfc,the doc file example as follow: image

arthurdejong commented 3 years ago

I don't understand what the problem is exactly. The example listed is considered valid:

>>> from stdnum.mx import rfc
>>> rfc.validate('GODE561231GR8')
'GODE561231GR8'

Can you clarify?