Search
This topic lists the OCR output fields for each supported identity document type. All fields are returned as String values.
Global e-Passport
GLB03002
Extracts data from the Machine Readable Zone (MRZ).
| Field | Description |
|---|
| surname | Surname (Latin script, based on MRZ recognition) |
| given_names | Given names (Latin script, based on MRZ recognition) |
| sex | Sex (F or M) |
| date_of_birth | Date of birth (yyyy-mm-dd format) |
| passport_number | Passport number |
| nationality | Nationality (3-digit country code) |
| date_of_expiry | Date of expiry (yyyy-mm-dd format) |
| country_code | Country code of the passport issuing authority (3-digit country code) |
GLB03001
Extracts data from the visual zone of the passport.
| Field | Description |
|---|
| name | Name (English) |
| passport_number | Passport number |
| nationality | Nationality |
| date_of_birth | Date of birth |
| place_of_birth | Place of birth |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| place_of_issue | Place of issue |
| sex | Sex |
| type | Type |
China
Mainland China resident identity card
| Field | Description |
|---|
| name | Name |
| id_number | ID number |
| date_of_birth | Date of birth |
| sex | Sex |
| address | Address |
| ethnicity | Ethnicity |
| origin_of_issue | Issuing authority |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
Chinese passport
| Field | Description |
|---|
| name | Name (English) |
| name_cn | Name (Chinese) |
| passport_number | Passport number |
| nationality | Nationality |
| date_of_birth | Date of birth |
| place_of_birth | Place of birth |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| place_of_issue | Place of issue |
| sex | Sex |
| type | Type |
Chinese driver's license
| Field | Description |
|---|
| name | Name |
| id_number | ID number |
| nationality | Nationality |
| sex | Sex |
| address | Address |
| date_of_birth | Date of birth |
| date_of_first_issue | Date of first issue |
| class | Allowed vehicle class |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
Mainland Travel Permits for Hong Kong and Macao Residents
| Field | Description |
|---|
| name | Name (English) |
| name_cn | Name (Chinese) |
| id_number | ID number |
| date_of_birth | Date of birth |
| sex | Sex |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| origin_of_issue | Issuing authority |
Mainland Travel Permit for Taiwan Residents
| Field | Description |
|---|
| name | Name (English) |
| name_cn | Name (Chinese) |
| id_number | ID number |
| date_of_birth | Date of birth |
| sex | Sex |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| place_of_issue | Place of issue |
| origin_of_issue | Issuing authority |
Exit-Entry Permit for Travelling to and from Hong Kong and Macao
| Field | Description |
|---|
| name | Name (English) |
| name_cn | Name (Chinese) |
| id_number | ID number |
| date_of_birth | Date of birth |
| sex | Sex |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| place_of_issue | Place of issue |
| origin_of_issue | Issuing authority |
Exit-Entry Permit for Travelling to and from Taiwan
| Field | Description |
|---|
| name | Name (English) |
| name_cn | Name (Chinese) |
| id_number | ID number |
| date_of_birth | Date of birth |
| sex | Sex |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| place_of_issue | Place of issue |
| origin_of_issue | Issuing authority |
Permanent residence card
| Field | Description |
|---|
| name | Name (English) |
| name_cn | Name (Chinese) |
| id_number | ID number |
| date_of_birth | Date of birth |
| sex | Sex |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| nationality | Nationality |
Hong Kong (China)
Hong Kong identity card (2003 version)
| Field | Description |
|---|
| name | Name (English) |
| name_cn | Name (Chinese) |
| id_number | ID number |
| name_code | Chinese Telecode |
| date_of_birth | Date of birth |
| sex | Sex |
| current_issue_date | Date of registration |
| first_issue_date | Month and year of first registration |
| is_permanent | Whether the card is for a permanent resident. Valid values: Y (Yes), N (No). |
| symbols | Symbol mark. Example: ***AZ. |
Hong Kong identity card (2018 version)
| Field | Description |
|---|
| name | Name (English) |
| name_cn | Name (Chinese) |
| id_number | ID number |
| name_code | Chinese commercial code for name |
| date_of_birth | Date of birth |
| sex | Sex |
| current_issue_date | Date of registration |
| first_issue_date | Month and year of first registration |
| is_permanent | Whether the card is for a permanent resident. Valid values: Y (Yes), N (No). |
| symbols | Symbol mark. Example: ***AZ. |
Hong Kong driver's license
| Field | Description |
|---|
| name_cn | Name (Chinese) |
| name | Name (English) |
| license_class | Allowed vehicle type |
| date_of_expiry | Date of expiry |
| id_number | ID number |
Hong Kong taxi driver identity plate
| Field | Description |
|---|
| name_cn | Name (Chinese) |
| name | Name (English) |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| id_number | ID number |
Macao (China)
Macao identity card (2023 version)
| Field | Description |
|---|
| surname | Surname (English) |
| surname_cn | Surname (Chinese) |
| givenname | Given name (English) |
| givenname_cn | Given name (Chinese) |
| id_number | ID number |
| date_of_birth | Date of birth |
| sex | Sex |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
Macao identity card (2013 version)
| Field | Description |
|---|
| surname | Surname (English) |
| surname_cn | Surname (Chinese) |
| givenname | Given name (English) |
| givenname_cn | Given name (Chinese) |
| id_number | ID number |
| date_of_birth | Date of birth |
| height | Height |
| sex | Sex |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| first_issue_date | Date of first issue |
Macao identity card (2002 version)
| Field | Description |
|---|
| name | Name (English) |
| name_cn | Name (Chinese) |
| id_number | ID number |
| date_of_birth | Date of birth |
| sex | Sex |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
Taiwan (China)
Taiwan identity card
Front
| Field | Description |
|---|
| id_number | ID number |
| name | Name |
| date_of_birth | Date of birth |
| sex | Sex |
| date_of_issue | Date of issue |
Back
| Field | Description |
|---|
| father_name | Father's name |
| mother_name | Mother's name |
| spouse_name | Spouse's name |
| military_service_type | Military service type |
| place_of_birth | Place of birth |
| address | Residential address |
| code | Blank certificate serial control number |
Vietnam
Vietnamese identity card (2021 chip version)
| Field | Description |
|---|
| full_name | Full name |
| id_number | ID number |
| date_of_birth | Date of birth |
| sex | Sex |
| nationality | Nationality |
| place_of_origin | Place of origin |
| place_of_residence | Place of residence |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| personal_identification | Personal identification |
Vietnamese e-Passport
| Field | Description |
|---|
| full_name | Name |
| passport_number | Passport number |
| nationality | Nationality |
| date_of_birth | Date of birth |
| sex | Sex |
| id_card_number | ID card number |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| place_of_issue | Place of issue |
| type | Type |
Malaysia
Malaysian identity card (MyKad)
Front
| Field | Description |
|---|
| id_number | ID number |
| name | Name |
| address | Address |
| nationality | Nationality |
| religion | Religion |
| gender | Sex |
Back
| Field | Description |
|---|
| id_number_back | ID number |
| sn | Serial number |
Malaysian driver's license
| Field | Description |
|---|
| name | Name |
| nationality | Nationality |
| id_number | ID number |
| license_class | License class |
| validity_period | Validity period |
| address | Address |
Indonesia
Indonesian identity card
| Field | Description |
|---|
| id_number | National identity number |
| name | Name |
| place_of_birth | Place of birth |
| date_of_birth | Date of birth |
| gender | Sex |
| address | Address |
| rt_rw | RT/RW code |
| village | Village/Community name |
| sub_district | Sub-district |
| religion | Religion |
| marital_status | Marital status |
| occupation | Occupation |
| nationality | Nationality |
| valid_until | Valid until |
Singapore
Singapore National Registration Identity Card (NRIC)
Page 01
| Field | Description |
|---|
| identity_card_number | ID number |
| name | Name |
| race | Race |
| date_of_birth | Date of birth |
| sex | Sex |
| country_of_birth | Country or region of birth |
Page 02
| Field | Description |
|---|
| nric_number | National Registration Identity Card number |
| date_of_issue | Date of issue |
| address | Address |
| nationality | Nationality |
Singapore driver's license
| Field | Description |
|---|
| licence_number | ID number |
| name | Name |
| date_of_birth | Date of birth |
| issue_date | Date of issue |
| valid_till | Valid till |
Singapore passport
| Field | Description |
|---|
| type | Type |
| country_code | Country code |
| passport_number | Passport number |
| name | Name |
| sex | Sex |
| date_of_birth | Date of birth |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| nationality | Nationality |
| place_of_birth | Place of birth |
| authority | Issuing authority |
| national_id_number | National ID number |
Thailand
Thai identity card
| Field | Description |
|---|
| id_number | ID number |
| surname | Surname (English) |
| given_names | Given names (English) |
| name_th | Name (Thai) |
| date_of_birth | Date of birth (Gregorian calendar) |
| date_of_birth_th | Date of birth (Thai calendar) |
| religion | Religion |
| address | Address |
| date_of_issue | Date of issue (Gregorian calendar) |
| date_of_issue_th | Date of issue (Thai calendar) |
| date_of_expiry | Date of expiry (Gregorian calendar) |
| date_of_expiry_th | Date of expiry (Thai calendar) |
| qr_number | Serial number |
Thai private vehicle driver's license
| Field | Description |
|---|
| licence_number | License number |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| name | Name |
| date_of_birth | Date of birth |
| id_number | Citizen ID number |
| place_of_issue | Place of issue |
Thai passport
| Field | Description |
|---|
| type | Type |
| country_code | Country code |
| passport_number | Passport number |
| surname | Surname (English) |
| given_names | Title / Given names (English) |
| name_th | Name (Thai) |
| sex | Sex |
| date_of_birth | Date of birth |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| nationality | Nationality |
| place_of_birth | Place of birth |
| authority | Issuing authority |
| national_id_number | National ID number |
Philippines
Philippine identity card
| Field | Description |
|---|
| id_number | National ID |
| last_name | Last name |
| middle_name | Middle name |
| given_names | Given names |
| date_of_birth | Date of birth |
| address | Address |
Philippine UMID card
| Field | Description |
|---|
| crn | CRN code |
| surname | Last name |
| given_name | Given name |
| middle_name | Middle name |
| sex | Sex |
| date_of_birth | Birthday |
| address | Address |
Philippine driver's license
| Field | Description |
|---|
| last_name | Last name |
| first_name | First name |
| middle_name | Middle name |
| nationality | Nationality |
| sex | Sex |
| date_of_birth | Date of birth |
| address | Address |
| license_number | License number |
| expiration_date | Date of expiry |
| agency_code | Issuing agency code |
| restrictions | Driving restrictions. Note: These are the DL Codes in the new version of the certificate. |
| conditions | Additional driving conditions |
Philippine passport
| Field | Description |
|---|
| surname | Last name |
| given_names | Given names |
| middle_name | Middle name |
| date_of_birth | Date of birth |
| nationality | Nationality |
| sex | Sex |
| place_of_birth | Place of birth |
| date_of_issue | Date of issue |
| date_of_expiry | Date of expiry |
| passport_number | Passport number |
| issuing_authority | Issuing authority |
| country_code | Country code |
| type | Type |
Philippine Social Security System (SSS) certificate
| Field | Description |
|---|
| name | Name |
| date_of_birth | Date of birth |
| id_number | SSS certificate number |
Philippine voter's card
| Field | Description |
|---|
| id_number | Voter's ID number |
| name | Name |
| date_of_birth | Date of birth |
| marital_status | Marital status |
| nationality | Nationality |
| address | Address |
| precinct_number | Precinct number |
Philippine professional identification card
| Field | Description |
|---|
| last_name | Last name |
| first_name | First name |
| middle_name | Middle name |
| registration_number | Registration number |
| registration_date | Registration date |
| valid_until | Valid until |
| date_of_birth | Date of birth |
| data_of_issue | Date of issue |
| profession | Professional realm |
Philippine postal ID
| Field | Description |
|---|
| name | Name |
| address | Address |
| date_of_birth | Date of birth |
| nationality | Nationality |
| issuing_post_office | Issuing post office |
| valid_until | Valid until |
| prn | Postal Reference Number (PRN) |
Philippine Taxpayer Identification Number (TIN) card
| Field | Description |
|---|
| name | Name |
| tin_number | Taxpayer Identification Number (TIN) |
| address | Address |
| date_of_birth | Date of birth |
| data_of_issue | Date of issue |
Mexico
Mexican national electoral card
| Field | Description |
|---|
| full_name | Full name |
| gender | Sex |
| address | Address information |
| voter_number | Voter number |
| curp | CURP (Unique Population Registry Code) |
| time_of_registration | Year of registration |
| date_of_birth | Date of birth |
| constituency_number | Constituency number (optional) |
| validity_period | Validity period |
South Korea
South Korean identity card
| Field | Description |
|---|
| name | Name |
| id_number | ID number |
| address | Address |
| date_of_issue | Date of issue |
| origin_of_issue | Issuing authority |
South Korean driver's license
| Field | Description |
|---|
| licence_number | License number |
| name | Name |
| id_number | Resident registration number |
| address | Address |
| date_of_expiry | Validity period |
| encrypted_serial_number | Encrypted serial number |
| date_of_issue | Date of issue |
| origin_of_issue | Issuing authority |
South Korean passport
| Field | Description |
|---|
| type | Passport type |
| issuing_country | Issuing country |
| passport_number | Passport number |
| surname | Surname (English) |
| given_names | Title / Given names (English) |
| nationality | Country code |
| date_of_birth | Date of birth |
| personal_number | National ID number |
| sex | Sex |
| date_of_issue | Date of issue |
| authority | Issuing authority |
| date_of_expiry | Date of expiry |
| name_ko | Name (Korean) |
| mrz | MRZ code |
Nigeria
Nigerian digital NIN slip
| Field | Description |
|---|
| id_number | ID number |
| surname | Last name |
| date_of_birth | Date of birth |
| sex | Sex |
| date_of_issue | Date of issue |
| nationality | Nationality |
| given_names | Given names |
Bangladesh
Bangladesh identity card
| Field | Description |
|---|
| name_bn | Name (Bengali) |
| name | Name |
| name_of_father | Father's name |
| name_of_mother | Mother's name |
| date_of_birth | Date of birth |
| id_number | ID number |
Thank you! We've received your feedback.