Mexico

Below you will see the fields designated for the country Mexico

Document validations

Document Type

Description

Length

Data Type

Verification Digit

Mandatory for methods

Document ID Example

RFC

Registro Federal de Contribuyentes = Federal Taxpayer Registry

12-13

Alphanumeric

No

N/A

MAL180222MS6

Example: How to validate IDs through the api?

Remember that you can validate documents through the LP api. See Document Validation service.

Below you can find some examples to validate through our api. You can also test with the examples above. Please, note the structure of each ID type (lenght, dots, hyphen, lowercase/uppercase). To validate Mexican documents through our API, you can use uppercase only.

{
    "document": {
        "id" :"BNM840515VB1",
        "type" :"RFC"
    },
    "country" : "MEX"
}

Validate IDs through the LP api:

Check the Country ISOCode 3:

Last updated