SOC2GDPR

Verify International Passport Extractor — KYC Ready

KYC compliance requires processing thousands of identity documents. Manual verification creates bottlenecks and increases fraud risk.

28
Fields Extracted
180s
Max Processing

What This Template Does

AI-powered extraction using gemini-2.5-flash. Part of 113 production-ready templates.

Capabilities

  • Identity Extraction
  • Mrz Parsing
  • Passport Verification
  • Passport
  • Kyc

Output Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "International Passport Extraction Schema",
  "description": "JSON Schema for extracted data from ICAO 9303 compliant passports from any country",
  "type": "object",
  "required": [
    "document_type",
    "passport_number",
    "issuing_country_code",
    "surname",
    "given_names",
    "nationality_code",
    "date_of_birth",
    "sex",
    "expiry_date"
  ],
  "properties": {
    "document_type": {
      "type": "string"
...

Quick Start

$ pip install doclayer
$ doclayer process document.pdf --agent identity.international-passport

See It In Action

Real extraction example showing input document and structured output.

Input Document
[JAPANESE PASSPORT DATA PAGE]

JAPAN
PASSPORT / PASSEPORT / RYOKEN

Type: P
Country Code: JPN
Passport No: TK1234567

Surname / Nom: TANAKA
Given names / Prenoms: YUKI

Nationality / Nationalite: JAPANESE / JAPONAISE
Date of birth / Date de naissance: 12 AUG 1994
Sex / Sexe: F
Place of birth / Lieu de naissance: TOKYO

Date of issue / Date de delivrance: 20 MAY 2023
Date of expiry / Date d'expiration: 19 MAY 2033

Issuing authority: MINISTRY OF FOREIGN AFFAIRS

[Photo of holder]
[Biometric chip 
Extracted Data
{
  "document_type": "passport",
  "passport_number": "TK1234567",
  "issuing_country_code": "JPN",
  "issuing_country_name": "Japan",
  "surname": "TANAKA",
  "given_names": "YUKI",
  "full_name": "YUKI TANAKA",
  "nationality": "JAPANESE / JAPONAISE",
  "nationality_code": "JPN",
  "date_of_birth": "1994-08-12",
  "sex": "F",
  "place_of_birth": "TOKYO",
  "issue_date": "2023-05-20",
  "expiry_date": "2033-05-19",
  "issuing_authority": "MINISTRY OF FOREIGN AFFAIRS",
  "personal_number": "",
  "mrz_line_1": "P<JPNTANAKA<<YUKI<<<<<<<<<<<<<<<<<<<<<<<<<<<",
  "mrz_line_2": "TK12345678JPN9408121F3305196<<<<<<<<<<<<<<02",
  "mrz_valid": true,
  "mrz_check_digits": {
    "passport_number": "8",
    "date_of_birth": "1",
    "expiry_date": "6",
    "personal_number": null,
    "composite": "2"
  },
  "biometric": true,
  "passport_type": "P",
  "document_status": "valid"
}

Japanese passport with non-Latin script and East Asian naming conventions. Tests extraction and handling of passports from diverse international jurisdictions.

Frequently Asked Questions

What documents can International Passport Extractor process?

The International Passport Extractor template processes identity documents including various formats and layouts. See the instructions for specific document types supported.

How accurate is the International Passport Extractor extraction?

The International Passport Extractor template uses Gemini 2.5 Flash for high-accuracy extraction. Results include confidence scores for each field.

Can I customize the International Passport Extractor template?

Yes, you can modify the extraction schema, add custom fields, or adjust the instructions to match your specific requirements.

Start Extracting Data Today

Process your first document in under 5 minutes. No credit card required.