# Download invoice PDF

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

Returns a booked invoice or credit note as the PDF the customer gets by email, so you can send it yourself. Numina stores the PDF when the invoice is booked, so every download is the same file. Drafts have no PDF here, because they have no invoice number yet.

**Scopes:** any of `invoices:read`, `read:ledger`

## Request

```bash
curl https://api.numina.app/v1/invoices/550e8400-e29b-41d4-a716-446655440000/pdf \
  -H "Authorization: Bearer numi_YOUR_API_KEY"
```

## Path parameters

- `id` (string (uuid), required): Invoice ID

## Response `200`

The PDF. `Content-Disposition` carries the file name the email would use.

```json
undefined
```

## Errors

- `401` Unauthorized - Invalid or missing authentication
- `403` Forbidden - Missing scope, or the company is archived
- `404` Not Found - The resource does not exist in this company
- `409` Conflict - The invoice is a draft or an offer
- `429` Too Many Requests - Rate limit exceeded
- `500` Internal Server Error

See https://developers.numina.app/errors.md for the error format.
