v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
AccountingAccounts

Update accounting accounts in bulk

Updates several accounting accounts in a single call, identified by accountingCode, following the same rules as the single update endpoint. Entries whose accountingCode does not match any existing account are silently skipped — the call returns 200 for the whole batch.

patch/accountingaccounts/{companyId}

Path parameters

companyIdstring required

Request body

Example request

{
  "data": [
    {
      "accountingName": "Bank account - Santander EUR",
      "attributes": [
        {
          "customId": "cost-center",
          "value": "Marketing",
          "valueCustomId": "cc-marketing"
        }
      ],
      "accountingCode": "430001"
    }
  ]
}

Response

Successful Response

Example response

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