All Products
Search
Document Center

ID Verification:ID document OCR fields

Last Updated:Mar 28, 2026

Global e-Passport

GLB03002

Parameter

Type

Description

surname

String

The surname in Latin characters, extracted from the Machine-Readable Zone (MRZ).

given_names

String

The given names in Latin characters, extracted from the Machine-Readable Zone (MRZ).

sex

String

The sex of the cardholder. Valid values are F for female and M for male.

date_of_birth

String

The date of birth in YYYY-MM-DD format.

passport_number

String

The unique number assigned to the passport.

nationality

String

The nationality, represented by a three-letter ISO 3166-1 alpha-3 country code.

date_of_expiry

String

The date of expiry in YYYY-MM-DD format.

country_code

String

The country code of the issuing authority, represented by a three-letter ISO 3166-1 alpha-3 country code.

GLB03001

Field

Type

Description

name

String

Name (in English)

passport_number

String

Passport number

nationality

String

Nationality

date_of_birth

String

Date of birth

place_of_birth

String

Place of birth

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

place_of_issue

String

Place of issue

sex

String

Sex

type

String

Type

China

Chinese Resident Identity Card

Field

Type

Description

name

String

Name

id_number

String

ID number

date_of_birth

String

Date of birth

sex

String

Sex

address

String

Address

ethnicity

String

Ethnicity

origin_of_issue

String

Issuing authority

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

Chinese Passport

Field

Type

Description

name

String

Name (in English)

name_cn

String

Name (in Chinese)

passport_number

String

Passport number

nationality

String

Nationality

date_of_birth

String

Date of birth

place_of_birth

String

Place of birth

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

place_of_issue

String

Place of issue

sex

String

Sex

type

String

Type

Chinese Driver's License

Field

Type

Description

name

String

Name

id_number

String

ID number

nationality

String

Nationality

sex

String

Sex

address

String

Address

date_of_birth

String

Date of birth

date_of_first_issue

String

Date of first issue

class

String

Allowed vehicle class

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

Mainland Travel Permits for Hong Kong and Macao Residents

Field

Type

Description

name

String

Name (in English)

name_cn

String

Name (in Chinese)

id_number

String

ID number

date_of_birth

String

Date of birth

sex

String

Sex

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

origin_of_issue

String

Issuing authority

Mainland Travel Permit for Taiwan Residents

Field

Type

Description

name

String

Name (in English)

name_cn

String

Name (in Chinese)

id_number

String

ID number

date_of_birth

String

Date of birth

sex

String

Sex

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

place_of_issue

String

Place of issue

origin_of_issue

String

Issuing authority

Exit-Entry Permit for Travelling to and from Hong Kong and Macao

Field

Type

Description

name

String

Name (in English)

name_cn

String

Name (in Chinese)

id_number

String

ID number

date_of_birth

String

Date of birth

sex

String

Sex

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

place_of_issue

String

Place of issue

origin_of_issue

String

Issuing authority

Exit-Entry Permit for Travelling to and from Taiwan

Field

Type

Description

name

String

Name (in English)

name_cn

String

Name (in Chinese)

id_number

String

ID number

date_of_birth

String

Date of birth

sex

String

Sex

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

place_of_issue

String

Place of issue

origin_of_issue

String

Issuing authority

Permanent Residence Card

Field

Type

Description

name

String

Name (in English)

name_cn

String

Name (in Chinese)

id_number

String

ID number

date_of_birth

String

Date of birth

sex

String

Sex

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

nationality

String

Nationality

Hong Kong (China)

Hong Kong Identity Card (2003 version)

Field

Type

Description

name

String

Name (in English)

name_cn

String

Name (in Chinese)

id_number

String

ID number

name_code

String

Chinese commercial code for the name

date_of_birth

String

Date of birth

sex

String

Sex

current_issue_date

String

Date of registration

first_issue_date

String

Month and year of first registration

is_permanent

String

Indicates whether the card is for a permanent resident. Valid values:

  • Y: Yes

  • N: No

symbols

String

Symbol marks. Example: "***AZ".

Hong Kong Identity Card (2018 version)

Field

Type

Description

name

String

Name (in English)

name_cn

String

Name (in Chinese)

id_number

String

ID number

name_code

String

Chinese commercial code for the name

date_of_birth

String

Date of birth

sex

String

Sex

current_issue_date

String

Date of registration

first_issue_date

