H-1B
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 employ foreign workers temporarily in specialty occupations.
The form_type
parameter H1B
for the Upload PDF endpoint is required for this form type. The captured field data attributed directly to an H-1B visa as form data objects, each one keyed off the below attribute names.
Field descriptions
The following fields are available on this form type:
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": 29698370,
"uuid": "5e83d19c-fa8b-45ca-85d9-06e1639a2736",
"forms": [
{
"pk": 44337978,
"uuid": "1f17dce3-c794-467a-b99d-e2baa717b8f1",
"uploaded_doc_pk": 51891149,
"form_type": "H1B",
"raw_fields": {
"h1b-General:suffix": {
"value": "",
"is_empty": true,
"alias_used": null,
"source_filename": "H1B (1) (1).pdf"
},
"h1b-General:lastName": {
"value": "FAKE",
"is_empty": false,
"alias_used": null,
"source_filename": "H1B (1) (1).pdf"
},
"h1b-General:firstName": {
"value": "JOHN",
"is_empty": false,
"alias_used": null,
"source_filename": "H1B (1) (1).pdf"
},
"h1b-General:middleName": {
"value": "",
"is_empty": true,
"alias_used": null,
"source_filename": "H1B (1) (1).pdf"
},
"h1b-General:dateOfBirth": {
"value": "02/11/1992",
"is_empty": false,
"alias_used": null,
"source_filename": "H1B (1) (1).pdf"
},
"h1b-General:expirationDate": {
"value": "03/10/2029",
"is_empty": false,
"alias_used": null,
"source_filename": "H1B (1) (1).pdf"
}
},
"form_config_pk": 203932,
"tables": []
},
"message": "OK"
}
Updated 4 months ago