# PUT /api/v1/accounting-periods/{period_id}/checklist-acks/{step_id}

> Acknowledge a checklist step

- **Tag:** accounting-periods
- **Operation ID:** `acknowledge_checklist_step_api_v1_accounting_periods__period_id__checklist_acks__step_id__put`

## Description

Record (or update) a manual-step ack so the dashboard treats the step as done. Idempotent — re-calling updates the notes.

## Authentication

Bearer token in `Authorization` header.
Required header: `x-business-id: <business uuid>`.

## Parameters

- `period_id` (path, string, required)
- `step_id` (path, string, required)

## Request body

Schema: `AcknowledgeCloseStepRequest`

- `notes` (string) — Optional free-form note

## Responses

### 200 — Successful Response

Schema: `CloseChecklistAckResponse`

- `id` (string · required) — Ack row UUID
- `business_id` (string · required) — Business UUID
- `period_start` (string · date · required) — Period start the ack is keyed to
- `step_id` (string · required) — Checklist step ID (e.g. trial_balance_review)
- `notes` (string) — Optional free-form note
- `acked_by` (string) — User who acknowledged
- `created_at` (string · date-time · required) — When the ack was first recorded
- `updated_at` (string · date-time · required) — When the ack was last updated

### 400 — Bad Request - Invalid input

### 401 — Unauthorized - Authentication required

### 403 — Forbidden - Insufficient permissions

### 404 — Not Found - Resource does not exist

### 422 — Validation Error

Schema: `HTTPValidationError`

- `detail` (array · ValidationError) → `ValidationError`
  - `loc` (array · string | integer · required)
  - `msg` (string · required)
  - `type` (string · required)
  - `input` (object)
  - `ctx` (object)

## Code samples

### cURL

```bash
curl -X PUT 'https://api.ondayzero.com/api/v1/accounting-periods/{period_id}/checklist-acks/{step_id}' \
  -H 'Authorization: Bearer dz_your_token' \
  -H 'x-business-id: YOUR_BUSINESS_ID' \
  -H 'Content-Type: application/json' \
  -d '{
  "notes": "string"
}'
```

### JavaScript

```javascript
const response = await fetch('https://api.ondayzero.com/api/v1/accounting-periods/{period_id}/checklist-acks/{step_id}', {
  method: 'PUT',
  headers: {
    Authorization: 'Bearer dz_your_token',
    'x-business-id': 'YOUR_BUSINESS_ID',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
  "notes": "string"
}),
});
const data = await response.json();
```

### Python

```python
import httpx

headers = {
    "Authorization": "Bearer dz_your_token",
    "x-business-id": "YOUR_BUSINESS_ID",
}

payload = {
  "notes": "string"
}

response = httpx.put("https://api.ondayzero.com/api/v1/accounting-periods/{period_id}/checklist-acks/{step_id}", headers=headers, json=payload)
data = response.json()
```

## See also

- HTML version: https://www.ondayzero.com/docs/reference/accounting-periods/acknowledge-checklist-step
- OpenAPI slice: https://www.ondayzero.com/docs/reference/accounting-periods/acknowledge-checklist-step/openapi.json
- Other endpoints in **accounting-periods**: https://www.ondayzero.com/docs/reference/accounting-periods
