# Retrieve acceptance certificate

URL: https://docs.emergingtravel.com/docs/affiliate-api/documents/retrieve-acceptance-certificate/

Tags: affiliate

---


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

The call gets the acceptance certificate file of the month. The file 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/acceptance_certificate/download/?data={%22date%22%3A%222020-03-31%22}'
```

## Parameters



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

  <p>The month of the acceptance certificate for generating.</p>





## Errors

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

### `failed_to_generate_document`

The acceptance certificate is in generating. Try to request later.

### `invalid_report_date`

The `date` field value is invalid. The valid date is in the past or today.

### `not_available`

No acceptance certificate is available for your contract. Contact your account manager to create a certificate.