String

Month and year of first registration

is_permanent

String

Indicates whether the card is for a permanent resident. Valid values:

  • Y: Yes

  • N: No

symbols

String

Symbol marks. Example: "***AZ".

Hong Kong Driver's License

Field

Type

Description

name_cn

String

Name (in Chinese)

name

String

Name (in English)

license_class

String

Allowed vehicle type

date_of_expiry

String

Date of expiry

id_number

String

ID number

Hong Kong Taxi Driver Identity Plate

Field

Type

Description

name_cn

String

Name (in Chinese)

name

String

Name (in English)

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

id_number

String

ID number

Macao (China)

Macao Identity Card (2023 version)

Field

Type

Description

surname

String

Surname (in English)

surname_cn

String

Surname (in Chinese)

givenname

String

Given name (in English)

givenname_cn

String

Given name (in Chinese)

id_number

String

ID number

date_of_birth

String

Date of birth

sex

String

Sex

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

Macao Identity Card (2013 version)

Field

Type

Description

surname

String

Surname (in English)

surname_cn

String

Surname (in Chinese)

givenname

String

Given name (in English)

givenname_cn

String

Given name (in Chinese)

id_number

String

ID number

date_of_birth

String

Date of birth

height

String

Height

sex

String

Sex

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

first_issue_date

String

Date of first issue

Macao Identity Card (2002 version)

Field

Type

Description

name

String

Name (in English)

name_cn

String

Name (in Chinese)

id_number

String

ID number

date_of_birth

String

Date of birth

sex

String

Sex

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

Taiwan (China)

Taiwan Identity Card

01 - Front

Field

Type

Description

id_number

String

ID card number

name

String

Name

date_of_birth

String

Date of birth

sex

String

Sex

date_of_issue

String

Date of issue

02 - Back or supplementary page

Field

Type

Description

father_name

String

Father's name

mother_name

String

Mother's name

spouse_name

String

Spouse's name

military_service_type

String

Military service type

place_of_birth

String

Place of birth

address

String

Residential address

code

String

Control number of the blank certificate

Vietnam

Vietnamese Identity Card (2021 chip version)

Field

Type

Description

full_name

String

Full name

id_number

String

ID number

date_of_birth

String

Date of birth

sex

String

Sex

nationality

String

Nationality

place_of_origin

String

Place of origin

place_of_residence

String

Place of residence

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

personal_identification

String

Personal identification

Vietnamese e-Passport

Field

Type

Description

full_name

String

Name

passport_number

String

Passport number

nationality

String

Nationality

date_of_birth

String

Date of birth

sex

String

Sex

id_card_number

String

ID card number

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

place_of_issue

String

Place of issue

type

String

Type

Malaysia

Malaysian Identity Card (MyKad)

01 - Front

Field

Type

Description

id_number

String

ID number

name

String

Name

address

String

Address

nationality

String

Nationality

religion

String

Religion

gender

String

Sex

02 - Back or supplementary page

Field

Type

Description

id_number_back

String

ID number

sn

String

Serial number

Malaysian Driver's License

Field

Type

Description

name

String

Name

nationality

String

Nationality

id_number

String

ID card number

license_class

String

Driver's license class

validity_period

String

Validity period

address

String

Address

Indonesia

Indonesian Identity Card

Field

Type

Description

id_number

String

National identity number

name

String

Name

place_of_birth

String

Place of birth

date_of_birth

String

Date of birth

gender

String

Sex

address

String

Address

rt_rw

String

RT/RW code

village

String

Village/Community name

sub_district

String

Sub-district

religion

String

Religion

marital_status

String

Marital status

occupation

String

Occupation

nationality

String

Nationality

valid_until

String

Valid until

Singapore

Singapore National Registration Identity Card (NRIC)

Page

Field

Type

Description

01

identity_card_number

String

ID number

name

String

Name

race

String

Race

date_of_birth

String

Date of birth

sex

String

Sex

country_of_birth

String

Country or region of birth

02

nric_number

String

National Registration Identity Card number

date_of_issue

String

Date of issue

address

String

Address

nationality

String

Nationality

Singapore Driver's License

Field

Type

Description

licence_number

String

ID number

name

String

Name

date_of_birth

String

Date of birth

issue_date

String

Date of issue

valid_till

String

Valid until

Singapore Passport

Field

Type

Description

type

String

Type

country_code

String

Country code

passport_number

