IMPORTANT: You need to setup Postman first, use this link to setup for Postman.

In this tutorial we will use this sample PDF Invoice as our source file. Document Parser Sample PDF Invoice
Image of the sample PDF Invoice source file

Step 1 – Go to Collections Tab and click on API v.1 folder Postman API

Step 2 – Look for and click on Document Parser folder

Document Parser Folder

Step 3 – Click on POST /pdf/documentparser

Document Parser Endpoint

Step 4 – Go to Body tab and select Form-Data

File Upload Body

Step 5 – You can send a request with cURL

curl --location --request POST '' \
--header 'Content-Type: application/json' \
--header 'x-api-key: INSERT_YOUR_API_KEY_HERE' \
--data-raw '{
"url": "",
"outputFormat": "JSON",
"templateId": "1",
"async": false,
"encrypt": "false",
"inline": "true",
"password": "",
"profiles": "",
"storeResult": false

Step 6 – Or you can send it with Postman by setting the inline key to true to see the output in the response body and false to get the downloadable link. In this demo, we will set it to true.

Document Parser Params and Keys

Step 7 – Enter the invoice URL in the URL key’s value. To learn how to upload the invoice in the temporary storage click here

Note: You can create a custom template using the Document Parser Template Editor (Windows Only). Another great resource can be found in our Document Parser Video Tutorials here

Step 8 – The template id is set to 1 by default which is the Universal Invoice Parser template. It parses the invoice and extracts basic information.

Document Parser Template ID

Step 9 – Click on the Send button

Send Button

Step 10 – Scroll down and make sure that the Status is 200 OK.

200 OK Status Code

Step 11 – Scroll down to the body response to see the result

Document Parser Inline Body Response

Step 12 – Click on the copy to clipboard icon on the left to copy the code and paste it to your favorite editor

PDF To JSON Copy To Clipboard Button

Note: Set inline to false to get the downloadable JSON file result

Document Parser URL To JSON

NOTE: The JSON file is temporarily stored in the cloud and will expire in an hour. Be sure to download/move it to permanent storage. Document Parser JSON Output
Image of the JSON Output


Document Parser with Postman & – Video

Related Pages:

Related Samples: