Access Documentation
OCR
AnyDoc
AnyDoc

# 1 Description

This product provides a one-stop intelligent image and document recognition service. It extracts structured information and parses content from identity documents, proof-of-credit documents, receipts, trade and logistics documents, customs declarations, other images, and PDF files. It supports multi-page PDF recognition, image content extraction, layout parsing, and structured output for data entry, information extraction, identity-document processing, and document archiving.

# 2 Usage

# 2.1 Invoke URL

Singapore endpoint: https://api-sgp.yljz.com/finauth/v1/anydoc

# 2.2 Invoke Method

Request method: POST

Request format: form-data

Description: Send the sign generated from the API key and API secret together with the file to be recognized. The API returns the recognition result.

# 3 Request Parameters

Optional/Required Field Type Description
Required sign String For the signature generation rules, see Authentication.
Required sign_version String Signature algorithm version. Pass: hmac_sha1.
Required file File Maximum size: 9 MB. Supports images and PDF files. Supported document types depend on the selected capability. Supported image formats: .jpg, .jpeg, .png, .gif, and .webp.
Optional inputs JSON String Depends on the parsed document type/app_id; pass when required. Format: 'inputs':json.dumps({"key":"xxx"}). The value for inputs must be a string.
Required app_id String Different recognition capabilities correspond to different app_ids. See the Data Dictionary below.

# 4 Response Parameters

The response data contains the following fields:

Field Type Description
request_id String Unique identifier for the request.
error String Error information. Returned only when the request fails; otherwise this field is absent. See Error Codes.
time_used Int Total request processing time, in milliseconds.
result Object Recognition result. Its structure varies by app_id or document type.
+ pages Int Number of pages consumed. Billing is based on pages × unit price; a non-empty value greater than 0 is billable.
+ outputs Object Recognition outputs.
++ text Object Structured content returned by the selected app_id.

# 5 Data Dictionary

# 5.1 Smart Document Recognition Capabilities (app_id)

Category app_id Capability
Intelligent Review builtin-ySmthSJqzQ3bN0Z9Y0 Image quality analysis
Intelligent Review builtin-lcDhAaeQMJcOandoBP Image tampering detection
Proof of Credit builtin-0nZ0bZ09s9HqfjckoF Name and address extraction from utility bills
Proof of Credit builtin-8qUxGuXkYTm4U3lLxb Detailed gas bill recognition
Proof of Credit builtin-u6OXNzMM68cMyqfCH8 Detailed electricity bill recognition
Proof of Credit builtin-yQU9ZpfsRuFeNUy4aw M-PESA statement recognition
Proof of Credit builtin-Dr2fttpaJzyOg2oGYZ Bank statement recognition
Proof of Credit builtin-ftEObTXXN9m03VXmwZ Non-standard transaction/statement recognition
Proof of Credit builtin-siyppaCoUSYW1VImX9 Business registration certificate recognition
Receipt builtin-AsGltresBLOGouN1Pr Shopping receipt recognition
Receipt builtin-FgYvNQQFGQ3o7qBVOe Invoice recognition
Trade Document builtin-SZ7arhpW9ggiYx8Mtv Multilingual trade document recognition
Logistics Document builtin-9h46zxVymyKPBaxz0J Multilingual logistics document recognition
Customs Declaration builtin-CCEBCCjsTt54IgtF1x Multilingual customs declaration recognition
Identity Document builtin-GehZrc2wddibKXSAWb General passport recognition and passport validation
Identity Document builtin-reKEg1UVsgE5yGtNO7 Date-of-birth and age extraction from identity documents
Identity Document builtin-nGd1eMoYS2mBKgjYQ6 Taiwan property-right certificate recognition
Identity Document builtin-ZXELuKZ7SXPGWmixZE Taiwan real-estate title certificate recognition
Identity Document builtin-SrFi52OPlDGKSQmjvZ Taiwan ID card recognition
Identity Document builtin-UqDwMvWDRD05zCm0BG Taiwan Resident Residence Permit recognition
Identity Document builtin-a5M4RsfCIdCSB7YPHS Recognition of five Hong Kong document types
Identity Document builtin-laCUS0pQTRGOrEas0l Recognition of 13 Philippine document types
Identity Document builtin-5Rfhqo1A3MGROHUNJJ Recognition of five Pakistan identity-document types
Identity Document builtin-6UOFfK0g1gMvgCHx19 Timor-Leste identity document, passport, driver's license, and voter card recognition
Identity Document builtin-cimngo8Kfy06XJ6Wk8 Nigeria identity document, passport, driver's license, and voter card recognition
Identity Document builtin-VaJK7W9EV8wIOcV2pe Brazil identity document, passport, driver's license, and tax card recognition
Identity Document builtin-REIX6jKymco4s2Ckjv Ghana identity document, passport, driver's license, and voter card recognition
Identity Document builtin-V5WgaybRCqFu2PfK7P Cameroon identity document, driver's license, and passport recognition
Identity Document builtin-6PMasLgUL4HcdbrdAv Côte d'Ivoire identity document, driver's license, and passport recognition
Identity Document builtin-86og0wZ7HLhSXlYG7p Vietnam ID card recognition
Identity Document builtin-i88oDw1H2dbkpAXzJ3 Thailand ID card recognition
Identity Document builtin-IPC3Peq8NRXRxr4ZbE Cambodia ID card recognition
Identity Document builtin-eK6p0vOB1AZmpGhLi9 Bangladesh ID card recognition
Identity Document builtin-5DgJZFnVtvqKdKy2rW Malaysia ID card recognition
Identity Document builtin-dQbsIBC449C50mxoPj Recognition of six common Malaysia identity-document types
Identity Document builtin-zZPeRQYVJ6JUQR6Ce4 Brunei ID card recognition
Identity Document builtin-2t7zclgvWLt4OzmuRh India ID card recognition
Identity Document builtin-KMw0wDDdzSTs62jD6v South Africa ID card recognition
Identity Document builtin-inpf3JKw4iBGRg6o1K Ethiopia ID card recognition
Identity Document builtin-Kc19djI2nepOIrFrjy Kenya identity document, driver's license, and passport recognition
Identity Document builtin-RpAJLFfches2ML9fH9 Argentina ID card recognition
Identity Document builtin-rZugtolMwF7J6nkux6 Colombia ID card recognition
Identity Document builtin-TrAXBLVnyyKJQdar1e Peru ID card recognition
Identity Document builtin-EJdRAGeuyPLAG6qv8I Ecuador ID card recognition

# 5.2 Recognition Results by Capability (text)

# Image Quality Detection builtin-ySmthSJqzQ3bN0Z9Y0

Field Name Type Description Example
quality Integer Image quality: 1=key visual info clear, 0=key visual info unclear/unrecognizable 1
issues String Quality issues enum: 1=blurry/low-res/out-of-focus, 2=glare, 3=too dark, 4=too bright, 5=other quality issues ["1","3"]

# Image Tampering Detection builtin-lcDhAaeQMJcOandoBP

Field Name Type Description Example
is_tampered Boolean true=tampered, false=no tampering false
tampered_positions Array Tampered positions: each element is a rect region with 8 corner coords [TL, TR, BR, BL]; multiple regions possible [366,404,409,404,409,431,366,431]

# General Utility Bill builtin-0nZ0bZ09s9HqfjckoF

Field Name Type Description Example
names array<string> Names; returns [] when none are recognized ["SANDRA REGINA SALES"]
addrs array<string> Addresses; returns [] when none are recognized ["RUA RAY PALMEIRAS 88.57480-000"]
tamperResults array<object> Tampering results by page. Images return one page; PDFs return one item per page [{"page":1,"isTampered":false,"tamperedPositions":[]}]
tamperResults.page[level=2] number Page number, starting from 1 1
tamperResults.isTampered[level=2] boolean Whether tampering is detected on the page false
tamperResults.tamperedPositions[level=2] array<string> Tampered rectangular regions as four corner coordinates; returns [] when none are detected ["[378, 750, 529, 750, 529, 830, 378, 830]"]

# Detailed Gas Bill builtin-8qUxGuXkYTm4U3lLxb

Field Name Type Description Example
BillingCompany String Gas company Petrotrade
CustomerName String Customer full name Jack
Address String Street 29.88 Road
CurrentReading Number Current meter reading 234
PreviousReading Number Previous meter reading 188
Consumption Number Gas consumption 46
NumberOFBills Number Number of bills 2
AmountDue Number Amount due 230
AmountInWords String Amount in words Two hundred and thirty
BillingPeriodFrom String Billing period from (YYYY-MM) 2025-01
BillingPeriodTo String Billing period to (YYYY-MM) 2025-02
BillId String Bill reference number 123456789012
IssueDate String Issue date (YYYY-MM-DD HH:MM:SS) 2025-02-03 11:22:33
CollectorName String Collector name Mary
City String Customer city Beijing
Branch String Branch/center Chaoyang
PaymentType String Payment type cash

# Detailed Electricity Bill builtin-u6OXNzMM68cMyqfCH8

Field Name Type Description Example
BillingCompany String Electricity company Horth Catto Electricity Distribution Co.
TaxNumber String Company tax number 156-176-210
BillID String Bill ID b9036650afbf4ft
PaymentCode String Payment code 01344519012500
IssueDate String Issue date (YYYY-MM-DD) 2025-04-13
City String Customer city Beijing
Area String Area/unit Chaoyang
CustomerName String Customer name Jack
Address String Customer address 24.56 Road
Description String Additional address details Floor 3
MeterNumber String Meter number 6154005
CurrentReading Number Current meter reading 254717
PreviousReading Number Previous meter reading 413
Consumption Number Consumption 254304
NumberOfBills Number Number of bills 1
AmountDue Number Amount due 580
TotalPaid Number Total paid 580
AmountInWords String Amount in words Five hundred and eighty

# M-PESA Statement builtin-yQU9ZpfsRuFeNUy4aw

Field Name Type Description Example
detailed_statement String Transaction details
detailed_statement.balance String Post-transaction balance 94.66
detailed_statement.completion_time String Completion time 2025-10-11 14:39:57
detailed_statement.details String Transaction details Customer Transfer of Funds Charge
detailed_statement.paid_in String Paid in (income) 2000.00
detailed_statement.receipt_no String Receipt number TJBFM75IEL
detailed_statement.transaction_status String Transaction status Completed
detailed_statement.withdrawn String Withdrawn (expense) -7.00
m_pesa_statement String M-PESA statement
m_pesa_statement.customer_name String Customer name Jack
m_pesa_statement.email_address String Email credit@flsshpesa.k0
m_pesa_statement.mobile_number String Mobile number 0727610015
m_pesa_statement.request_date String Statement request date 13 Oct 2025
m_pesa_statement.statement_period String Statement period 13 Sep 2025 - 13 Oct 2025
summary String Summary by transaction type
summary.paid_in String Total paid in 0.00
summary.paid_out String Total paid out 4,891.00
summary.transaction_type String Transaction type SEND MONEY:

# Bank Statement builtin-Dr2fttpaJzyOg2oGYZ

Field Name Type Description Example
title String Document title ##bank tracsaction
key_extraction Array Key info extraction
key_extraction.accountName String Account name Jack
key_extraction.accountNumber String Account number 1234567890123
key_extraction.currency String Currency CNY
key_extraction.regionCode String Currency code Local currency
key_extraction.dateRange String Date range 20230903-20240902
key_extraction.electronicSerialNumber String Electronic serial number 12345678901234
details Array Transaction details
details.User String Counterparty Mary
details.Date String Transaction date 20230906
details.Amount String Transaction amount
details.Transaction id String Transaction ID
details.Status String Transaction status
details.Notes String Transaction notes
summary Array Transaction summary
summary.Transaction time String Transaction time
summary.Income String Income
summary.Expense String Expense
summary.balance String Net
summary.QRIncome String QR income
sensitive String Sensitive risk items
top10 Array Top 10 transactions
top10.Counterparty String Counterparty
top10.Amount String Transaction amount
top10.recordCount String Record count
top10.Type String Transaction type
resources String Source file URL

# Non-standard Transaction Statement builtin-ftEObTXXN9m03VXmwZ

Returns an object containing statement header information and a transactions array. otherHeadings contains additional dynamic header fields.