String

Passport number

name

String

Name

sex

String

Sex

date_of_birth

String

Date of birth

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

nationality

String

Nationality

place_of_birth

String

Place of birth

authority

String

Issuing authority

national_id_number

String

National ID number

Thailand

Thai Identity Card

Field

Type

Description

id_number

String

ID card number

surname

String

Surname (in English)

given_names

String

Given name (in English)

name_th

String

Name (in Thai)

date_of_birth

String

Date of birth (Gregorian calendar)

date_of_birth_th

String

Date of birth (Thai calendar)

religion

String

Religion

address

String

Address

date_of_issue

String

Date of issue (Gregorian calendar)

date_of_issue_th

String

Date of issue (Thai calendar)

date_of_expiry

String

Date of expiry (Gregorian calendar)

date_of_expiry_th

String

Date of expiry (Thai calendar)

qr_number

String

Serial number

Thai Private Vehicle Driver's License

Field

Type

Description

licence_number

String

Number

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

name

String

Name

date_of_birth

String

Date of birth

id_number

String

Citizen ID number

place_of_issue

String

Place of issue

Thai Passport

Field

Type

Description

type

String

Type

country_code

String

Country code

passport_number

String

Passport number

surname

String

Surname (in English)

given_names

String

Title / Given name (in English)

name_th

String

Name (in Thai)

sex

String

Sex

date_of_birth

String

Date of birth

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

nationality

String

Nationality

place_of_birth

String

Place of birth

authority

String

Issuing authority

national_id_number

String

National ID number

Philippines

Philippine National ID

Field

Type

Description

id_number

String

National ID

last_name

String

Last name

middle_name

String

Middle name

given_names

String

Given name

date_of_birth

String

Date of birth

address

String

Address

Philippine UMID Card

Field

Type

Description

crn

String

CRN code

surname

String

Last name

given_name

String

Given name

middle_name

String

Middle name

sex

String

Sex

date_of_birth

String

Date of birth

address

String

Address

Philippine Driver's License

Field

Type

Description

last_name

String

Last name

first_name

String

First name

middle_name

String

Middle name

nationality

String

Nationality

sex

String

Sex

date_of_birth

String

Date of birth

address

String

Address

license_number

String

ID number

expiration_date

String

Date of expiry

agency_code

String

Issuing agency code

restrictions

String

Driving restrictions

Note

This corresponds to the DL Codes field in newer versions of the license.

conditions

String

Driving conditions

Philippine Passport

Field

Type

Description

surname

String

Last name

given_names

String

Given name

middle_name

String

Middle name

date_of_birth

String

Date of birth

nationality

String

Nationality

sex

String

Sex

place_of_birth

String

Place of birth

date_of_issue

String

Date of issue

date_of_expiry

String

Date of expiry

passport_number

String

Passport number

issuing_authority

String

Issuing authority

country_code

String

Country code

type

String

Type

Philippine Social Security System (SSS) ID

Field

Type

Description

last_name

String

Last name

first_name

String

First name

middle_name

String

Middle name

sex

String

Sex

date_of_birth

String

Date of birth

id_number

String

SSS ID number

Philippine Voter's ID Card

Field

Type

Description

id_number

String

Voter's ID number

last_name

String

Last name

first_name

String

First name

middle_name

String

Middle name

sex

String

Sex

date_of_birth

String

Date of birth

marital_status

String

Marital status

nationality

String

Nationality

address

String

Address

precinct_number

String

Precinct number

Philippine Professional Identification Card

Field

Type

Description

last_name

String

Last name

first_name

String

First name

middle_name

String

Middle name

registration_number

String

Registration number

registration_date

String

Registration date

valid_until

String

Valid until

date_of_birth

String

Date of birth

data_of_issue

String

Date of issue

profession

String

Professional field

Philippine Postal ID

Field

Type

Description

last_name

String

Last name

first_name

String

First name

middle_name

String

Middle name

sex

String

Sex

address

String

Address

date_of_birth

String

Date of birth

nationality

String

Nationality

issuing_post_office

String

Issuing authority

valid_until

String

Valid until

prn

String

Postal code

Philippine Taxpayer Identification Number (TIN) Card

Field

Type

Description

last_name

String

Last name

first_name

String

First name

middle_name

String

Middle name

sex

String

Sex

tin_number

String

Taxpayer Identification Number (TIN)

address

String

Address

date_of_birth

