Identification

Our identification document validation service supports both domestic and international IDs.

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

Optional fields captured

📘

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 attributeData typeDescription
id-Part1-General:documentTypePASSPORTPASSPORT CARDDRIVER'S LICENSESTATE IDENTIFICATION CARDOTHERThe type of the ID
id-Part1-General:documentExpirationDateDateDate of the ID's expiration
id-Part1-General:documentNumberTextNumber on the ID
id-Part1-General:issuingStateTextIssuing state of the ID
id-Part1-General:countryNameUNITED STATESOTHERIssuing country of the ID
id-Part2-Pii:firstNameTextFirst name of the ID owner
id-Part2-Pii:lastNameTextLast name of the ID owner
id-Part2-Pii:dateOfBirthDateDate of birth of the ID owner
id-Part2-Pii:addressLine1TextAddress 1 of the ID owner
id-Part2-Pii:addressLine2TextAddress 2 of the ID owner
id-Part2-Pii:cityTextCity of the ID owner
id-Part2-Pii:stateTextState of the ID owner
id-Part2-Pii:zipText5 digit ZIP Code of the ID owner

Sample form

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

Sample JSON result

{
  "form_type": "ID",
  "pk": 4659787,
  "form_config_pk": 1671,
  "raw_fields": {
    "id-Part1-General:documentType": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "DRIVER'S LICENSE"
    },
    "id-Part1-General:documentExpirationDate": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "08/31/2014"
    },
    "id-Part1-General:documentNumber": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "I1234568"
    },
    "id-Part1-General:issuingState": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "CA"
    },
    "id-Part1-General:countryName": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "UNITED STATES"
    },
    "id-Part2-Pii:firstName": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "IMA"
    },
    "id-Part2-Pii:lastName": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "CARDHOLDER"
    },
    "id-Part2-Pii:dateOfBirth": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "08/31/1977"
    },
    "id-Part2-Pii:addressLine1": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "2570 24TH STREET"
    },
    "id-Part2-Pii:addressLine2": {
      "alias_used": null,
      "is_empty": true,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": ""
    },
    "id-Part2-Pii:city": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "ANYTOWN"
    },
    "id-Part2-Pii:state": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "CA"
    },
    "id-Part2-Pii:zip": {
      "alias_used": null,
      "is_empty": false,
      "page_doc_pk": 64212998,
      "source_filename": "Ocrolus Sample PDF - Identification.pdf",
      "value": "95818"
    }
  },
  "tables": []
}