# (Deprecated) Printing E-Waybill

{% hint style="danger" %}
This API is deprecated. Please use the [E-Waybill APIs from the unified set available here](https://docs.cleartax.in/cleartax-docs/e-invoicing-api/introduction-to-e-invoicing-api).
{% endhint %}

You can get PDF version of an E-Waybill by submitting a **POST** request to the E-Waybill API with the following request headers.

#### URL query string:

```
{{HOST}}/v0.1/taxable_entities/{{TAXABLE_ENTITY_ID}}/ewaybill/download
```

#### Request Parameters:

| Parameters            | Parameter Type | Type   | Description                                                                    |
| --------------------- | -------------- | ------ | ------------------------------------------------------------------------------ |
| X-Cleartax-Auth-Token | Header         | String | Mandatory. The auth token generated from ClearTax user id and password.        |
| content-type          | Header         | String | Mandatory. Application/json                                                    |
| taxable\_entity\_id   | Path           | String | Required. This is the unique ID associated with the GSTIN in your account.     |
| print\_type           | Query          | String | <p>Optional. Accepted values include BASIC, DETAILED.</p><p>Default: BASIC</p> |
| -                     | Body           | List   | Required. List of document IDs. Multiple allowed                               |

#### Sample Request:

```
https://ewbbackend-preprodpub-http.internal.cleartax.co/gst/v0.1/taxable_entities/bf557750-936e-4209-ac46-f3e8426d4780/ewaybill/download?print_type=detailed
```

#### Sample Payload

```
[
    "DOC500"
]
```

#### Sample response

{% file src="<https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ9fXxeBEm3pJiVldcu%2F-M9bD9p0koC0i5ZglYog%2F-M9bDnNoEpD2i7twUBHp%2Fbasic%20(2).pdf?alt=media&token=db804a8f-6625-4b71-ab91-3c7f60d4177b>" %}

{% file src="<https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ9fXxeBEm3pJiVldcu%2F-M9bD9p0koC0i5ZglYog%2F-M9bDpmhPAXLFvZg2a87%2Fdetailed%20(2).pdf?alt=media&token=37a77c8a-549f-4866-81ff-203a2d4f476a>" %}
