v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
AccountingAccounts

Create accounting accounts in bulk

Creates several accounting accounts in a single call, following the same rules as the single account creation endpoint. Entries sharing the same accountingCode within the request are deduplicated and only the first occurrence is processed.

post/accountingaccounts/{companyId}/bulk

Path parameters

companyIdstring required

Request body

Example request

{
  "data": [
    {
      "accountingName": "Clients - Domestic",
      "attributes": [
        {
          "customId": "cost-center",
          "value": "Marketing",
          "valueCustomId": "cc-marketing"
        }
      ],
      "accountingCode": "430001"
    }
  ]
}

Response

Successful Response

Example response

{
  "data": [
    {
      "accountingCode": "430001"
    }
  ]
}