Field Name Type Description Example
title string Bank-statement or account-page title; returns "" when unavailable easypaisa Account
accountHolder string Account holder name; returns "" when unavailable SAMI ULLAH
accountNo string Bank/account number; returns "" when unavailable 03430281764
cardNo string Bank card number; returns "" when unavailable 6222021234567890
institution string Bank, e-wallet, or financial institution; returns "" when unavailable easypaisa
currency string Currency name or ISO 4217 code; returns "" when unavailable PKR
iban string International Bank Account Number; returns "" when unavailable PK88TMFB0000000063778775
fromDate string Statement start date in YYYY-MM-DD format; returns "" when unavailable 2026-05-01
toDate string Statement end date in YYYY-MM-DD format; returns "" when unavailable 2026-05-31
otherHeadings object Additional header information as dynamic key-value pairs; returns {} when none is available {"Contact Number":"03430281764","Email":"samiullahb726@gmail.com"}
+dynamic key-value pair string Original header name and its corresponding value "Contact Number": "03430281764"
transactions array Transaction records; returns [] when none are recognized [{"time":"2026-05-24 18:31:00","amount":"-300.00","party":"MUHAMMAD ANAS TAQI","balance":"112520.83"}]
+time string Transaction time in YYYY-MM-DD, YYYY-MM-DD HH:MM:SS, or HH:MM:SS format; "" when unavailable 2026-05-24 18:31:00
+amount string Amount without currency, symbols, or thousands separators; income uses + and expense uses -; "" when unavailable -300.00
+party string Counterparty name; "" when unavailable MUHAMMAD ANAS TAQI
+balance string Post-transaction balance without currency symbols or thousands separators; "" when unavailable 112520.83

# Business Registration Certificate builtin-siyppaCoUSYW1VImX9

Field Name Type Description Example
registry Array Company registration
registry.companyName String Company name PRO ELECT SARL
registry.legalForm String Legal form SARL
registry.commercialRegNumber String Commercial registration number A123456789
registry.nationalId String National tax ID M05231912784120L
registry.registryOffice String Registration office CDI DOUALA 5
registry.registrationDate String Registration date 2018-02-01
registry.companyDuration String Company duration 2050-02-01
contracts String Contracts
partners String Partners
authorizedSigners String Authorized signers
capital String Capital
mainAddress Array Company address
mainAddress.street String Street Happy Road
mainAddress.city String City Beijing
mainAddress.governorate String Province/state Chaoyang
mainAddress.country String Country China
mainAddress.ownedByCompany String Property owned by company true
branches String Branches
activities Array Business activities
activities.importExportRestricted String Import/export restricted true
activities.issuedOffice String Issuing office CDI DOUALA 5
activities.issueDate String Issue/expiry date 2025-12-31
taxCardInfo Array Tax card info
taxCardInfo.country String Country China
taxCardInfo.governmentDepartment String Government department Ministère des Finances
taxCardInfo.taxAuthority String Tax authority Direction Générale des Impôts
taxCardInfo.companyName String Company name PRO ELECT SARL
taxCardInfo.legalRepresentative String Legal representative Jack
taxCardInfo.companyType String Company type Sole-proprietorship enterprise
taxCardInfo.industry String Industry
taxCardInfo.address String Registered/operating address
taxCardInfo.provinceOrRegion String Province/region
taxCardInfo.taxCardNumber String Tax card number A123456789
taxCardInfo.commercialRegistrationDate String Commercial registration date 2020-02-01
taxCardInfo.taxRegistrationDate String Tax registration date 2020-02-02
phoneNumbers String Phone numbers 12345678901
lostANdFoundContact String Lost & found contact 12345678901
cardUsageNote String Card usage note For XTransfer enterprise verification only
foundInstructions String Found item instructions

# Shopping Receipt builtin-AsGltresBLOGouN1Pr

Field Name Type Description Example
sn String Store name ATK Duty-Free Store
sid String Store ID Store 0001
rid String Receipt number 0001
dt String Date/time 2025-11-20 21: 00
cid String Operator ID 0001
cn String Operator name ZHANG SAN
it String Item list
it.code String Item code 1234567890
it.name String Item name サラサクリップ 20色セット
it.qty String Quantity 1
it.pri String Unit price 1,000
it.amt String Line amount 1,000
it.taxFlag String Tax reduction/exempt flag 消
tax String Tax info
tax.rate String Tax rate 0.08
tax.base String Taxable amount 6,800
tax.tax String Tax amount 546
rem String Remarks 注)※印は軽減Tax rate適用商品
tq String Total quantity 7
ta String Total amount 9,137
cur String Currency JPY

# Invoice builtin-FgYvNQQFGQ3o7qBVOe

Field Name Type Description Example
invoiceNumber String Invoice number 04
invoiceDate String Invoice date 2025-03-21
seller String Seller info
seller.name String Seller name JACK
seller.address String Seller address 210 Farm Hattingh
buyer String Buyer info
buyer.name String Buyer name BEN
buyer.address String Buyer address 22 Ferguson Road
lineitems Array Line items
lineitems.description String Description Foundation
lineitems.quantity Number Quantity 1
lineitems.unitPrice Number Unit price 100
lineitems.totalPrice Number Total price 1000
tax Number Tax amount 50
totalAmount Number Invoice total 3000

# Trade Document builtin-SZ7arhpW9ggiYx8Mtv

Language codes follow ISO 639-1, for example: en (English), zh (Chinese), fr (French), de (German), ja (Japanese), th (Thai), vi (Vietnamese), and ar (Arabic).

Field Name Type Description Example
type String Source type: screenshot, photo, or electronic photo
topic String Business category: trade, logistics, or other trade
subTopic String Document subtype. For trade: contract, proforma_invoice, commercial_invoice, purchase_order, or other. For logistics: ocean_bill, road_waybill, air_waybill, courier_label, or other commercial_invoice
langs Array Recognized languages as ISO 639-1 codes ["en","zh"]
mainLang String Primary document language as an ISO 639-1 code en
traDocNo String Trade document number INV202608001
totalAmt String Total document amount; numeric characters only 12500.00
traCur String Transaction currency as an ISO 4217 code USD
region Object Multilingual trade region/country information
region.{lang}[level=2] String Region name for the corresponding ISO 639-1 language code Philippines
buyerName Object Multilingual buyer name
buyerName.{lang}[level=2] String Buyer name in the corresponding language ABC Trading Ltd.
buyerType String Buyer entity type: individual or company company
buyerRegNo String Buyer business registration number or tax number BRN123456
buyerPhone String Buyer phone number +8613812345678
buyerEmail String Buyer email address buyer@example.com
buyerAddress Object Multilingual buyer address
buyerAddress.{lang}[level=2] String Buyer address in the corresponding language Manila Philippines
sellerName Object Multilingual seller name
sellerName.{lang}[level=2] String Seller name in the corresponding language Shanghai ABC Import Export Co., Ltd.
sellerType String Seller entity type: individual or company company
sellerRegNo String Seller business registration number or tax number TAX20260123
sellerPhone String Seller phone number +862112345678
sellerEmail String Seller email address seller@example.com
sellerAddress Object Multilingual seller address
sellerAddress.{lang}[level=2] String Seller address in the corresponding language Shanghai China
documentDate String Document date in YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format 2026-08-21
goodsList Array List of goods
goodsList[].product[level=2] Object Multilingual product name
goodsList[].product.{lang}[level=3] String Product name in the corresponding language Plastic Cup
goodsList[].quantity[level=2] String Quantity 1000
goodsList[].unit[level=2] String Unit PCS
goodsList[].unitPrice[level=2] String Unit price 2.50
goodsList[].subtotal[level=2] String Subtotal 2500.00

# Logistics Document builtin-9h46zxVymyKPBaxz0J

Extracts core transport information from logistics documents, including transport mode, delivery mode, logistics number, and carrier.

Field Name Type Description Example
tMode String Transport mode: sea, air, road, rail, courier, or other sea
dMode String Delivery mode as shown on the document Port-To-Port
logNo String Logistics or shipment number MEDURC329246
carrier Array Carrier or logistics company names ["Maersk A/S"]

# Customs Declaration builtin-CCEBCCjsTt54IgtF1x

Extracts core declaration information from customs declarations worldwide. All fields are always returned; unavailable values are returned as an empty string "". Currency uses ISO 4217 codes.

Field Name Type Description Example
customsNo String Customs number or customs reference number 25CN1234567890ABC
amount String Export declaration amount; numeric characters only, with decimal places preserved when present and without thousands separators or currency symbols 12500.00
currency String Currency of the export declaration amount, as an ISO 4217 code USD

# General Passport builtin-GehZrc2wddibKXSAWb

Field Name Type Description Example
countryCode String Country code CHN
passportNumber String Passport number E40898665
fullNameLocal String Full name (local) 张三
fullNameLatin String Full name (Latin) ZHANG SAN
surname String Surname ZHANG
givenName String Given name SAN
middleName String Middle name null
nationality String Nationality CHINESE
dateOfBirth String Date of birth, format:YYYY-MM-DD 2009-09-09
sex String Gender, F=female, M=male F
placeOfBirth String Place of birth 河北
placeOfIssue String Place of issue 河北
dateOfIssue String Issue date, format:YYYY-MM-DD 2015-01-06
dateOfExpiry String Expiry date, format:YYYY-MM-DD 2020-01-05
issuingAuthority String Issuing authority 公安部出入境管理局
isPP Boolean Whether passport, true=yes, false=no true

# Date of Birth and Age builtin-reKEg1UVsgE5yGtNO7

Field Name Type Description Example
dob string Date of birth converted to the Gregorian calendar in YYYY-MM-DD format; returns "" if unavailable 1976-06-18
adult boolean Whether the holder is at least 18 years old: true for an adult and false for a minor; returns "" when dob is empty true
age object Age in fully elapsed years and months; partial months are not rounded up; returns "" when dob is empty {"years":50,"months":1}
+years integer Fully elapsed years 50
+months integer Fully elapsed months after the last birthday, from 0 to 11 1

# Taiwan Property-right Certificate builtin-nGd1eMoYS2mBKgjYQ6

Field Name Type Description Example
certNo String Property certificate number 108北士字第000001号
owner String Owner name 张三
ownerId String Owner unified ID(similar to personal ID number or company registration number) 1234567890123
lot String Lot number 朝阳区0001
houseNo String House number 幸福路123号三楼
floor String Floor 三层

# Taiwan Real-estate Title Certificate builtin-ZXELuKZ7SXPGWmixZE

Field Name Type Description Example
name String Certificate holder name 张三
id String Holder Taiwan ID A123456789
bDateTw String Birth date (Taiwan format), format"Minguo year month day" 民國70年05月12日
bDate String Birth date (YYYY-MM-DD) 1981-05-12
certNo String Certificate number (xx)XX字第XXX號
issDateTw String Issue date (Taiwan format), format"Minguo year month day" 民國70年05月12日
issDate String Issue date (YYYY-MM-DD) 1981-05-12
issuer String Issuer name/place 高雄市政府地政局

# Taiwan ID Card builtin-SrFi52OPlDGKSQmjvZ

Field Name Type Description Example
name string Cardholder name 林小明
dateOfBirth string Cardholder date of birth, as on card original format 民國72年1月1日
gender string Gender 男
issueDate string Issue date as on card; includes region/reissue notes if present 民國107年10月15日(北市)换發
nationalID string Taiwan unified ID number A123456789

# Taiwan Resident Residence Permit builtin-UqDwMvWDRD05zCm0BG

Field Name Type Description Example
name string Cardholder name 张三
gender string Gender, male/female 男
dob string Cardholder date of birth, format:YYYY-MM-DD 2000-01-01
address string Cardholder residential address 北京市朝阳区xxx号
no string Taiwan residence permit number 12345678901234567
issAuthority string Document issuing authority 北京市朝阳区和平分局
issDate string Document issue date, format:YYYY-MM-DD 2019-01-01
expiryDate string Document expiry date, format:YYYY-MM-DD 2024-01-01
renew string Renewal count 01
permitNo string Mainland Travel Permit number 12345678

# Hong Kong Multi-document Recognition builtin-a5M4RsfCIdCSB7YPHS

Supported cardType values: HKID, DRIVER_LICENSE, VEHICLE_REGISTRATION, BUSINESS_REGISTRATION, MAINLAND_TRAVEL_PERMIT, and OTHER.

