# Download a receipt PDF

`GET https://morzepay.com/v1/receipts/{receipt_id}/pdf`

GET`/v1/receipts/{receipt_id}/pdf`

Downloads a receipt as a PDF. The answer is the file itself, with `Content-Type: application/pdf`.

Permission`transactions:read`

### Path parameters

`receipt_id`stringrequired

The receipt, such as `rcpt_WDL1pxuSr3cCcrFL1im2Th`.

### Returns

The PDF file.



## Example request

```bash
curl "https://morzepay.com/v1/receipts/rcpt_WDL1pxuSr3cCcrFL1im2Th/pdf" \
  -H "Authorization: Bearer $MORZEPAY_KEY" \
  -o NILE-R0001.pdf
```

## Example response (200)

```json
%PDF-1.4
(binary file: application/pdf)
```
