# GET /transactions/{transaction_id}/invoice

**Get a PDF invoice for a transaction**

Returns a link to an invoice PDF for a transaction.

Invoice PDFs are available for both automatically and manually-collected transactions:

* The PDF for manually-collected transactions includes payment terms, purchase order number, and notes for your customer. It's a demand for payment from your customer. It's available for transactions that are `billed` or `completed`.
* The PDF for automatically-collected transactions lets your customer know that payment was taken successfully. Customers may require this for for tax-reporting purposes. It's available for transactions that are `completed`.

Invoice PDFs aren't available for zero-value transactions.

The link returned is not a permanent link. It expires after an hour.

**Required permissions:** `transaction.read`

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `transaction_id` | string | required | Paddle ID of the transaction entity to work with. |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `disposition` | string | optional | Determine whether the generated URL should download the PDF as an attachment saved locally, or open it inline in the browser.

Default: `attachment`. |

## Response (200)

- `meta`: object (required) — Information about this response.
  - `request_id`: string (required) — Unique ID for the request relating to this response. Provide this when contacting Paddle support about a specific request.
- `data`: object (required)
  - `url`: string (required) — URL of the requested resource.

### Response example

```json
{
  "data": {
    "url": "https://paddle-production-invoice-service-pdfs.s3.amazonaws.com/invoices/10889/e01ae945-9e6d-4208-a0ba-83b107e06657/invoice_325-10650_DX-ChatApp.pdf"
  },
  "meta": {
    "request_id": "126c131a-258a-482b-b4a9-9ffca5126539"
  }
}
```
