# documents.records.get

Read one record's details as labelled values to put into a document, such as a contractor's or customer's legal name, email, phone and address, a merchant's website, a teammate's name and role, or the company's legal name, address and business number. Pass type and id from documents.records.search (id is "company" for the company).

`GET | POST /api/v1/accounting/documents.records.get`

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

MCP tool: `accounting_documents_records_get`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `type` | enum | Yes | One of: `contractor`, `party`, `merchant`, `member`, `company`. |
| `id` | string | Yes | The record's ID. 1–200 characters. |

## Example request

```bash
curl -G https://app.getoatmilk.com/api/v1/accounting/documents.records.get \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'type=contractor' \
  --data-urlencode 'id=example'
```

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