Document Type Field Type Side Description Example
All cardType string General Document type: HKID=Hong Kong ID card, DRIVER_LICENSE=Hong Kong driving licence, VEHICLE_REGISTRATION=Hong Kong vehicle registration document, BUSINESS_REGISTRATION=business/branch registration certificate, MAINLAND_TRAVEL_PERMIT=Mainland Travel Permit for Hong Kong and Macao Residents, OTHER=other or undetermined HKID
HKID permanent string Front Whether the card is a Hong Kong permanent identity card: true or false; returns "" when undetermined true
HKID cnName string Front Chinese name, preserving the original text and order 谷燕燕
HKID enName string Front English name, preserving case, punctuation, and order KU, Yin Yin
HKID telegraphCode string Front Chinese commercial/telegraph code, preserving digit groups 6666 4666 3666
HKID dob string Front Date of birth in YYYY-MM-DD format 1988-08-10
HKID gender string Front Gender: M or F F
HKID symbol string Front ID-card symbols, preserving asterisks and letters ***AZ
HKID issDate string Front Current registration or issue date in YYYY-MM-DD format 2005-08-05
HKID firstIssDate string Front Initial registration month in YYYY-MM format 1989-04
HKID no string Front Hong Kong ID number, including the check digit in parentheses K808080(8)
DRIVER_LICENSE no string Front Driving licence number, preserving letters, digits, parentheses, and leading zeros Y123456(7)
DRIVER_LICENSE cnName string Front Cardholder's Chinese name 梁嘉俊
DRIVER_LICENSE enName string Front Cardholder's English name, preserving order and punctuation LEUNG, KA CHUN
DRIVER_LICENSE fullClasses string Front Full-licence class codes separated by spaces 1 2 18 19 20 21
DRIVER_LICENSE fullExpiryDate string Front Expiry date for the full-licence classes in YYYY-MM-DD format 2033-01-12
DRIVER_LICENSE learnerClasses string Front Learner-licence class codes separated by spaces 4 5 9 10
DRIVER_LICENSE learnerExpiryDate string Front Expiry date for the learner-licence classes in YYYY-MM-DD format 2026-03-20
DRIVER_LICENSE probationaryClasses string Front Probationary-licence class codes separated by spaces 3 22
DRIVER_LICENSE probationaryExpiryDate string Front Expiry date for the probationary-licence classes in YYYY-MM-DD format 2026-03-16
DRIVER_LICENSE restrictions string Front Restriction codes separated by spaces 9
DRIVER_LICENSE refNo string Front Driving licence reference number A33-0034-120122
VEHICLE_REGISTRATION docNo string Front Document number T 335099
VEHICLE_REGISTRATION regMark string Front Vehicle registration mark/plate number SL8182
VEHICLE_REGISTRATION regMarkCheckDigit string Front Registration-mark check character 6
VEHICLE_REGISTRATION class string Front Vehicle class PRIVATE CAR
VEHICLE_REGISTRATION make string Front Vehicle make MERCEDES BENZ
VEHICLE_REGISTRATION model string Front Vehicle model SLK250 BLUEEFFICIENCY (R172)
VEHICLE_REGISTRATION chassisNo string Front Chassis or vehicle identification number WDD1724472F089968
VEHICLE_REGISTRATION engineNo string Front Engine number 27186130748174
VEHICLE_REGISTRATION fuelType string Front Fuel type as shown on the document PETROL
VEHICLE_REGISTRATION cylinderCap string Front Cylinder capacity, normally the numeric portion 1796
VEHICLE_REGISTRATION ratedPower string Front Rated power 110
VEHICLE_REGISTRATION colour string Front Vehicle colour BLACK
VEHICLE_REGISTRATION bodyType string Front Body type CONVERTIBLE
VEHICLE_REGISTRATION typeApprovalNo string Front Type approval number B0160000
VEHICLE_REGISTRATION manufactureYear string Front Four-digit year of manufacture 2014
VEHICLE_REGISTRATION origin string Front Country or region of origin as shown GERMANY
VEHICLE_REGISTRATION firstRegDate string Front First registration date in YYYY-MM-DD format 2014-04-23
VEHICLE_REGISTRATION firstRegStatus string Front Vehicle condition at first registration BRAND NEW VEH.
VEHICLE_REGISTRATION firstRegTaxableValue string Front Taxable value at first registration, including the currency symbol $353250.00
VEHICLE_REGISTRATION firstRegTaxPaid string Front First registration tax paid, including the currency symbol $225750.00
VEHICLE_REGISTRATION taxExemptAccessoryValue string Front Value of tax-exempt accessories, including the currency symbol $0.00
VEHICLE_REGISTRATION unexpiredTaxExemptWarrantyValue string Front Value of the unexpired portion of tax-exempt warranty/maintenance, including the currency symbol $0.00
VEHICLE_REGISTRATION prevOwnerCount string Front Number of previous owners 0
VEHICLE_REGISTRATION ownerRegDate string Front Date registered to the current owner in YYYY-MM-DD format 2014-04-23
VEHICLE_REGISTRATION licenceConditions string Front Licence conditions as shown
VEHICLE_REGISTRATION remarks string Front Remarks as shown
VEHICLE_REGISTRATION ownerIdNo string Front Registered owner's identity-document number K808080(8)
VEHICLE_REGISTRATION ownerName string Front Registered owner's name LEE Tin-chi
VEHICLE_REGISTRATION issDate string Front Document issue date in YYYY-MM-DD format 2025-03-24
VEHICLE_REGISTRATION transactionNo string Front Transaction record number C42-0078
BUSINESS_REGISTRATION certNo string Front Business/branch registration certificate number, preserving letters, digits, hyphens, and leading zeros 25314389-000-08-25-0
BUSINESS_REGISTRATION cnName string Front Chinese name of the business or corporation 溢怡即食海参公司
BUSINESS_REGISTRATION enName string Front English name of the business or corporation; multiple lines are joined with one space CANERLEY SEA CUCUMBER INSTANT FOOD COMPANY
BUSINESS_REGISTRATION cnBranchName string Front Chinese business or branch name 九龙分行
BUSINESS_REGISTRATION enBranchName string Front English business or branch name KOWLOON BRANCH
BUSINESS_REGISTRATION address string Front Registered business address; multiple lines are joined in order with one space 15F JUNIPER MANSION TAIT KOO SHING HK
BUSINESS_REGISTRATION bizNature string Front Nature of business as shown 售卖即食海参饮品和食品
BUSINESS_REGISTRATION status string Front Legal status as shown INDIVIDUAL
BUSINESS_REGISTRATION commencementDate string Front Commencement date in YYYY-MM-DD format 2025-08-02
BUSINESS_REGISTRATION expiryDate string Front Expiry date in YYYY-MM-DD format 2026-08-01
MAINLAND_TRAVEL_PERMIT no string Front Permit number, excluding the renewal count H12345678
MAINLAND_TRAVEL_PERMIT renewalCount string Front Two-digit renewal count, preserving leading zeros 04
MAINLAND_TRAVEL_PERMIT cnName string Front Chinese name on the permit 刘芷兰
MAINLAND_TRAVEL_PERMIT enName string Front English name, preserving case, punctuation, and order LAU, TSZ LAN
MAINLAND_TRAVEL_PERMIT dob string Front Date of birth in YYYY-MM-DD format 1981-08-03
MAINLAND_TRAVEL_PERMIT gender string Front Gender: M or F F
MAINLAND_TRAVEL_PERMIT nationality string Front Nationality on non-Chinese versions, as shown CANADA
MAINLAND_TRAVEL_PERMIT issDate string Front Start date of validity in YYYY-MM-DD format 2012-12-12
MAINLAND_TRAVEL_PERMIT expiryDate string Front End date of validity in YYYY-MM-DD format 2022-12-11
MAINLAND_TRAVEL_PERMIT issAuthority string Front Issuing authority as shown 公安部出入境管理局
MAINLAND_TRAVEL_PERMIT localIdName string Back Name on the Hong Kong or Macao identity document 劉芷蘭
MAINLAND_TRAVEL_PERMIT localIdNo string Back Hong Kong or Macao identity-document number K808080(8)
MAINLAND_TRAVEL_PERMIT permitHistory string Back Previous permit or permit-history information, returned in full as shown H87654321 02
MAINLAND_TRAVEL_PERMIT stayLimit string Back Stay-limit information on non-Chinese versions, as shown 每次停留不超过90日
MAINLAND_TRAVEL_PERMIT line1 string Back MRZ line 1, preserving all letters, digits, and < characters CSCNTH123456789<<<<<<<<
MAINLAND_TRAVEL_PERMIT line2 string Back MRZ line 2, preserving all letters, digits, and < characters 8108035F2212119CHN<<<<<<
MAINLAND_TRAVEL_PERMIT line3 string Back MRZ line 3, preserving all letters, digits, and < characters LAU<<TSZ<LAN<<<<<<<<<<<<

# Philippines Multi-document Recognition builtin-laCUS0pQTRGOrEas0l

