# Retrieve closing documents

URL: https://docs.emergingtravel.com/docs/b2b-api/documents/retrieve-closing-documents/

Tags: b2b

---


```
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](https://en.wikipedia.org/wiki/PDF) format.

## Request example

```shell
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)*

  <p>The confirmatory accounting document ID.</p>


- **seal** *(String, Query, required)*

  <p>Whether the seal is needed or not.</p>





## 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.
