---
title: "Bulk create transactions · Transactions · COUNT Partner API"
description: "Creates many transactions in a single request. POST /partners/transactions/bulk"
canonical: "https://developers.getcount.com/reference/transactions/bulk-create-transactions"
source: "https://developers.getcount.com/reference/transactions/bulk-create-transactions"
---
[Transactions](https://developers.getcount.com/reference/transactions) / Bulk create transactions

# Bulk create transactions

POST `/partners/transactions/bulk`

Creates many transactions in a single request.

HMAC signature + Bearer access token

[Try this request](https://developers.getcount.com/tools/try-it?method=POST&path=%2Fpartners%2Ftransactions%2Fbulk&body=%7B%0A++%22transactions%22%3A+%5B%0A++++%7B%0A++++++%22type%22%3A+%22EXPENSE%22%2C%0A++++++%22description%22%3A+%22Domain+renewal%22%2C%0A++++++%22amount%22%3A+-24%2C%0A++++++%22postedDate%22%3A+%222026-03-10%22%2C%0A++++++%22accountId%22%3A+%22b2c3d4e5-f6a7-8901-bcde-f12345678901%22%0A++++%7D%2C%0A++++%7B%0A++++++%22type%22%3A+%22INCOME%22%2C%0A++++++%22description%22%3A+%22Consulting+payment%22%2C%0A++++++%22amount%22%3A+1500%2C%0A++++++%22postedDate%22%3A+%222026-03-12%22%2C%0A++++++%22accountId%22%3A+%22b2c3d4e5-f6a7-8901-bcde-f12345678901%22%0A++++%7D%0A++%5D%0A%7D)

[Chart of Accounts API](https://developers.getcount.com/reference/chart-of-accounts) [Bills API](https://developers.getcount.com/reference/bills) [Invoices API](https://developers.getcount.com/reference/invoices)

#### Request body

`transactions` array required

Array of transaction objects, each using the same shape as Create a transaction.

#### Responses

`201` Transactions created.

`400` Bad request — one or more transactions failed validation.

[Previous POST Create a transaction](https://developers.getcount.com/reference/transactions/create-transaction) [Next PATCH Update a transaction](https://developers.getcount.com/reference/transactions/update-transaction)

POST `https://api.getcount.com/partners/transactions/bulk`

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 = '/transactions/bulk';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "transactions": [
    {
      "type": "EXPENSE",
      "description": "Domain renewal",
      "amount": -24,
      "postedDate": "2026-03-10",
      "accountId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
    },
    {
      "type": "INCOME",
      "description": "Consulting payment",
      "amount": 1500,
      "postedDate": "2026-03-12",
      "accountId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
    }
  ]
};
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/transactions/bulk`, {
  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",
  "data": {
    "created": 2
  }
}
```
