# Document Download (PDF)

Request Finance allows you to download PDFs of your invoices via API, just as you can download them via the interface.

### Request a PDF <a href="#creating-an-off-chain-payroll-payment" id="creating-an-off-chain-payroll-payment"></a>

<mark style="color:green;">`GET`</mark> `https://api.request.finance/invoices/[id]/pdf/[type]`

{% hint style="info" %}
This endpoint does not support bulk downloads. Retrieve each invoice PDF individually, or loop through  IDs to automate the process.
{% endhint %}

#### Path Parameters

| Name                                   | Type   | Description                                                                                                                                                                                                             |
| -------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id<mark style="color:red;">\*</mark>   | String | ID of the request or invoice                                                                                                                                                                                            |
| type<mark style="color:red;">\*</mark> | String | <p>Either <code>default</code> or <code>receipt</code></p><ul><li><code>default</code>: the invoice as a PDF</li><li><code>receipt</code>: the invoice receipt, only available for <code>paid</code> invoices</li></ul> |
