# tax.checks.update

Record tax-preparation review evidence against the current workpaper snapshot, with revision checks. Later ledger changes invalidate completed checks.

`POST /api/v1/accounting/tax.checks.update`

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

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

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `expectedRevision` | integer | Yes | The record's current revision, from the last time you read it. If someone changed the record since, the request is refused with a conflict so you can reload and check before trying again. 0 to 9007199254740991. |
| `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. |
| `period` | object | Yes | The period to cover. No other fields. |
| `period.from` | string | Yes | The first date to include, as YYYY-MM-DD. |
| `period.to` | string | Yes | The last date to include, as YYYY-MM-DD. |
| `period.kind` | enum | Yes | Which kind of record or job this is. One of: `corporate`, `gst_hst`. |
| `check` | enum | Yes | One of: `bank_coverage`, `opening_balances`, `financial_statements`, `gifi_mapping`, `capital_assets`, `shareholder_loans`, `payroll`, `contractor_slips`, `gst_adjustments`, `instalments`, `prior_returns`. |
| `status` | enum | Yes | Only include records with this status. One of: `todo`, `complete`, `not_applicable`. |
| `reason` | string | Yes | A short note saying why, kept in the record's history. 3–2000 characters. |
| `snapshotHash` | string | Yes | SHA-256 hash as 64 lowercase hex characters. |
| `evidenceIds` | array of strings (ID) |  | A list of record IDs. at most 20 items. Default `[]`. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/tax.checks.update \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "expectedRevision": 3,
  "period": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "kind": "corporate"
  },
  "check": "bank_coverage",
  "status": "todo",
  "reason": "Synthetic example from the docs",
  "snapshotHash": "9f2b5c1d7e3a4b6c8d0e2f4a6b8c0d2e4f6a8b0c2d4e6f8a0b2c4d6e8f0a2b4c"
}'
```

Reference page: https://app.getoatmilk.com/docs/api/tax.checks.update
