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

# Thai ID Documents

## Thai National ID Card

<Info>
  The Thai National ID Card (บัตรประจำตัวประชาชน) is the primary identification
  document for Thai citizens. This guide explains how to verify Thai National ID
  cards through our API.
</Info>

### Required Fields

<AccordionGroup>
  <Accordion title="Basic Information">
    * **Name:** Must match ID card exactly
      * Given name
      * Middle name (if present)
      * Family name
    * **Date of Birth:** Format: `YYYY-MM-DD`
    * **ID Type:** Must be `NATIONAL_ID`
    * **Country:** Must be `THA`
  </Accordion>

  <Accordion title="Card Details">
    * **ID Number:** 13-digit identification number
    * **Laser Code:** Security code found on the back of the card
  </Accordion>
</AccordionGroup>

<Panel>
  <CodeGroup>
    ```json Example Request theme={null}
    {
      "identityDocs": [
        {
          "idType": "NATIONAL_ID",
          "country": "THA",
          "idNumber": "1234567890123",  // 13-digit Thai ID number
          "extraData": [
            {
              "kvpKey": "laser_code",
              "kvpValue": "TH123456789"  // Laser code from back of card
            }
          ]
        }
      ]
    }
    ```
  </CodeGroup>
</Panel>

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

  * ID number must be exactly 13 digits
  * Names must match the ID card exactly, including spelling and spacing
  * Date format must be `YYYY-MM-DD`
  * Laser code must match the security code on the back of the card
</Callout>

### Card Format Reference

<Tabs>
  <Tab title="ID Number Format">
    Thai National ID numbers follow this structure:

    * 13 digits total
    * First digit: Type of registration
    * Next 4 digits: Office code
    * Next 5 digits: Sequential number
    * Last 2 digits: Check digits
  </Tab>

  <Tab title="Laser Code">
    The laser code:

    * Located on the back of the card
    * Alphanumeric format
    * Used as an additional security feature
  </Tab>
</Tabs>

<Callout icon="star" color="#3DD892" iconType="regular">
  When collecting Thai ID information:

  1. Verify the ID number checksum before submission
  2. Ensure names are entered in the correct order
  3. Double-check the laser code for accuracy
  4. Use Thai keyboard input support for name entry
</Callout>
