Mexico

Below you will see the fields designated for the country Mexico

Document validations

Document Type

Description

ID for individuals and/or legal entities

Length

Data Type

Verification Digit

Mandatory for methods

Document ID Example

RFC

Registro Federal de Contribuyentes = Federal Taxpayer Registry

Legal and Individual Entities

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).

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

Validate IDs through the LP api:

Check the Country ISOCode 3:

Last updated