# documents.download

Get a short-lived private link to a kept record's unchanged original file. Pass inline: true to open it in the browser instead of downloading it.

`GET | POST /api/v1/accounting/documents.download`

Permissions: `accounting:read` · Roles: admin, finance

Not available over MCP: Accountants' supporting originals grant isn't offered over MCP yet: phase 1 is read and comment only.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | string (ID) | Yes | The record's ID. |
| `inline` | boolean |  |  |

## Example request

```bash
curl -G https://app.getoatmilk.com/api/v1/accounting/documents.download \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'
```

Reference page: https://app.getoatmilk.com/docs/api/documents.download