String

Date of birth

data_of_issue

String

Date of issue

Philippine health insurance card

Parameter

Type

Description

id_number

String

ID number

last_name

String

Last name

first_name

String

First name

middle_name

String

Middle name

sex

String

Sex

date_of_birth

String

Date of birth

address

String

Address

Mexico

Mexican National Electoral Card

Field

Type

Description

full_name

String

Full name

gender

String

Sex

address

String

Address information

voter_number

String

Voter number

curp

String

CURP (Unique Population Registry Code)

time_of_registration

String

Year of registration

date_of_birth

String

Date of birth

constituency_number

String

Constituency number (optional)

validity_period

String

Validity period

South Korea

South Korean Resident Registration Card

Parameter

Type

Description

name

String

Name

id_number

String

ID card number

address

String

Address

date_of_issue

String

Date of issue

origin_of_issue

String

Issuing authority

South Korean Driver's License

Parameter

Type

Description

licence_number

String

License number

name

String

Name

id_number

String

Resident registration number

address

String

Address

date_of_expiry

String

Validity period

encrypted_serial_number

String

Encrypted serial number

date_of_issue

String

Date of issue

origin_of_issue

String

Issuing authority

South Korean Passport

Parameter

Type

Description

type

String

Passport type

issuing_country

String

Issuing country

passport_number

String

Passport number

surname

String

Surname (in English)

given_names

String

Title / Given name (in English)

nationality

String

Country code

date_of_birth

String

Date of birth

personal_number

String

National ID number

sex

String

Sex

date_of_issue

String

Date of issue

authority

String

Issuing authority

date_of_expiry

String

Date of expiry

name_ko

String

Name (in Korean)

mrz

String

MRZ code

Nigeria

Nigeria Digital NIN Slip

Field

Type

Description

id_number

String

The National Identification Number (NIN).

surname

String

The surname.

date_of_birth

String

The date of birth.

sex

String

The sex.

date_of_issue

String

The date the slip was issued.

nationality

String

The nationality.

given_names

String

The given name(s).

Bangladesh

Bangladesh ID card

Field

Type

Description

name_bn

String

Name in Bengali

name

String

Name in English

name_of_father

String

Father's name

name_of_m*****

String

M*****'s name

date_of_birth

String

Date of birth

id_number

String

ID number

Brazil

New Brazilian national ID card (CIN)

Front

Field

Type

Description

name

String

n***

social_name

String

social name

personal_number

String

document number

sex

String

sex

date_of_birth

String

date of birth

nationality

String

nationality

place_of_birth

String

place of birth

expiry_date

String

expiry date

Back or counterpart

Field

Type

Description

filiation

String

filiation

issuing_authority

String

issuing authority

place_of_issue

String

place of issue

date_of_issue

String

date of issue

qr_code_id

String

QR code ID

auxiliary_id

String

auxiliary ID

Old Brazilian national ID card (RG)

Front

Field

Type

Description

issuing_state

String

issuing state

issuing_auth_superior

String

superior issuing authority

issuing_auth_institute

String

issuing institute

version_code

String

version code

id_code

String

identification code

Back or counterpart

Field

Type

Description

rg_number

String

RG number

date_of_issue

String

date of issue

name

String

n***

filiation

String

filiation

place_of_birth

String

place of birth

date_of_birth

String

date of birth

original_doc_info

String

original document information

cpf_number

String

CPF number

Brazilian national driver's license

Front

Field

Type

Description

n***

String

n***

identity_and_issuing

String

identity document and issuance information

cpf_number

String

CPF number

date_of_birth

String

date of birth

place_of_birth

String

place of birth

nationality

String

nationality

registration_number

String

registration number

validity_date

String

expiry date

first_issue_date

String

first issue date

driver_category

String

driver category

Back or counterpart

Field

Type

Description

counterpart_number

String

CNH counterpart number

local

String

place of issue

date_of_issue

String

date of issue

Brazilian digital driver's license

Field

Type

Description

name

String

n***

identity_and_issuing

String

identity document and issuance information

cpf_number

String

CPF number

date_of_birth

String

date of birth

place_of_birth

String

place of birth

nationality

String

nationality

registration_number

String

registration number

validity_date

String

expiry date

first_issue_date

String

first issue date

driver_category

String

driver category

counterpart_number

String

CNH counterpart number

local

String

place of issue

date_of_issue

String

date of issue