Skip to content

Verification Digit calculation for cod_mun IBGE #357

@lucasmation

Description

@lucasmation

does anyone know the formula to calculate the verification digit for IBGE cod_mun variable?
That is, cod_mun is formed by 6digits (where first 2 refer to state code). Then one verification digit.

SS MMMM V

usually it is Mod10, mod11 in other Brazilian ID documents.
If this is not publicly available in IBGE documentation, or IBGE coleagues don't know, we could also reverse engineer trying Mod10, Mod11, etc... although figuring the weights might be a bit hard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions