# proposals.create

Suggest a change to a record for someone to review. Nothing changes until the suggestion is approved. A newer suggestion for the same record and field replaces the older one. Supply subjectType, subjectId, field, proposedValue, reasoning, optional evidence, and idempotencyKey.

`POST /api/v1/accounting/proposals.create`

Permissions: `accounting:read`, `accounting:write` · Roles: admin, finance · Idempotency key required

MCP tool: `accounting_proposals_create`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `subjectType` | enum | Yes | The kind of record this is about, such as entry, invoice or mail. One of: `invoice`, `entry`, `mail`, `party`, `notion_link`, `contractor`, `merchant`. |
| `subjectId` | string | Yes | The ID of the record this is about. 1–200 characters. |
| `field` | enum | Yes | One of: `status`, `category`, `classification`, `payment`, `mapping`, `details`. |
| `proposedValue` | map | Yes |  |
| `currentValue` | map |  |  |
| `reasoning` | string | Yes | 3–2000 characters. |
| `evidence` | array of objects |  | at most 20 items. |
| `evidence[].type` | string | Yes | Matches ^[a-z][a-z0-9_]{1,39}$. |
| `evidence[].id` | string | Yes | The record's ID. 1–200 characters. |
| `evidence[].label` | string | Yes | 1–200 characters. |
| `evidence[].date` | string or null |  | A date, as YYYY-MM-DD. |
| `evidence[].url` | string or null |  | A full web address, starting with https://. |
| `confidence` | enum |  | One of: `low`, `medium`, `high`. Default `"medium"`. |
| `freshness` | enum |  | One of: `newer`, `older`, `same`, `unknown`. Default `"unknown"`. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/proposals.create \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "subjectType": "invoice",
  "subjectId": "example",
  "field": "status",
  "proposedValue": {},
  "reasoning": "example"
}'
```

Reference page: https://app.getoatmilk.com/docs/api/proposals.create
