How to Fill out PDF Form 1040 with PDF.co using Postman

IMPORTANT: You need to setup Postman first. Use our guide to setup PDF.co for Postman.

This instructional article will guide you through the entire process of filling out PDF Form 1040 with PDF.co by using Postman.

Step 1: Go to Collections Tab and Click on PDF.co API v.1 Folder

First of all, go to Collections Tab and choose the API v.1 folder.

PDF.co Postman API

Step 2: Click on PDF Info Reader Folder

Secondly, choose the PDF Info Reader folder to proceed.

PDF Info Reader Folder

Step 3: Click on Get/pdf/info

The next step would be clicking on get/pdf/info.

Get Form F1040 Fields

Step 4: Enter the Form’s Link on URL Key’s Value

It’s time to enter the link of the form on URL Key’s value.

F1040 Form URL

Step 5: Click on the Send Button

To send the information, just click this button.

Send Button

Step 6: Scroll Down and Make Sure that the Status is 200 OK

At this step, just make sure everything worked well by checking that the status is OK.

200 OK Status Code

Step 7: See All the List Fields in the Body

Now, you can see all the list fields in the body.

Form F1040 List Of All Fields

Now that we have a list of all of the IRS Form 1040’s fields, we are ready to fill out the form.

Step 8: Click on the PDF Text Tools Folder

Go back to PDF.co API v.1 folder and click on the PDF Text Tools folder

PDF Text Tool Folder

Step 9: Click Post /pdf/edit/add Endpoint

Click on Add Text, Images, and Fields to PDF folder and click Post /pdf/edit/add endpoint

Add Text, Images, And Fields To PDF Endpoint

Step 10: Click on Body and Select Raw

Now, select Body and click on Raw.

Body Tab

Step 11: Copy and Paste This Code in the Field Box

To proceed, just copy-paste the following code into the field box.

{
"async": false,
"encrypt": false,
"name": "f1040-filled",
"url": "https://bytescout-com.s3-us-west-2.amazonaws.com/files/demo-files/cloud-api/pdf-form/f1040.pdf",
"fields": [
{
"fieldName": "topmostSubform[0].Page1[0].FilingStatus[0].c1_01[1]",
"pages": "1",
"text": "True"
},
{
"fieldName": "topmostSubform[0].Page1[0].f1_02[0]",
"pages": "1",
"text": "John A."
},
{
"fieldName": "topmostSubform[0].Page1[0].f1_03[0]",
"pages": "1",
"text": "Doe"
},
{
"fieldName": "topmostSubform[0].Page1[0].YourSocial_ReadOrderControl[0].f1_04[0]",
"pages": "1",
"text": "123456789"
},
{
"fieldName": "topmostSubform[0].Page1[0].YourSocial_ReadOrderControl[0].f1_05[0]",
"pages": "1",
"text": "Joan B."
},
{
"fieldName": "topmostSubform[0].Page1[0].YourSocial_ReadOrderControl[0].f1_05[0]",
"pages": "1",
"text": "Joan B."
},
{
"fieldName": "topmostSubform[0].Page1[0].YourSocial_ReadOrderControl[0].f1_06[0]",
"pages": "1",
"text": "Doe"
},
{
"fieldName": "topmostSubform[0].Page1[0].YourSocial_ReadOrderControl[0].f1_07[0]",
"pages": "1",
"text": "987654321"
}     

],
“annotations”:[
{
“text”:”Sample Filled with PDF.co API using /pdf/edit/add. Get fields from forms using /pdf/info/fields”,
“x”: 10,
“y”: 10,
“size”: 12,
“pages”: “0-“,
“color”: “FFCCCC”,
“link”: “https://pdf.co”
}
],
“images”: [
]
}

Note

topmostSubform[0].Page1[0].FilingStatus[0].c1_01[1] is the field name for Married Filling Jointly. Setting Text to true will tick off the box. And topmostSubform[0].Page1[0].f1_02[0] is the field name for Your first name and middle initial text box, adding a name in Text will fill the text box out.

Step 12: Click on the Send Button

To run the whole process, just click on this button.

Send Button

Step 13: Scroll Down and Make Sure that the Status is 200 OK

Check how the job worked by scrolling down to see the Status 200.

200 OK Status Code

Step 14: Copy the Resulting URL and Paste in the Browser’s Address Bar

To check out the result, just paste the final URL into your browser.

Form F1040 Result URL

The filled-out form should look like this.

IRS Form 1040 Filled Out

Note

The URL is only valid for an hour. Once the 1 hour has elapsed, you may need to regenerate a new URL.

Video Guide