Veryfi icon

Veryfi

Extract data from invoices, receipts, checks, bank statements, W-9/W-2, IDs, and any document via Veryfi

Document → Extract Data From Passport

AI-generated

Summary

Extracts structured personal data from a passport image using Veryfi's API.

Inputs

  • fileSource — Where the document comes from: 'binary' (upload from previous node) or 'url' (public URL Veryfi fetches).
  • binaryPropertyName (required) — The name of the binary field containing the file (e.g., 'data'). Only required when fileSource is binary.
  • fileUrl (required) — Public URL of the document. Only required when fileSource is url.
  • fileName — Optional custom file name. If empty, the name from the binary input is used.
  • additionalOptions.auto_categorize — Whether to let Veryfi auto-categorize the document.
  • additionalOptions.boost_mode — Whether to enable boost mode (returns data without storing the document image).
  • additionalOptions.categories — Optional list of categories to constrain the auto-categorizer.
  • additionalOptions.external_id — Optional external identifier to associate with the document.
  • additionalOptions.tags — Optional tags to attach to the document.

Output shape

A single JSON object containing the extracted passport data. Keys include fields like first_name, last_name, date_of_birth, etc.

Confidence details are not supported for this operation (source: Veryfi.node.js ROUTES).

Examples

Example 1: Extract passport details from a binary file uploaded by a previous node.

Operation: Extract Data From Passport | File Source: Binary | Binary Field: data | Additional Options: Boost Mode enabled (to avoid storing image).

Example 2: Extract passport details from a public URL.

Operation: Extract Data From Passport | File Source: URL | File URL: https://example.com/passport.pdf | Additional Options: Boost Mode enabled.

Links

Discussion