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

# Philippines Documents

The FrankieOne KYC v2 API supports some Philippines documents for identity verification. This guide provides details on how to handle these documents effectively.

## Supported Philippines Documents

The FrankieOne KYC v2 API supports the following Philippines documents:

| Document | Code       |
| :------- | :--------- |
| Passport | `PASSPORT` |

***

### Passports

Philippine passports are official travel documents issued by the Department of Foreign Affairs (DFA) of the Philippines. They include personal details such as the individual's name, date of birth, passport number, and other identifying information.

**Required Fields**

<Card>
  <Tabs>
    <Tab title="Basic Information">
      | Field Name    | Field         | Notes                                                                                                    |
      | :------------ | :------------ | :------------------------------------------------------------------------------------------------------- |
      | Country       | `country`     | Must be set to `PHL`                                                                                     |
      | Date of Birth | `dateOfBirth` | Must be in `YYYY-MM-DD` format                                                                           |
      | Document Type | `type`        | Must be `PASSPORT`                                                                                       |
      | Name          | `name`        | Enter the full name exactly as it appears on the passport, including all given, middle, and family names |
    </Tab>

    <Tab title="Passport Details">
      | Field Name      | Field               | Notes                                                                                                    |
      | :-------------- | :------------------ | :------------------------------------------------------------------------------------------------------- |
      | Passport Number | `primaryIdentifier` | Enter the passport number exactly as shown, following the format: 1 letter + 7 digits (e.g., `P1234567`) |
      | Country Code    | `country`           | Must be set to `PHL`                                                                                     |
    </Tab>
  </Tabs>
</Card>

**Example Document Structure**

```json theme={null}
{
  "document": {
    "class": "IDENTITY", // Document class must be "IDENTITY" for passports
    "primaryIdentifier": "P1234567", // Passport number: 1 letter + 7 digits (e.g., "P1234567")
    "type": "PASSPORT", // Document type must be "PASSPORT"
    "country": "PHL" // Country code must be "PHL" for the Philippines
  }
}
```

<Callout icon="bell" color="#FFCA16" iconType="regular">
  ##### Common Validation Issues

  Ensure the following to avoid validation failures:

  * Passport number must be exactly 8 characters: 1 letter (usually `P`) followed by 7 digits (e.g., `P1234567`)
  * Full name (given, middle, and family names) must match the passport exactly, including capitalization, spaces, special characters, and diacritical marks
  * All middle names and compound surnames must be included as shown on the passport
  * Date of birth must be in `YYYY-MM-DD` (ISO) format
  * Country code must be set to `PHL`
  * Document type must be `PASSPORT`
</Callout>

<Check>
  ##### Verification Checklist

  * Passport number format: 1 letter + 7 digits (e.g., `P1234567`)
  * Name fields match passport exactly (spelling, order, spaces, capitalization)
  * All required fields are present: `country`, `dateOfBirth`, `type`, `name`, `primaryIdentifier`
</Check>
