Documentation V3
Search…
⌃K

Mexico

Below you will see the fields designated for the country Mexico

Document validations

Document Type
Description
Length
Data Type
Verification Digit
Document ID Example
RFC
Registro Federal de Contribuyentes = Federal Taxpayer Registry
12-13
Alphanumeric
No
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.
Example I: RFC
Example II: RFC
Valid ID Response
{
"document": {
"id" :"BNM840515VB1",
"type" :"RFC"
},
"country" : "MEX"
}
{
"document": {
"id" :"PALH800229876",
"type" :"RFC"
},
"country" : "MEX"
}
{
"code": "200",
"description": "Valid id and type document"
}
Validate IDs through the LP api:

Check the Country ISOCode 3:

Last modified 1mo ago