---
title: "Create a reconciliation · Reconciliations · COUNT Partner API"
description: "Creates a draft reconciliation for an account statement period. POST /partners/reconciliations"
canonical: "https://developers.getcount.com/reference/reconciliations/create-reconciliation"
source: "https://developers.getcount.com/reference/reconciliations/create-reconciliation"
---
[Reconciliations](https://developers.getcount.com/reference/reconciliations) / Create a reconciliation

# Create a reconciliation

POST `/partners/reconciliations`

Creates a draft reconciliation for an account statement period.

HMAC signature + Bearer access token

[Try this request](https://developers.getcount.com/tools/try-it?method=POST&path=%2Fpartners%2Freconciliations&body=%7B%0A++%22accountUuid%22%3A+%22c8d9e0f1-a2b3-4567-cdef-789012345678%22%2C%0A++%22endingBalanceDate%22%3A+%222026-03-31%22%2C%0A++%22endingBalanceAmount%22%3A+12500.45%0A%7D)

[Transactions](https://developers.getcount.com/reference/transactions) [Chart of Accounts](https://developers.getcount.com/reference/chart-of-accounts) [Connections](https://developers.getcount.com/reference/connections)

#### Request body

`accountUuid` uuid required

Bank/cash account UUID from list accounts.

`endingBalanceDate` date required

Statement ending date (YYYY-MM-DD).

`endingBalanceAmount` number required

Statement ending balance.

#### Responses

`201` Draft reconciliation created.

`400` Validation failed or date-order conflict.

`404` Account not found.

`401` Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-401)

`403` The credential does not have access to this workspace or resource. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-403)

`429` Rate limit exceeded (100 requests per minute per clientId). Retry after the Retry-After header. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-429)

[Next PATCH Update a reconciliation draft](https://developers.getcount.com/reference/reconciliations/update-reconciliation)

POST `https://api.getcount.com/partners/reconciliations`

Request

```javascript
import crypto from 'node:crypto';

const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;
const ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;

const method = 'POST';
const signingPath = '/reconciliations';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "accountUuid": "c8d9e0f1-a2b3-4567-cdef-789012345678",
  "endingBalanceDate": "2026-03-31",
  "endingBalanceAmount": 12500.45
};
const bodyString = JSON.stringify(body);

const bodyHash = crypto.createHash('sha256').update(bodyString).digest('hex');
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');

const response = await fetch(`${BASE_URL}/partners/reconciliations`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'Content-Type': 'application/json',
    Authorization: `Bearer ${ACCESS_TOKEN}`,
  },
  body: bodyString,
});

console.log(await response.json());
```

Response · 201

```json
{
  "status": "success",
  "message": "Reconciliation draft created successfully.",
  "data": {
    "reconciliation": {
      "id": "778899aa-bbcc-ddee-ff00-112233445566",
      "accountUuid": "c8d9e0f1-a2b3-4567-cdef-789012345678",
      "endingBalanceDate": "2026-03-31",
      "endingBalanceAmount": 12500.45,
      "status": "draft"
    }
  }
}
```
