How to get invoice info from file for invoice parser API in cURL and PDF.co Web API

How to get invoice info from file for invoice parser API in cURL: Step By Step Instructions

The easy to understand coding guides help you check the features without any need to write your own code. PDF.co Web API was designed to assist invoice parser API in cURL. PDF.co Web API is the Rest API that provides set of data extraction functions, tools for documents manipulation, splitting and merging of pdf files. Includes built-in OCR, images recognition, can generate and read barcodes from images, scans and pdf.

This simple and easy to understand sample source code in cURL for PDF.co Web API contains different functions and options you should do calling the API to implement invoice parser API. For implementation of this functionality, please copy and paste the code below into your app using code editor. Then compile and run your app. Use of PDF.co Web API in cURL is also described in the documentation given along with the product.

Our website provides free trial version of PDF.co Web API that gives source code samples to assist with your cURL project.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Get-Invoice-Info-from-File.cmd

      
@echo off :: Path of the cURL executable set CURL="curl.exe" :: The authentication key (API Key). :: Get your own by registering at https://app.pdf.co/documentation/api set API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx :: Prepare URL for `Invoice Parser` API call set QUERY="https://api.pdf.co/v1/pdf/invoiceparser echo %QUERY% :: Perform request and save response to a file %CURL% -# -X GET -H "x-api-key: %API_KEY%" -F "file=@%SOURCE_FILE%" %QUERY% >response.json :: Display the response type response.json :: Use any convenient way to parse JSON response and get information about PDF file echo. pause

VIDEO

ON-PREMISE OFFLINE SDK

Get 60 Day Free Trial

See also:

ON-DEMAND REST WEB API

Get Your API Key

See also:

Related Samples: