Permanent resident card

A Permanent Resident card is proof of lawful permanent resident status in the issuing country.

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

Optional fields captured

Field data attributed directly to a Permanent Resident card is captured as form data objects, each one keyed off the following attribute names.

📘

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
permanent_resident_card-General:firstNameTextFirst Name
permanent_resident_card-General:middleNameTextMiddle Name
permanent_resident_card-General:lastNameTextLast Name
permanent_resident_card-General:suffixTextSuffix
permanent_resident_card-General:dateOfBirthDateDate of Birth
permanent_resident_card-General:issuingCountryUNITED STATESOTHERIssuing Country
permanent_resident_card-General:expirationDateDateExpiration Date
permanent_resident_card-General:residentSinceDateResident Since

Sample form

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

Sample JSON result

{
  "status": 200,
  "response": {
    "pk": 30476901,
    "uuid": "29715157-fd49-4ea3-995e-4aae421a4f58",
    "forms": [
      {
        "pk": 30029344,
        "uuid": "2e9207fb-95c8-4551-8c9c-6ff64b3001c7",
        "form_type": "PERMANENT_RESIDENT_CARD",
        "form_config_pk": 18853,
        "tables": [],
        "raw_fields": {
          "permanent_resident_card-General:suffix": {
            "value": "",
            "is_empty": true,
            "alias_used": null,
            "source_filename": "Permanent Resident Card Sample 1.pdf"
          },
          "permanent_resident_card-General:lastName": {
            "value": "PRICE",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Permanent Resident Card Sample 1.pdf"
          },
          "permanent_resident_card-General:firstName": {
            "value": "JOSE",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Permanent Resident Card Sample 1.pdf"
          },
          "permanent_resident_card-General:middleName": {
            "value": "",
            "is_empty": true,
            "alias_used": null,
            "source_filename": "Permanent Resident Card Sample 1.pdf"
          },
          "permanent_resident_card-General:dateOfBirth": {
            "value": "03/12/1978",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Permanent Resident Card Sample 1.pdf"
          },
          "permanent_resident_card-General:residentSince": {
            "value": "11/10/1990",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Permanent Resident Card Sample 1.pdf"
          },
          "permanent_resident_card-General:expirationDate": {
            "value": "11/25/2030",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "Permanent Resident Card Sample 1.pdf"
          }
        }
      }
    ]
  },
  "message": "OK"
}