Card Type Field Type Description Example
All cardType string Card Type, UMID, SSS_ID, PASSPORT, DRIVER_LICENSE, NATIONAL_ID, POSTAL_ID, PRC_ID UMID
UMID crn string Card number / CRN 0020-1215160-9
UMID surname string Surname SANTOS
UMID givenName string Given name JOSE
UMID middleName string Middle name CRUZ
UMID fullName string Full name (given + middle + surname) JOSE CRUZ SANTOS
UMID gender string Gender M / F
UMID dob string Date of birth, YYYY-MM-DD 1960-01-28
UMID address string Full address, lines merged 28 PAYAPA ST BAGONG DIWA STO CRISTOBAL CALOOCAN CITY METRO MANILA PHILIPPINES 1800
SSS_ID no string Social Security number 02-2102579-6
SSS_ID name string Full name MARVIN GALANG PANGAN
SSS_ID dob string Date of birth, YYYY-MM-DD 1984-12-13
PASSPORT country string ISO country code PHL
PASSPORT type string Passport type P
PASSPORT no string Passport number P1234567
PASSPORT nameLocal object Local name structure {full, surname, givenName, middleName}
PASSPORT nameLatin object Latin name structure {full, surname, givenName, middleName}
PASSPORT nationality string Nationality Filipino
PASSPORT dob string Date of birth, YYYY-MM-DD 1990-01-01
PASSPORT sex string Gender M / F
PASSPORT pob string Place of birth QUEZON CITY
PASSPORT issPlace string Place of issue null
PASSPORT issDate string Issue date, YYYY-MM-DD 2015-06-01
PASSPORT expiryDate string Expiry date, YYYY-MM-DD 2025-06-01
PASSPORT issAuthority string Issuing authority DFA Manila
PASSPORT MRZ object Machine-readable zone {line1, line2}
DriverLicense name string Full name DELA CRUZ, JUAN PEDRO GARCIA
DriverLicense nationality string Nationality PHL
DriverLicense gender string Gender M / F
DriverLicense dob string Date of birth, YYYY-MM-DD 1995-08-15
DriverLicense weight string Weight(kg) 60
DriverLicense height string Height(m) 1.70
DriverLicense address string Address, lines merged 1123 YOUR ADDRESS, MANILA, 1008 METRO MANILA, PHILIPPINES
DriverLicense no string Driver's license number D23-52 867231
DriverLicense expiryDate string Expiry date, YYYY-MM-DD 2024-04-11
DriverLicense agencyCode string Issuing agency code D24
DriverLicense bloodType string Blood type A+
DriverLicense eyesColor string Eye color BLACK
DriverLicense restrictions string License restrictions 1,2
DriverLicense conditions string License conditions NONE
NATIONAL_ID no string PhilSys card number / primary ID 1234-5678912-3
NATIONAL_ID givenName string Given name JUAN
NATIONAL_ID middleName string Middle name MARTINEZ
NATIONAL_ID surname string Surname DELA CRUZ
NATIONAL_ID gender string Gender M / F
NATIONAL_ID dob string Date of birth, YYYY-MM-DD 1990-01-01
NATIONAL_ID pob string Place of birth QUEZON CITY
NATIONAL_ID blood string Blood type O
NATIONAL_ID marital string Marital status Single
NATIONAL_ID address string Address, lines merged 01 SAMPALOC, MANILA CITY, METRO MANILA
NATIONAL_ID issDate string Issue date, YYYY-MM-DD 2015-06-01
PostalID no string Postal ID number / PRN CA314000001-B
PostalID name string Full name MA. JOSEFINA M. DELA CRUZ
PostalID address string Address, lines merged 662 Mendoza St. Lolomboy Bocaue Bulacan 3018
PostalID dob string Date of birth, YYYY-MM-DD 1958-02-24
PostalID nationality string Nationality Filipino
PostalID expiryDate string Expiry date, YYYY-MM-DD 2017-11-04
PostalID issOffice string Issuing post office MNL CPO
PRCID lastName string Surname DUMANDAN
PRCID firstName string Given name GLORIO JR
PRCID middleName string Middle name ORTEGA
PRCID regNo string Registration number 003978
PRCID regDate string Registration date, YYYY-MM-DD 2008-10-30
PRCID expiryDate string Expiry date, YYYY-MM-DD 2011-05-16
PRCID profession string Occupation / Profession CRIMINOLOGIST
TIN_ID name string Cardholder name DELA CRUZ, JUAN
TIN_ID tin string Taxpayer Identification Number 123-456-789-000
TIN_ID address string Address 28 Payapa St. Bagong Diwa Sto. Cristobal, Caloocan City
TIN_ID dob string Date of birth, YYYY-MM-DD 1994-09-04
TIN_ID issDate string Issue date, YYYY-MM-DD 2017-10-02
VOTER_ID vin string Voter identification number VIN 7404-2491C-D2843TPR10000
VOTER_ID name string Cardholder name REYES TEODORO PANGLINAN
VOTER_ID dob string Date of birth, YYYY-MM-DD 1943-04-26
VOTER_ID status string Marital status, as on card Married
VOTER_ID citizenship string Citizenship/nationality Filipino
VOTER_ID address string Address B17 L21 VILLANOVA SUBD., NAGKAISANG NAYON
VOTER_ID precinct string Voting precinct number / Precinct No. 2491C
VOTER_ID issDate string Issue/registration date, YYYY-MM-DD 2023-11-29
OWWA_ID name string Cardholder name REYES TEODORO PANGLINAN
OWWA_ID dob string Date of birth, YYYY-MM-DD 1982-10-05
OWWA_ID gender string Gender, M/F M
OWWA_ID address string Address B17 L21 VILLANOVA SUBD., NAGKAISANG NAYON
OWWA_ID no string OFW ID / OFW e-CARD number OWWA000001
OWWA_ID issDate string Issue date, YYYY-MM-DD 1982-10-05
GSIS_ID name string Cardholder name JUANA DE LA CRUZ
GSIS_ID no string GSIS number 123456789012
GSIS_ID bankNo string Bank card number 4000 0076 1978 0014
GSIS_ID dob string Date of birth, YYYY-MM-DD 1960-01-28
GSIS_ID gender string Gender, M/F F
GSIS_ID address string Address 28 Payapa St. Bagong Diwa Sto. Cristobal Caloocan City, MM 1800
GSIS_ID validThru string Validity; returns YYYY-MM when precise to month, YYYY-MM-DD when precise to day 2008-09
PHILHEALTH_ID name string Cardholder name DARIO, ANDINO BALANA
PHILHEALTH_ID no string PhilHealth card number / PIN 02-050329439-8
PHILHEALTH_ID dob string Date of birth, YYYY-MM-DD 1987-04-05
PHILHEALTH_ID gender string Gender, M/F M
PHILHEALTH_ID address string Address 29 B5 SITIO MA CORAZON PH2 SANTA CRUZ ANTIPOLO CITY, RIZAL - 1870
PAGIBIG_ID name string Cardholder name JUANA A. DELA CRUZ
PAGIBIG_ID no string Pag-IBIG MID number / member number 1023-4567-8090
All faces array<object> Detected face regions; returns [] when none are detected [{"width":0.15498,"top":0.59956,"left":0.12833,"height":0.24289}]
All faces.width float Face-box width as a proportion of image width 0.15498
All faces.top float Top coordinate as a proportion of image height 0.59956
All faces.left float Left coordinate as a proportion of image width 0.12833
All faces.height float Face-box height as a proportion of image height 0.24289
All faces.face_quality float Face-image quality score from 0 to 100; recommended reference threshold: above 30.1 90.09094250091916
All quality string Overall quality: 1=usable, 0=potential issue requiring review 1
All issues array<string> Quality issues: 1=blur/low resolution, 2=glare, 3=too dark, 4=too bright, 5=screen recapture, 6=incomplete/damaged document, 7=occluded/altered document ["6"]

# Pakistan Multi-document Recognition builtin-5Rfhqo1A3MGROHUNJJ

Supports 5 Pakistan ID types: cnic (Computerized National Identity Card), snic (Smart National Identity Card), nicop (National Identity Card for Overseas Pakistanis), poc (Pakistan Origin Card), arc (Alien Registration Card), types outside the above are recognized asother(other).

Field Name Type Description Applicable Card Example
no string Cardholder ID number Front of all 5 card types 34101-5378249-5
name string Cardholder name(English) Front of all 5 card types Adeel Sajjad
fatherName string Father's name (English); empty if unavailable Front of all 5 card types Sajjad Ahmed
husbandName string Spouse name (English, married females only); empty if unavailable Front of all 5 card types
gender string Gender; values M (male), F (female), X (third gender) Front of all 5 card types M
dob string Cardholder date of birth, format YYYY-MM-DD Front of all 5 card types 2000-08-12
countryOfStay string Country of residence Front of all 5 card types Pakistan
issDate string Document issue date, format YYYY-MM-DD NICOP back, front of other 4 types 2024-11-17
expiryDate string Document expiry date, format YYYY-MM-DD NICOP back, front of other 4 types 2034-11-17
presentAddress string Current address, mostly Urdu Back of all 5 card types
permanentAddress string Permanent address, mostly Urdu Back of all 5 card types
type string "cnic": Computerized National Identity Card, national ID card for Pakistani citizens; the front has no chip, and the card face content is usually in Urdu. "snic": Smart National Identity Card, Pakistan's smart citizen ID card with a chip; the front contains a chip. "nicop": National Identity Card for Overseas Pakistanis, national ID card for overseas Pakistani citizens. "poc": Pakistan Origin Card, for foreign citizens with Pakistani descent or ties. "arc": Alien Registration Card, for foreigners registered in Pakistan. "other": other types beyond the above. snic

# Timor-Leste Multi-document Recognition builtin-6UOFfK0g1gMvgCHx19

Card Type Field Name Type Description Example
CITIZEN_CARD cardType string Document type, fixed value CITIZEN_CARD CITIZEN_CARD
CITIZEN_CARD no string Citizen ID number, usually corresponds to No BI / Card No, No BI or Card No 0600506125463002
CITIZEN_CARD name string Cardholder name, usually corresponds to Nome do Titular / Full Name MARIA DA SILVA
CITIZEN_CARD marital string Marital status, usually corresponds to Estado Civil / Marital Status CASADO
CITIZEN_CARD gender string Gender; values M, F F
CITIZEN_CARD height string Height, without unit 155
CITIZEN_CARD dob string Date of birth, format: YYYY-MM-DD 1990-05-12
CITIZEN_CARD pob string Place of birth, usually corresponds to Naturalidade / Place of Birth DILI
CITIZEN_CARD nationality string Nationality, usually corresponds to Nacionalidade / Nationality TIMORENSE
CITIZEN_CARD fatherName string Father's name; if the parents' names are not clearly distinguished, usually the first line of the parents' info is taken JOSE DA SILVA
CITIZEN_CARD motherName string Mother's name; if the parents' names are not clearly distinguished, usually the second line of the parents' info is taken ANA MARIA
CITIZEN_CARD address string Residential address, usually corresponds to Residência / Address DILI, TIMOR-LESTE
CITIZEN_CARD issDate string Issue date, format: YYYY-MM-DD 2020-01-15
CITIZEN_CARD expiryDate string Expiry date, format YYYY-MM-DD 2030-01-15
DRIVING_LICENSE cardType string Document type, fixed value DRIVING_LICENSE DRIVING_LICENSE
DRIVING_LICENSE no string Driver's license number or card number, usually corresponds to fields such as No CC 03029/DNTT/C/IV/09
DRIVING_LICENSE name string Cardholder name JOAO PEREIRA
DRIVING_LICENSE nationality string Nationality or place of birth info shown on the document, returned as on the original TIMOR-LESTE
DRIVING_LICENSE dob string Date of birth, format: YYYY-MM-DD 1988-03-20
DRIVING_LICENSE address string Address, usually corresponds to Morada DILI
DRIVING_LICENSE gender string Gender; values M, F M
DRIVING_LICENSE eyes string Eye color, usually corresponds to Olhos Castanhos
DRIVING_LICENSE height string Height, returned as on the card, without unit 180
DRIVING_LICENSE blood string Blood type, usually corresponds to G. Sanguineo O
DRIVING_LICENSE issDate string Issue date, format: YYYY-MM-DD 2016-04-10
DRIVING_LICENSE expiryDate string Expiry date, format YYYY-MM-DD 2026-04-10
PASSPORT cardType string Document type, fixed value PASSPORT PASSPORT
PASSPORT country string Issuing country ISO 3166-1 alpha-3 code TLS
PASSPORT Type string Passport type code P
PASSPORT no string Passport number P1234567
PASSPORT surname string Cardholder surname/family name, as on passport GUTERRES
PASSPORT givenName string Cardholder given name, as on passport JOSE
PASSPORT nationality string Nationality, as on passport TIMORESE
PASSPORT dob string Date of birth, format: YYYY-MM-DD 1990-06-15
PASSPORT sex string Gender; values M, F M
PASSPORT pob string/null Place of birth, as on passport; null if not shown null DILI
PASSPORT issDate string Issue date, format: YYYY-MM-DD 2021-05-01
PASSPORT expiryDate string Expiry date, format YYYY-MM-DD 2031-05-01
PASSPORT issAuthority string/null Issuing authority; null if not shown null MINISTRY OF JUSTICE
PASSPORT line1 string MRZ line 1, usually starts with P< P<TLSGUTERRES<<JOSE<<<<<<<<<<<<<<<<
PASSPORT line2 string MRZ line 2, passport no, nationality, DOB, expiry etc. P1234567<TLS9006151M3105012<<<<<<<<
VOTER_CARD cardType string Document type, fixed value VOTER_CARD VOTER_CARD
VOTER_CARD cardNo string Voter card number, usually corresponds to fields such as Nú Cartão, No. Cartão, Nú. Kartaun 123456
VOTER_CARD regNo string Registration/document number, usually corresponds to fields such as Nú De Inscrição, No. Doc, Nú. Dok 987654321
VOTER_CARD name string Cardholder name, usually corresponds to Nome / Naran JOAO DA COSTA
VOTER_CARD dob string Date of birth, format: YYYY-MM-DD 1995-08-10
VOTER_CARD pob string Place of birth, usually corresponds to Naturalidade / Moris Fatin BAUCAU
VOTER_CARD municipality string Municipality, usually corresponds to Município DILI
VOTER_CARD post string Administrative post, usually corresponds to Posto Adm. DOM ALEIXO
VOTER_CARD suco string Suku/Suco, the name of a village/town or grassroots area COMORO
VOTER_CARD aldeia string Aldeia, the name of a grassroots residential area 30 DE AGOSTO

# Nigeria Multi-document Recognition builtin-cimngo8Kfy06XJ6Wk8

