Skip to content

Mexican RFC check digit #32

@TrymBeast

Description

@TrymBeast

The Mexican RFC check digit is being miscalculated when it should be an "A".
The example to check that is: "MAHM670102NJA".

From the document that is in the comments:
"Si el residuo es igual a 10 el dígito verificador será “ A”."

If the remainder equals 10, then the check digit is an "A".
But the function that calculates the check digit returns "1".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions