> ## Documentation Index
> Fetch the complete documentation index at: https://docs.frankieone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mexican ID Documents

## Mexican National ID (INE/IFE)

<Info>
  The Mexican National ID (INE/IFE) is the primary identification document in
  Mexico, issued by the National Electoral Institute. It serves as both a voter
  ID and general identification document.
</Info>

### Required Fields

<AccordionGroup>
  <Accordion title="Personal Information">
    * **Name:** Must match ID exactly
      * Given name(s)
      * Middle name(s)
      * Paternal family name
      * Maternal family name
    * **Date of Birth:** Format: `YYYY-MM-DD`
  </Accordion>

  {" "}

  <Accordion title="Document Details">
    * **ID Type:** Must be `NATIONAL_ID`
    * **Country:** Must be `MEX`
    * **Document Number:** Provided in `idNumber` field
  </Accordion>

  <Accordion title="Family Names">
    Mexican names typically include both paternal and maternal family names. Both must be provided in `extraData`:

    ```json theme={null}
    {
      "kvpKey": "paternal_familyname",
      "kvpValue": "LOPEZ"
    },
    {
      "kvpKey": "maternal_familyname",
      "kvpValue": "GARCIA"
    }
    ```
  </Accordion>
</AccordionGroup>

<Panel>
  <CodeGroup>
    ```json Example Request theme={null}
    {
      "identityDocs": [
        {
          "idType": "NATIONAL_ID",
          "country": "MEX",
          "idNumber": "MEGJ850101M001",
          "extraData": [
            {
              "kvpKey": "paternal_familyname",
              "kvpValue": "MENDOZA"
            },
            {
              "kvpKey": "maternal_familyname",
              "kvpValue": "GARCIA"
            }
          ]
        }
      ]
    }
    ```
  </CodeGroup>
</Panel>

<Callout icon="bell" color="#FFCA16" iconType="regular">
  Common validation issues:

  * Missing or incorrect family name format
  * Incorrect date format (must be YYYY-MM-DD)
  * Incomplete or incorrect ID number
</Callout>

<Callout icon="star" color="#3DD892" iconType="regular">
  ##### Name Handling

  When dealing with Mexican names:

  1. Both paternal and maternal family names are required
  2. Use exact spelling as shown on the ID
  3. Maintain proper capitalization
  4. Include all given names if multiple exist
</Callout>

<Info title="Document Types">
  The Mexican National ID has two versions:

  * INE (Instituto Nacional Electoral) - Current version
  * IFE (Instituto Federal Electoral) - Previous version
    Both are valid for verification purposes.
</Info>