Card Type Field Name Type Description Example
ID_CARD cardType string Document type enum ID_CARD
ID_CARD no string ID number, 11+ digits, may contain spaces 12345678901
ID_CARD surame string Surname / family name ADELEYE
ID_CARD givenName string Given name / primary name JOHN
ID_CARD middleName string Middle name as shown MICHAEL
ID_CARD dob string Date of birth, format YYYY-MM-DD 1990-05-12
ID_CARD issDate string Document issue date, format YYYY-MM-DD 2015-10-08
ID_CARD expiryDate string Document validity, format YYYY-MM or YYYY-MM 2029-05
PASSPORT cardType string Document type enum PASSPORT
PASSPORT country string ISO 3166-1 alpha-3 Country code NGA
PASSPORT Type string Passport type, e.g. P/D P
PASSPORT no string Passport number A1234567
PASSPORT +nameLocal object/null Local-language name structure { "full":"...", "surname":"...", "givenName":"..."}
PASSPORT +nameLocal.full string Local-language full name አልሃምዱ ዲነካ ሬዳ
PASSPORT +nameLocal.surname string Local-language surname/family name ዲነካ
PASSPORT +nameLocal.givenName string Local-language given name አልሃምዱ
PASSPORT +nameLocal.middleName string Local-language middle name, if present ሬዳ
PASSPORT +nameLatin object Latin-letter name structure { "full":"...", "surname":"...", "givenName":"..."}
PASSPORT +nameLatin.full string Latin-letter full name ALHAMDU DINEKA REDA
PASSPORT +nameLatin.surname string Latin-letter surname/family name DINEKA
PASSPORT +nameLatin.givenName string Latin-letter given name ALHAMDU
PASSPORT +nameLatin.middleName string Latin-letter middle name, if present REDA
PASSPORT nationality string Nationality NIGERIA
PASSPORT dob string Date of birth, format YYYY-MM-DD 1990-05-12
PASSPORT gender string Gender, M/F M
PASSPORT pob string/null Place of birth LAGOS
PASSPORT issPlace string/null Place of issue null
PASSPORT issDate string Issue date, YYYY-MM-DD 2015-10-08
PASSPORT expiryDate string Validity, YYYY-MM-DD 2025-10-08
PASSPORT issAuthority string/null Issuing authority MINISTRY OF FOREIGN AFFAIRS
PASSPORT MRZ object Machine-readable zone info { "line1":"...", "line2":"..." }
PASSPORT +MRZ.line1 string MRZ line 1 P<NLSNAME<<GIVEN<<<<<<<<<<<<
PASSPORT +MRZ.line2 string MRZ line 2 P1234567<NGA9006151M2510082<<<<<<<<<<
DRIVING_LICENSE cardType string Document type enum DRIVING_LICENSE
DRIVING_LICENSE no string Driver's license number 03029/DNTT/C/IV/09
DRIVING_LICENSE class string Driver's license class C
DRIVING_LICENSE name string Cardholder name JOHN MICHAEL ADELEYE
DRIVING_LICENSE gender string Gender, M/F M
DRIVING_LICENSE address string/null Residential address null
DRIVING_LICENSE dob string Date of birth, YYYY-MM-DD 1990-05-12
DRIVING_LICENSE issDate string Issue date, YYYY-MM-DD 2015-10-08
DRIVING_LICENSE expiryDate string Validity, YYYY-MM-DD 2025-10-08
VOTER_CARD cardType string Document type enum VOTER_CARD
VOTER_CARD vin string Voter ID number (VIN) 123456
VOTER_CARD code string Polling station code 987
VOTER_CARD delim string String containing state/local government/ward LAGOS IKEJA WARD1
VOTER_CARD name string Cardholder name JOHN MICHAEL ADELEYE
VOTER_CARD gender string Gender, M/F M
VOTER_CARD dob string Date of birth, YYYY-MM-DD 1990-05-12
VOTER_CARD occupa string Occupation Teacher
VOTER_CARD address string/null Residential address null

# Brazil Multi-document Recognition builtin-VaJK7W9EV8wIOcV2pe

Supported cardType values: ID (RG/CIN), DriverLicense (CNH/CNH-e), Passport, CPFCard, VehicleRegistration (CRLV/CRLV-e), CCMEI, and Vehicle (vehicle photo).

Document Type Field Type Description Example
ID name string Cardholder name BERNARDO TZ
ID socialName string Social name, when present MARIA SILVA
ID no string Identity document/RG number 4019865-7
ID cpf string CPF individual tax number 131.478.554-06
ID dob string Date of birth in YYYY-MM-DD format 1985-05-15
ID gender string Gender: M or F M
ID nationality string Nationality BRASILEIRO
ID pob string Place of birth SAO PAULO - SP
ID fatherName string Father's name JOSE DA SILVA
ID motherName string Mother's name MARIA DOS SANTOS
ID issDate string Issue date in YYYY-MM-DD format 2022-02-19
ID issuer string Issuing authority SSP-SP
ID poi string Place of issue SAO PAULO
ID expiryDate string Expiry date in YYYY-MM-DD format; non-date values are returned as shown INDETERMINADA
DriverLicense name string Cardholder name LUCIANO REIS DE OLIVEIRA
DriverLicense licenseNo string Driving licence registration number 04054230998
DriverLicense cpf string CPF number 034.343.099-18
DriverLicense idNo string Identity document/RG number 246969374
DriverLicense idIssuer string Identity document issuing authority SSP
DriverLicense idState string State that issued the identity document SP
DriverLicense dob string Date of birth in YYYY-MM-DD format 1955-08-14
DriverLicense pob string Place of birth MATUTINA/MG
DriverLicense fatherName string Father's name JOSE FELICIO DO AMARAL
DriverLicense motherName string Mother's name IZOLINA MARIA DE JESUS
DriverLicense category string Current driving category D
DriverLicense nationality string Nationality BRASILEIRO
DriverLicense categoryDetails array Driving categories and their expiry dates; categories with the same expiry date may be grouped [{"category":["B","C"],"expiryDate":"2029-09-06"}]
DriverLicense licenseDate string Date first licensed to drive 2001-01-19
DriverLicense issDate string Current licence issue date 2022-11-07
DriverLicense expiryDate string Licence expiry date 2032-07-16
DriverLicense poi string Place of issue OSVALDO CRUZ SP
DriverLicense observations string Remarks or restrictions EAR
DriverLicense acc boolean Whether ACC moped authorization is granted true
Passport country string Issuing country as an ISO 3166-1 alpha-3 code BRA
Passport type string Passport type code P
Passport no string Passport number AA000681
Passport surname string Surname/family name COSTA
Passport givenName string Given name(s) CARLOS
Passport nationality string Nationality BRASILEIRO(A)
Passport dob string Date of birth in YYYY-MM-DD format 2001-03-16
Passport gender string Gender: M or F M
Passport pob string Place of birth BRASILIA/DF
Passport idNo string Personal identity number, preserving the document format 12.345.678-9
Passport fatherName string Father's name MARCOS JOSE DOS SANTOS
Passport motherName string Mother's name AMANDA FARIAS DOS SANTOS
Passport issDate string Issue date in YYYY-MM-DD format 2012-07-06
Passport expiryDate string Expiry date in YYYY-MM-DD format 2022-07-06
Passport issAuthority string Issuing authority SR/PF/RJ
Passport line1 string MRZ line 1 P<BRA...
Passport line2 string MRZ line 2 AA000681BRA...
CPFCard no string CPF number, preserving the displayed format 123.456.789-09
CPFCard name string Cardholder name JOAO SILVA
CPFCard dob string Date of birth in YYYY-MM-DD format 1990-05-12
CPFCard issDate string Issue month in YYYY-MM format 2020-08
VehicleRegistration renavam string Brazilian national vehicle registry number, preserving leading zeros 01091602368
VehicleRegistration plate string Current vehicle plate number; supports legacy and Mercosur formats ABC1D23
VehicleRegistration exerciseYear string Vehicle licensing year 2026
VehicleRegistration fuelType string Fuel/power type as shown ALCOOL/GASOLINA
VehicleRegistration category string Registered vehicle-use category PARTICULAR
VehicleRegistration capacity string Vehicle load/capacity information 0.45
VehicleRegistration ownerName string Registered owner name JOAO DA SILVA
VehicleRegistration cpf string Registered owner's CPF 297.365.848-95
CCMEI cpf string CPF of the individual microentrepreneur 123.456.789-00
CCMEI registrationStatus string Current registration status as shown ATIVO
Vehicle plate string Target vehicle plate number recognized from a vehicle photo ABC1D23

# Ghana Multi-document Recognition builtin-REIX6jKymco4s2Ckjv

Supports IDCard (Ghana Card), DriverLicense (Ghana driving licence or international driving permit), Passport, VoterID, and Other. Image-quality and face-detection fields are disabled by default; contact customer service or your business representative to enable them.

Document Type Field Type Description Example
All cardType string Document type: IDCard, DriverLicense, Passport, VoterID, or Other IDCard
IDCard idType string Holder/card type: CITIZEN, NON_CITIZEN, or REFUGEE CITIZEN
IDCard no string Ghana Card personal identification number, preserving the prefix, number, and check digit GHA-000000000-1
IDCard surname string Surname ARABA
IDCard firstName string First name(s) COCO
IDCard previousNames string Previous or maiden name(s) MARK
IDCard dob string Date of birth in YYYY-MM-DD format 1986-06-13
IDCard gender string Gender: M or F F
IDCard nationality string Nationality as shown GHANAIAN
IDCard height string Height as a numeric value without a unit 1.85
IDCard documentNo string Document number, returned separately from the Ghana Card PIN AR1010101
IDCard issPlace string Place of issue ACCRA
IDCard issDate string Issue date in YYYY-MM-DD format 2024-08-15
IDCard expiryDate string Expiry date in YYYY-MM-DD format 2034-08-14
DriverLicense no string Licence or international driving permit number, preserving letters, digits, hyphens, and leading zeros EMV-27091980-37883
DriverLicense name string Cardholder name VORDZOGBE EMIL ETHELBERT
DriverLicense dob string Date of birth in YYYY-MM-DD format 1980-09-27
DriverLicense gender string Gender: M or F; returns "" if not printed M
DriverLicense nationality string Nationality as shown Ghanaian
DriverLicense licenceClass string Licence class(es), separated by one space B D
DriverLicense issDate string Issue date in YYYY-MM-DD format 2018-11-26
DriverLicense expiryDate string Expiry date in YYYY-MM-DD format 2024-11-25
DriverLicense refNo string Reference number, returned separately from the licence number 18007028V1
Passport country string Issuing country as a three-letter code GHA
Passport type string Passport type P
Passport no string Passport number H0000014
Passport surname string Surname SPECIMEN
Passport givenName string Given name(s), preserving the document order ALEX
Passport nationality string Nationality as shown GHANAIAN
Passport dob string Date of birth in YYYY-MM-DD format 1988-01-01
Passport gender string Gender: M or F M
Passport issPlace string Place of issue ACCRA
Passport issDate string Issue date in YYYY-MM-DD format 2009-08-14
Passport expiryDate string Expiry date in YYYY-MM-DD format 2014-08-14
Passport issAuthority string Issuing authority PASSPORT OFFICE
Passport line1 string MRZ line 1 as shown P<GHASPECIMEN<<ALEX<<<<<<<<<<<<<
Passport line2 string MRZ line 2 as shown H0000014<8GHA8801018M1408142<<<<<<<<<3
VoterID no string Voter identification number 2809012503
VoterID surname string Surname OKAI BRAKO
VoterID otherNames string Other name(s) as shown NANA KWEKU
VoterID dob string Date of birth in YYYY-MM-DD format 1970-12-18
VoterID gender string Gender: M or F M
VoterID stationCode string Polling station code, preserving letters, digits, hyphens, and leading zeros E232003
VoterID regDate string Registration date in YYYY-MM-DD format 2020-07-13
All faces array<object> Detected face regions; returns [] when no face is detected [{"width":0.15498,"top":0.59956,"left":0.12833,"height":0.24289,"face_quality":90.09094}]
All faces.width float Face-box width as a proportion of image width 0.15498
All faces.top float Top coordinate as a proportion of image height 0.59956
All faces.left float Left coordinate as a proportion of image width 0.12833
All faces.height float Face-box height as a proportion of image height 0.24289
All faces.face_quality float Face-image quality score from 0 to 100; recommended reference threshold: above 30.1 90.09094250091916
All quality string Overall image quality: 1=usable, 0=potential quality issue requiring review 1
All issues array<string> Quality issues: 1=blur/low resolution, 2=glare, 3=too dark, 4=too bright, 5=screen recapture, 6=incomplete/damaged document, 7=occluded/altered document; [] when none ["6"]

# Cameroon Multi-document Recognition builtin-V5WgaybRCqFu2PfK7P

Supports Cameroon 2025 national ID cards (IDCard), Cameroon driving licences (DriverLicense), and passports (Passport). Unsupported or undetermined documents return Other.

