Processing workflow

Document processing status

Each submission is processed asynchronously, going through the following steps.

pending A new processing request has been submitted. The request is scheduled to download the submitted file(s).
processing The downloaded files are being processed.
done The document has been processed and extracted data is available.
failure The document could not be processed. Usually an error_code will also be returned.

Notifications

If you want to be notified for status changes, you can configure webhooks to do just that. You will get the whole payload of a document via webhook, so you don’t need to explicitely query the document via API again, as it provides the same information.