The H-1B is a visa in the United States under the Immigration and Nationality Act, section 101(a)(15)(H) that allows U.S. employers to temporarily employ foreign workers in specialty occupations

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

Optional fields captured

Field data attributed directly to an H-1B visa 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 attribute

Data type

Description

h1b-General:firstName

Text

First Name

h1b-General:middleName

Text

Middle Name

h1b-General:lastName

Text

Last Name

h1b-General:suffix

Text

Suffix

h1b-General:dateOfBirth

Date

Date of Birth

h1b-General:issuingCountry

UNITED STATES
OTHER

Issuing Country

h1b-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": 30476620,
    "uuid": "8da9d23d-624a-4a70-9a79-5482ae0ebf43",
    "forms": [
      {
        "pk": 30029187,
        "uuid": "54cbb4af-61ed-41cd-a48d-eeb68af6010b",
        "form_type": "H1B",
        "form_config_pk": 18851,
        "tables": [],
        "raw_fields": {
          "h1b-General:suffix": {
            "value": "",
            "is_empty": true,
            "alias_used": null,
            "source_filename": "H1B Sample 1.pdf"
          },
          "h1b-General:lastName": {
            "value": "HUNG",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "H1B Sample 1.pdf"
          },
          "h1b-General:firstName": {
            "value": "LAUREEN",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "H1B Sample 1.pdf"
          },
          "h1b-General:middleName": {
            "value": "",
            "is_empty": true,
            "alias_used": null,
            "source_filename": "H1B Sample 1.pdf"
          },
          "h1b-General:dateOfBirth": {
            "value": "02/05/1965",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "H1B Sample 1.pdf"
          },
          "h1b-General:expirationDate": {
            "value": "12/23/2004",
            "is_empty": false,
            "alias_used": null,
            "source_filename": "H1B Sample 1.pdf"
          }
        }
      }
    ]
  },
  "message": "OK"
}

Did this page help you?