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 the list of fields extracted from invoices by default, see Captured invoice fields in ABBYY FlexiCapture for Invoices Cloud.

Process invoices

1

Get the authorization header

Get the authorization header using the credentials of one of your applications. For more information, see Authenticate requests to the ABBYY FlexiCapture for Invoices Cloud API. The examples on this page 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. The response contains the file identifier and token. Use them in all subsequent requests for the file.
Upload a file
The response contains the metadata of the uploaded file.
Response
3

Start a processing task

Start a processing task to begin data extraction with the Task.Run method. You can specify multiple files in this request. In the properties object, specify the invoice region, the verification type, and the export format for the results. The response contains a task identifier, which you need in the next steps.
Start a processing task
The response describes the new task.
Response
4

Check the task status

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

Download the output files

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

Delete the task

After you download the output data, delete the task to remove all input and output files. Use the Task.Delete method with the task identifier.
Delete the task
If successful, the server returns a 204 No Content status.
If the request contains errors, the server returns an HTTP response code that indicates the reason for the failure. For more information, see Request errors in the ABBYY FlexiCapture for Invoices Cloud API.