Skip to main content
ABBYY FlexiCapture for Invoices Cloud includes a ready-to-use application designed specifically for invoice processing. This application recognizes and extracts all necessary data fields from most documents without any additional adjustments. For a detailed list of fields that are extracted from invoices by default, see the Captured fields section. Follow the steps below to process invoices.
1

Get the authorization header

Get the authorization header using the credentials of one of your applications. For details, see the Authentication section. The examples below use the sample header Basic QWxhZGRpbjpPcGVuU2VzYW1l.
2

Upload a file

Upload a file in a valid input format to the server using the File.Upload method. In the response, you get the file’s identifier and token, which are used in all subsequent requests concerning the file.
The response contains the uploaded file’s metadata:
3

Start a processing task

Start a processing task to begin data extraction using the Task.Run method. You can specify multiple files in this request. The request may contain the following optional parameters: invoice region, verification type, and the export format for the results. The response contains a task identifier, which you need in the next steps.
The response describes the newly created task:
4

Check the task status

Processing the task takes some time, so the extracted data is not available immediately. Check the task status using the identifier you received when starting the task, with the Task.Get method. Wait until the status changes to Done.
When the task is complete, the response includes the target files to download:
5

Download the output files

After the status changes to Done, download the output files using their identifiers and tokens (the target file information in the response from the previous step), with the File.Download method. Repeat this request for each input file in the task request.
If successful, the server returns a 200 OK HTTP status and the file contents.
6

Delete the task

After downloading the output data, delete the task to remove all input and output files, using the Task.Delete method with the task identifier.
If successful, the server returns a 204 No Content HTTP status.
If the request contains errors, the server returns one of the HTTP response codes to indicate the reason for failure. For details, see the Request errors section.