Document Type Field Type Supported Side Description Example
All cardType string Front/Back IDCard, DriverLicense, Passport, or Other IDCard
IDCard docNo string Front/Back MRZ Card document number, normally a nine-digit number 101091527
IDCard idNo string Back National identity number, normally two letters followed by eight digits AA18211266
IDCard surname string Front/Back MRZ Surname/family name NKODO BINDZI
IDCard givenName string Front/Back MRZ Given name(s) ALEXANDRE JULIEN
IDCard dob string Front/Back MRZ Date of birth in YYYY-MM-DD format 2000-09-03
IDCard gender string Front/Back MRZ Gender: M or F M
IDCard expiryDate string Front/Back MRZ Card expiry date in YYYY-MM-DD format 2035-11-13
IDCard fatherName string Back Father's name; returns "" when unavailable FRANCOIS TANDENT A.
IDCard motherName string Back Mother's name NTSOGO MARCELINE
IDCard pob string Back Place of birth AKONO
IDCard profession string Back Profession/occupation as shown EMPLOYE
IDCard issDate string Back Card issue date in YYYY-MM-DD format 2025-11-13
IDCard height string Back Height without a unit; decimal commas are normalized to decimal points 1.69
IDCard nationality string Back MRZ Nationality as a three-letter ICAO code CMR
DriverLicense surname string Front Surname/family name NGUESSEU MONTHE
DriverLicense givenName string Front Given name(s), preserving the displayed order GEORGES THOMAS
DriverLicense dob string Front Date of birth in YYYY-MM-DD format 1979-04-18
DriverLicense pob string Front Place of birth DOUALA
DriverLicense issDate string Front Overall licence issue date in YYYY-MM-DD format 2016-10-13
DriverLicense expiryDate string Front Overall licence expiry date in YYYY-MM-DD format 2026-10-13
DriverLicense issuingAuthority string Front Issuing authority/office as shown DRT CE
DriverLicense idNo string Front Holder's identity number 790418502
DriverLicense licenseNo string Front Driving licence number, preserving letters, digits, and separators CE-116279-09
DriverLicense normalResidence string Front Place of normal residence YAOUNDE
DriverLicense categories array<string> Front Driving category codes in document order; compound categories remain intact ["B","BE","C","CE","D","DE","G"]
DriverLicense cats array<object> Back Detailed category records; returns [] when only the front is supplied [{"cat":["B"],"expiryDate":"","testPlace":"NANGA EBOKO","testDate":""}]
DriverLicense cats.cat array<string> Back Driving category code(s) for the record ["B"]
DriverLicense cats.expiryDate string Back Category expiry date in YYYY-MM-DD format; "" when unavailable 2026-10-13
DriverLicense cats.testPlace string Back Test location as shown; "" when unavailable NANGA EBOKO
DriverLicense cats.testDate string Back Test date in YYYY-MM-DD format; "" when unavailable 2016-10-13
Passport country string Data page Issuing country as a three-letter code CMR
Passport type string Data page Passport type code, such as P or D P
Passport no string Data page Passport number, preserving letters, digits, and leading zeros AA123456
Passport surname string Data page Surname/family name NKODO BINDZI
Passport givenName string Data page Given name(s) in document order ALEXANDRE JULIEN
Passport nationality string Data page Nationality as shown CAMEROONIAN
Passport dob string Data page Date of birth in YYYY-MM-DD format 2000-09-03
Passport gender string Data page Gender: M or F M
Passport issPlace string Data page Place of issue YAOUNDE
Passport issDate string Data page Issue date in YYYY-MM-DD format 2025-11-13
Passport expiryDate string Data page Expiry date in YYYY-MM-DD format 2030-11-13
Passport issAuthority string Data page Issuing authority DGSN
Passport line1 string Data page MRZ line 1 P<CMRNKODO<BINDZI<<ALEXANDRE<JULIEN<<<<
Passport line2 string Data page MRZ line 2 AA1234567CMR0009036M3011130<<<<<<<<
All faces array<object> Uploaded image Detected face regions; returns [] when none are detected [{"width":0.15498,"top":0.59956,"left":0.12833,"height":0.24289,"face_quality":90.09}]
All faces.width float Uploaded image Face-box width as a proportion of image width 0.15498
All faces.top float Uploaded image Top coordinate as a proportion of image height 0.59956
All faces.left float Uploaded image Left coordinate as a proportion of image width 0.12833
All faces.height float Uploaded image Face-box height as a proportion of image height 0.24289
All faces.face_quality float Uploaded image Face-image quality score from 0 to 100 90.09094250091916
All quality string Uploaded image Overall quality: 1=usable, 0=potential issue requiring review 1
All issues array<string> Uploaded image Quality issues: 1=blur/low resolution, 2=glare, 3=too dark, 4=too bright, 5=screen recapture, 6=incomplete/damaged document, 7=occluded/altered document ["6"]

# Côte d'Ivoire Multi-document Recognition builtin-6PMasLgUL4HcdbrdAv

Supports new and legacy Côte d'Ivoire national ID cards, CEDEAO/ECOWAS resident cards, non-CEDEAO/ECOWAS resident cards, new and legacy driving licences, and passports. Unsupported or undetermined documents return Other.

Document Type Field Type Supported Side Description Example
All cardType string Front/Back IDCard, DriverLicense, Passport, or Other IDCard
IDCard identityType string Front/New CNI back CIV_CNI, CIV_ECOWAS_RESIDENT, or CIV_NON_ECOWAS_RESIDENT CIV_CNI
IDCard docNo string Front/New CNI back Card document number CI003241525
IDCard idNo string New CNI back National identification number (NNI) 12005694014
IDCard surname string Front/New CNI back Surname/family name COULIBALY
IDCard givenName string Front/New CNI back Given name(s), preserving the original order SEYDOU
IDCard dob string Front/New CNI back Date of birth in YYYY-MM-DD format 2000-10-30
IDCard gender string Front/New CNI back Gender: M or F M
IDCard expiryDate string Front/New CNI back Card expiry date in YYYY-MM-DD format 2032-03-03
IDCard pob string Front Place of birth ADJAMÉ (CIV)
IDCard profession string New CNI back Profession/occupation ELEVE
IDCard issDate string Front/Back, depending on version Issue date in YYYY-MM-DD format 2022-03-03
IDCard issPlace string Front/Back, depending on version Place of issue ABIDJAN
IDCard height string Front Height as a decimal value without a unit 1.79
IDCard nationality string Front/New CNI back Nationality as displayed, which may be text or a three-letter code CIV
DriverLicense surname string Front Surname/family name SETIEN
DriverLicense givenName string Front Given name(s), preserving the original order Pascale
DriverLicense dob string Front Date of birth in YYYY-MM-DD format 1985-12-30
DriverLicense pob string Front Place of birth Abidjan
DriverLicense issDate string Front Licence issue date in YYYY-MM-DD format 2013-01-04
DriverLicense issPlace string Front Place of issue Abidjan
DriverLicense expiryDate string Front, depending on version Overall licence expiry date in YYYY-MM-DD format 2028-01-04
DriverLicense issuingAuthority string Front Issuing authority MINISTÈRE DES TRANSPORTS
DriverLicense idNo string Back Holder's associated identity-document number CI003241525
DriverLicense licenseNo string Front Driving licence number SETH01-13-001570375BC
DriverLicense normalResidence string Front/Back, depending on version Normal residence/contact address ABIDJAN
DriverLicense categories array<string> Front/Back Driving category codes in document order ["A","B","C","D","E"]
DriverLicense cats array<object> Back Detailed validity records by driving category [{"cat":["B"],"issueDate":"2017-06-29","expiryDate":"PERMANENT"}]
DriverLicense cats.cat array<string> Back Category code(s) for the validity record ["B"]
DriverLicense cats.issueDate string Back Category effective date in YYYY-MM-DD format 2017-06-29
DriverLicense cats.expiryDate string Back Category expiry date in YYYY-MM-DD format; may return PERMANENT PERMANENT
Passport country string Data page Issuing country/region as an ISO 3166-1 alpha-3 code CIV
Passport type string Data page Passport type code, such as P or D P
Passport no string Data page Passport number 23AE12345
Passport surname string Data page Surname/family name KOUASSI
Passport givenName string Data page Given name(s), preserving the original order JEAN MARC
Passport nationality string Data page Nationality as shown IVOIRIENNE
Passport dob string Data page Date of birth in YYYY-MM-DD format 1990-03-15
Passport gender string Data page Gender: M or F M
Passport issPlace string Data page Place of issue ABIDJAN
Passport issDate string Data page Issue date in YYYY-MM-DD format 2022-08-20
Passport expiryDate string Data page Expiry date in YYYY-MM-DD format 2032-08-19
Passport issAuthority string Data page Issuing authority S/DPAF
Passport line1 string Data page MRZ line 1 P<CIVKOUASSI<<JEAN<MARC<<<<<<<<
Passport line2 string Data page MRZ line 2 23AE12345CIV9003155M3208190<<<<<<<<
All faces array<object> Uploaded image Detected face regions and quality information; returns [] when none are detected [{"width":0.15498,"top":0.59956,"left":0.12833,"height":0.24289,"face_quality":90.09}]
All faces.width float Uploaded image Face-box width as a proportion of image width 0.15498
All faces.top float Uploaded image Top coordinate as a proportion of image height 0.59956
All faces.left float Uploaded image Left coordinate as a proportion of image width 0.12833
All faces.height float Uploaded image Face-box height as a proportion of image height 0.24289
All faces.face_quality float Uploaded image Face-image quality score from 0 to 100 90.09094250091916
All quality string Uploaded image Overall quality: 1=usable, 0=potential issue 1
All issues array<string> Uploaded image Quality issues: 1=blur/low resolution, 2=glare, 3=too dark, 4=too bright, 5=screen recapture, 6=incomplete document, 7=occluded/altered document ["6"]

# Vietnam ID Card builtin-86og0wZ7HLhSXlYG7p

Field Name Type Description Example
idNo string Vietnam ID/citizen number 001096840920
name string Cardholder name, returned as on the card NÔNG VAN HIEU
gender string Gender, M=male, F=female M
bDate string Cardholder date of birth, format: YYYY-MM-DD 1996-05-16
nationality string Cardholder nationality, returned as on the card Việt Nam
origin string Origin/birthplace(Quê quán), returned as on the card Chi Dông, Mê Linh, Hà Noi
res string Permanent/residential address(Nơi thường trú), returned as on the card To 2, Chi Dong, Me Linh, Hà Noi
expiryDate string/null Expiry date, format YYYY-MM-DD; returns null when no validity 2028-05-16
issueDate string/null Issue date, format YYYY-MM-DD 2021-06-21
issuer string/null Document issuing authority CUC TRUONG CUC CANH SAT QUAN LY HANH CHINH VE TRAT TU XA HOI
isID boolean Whether the document is a Vietnam ID card; true for supported CCCD/CMND versions and false for other documents true
qrData object/null QR parse result; null if not found null -
+idNo string From QR:ID number 001096840920
+oldIdNo string/null From QR:old ID number; returns null if absent 012345678
+name string From QR:Name NÔNG VAN HIEU
+bDate string From QR:Date of birth, format: YYYY-MM-DD 1996-05-16
+gender string From QR:Gender(original value) Nam / Nữ
+res string From QR:Residential address To 2, Chi Dong, Me Linh, Hà Noi
+issueDate string From QR:Issue date, format: YYYY-MM-DD 2021-06-21

# Thailand ID Card builtin-i88oDw1H2dbkpAXzJ3

Field Name Type Description Example
name string Full English name, combining the printed first and last names Mr. Napat Thaikiaue
firstName string English first name, including any printed title Mr. Napat
lastName string English surname Thaikiaue
thaiName string Full Thai name as shown นาย ณภัทร ไทยเกื้อ
thaiFirstName string Thai first name, including any printed Thai title นาย ณภัทร
thaiLastName string Thai surname ไทยเกื้อ
idNo string 13-digit Thai national ID number, without spaces 1100200280560
laserId string Laser ID from the back, preserving hyphens; returns "" when unavailable AB1-2345678-90
bDate string Date of birth in YYYY-MM-DD format 1992-11-23
gender string Gender: M or F M
address string Full Thai address as shown 96 ถ.รังสิต-ปทุมธานี 27 ต.ประชาธิปัตย์ อ.ธัญบุรี จ.ปทุมธานี
issueDate string Issue date in YYYY-MM-DD format 2020-11-22
expiryDate string Expiry date in YYYY-MM-DD format; returns LIFELONG for permanent validity 2024-06-26 / LIFELONG

