> For the complete documentation index, see [llms.txt](https://docs.cleartax.in/cleartax-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleartax.in/cleartax-docs/e-waybill-api/e-waybill-api-reference/e-waybill-json-api-reference/printing-e-waybill.md).

# (Deprecated) Printing E-Waybill

{% hint style="danger" %}
This API is deprecated. Please use the [E-Waybill APIs from the unified set available here](/cleartax-docs/e-invoicing-api/introduction-to-e-invoicing-api.md).
{% 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="/files/-M9bDnNoEpD2i7twUBHp" %}

{% file src="/files/-M9bDpmhPAXLFvZg2a87" %}
