ByteScout Cloud API Server - Invoice Parser API - cURL - Get Invoice Info from File - ByteScout

ByteScout Cloud API Server – Invoice Parser API – cURL – Get Invoice Info from File

  • Home
  • /
  • Articles
  • /
  • ByteScout Cloud API Server – Invoice Parser API – cURL – Get Invoice Info from File

How to get invoice info from file for invoice parser API in cURL using ByteScout Cloud API Server

ByteScout Cloud API Server is API server that is ready to use and can be installed and deployed in less than 30 minutes on your own Windows server or server in a cloud. It can save data and files on your local server-based file storage or in Amazon AWS S3 storage. Data is processed solely on the API server and is powered by ByteScout engine, no cloud services or Internet connection is required for data processing..

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

      
# Please NOTE: In this sample we're assuming Cloud Api Server is hosted at "https://localhost". # If it's not then please replace this with with your hosting url. @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://localhost/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:

Tutorials:

prev
next