# Cambodia ID Card builtin-IPC3Peq8NRXRxr4ZbE

Field Name Type Description Example
no string Cambodia ID number 190457306
fullNameLatin string Latin name VANN VIREAK
fullNameLocal string Local language name វ៉ាន់ វីរៈ
gender string Gender; values M, F M
dob string Cardholder date of birth, format: YYYY-MM-DD 1967-11-13
height string Height, as on card ១៦១ ស.ម
issDate string Document issue date, format: YYYY-MM-DD 2015-10-08
expiryDate string Document expiry date, format YYYY-MM-DD 2035-07-07
nationality string Nationality or country code KHM
pob string Place of birth, as on card ឃុំអន្លង់វិល ស្រុកសង្កែ បាត់ដំបង
address string Address, as on card ភូមិត្រពេច ស្រុកថ្មពួក បន្ទាយមានជ័យ
identifyingMarks string Identifying marks ប្រជ្រុយចំ ០.៥សម មុខលើគល់ភ្នែកស្តាំ
mrzLine1 string MRZ line 1 content IDKHM1904573061<<<<<<<<<<<<<<<<
mrzLine2 string MRZ line 2 content 6711137M3507072KHM<<<<<<<<<<<<4
mrzLine3 string MRZ line 3 content VANN<<VIREAK<<<<<<<<<<<<<<<<<<<

# Bangladesh ID Card builtin-eK6p0vOB1AZmpGhLi9

Field Name Type Description Example
idNo string Bangladesh ID number ID No. 8704637043
name string Cardholder English name MD. SHIPON MIA
localName string Local language name মোঃ শিপন মিয়া
fatherName string Father's name, usually local language মোঃ সাজু মিয়া
motherName string Mother's name, usually local language মোছাঃ শিল্পী বেগম
dob string Cardholder date of birth, format: YYYY-MM-DD 1998-09-25
gender string Gender; F/M, empty if not shown F
blood string Blood type; empty if not shown A+
address string Address; empty if not shown
pob string Place of birth; empty if not shown JHALOKATI
issDate string Document issue date, format: YYYY-MM-DD; may be empty if not shown 2026-11-03
expiryDate string Document expiry date, format YYYY-MM-DD; empty if not shown/unrecognizable 2036-11-03

# Malaysia ID Card builtin-5DgJZFnVtvqKdKy2rW

Field Type Description Example
no string IC number (MyKad number) 460619-12-5087
dob string Date of birth (YYYY-MM-DD) 1946-06-19
name string Full name ABD RAUF BIN HAMSAH
gender string Gender; M for male, F for female M
address string Address P O BOX 42, 89007 KENINGAU, SABAH
nationality string Nationality / citizenship WARGANEGARA
religion string Religion ISLAM
issuer string Issuing authority KETUA PENGARAH PENDAFTARAN NEGARA

# Malaysia Multi-document Recognition builtin-dQbsIBC449C50mxoPj

Supported cardType values: MYKAD, DRIVER_LICENSE, MYTENTERA, PASSPORT, MYPR, MYKAS, and OTHER.

Document Type Field Type Side Description Example
All cardType string General MYKAD=citizen ID, DRIVER_LICENSE=driving licence, MYTENTERA=military ID, PASSPORT=passport, MYPR=permanent resident ID, MYKAS=temporary resident ID, OTHER=other/undetermined MYKAD
MYKAD no string Front Identity card number, preserving hyphens and leading zeros 460619-12-5087
MYKAD name string Front Full name; multiple lines are joined with one space ABD RAUF BIN HAMSAH
MYKAD gender string Front Gender: M, F, or X M
MYKAD religion string Front Religion as shown ISLAM
MYKAD citizenshipStatus string Front Citizenship status as shown WARGANEGARA
MYKAD address string Front Full residential address; multiple lines are joined in order with one space KAMPUNG MASJID P O BOX 42 89007 KENINGAU SABAH
MYKAD registrationNo string Back Card registration number, preserving hyphens and leading zeros 1759624-36-1684-49
MYKAD passportNo string Back Passport number printed in parentheses, excluding the outer parentheses A3456987
DRIVER_LICENSE name string Front Full name MOHD NAZRI BIN AHMAD
DRIVER_LICENSE nationality string Front Nationality as shown MALAYSIA
DRIVER_LICENSE no string Front Identity number 820222075547
DRIVER_LICENSE class string Front Driving class(es), separated by spaces B2 D
DRIVER_LICENSE issDate string Front Validity start date in YYYY-MM-DD format 2013-08-18
DRIVER_LICENSE expiryDate string Front Validity end date in YYYY-MM-DD format 2015-02-22
DRIVER_LICENSE address string Front Full address; multiple lines are joined in order with one space 39 TMN SRI PEKULA 2 TIKAM BATU 08000 SUNGAI PETANI KEDAH
MYTENTERA no string Front Military identity number, preserving hyphens and leading zeros 910613-01-6877
MYTENTERA serviceNo string Front Military service/personnel number 1173748
MYTENTERA name string Front Full name; multiple lines are joined with one space MOHD NAZRUL SYAMIR AKMAL BIN MOHD NOR
MYTENTERA address string Front Full address block MARKAS TENTERA DARAT CAWANGAN SUMBER MANUSIA KEMENTAH JALAN PADANG TEMBAK 50634 KUALA LUMPUR W. PERSEKUTUAN(KL)
MYTENTERA militaryBranch string Front Military branch as shown DARAT
MYTENTERA religion string Front Religion as shown ISLAM
MYTENTERA rankCategory string Front Military personnel/rank category as shown LLP
MYTENTERA gender string Front Gender: M, F, or X M
PASSPORT country string Data page Three-letter country code MYS
PASSPORT type string Data page Passport type P
PASSPORT no string Data page Passport number A55114611
PASSPORT name string Data page Full name; not split into surname and given name MUHAMMAD SHAUKI BIN SAAD
PASSPORT nationality string Data page Nationality as shown MALAYSIA
PASSPORT dob string Data page Date of birth in YYYY-MM-DD format 1999-11-19
PASSPORT idNo string Data page Malaysia identity number 991119026233
PASSPORT gender string Data page Gender: M or F M
PASSPORT pob string Data page Place of birth KEDAH
PASSPORT height string Data page Height, preserving the value and unit 162 cm
PASSPORT issDate string Data page Issue date in YYYY-MM-DD format 2022-03-09
PASSPORT expiryDate string Data page Expiry date in YYYY-MM-DD format 2027-03-09
PASSPORT issOffice string Data page Issuing office UTC KEDAH
PASSPORT line1 string Data page MRZ line 1, preserving letters and < characters P<MYSMUHAMMAD<SHAUKI<BIN<SAAD<<<<<<<<<<<<
PASSPORT line2 string Data page MRZ line 2, preserving letters, digits, and < characters A551146110MYS9911190M2703095991119026233<<<82
MYPR no string Front Permanent resident ID number, preserving hyphens and leading zeros 990007-90-7007
MYPR name string Front Full name; multiple lines are joined with one space WANG CHONG CHONG
MYPR gender string Front Gender: M, F, or X M
MYPR religion string Front Religion as shown ISLAM
MYPR nationalityCode string Front Original nationality or three-letter country code as shown GRD
MYPR address string Front Full address; multiple lines are joined in order with one space A-06-03 ARIA RESIDENCE 213 JALAN TUN RAZAK 50450 KUALA LUMPUR
MYPR nationality string Back Country of origin GRENADA
MYPR registrationNo string Back Card registration number, preserving hyphens, leading zeros, and suffix 990007-90-7007-01
MYPR entryPermitNo string Back Entry permit number, excluding the PM: prefix A0000019007
MYKAS no string Front Temporary resident ID number, preserving hyphens and leading zeros 930501-01-6897
MYKAS name string Front Full name; multiple lines are joined with one space SADDAM HUSSEIN
MYKAS gender string Front Gender: M, F, or X M
MYKAS religion string Front Religion as shown ISLAM
MYKAS citizenshipStatus string Front Citizenship status as shown BUKAN WARGANEGARA
MYKAS address string Front Full address; multiple lines are joined in order with one space NO 145 LORONG 10 TAMAN JUJUR SIKAMAT 70400 SEREMBAN NEGERI SEMBILAN
MYKAS expiryDate string Front Card expiry date in YYYY-MM-DD format 2019-03-10

# Brunei ID Card builtin-zZPeRQYVJ6JUQR6Ce4

Field Name Type Description Example
type string Residency/citizenship type: CITIZEN, PERMANENT, or TEMPORARY CITIZEN
no string Identity card number 65-453556
name string Full name SHUFTI PRO
dob string Date of birth in YYYY-MM-DD format 1990-06-09
pob string Place or country of birth BRUNEI DARUSSALAM
gender string Gender: M or F M
address string Residential address 09-XXX

# India ID Card builtin-2t7zclgvWLt4OzmuRh

Field Name Type Description Example
no string Aadhaar number 342506531151
name string Full name Sid malhorta
birth string Date of birth in YYYY-MM-DD format 1980-03-16
gender string Gender: M or F F

# South Africa ID Card builtin-KMw0wDDdzSTs62jD6v

Field Name Type Description Example
surname string Cardholder surname / family name IMMELMAN
names string Cardholder name / given name WAYNE LEE
gender string Gender, possible values M or F M
nationality string Nationality, as on card RSA
no string South Africa ID number, usually a 13-digit string 8510315120089
dob string Date of birth, format YYYY-MM-DD 1985-10-31
pob string Place of birth / Country of Birth, as on card RSA
status string Citizenship status CITIZEN
issDate string Document issue date, format: YYYY-MM-DD 2015-10-08

# Ethiopia ID Card builtin-inpf3JKw4iBGRg6o1K

Field Name Type Description Example
nameLocal string Local name, usually Amharic አልሃምዱ ዲነካ ሬዳ
nameLatin string Latin name, as on card Alhamdu Dineka Reda
gender string Gender; values M, F M
dobLocal string Cardholder date of birth, Ethiopian calendar date, format YYYY-MM-DD 1996-01-01
dob string Cardholder date of birth, Gregorian date, format YYYY-MM-DD 2003-09-12
nationalityLocal string Cardholder local nationality ኢትዮጵያዊ
nationality string Cardholder English nationality Ethiopian
fan string FAN number, as on card; excluding the FAN label; empty if not shown 4195302617209485
fin string FIN number, as on card; excluding the FIN label; empty if not shown 581260930236
fcn string FCN number, as on card; excluding the FCN label; empty if not shown 2132836096158706
issDateLocal string Issue date, Ethiopian calendar, format YYYY-MM-DD 2017-07-15
issDate string Issue date, Gregorian, format YYYY-MM-DD 2025-03-24
expiryDateLocal string Expiry date, Ethiopian calendar, format YYYY-MM-DD 2025-08-13
expiryDate string Expiry date, Gregorian, format YYYY-MM-DD 2033-04-21
printDate string Print date, Gregorian, format YYYY-MM-DD 2024-06-13
phone string Phone, usually on back 0912662007
addressLocal string Cardholder local address, usually on the back; Amharic lines, comma-merged ኦሮሚያ, ቢሾፍቱ, ኦዳ ናቤ
address string Cardholder English/Latin address, usually on the back; comma-merged Oromia, Bishoftu City Administration - Dukam, Oda Nabe

# Kenya Multi-document Recognition builtin-Kc19djI2nepOIrFrjy

Supports Kenya citizen ID cards, Huduma/Maisha cards, Foreigner/Alien certificates, driving licences, and passports. Other documents return Other.

