Closing Documents Information
https://api.worldota.net/api/b2b/v3/general/document/closing_documents/info/
The call gets the confirmatory accounting documents details.
Use the call to:
- Check the details on confirmatory accounting documents.
- And get a
package_id
field value for the Closing Documents Download call.
Request example
curl --user <KEY_ID>:<API_KEY> 'https://api.worldota.net/api/b2b/v3/general/document/closing_documents/info/?data={%22order_ids%22%3A55225%2C%22seal%22%3Atrue}'
Parameters
ℹ️
The following fields are required:
- The
agreement_numbers
andissue_date
. - Or the
order_ids
.
Response
The confirmatory accounting document list.
Errors
The error
field has the value specified in the headers below.
invalid_params
The call is requested with the incorrect order of parameters. The correct order is:
- The
agreement_numbers
andissue_date
. - Or the
order_ids
.
invalid_params_issue_date_agreement_numbers
The agreement_numbers
and issue_date
fields should be requested together.
orders_not_found
The order with the order_id
field value isn’t found.
agreements_not_found
The documents with the agreement_numbers
field value aren’t found.