Closing Documents Download

Closing Documents Download

https://api.worldota.net/api/b2b/v3/general/document/closing_documents/download/

The call gets the confirmatory accounting document. The document is provided in PDF format.

Request example

curl --user <KEY_ID>:<API_KEY> 'https://api.worldota.net/api/b2b/v3/general/document/closing_documents/download/?data={%22package_id%22%3A55225%2C%22seal%22%3Atrue}'

Parameters

package_id String, Query required
The confirmatory accounting document ID.
seal String, Query required
Whether the seal is needed or not.

Errors

The error field has the value specified in the headers below.

failed_to_generate_document

The confirmatory accounting document is in generating. Try to request later.