# Download the PDF

`GET https://morzepay.com/v1/invoices/{invoice_id}/pdf`

GET`/v1/invoices/{invoice_id}/pdf`

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

To give the PDF to someone without a key, share the invoice’s `invoice_pdf` link instead.

Permission`invoices:read`

### Path parameters

`invoice_id`stringrequired

The invoice, such as `inv_UfwyBh1W4Jfa6iG2u2AVT3`.

### Returns

The PDF file.



## Example request

```bash
curl "https://morzepay.com/v1/invoices/inv_UfwyBh1W4Jfa6iG2u2AVT3/pdf" \
  -H "Authorization: Bearer $MORZEPAY_KEY" \
  -o NILE-0001.pdf
```

## Example response (200)

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