Document Type Field Type Description Example
All cardType string IDCard, DriverLicense, Passport, or Other IDCard
IDCard serialNo string Document serial number 259443743
IDCard no string Primary identity number 487499952
IDCard name string Full name in document order OTAWO KELVIN ODHIAMBO
IDCard dob string Date of birth in YYYY-MM-DD format 2006-07-28
IDCard gender string Gender: M or F M
IDCard nationality string Nationality KEN
IDCard pob string Place/district of birth RARIEDA
IDCard issPlace string Place of issue MADIANY
IDCard issDate string Issue date in YYYY-MM-DD format 2026-05-04
IDCard expiryDate string Expiry date in YYYY-MM-DD format 2036-04-24
IDCard identityType string CITIZEN=citizen ID/Huduma/Maisha card; FOREIGNER=Foreigner Certificate/Alien Card CITIZEN
IDCard foreignerCertificateNo string FN-prefixed Foreigner Certificate number; applicable to identityType=FOREIGNER FN00252243
IDCard rNo string R. NUMBER for a Foreigner Certificate; applicable to identityType=FOREIGNER 140162
IDCard residentialAddress string Residential address for a Foreigner Certificate CITY PARK PLT 209-871-7 NBI
IDCard immigrationStatus string Immigration status for a Foreigner Certificate KDP/46051
IDCard passportNo string Passport number for a Foreigner Certificate A12345678
IDCard district string District printed on the back of a citizen ID card NYANDARUA NORTH
IDCard division string Division printed on the back MADIANY
IDCard location string Location printed on the back SOUTH UYOMA
IDCard subLocation string Sub-location printed on the back LIETA
DriverLicense surname string Surname WILLIAMS
DriverLicense otherName string Other/given name(s) in document order JOHN CITIZEN
DriverLicense IDNo string Kenya national ID number 00000000
DriverLicense no string Driving licence number WLX165
DriverLicense dob string Date of birth in YYYY-MM-DD format 1986-12-16
DriverLicense issDate string Overall licence issue date in YYYY-MM-DD format 2017-11-21
DriverLicense gender string Gender: M or F M
DriverLicense expiryDate string Overall licence expiry date in YYYY-MM-DD format 2020-11-21
DriverLicense bloodGroup string Blood group as shown B+
DriverLicense countryOfResidence string Country/county of residence as shown NAIROBI
DriverLicense cats array<object> Driving-category validity records from the back; returns [] when only the front is supplied [{"cat":["B","C","E"],"issueDate":"2017-11-21","expiryDate":"2020-11-21"}]
DriverLicense cats.cat array<string> Driving category codes for the record ["B","C","E"]
DriverLicense cats.issueDate string Category issue date in YYYY-MM-DD format; "" when unavailable 2017-11-21
DriverLicense cats.expiryDate string Category expiry date in YYYY-MM-DD format; "" when unavailable 2020-11-21
Passport country string Issuing country as a three-letter code KEN
Passport type string Passport type code, such as P or D P
Passport no string Passport number A1234567
Passport surname string Surname/family name OTIENO
Passport givenName string Given name(s) in document order JAMES OMONDI
Passport nationality string Nationality as shown KENYAN
Passport dob string Date of birth in YYYY-MM-DD format 1990-03-15
Passport gender string Gender: M or F M
Passport issPlace string Place of issue NAIROBI
Passport issDate string Issue date in YYYY-MM-DD format 2022-08-20
Passport expiryDate string Expiry date in YYYY-MM-DD format 2032-08-20
Passport issAuthority string Issuing authority DIRECTORATE OF IMMIGRATION SERVICES
Passport line1 string MRZ line 1 P<KENOTIENO<<JAMES<OMONDI<<<<<<<<<
Passport line2 string MRZ line 2 A1234567<KEN9003155M3208201<<<<<<<<<<
All faces array<object> Detected face regions; returns [] when none are detected [{"width":0.15498,"top":0.59956,"left":0.12833,"height":0.24289,"face_quality":90.09}]
All faces.width float Face-box width as a proportion of image width 0.15498
All faces.top float Top coordinate as a proportion of image height 0.59956
All faces.left float Left coordinate as a proportion of image width 0.12833
All faces.height float Face-box height as a proportion of image height 0.24289
All faces.face_quality float Face-image quality score from 0 to 100; recommended reference threshold: above 30.1 90.09094250091916
All quality string Overall quality: 1=usable, 0=potential issue requiring review 1
All issues array<string> Quality issues: 1=blur/low resolution, 2=glare, 3=too dark, 4=too bright, 5=screen recapture, 6=incomplete/damaged document, 7=occluded/altered document ["6"]

# Argentina ID Card builtin-RpAJLFfches2ML9fH9

Field Name Type Description Card Side Example
idNo string ID number front 99999999
surName string Surname / family name front GARCIA
givenName string Given name / multiple front JUAN CARLOS
gender string Gender front M / F
nationality string Nationality front ARGENTINA
renew string Version ID front A / B
dob string Date of birth front 2016-02-22
issDate string Issue date front 2023-04-20
expiryDate string Validity front 2038-10-30
address string Address(original text) back GENERAL RODRIGUEZ PAZ 83
pob string Place of birth back CHILE
cuil string Tax/labor number back 27-99999999-0
isCard string Whether the image contains an ID card: "true" or "false" front/back "true"
faces array<object> Detected face regions; returns [] when none are detected front/back [{"width":0.15498,"top":0.59956,"left":0.12833,"height":0.24289}]
faces.width float Face-box width as a proportion of image width - 0.15498
faces.top float Top coordinate as a proportion of image height - 0.59956
faces.left float Left coordinate as a proportion of image width - 0.12833
faces.height float Face-box height as a proportion of image height - 0.24289
quality string Overall quality: 1=usable, 0=potential issue requiring review - 1
issues array<string> Quality issues: 1=blur/low resolution, 2=glare, 3=too dark, 4=too bright, 5=screen recapture, 6=incomplete/damaged document, 7=occluded/altered document - ["6"]

# Colombia ID Card builtin-rZugtolMwF7J6nkux6

Field Name Type Description Example
ID object Visual zone recognition result -
+no string National ID number (NUIP) 1.000.000.000
+sur string Surname (Apellidos) CASAS RUBIANO
+given string Given name (Nombres) DANIELA
+dob string Date of birth 2000-12-11
+sex string Gender M / F
+pob string Place of birth(Lugar de nacimiento) CARTAGENA (BOLIVAR)
+poi string Place of issue (Lugar de expedición) CARTAGENA
+iss string Issue date 2019-01-16
+exp string Validity 2033-02-26
MRZ object MRZ recognition result -
+docno string MRZ document number 000000012
+dob string MRZ date of birth 1988-08-21
+sex string MRZ gender M / F
+exp string MRZ expiry 2031-01-30
+fname string MRZ parsed full name CASAS RUBIANO DANIELA

# Peru ID Card builtin-TrAXBLVnyyKJQdar1e

Field Name Type Description Example
front object Front side recognition -
+dni string ID number (DNI) 47973966
+surname1 string First surname (paternal) SANCHEZ
+surname2 string Second surname (maternal) HUAPAYA
+names string Given name(s) ESTEPHANI ELIZABETH
+birthDate string Date of birth 1993-08-27
+birthUbigeo string Birth UBIGEO code 140133
+sex string Gender, F=female, M=male F
+marital string Marital status S
+regDate string Registration date 2010-11-10
+issueDate string Document issue date 2023-02-23
+expDate string Document validity 2031-02-23
back object Back side recognition -
+dept string Department LIMA
+prov string Province LIMA
+dist string District SANTIAGO DE SURCO
+addr string Residential address MZ.C LT.18 ASOC. DE VIV SAN JOSE
+level string Registration level code 140130
+organ string Organ donation consent SI / NO
+voteGrp string Voting group code 257530

# Ecuador ID Card builtin-EJdRAGeuyPLAG6qv8I

Field Name Type Card Side Description Example
name string front Cardholder full name(Surname+Given name) VIZUETE VIZUETE ANGEL HERIBER
surname string front Surname VIZUETE VIZUETE
givenName string front Given name ANGEL HERIBER
no string front Document number(Document Number) 091787689-8
nui string front Unique identification number(NUI) 1719142905
nationality string front Nationality ECUATORIANA
gender string front Gender M / F
dob string front Date of birth(YYYY-MM-DD) 1993-01-19
pob string front Place of birth CHIMBORAZO RIOBAMBA
expiryDate string front Document validity(YYYY-MM-DD) 2031-12-08
issueDate string Back Document issue date(YYYY-MM-DD) 2021-12-08
issuePlace string Back Document place of issue RIOBAMBA
father string Back Father's name VIZUETE VIDAL
mother string Back Mother's name VIZUETE MARIA
spouse string Back Spouse or cohabiting partner name LARA RUIZ MARIA MAGDALENA
maritalStatus string Back Marital status CASADO
isCard string - Whether it is an Ecuadorian ID card true/false
mrz object MRZ Machine-readable zone(MRZ) recognition result -
+no string MRZ MRZ document number 017836244
+nationality string MRZ MRZ nationality(three-letter code) ECU
+dob string MRZ MRZ date of birth(YYYY-MM-DD) 1993-01-19
+gender string MRZ MRZ gender M / F
+expiryDate string MRZ MRZ expiry(YYYY-MM-DD) 2031-12-08
+surname string MRZ MRZ Surname VIZUETE VIZUETE
+givenName string MRZ MRZ Given name ANGEL HERIBER
faces array<object> front/back Detected face regions; returns [] when none are detected [{"width":0.15498,"top":0.59956,"left":0.12833,"height":0.24289}]
+width float front/back Face-box width as a proportion of image width 0.15498
+top float front/back Top coordinate as a proportion of image height 0.59956
+left float front/back Left coordinate as a proportion of image width 0.12833
+height float front/back Face-box height as a proportion of image height 0.24289
quality string front/back Overall quality: 1=usable, 0=potential issue requiring review 1
issues array<string> front/back Quality issues: 1=blur/low resolution, 2=glare, 3=too dark, 4=too bright, 5=screen recapture, 6=incomplete/damaged document, 7=occluded/altered document ["6"]

# 6 Error Codes

HTTP Status Error Message Description
400 BAD_ARGUMENTS: <key> A parameter failed to parse, for example BAD_ARGUMENTS:app_id when an invalid app_id is passed.
400 FILE_PARSE_FAILED:<reason> File download phase failed.
400 FILE_EXTRACT_FAILED:<reason> File recognition phase failed.
400 INVALID_INPUTS_PARAM:<reason> The custom inputs field format is invalid.
400 FILE_TOO_LARGE File exceeds the size limit; recommended within 9 MB.
400 FILE_UNSUPPORTED_FORMAT Unsupported file format.
400 TOO_MANY_FILES More files passed in the input than actually supported.
400 MISSING_ARGUMENTS: <key> A required parameter is missing.
400 KEY_NOT_FOUND encryption_type has encryption enabled, but the encryption public key and decryption private key are not configured.
403 AUTHENTICATION_ERROR api_key and api_secret do not match.
403 AUTHORIZATION_ERROR:<reason> The API key is disabled, its call limit has been reached, or it lacks permission for the API or method. DENIED. means the key is unauthorized or disabled; Limit reached. means the call limit has been reached.
403 CONCURRENCY_LIMIT_EXCEEDED Concurrency limit exceeded.
403 AUTHENTICATION_ERROR: NO_APP_PERMISSION No app invocation permission.
404 API_NOT_FOUND The API endpoint being called does not exist.
500 INTERNAL_ERROR Internal server error. Retry the request; if the problem persists, contact customer service or your business representative.

# 7 Billing Logic

Billing occurs (or trial usage is deducted) when HTTP status_code=200 and the pages field in the returned data is non-empty.

# 8 Response Examples

# 8.1 Successful Response—General Passport

{
  "request_id": "a2c5e8b1-4f7d-4a9e-8c3b-6e1d5f8a2b3c",
  "time_used": 932,
  "result": {
    "outputs": {
      "text": {
        "countryCode": "CHN",
        "passportNumber": "E40898665",
        "fullNameLocal": "张三",
        "fullNameLatin": "ZHANG SAN",
        "surname": "ZHANG",
        "givenName": "SAN",
        "middleName": null,
        "nationality": "CHINESE",
        "dateOfBirth": "2009-09-09",
        "sex": "F",
        "placeOfBirth": "河北",
        "placeOfIssue": "河北",
        "dateOfIssue": "2015-01-06",
        "dateOfExpiry": "2020-01-05",
        "issuingAuthority": "公安部出入境管理局",
        "isPP": true
      }
    },
    "pages": 1
  }
}

# 8.2 Error Response

{
  "request_id": "d5f8b2e4-7c1a-4d3f-9b6e-2a4c8d3b5e6f",
  "time_used": 150,
  "error": "FILE_TOO_LARGE"
}