Passport card

A passport card is a travel document issued by a country's government that verifies the identity and nationality of the holder for the purpose of international travel. Passport cards generally have more restrictions than full-fledged passports.

The form_type parameter PASSPORT_CARD for the Upload PDF endpoint is required for this form type.

Do not confuse this form type with PASSPORT; the two documents are similar but not identical.

📘

Configuration-driven output

All fields below are optionally captured, depending on your order form. To adjust fields captured, please speak with your Ocrolus Account Manager.

JSON attribute

Data type

Description

passport_card-General:passportCardNumber

Text

Passport Card Number

passport_card-General:firstName

City

First Name

passport_card-General:middleName

City

Middle Name

passport_card-General:lastName

City

Last Name

passport_card-General:suffix

Text

Suffix

passport_card-General:issuingCountry

UNITED STATES, OTHER

Issuing Country

passport_card-General:dateOfBirth

Date

Date of Birth

passport_card-General:issueDate

Date

Issue Date

passport_card-General:expirationDate

Date

Expiration Date

Sample form

The below Ocrolus sample PDF (input) matches the below sample JSON result (output).

Sample JSON result

{
  "status": 200,
  "response": {
    "pk": 16181648,
    "uuid": "29740908-0353-49d8-ad5d-ccc3254f4442",
    "name": "Passport Card Sample for API Documentation",
    "created": "2022-01-19T21:27:51Z",
    "created_ts": "2022-01-19T21:27:51Z",
    "verified_pages_count": 1,
    "book_status": "ACTIVE",
    "id": 16181648,
    "forms": [
      {
        "pk": 33880164,
        "uuid": "52e4b3ed-09d7-4f08-a2f5-72d093e15dfb",
        "form_type": "PASSPORT_CARD",
        "raw_fields": {
          "passport_card-General:suffix": {
            "value": "",
            "is_empty": true,
            "alias_used": null,
            "source_filename": "Passport Card Sample 1.pdf"
          },
          "passport_card-General:lastName": {
            "value": "MENDENHALL",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Passport Card Sample 1.pdf"
          },
          "passport_card-General:firstName": {
            "value": "THOMAS",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Passport Card Sample 1.pdf"
          },
          "passport_card-General:issueDate": {
            "value": "07/07/2010",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Passport Card Sample 1.pdf",
            "validation_error": "Issue Date must be before Expiration Date"
          },
          "passport_card-General:middleName": {
            "value": "CROWIN",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Passport Card Sample 1.pdf"
          },
          "passport_card-General:dateOfBirth": {
            "value": "06/05/1990",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Passport Card Sample 1.pdf",
            "validation_error": "Date of Birth must be before Issue Date"
          },
          "passport_card-General:expirationDate": {
            "value": "12/25/2031",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Passport Card Sample 1.pdf",
            "validation_error": "On US passports, if person is below 16 years old on issue date, expiration date should be 5 years from issue date. On US passports, if person is above 16, expiration date should be 10 years from issue date. User should review."
          },
          "passport_card-General:issuingCountry": {
            "value": "UNITED STATES",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Passport Card Sample 1.pdf"
          },
          "passport_card-General:passportCardNumber": {
            "value": "C98215431",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Passport Card Sample 1.pdf"
          }
        },
        "form_config_pk": 29153,
        "tables": []
      }
    ],
    "book_is_complete": true
  },
  "message": "OK"
}

See also
Did this page help you?