Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existant RFC fails with invalid checksum for MX #330

Open
jsandovalc opened this issue Apr 12, 2018 · 1 comment
Open

Existant RFC fails with invalid checksum for MX #330

jsandovalc opened this issue Apr 12, 2018 · 1 comment

Comments

@jsandovalc
Copy link

Hi and thanks for the great work with django-localflavor.

We are currently using RFCs from Mexico in our app. We found a weird RFC (ACE900319JT9) that fails with invalid checksum error. According to this official site: https://portalsat.plataforma.sat.gob.mx/ConsultaRFC/, it's a valid RFC.

¿Any suggestion about what to do here?. It looks like an incorrectly generated (but already existant) RFC.

@benkonrath
Copy link
Member

I just tried on the validator site you mentioned with RFC ACE900319JT9 and I get the same valid response. I didn't write the code for the RFC validations so I don't know what's going on. I suggest investigating the format of the RFC; it could be that ACE900319JT9 is a special case, a new format or an old format that needs to added to the localflavor implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants