v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
AccountingEntries

Create accounting entries in bulk

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

post/accountingentries/{companyId}/bulk

Path parameters

companyIdstring required

Request body

Example request

{
  "data": [
    {
      "accountingCode": "4300001",
      "counterpartAccountingCode": "5720001",
      "accountingName": "Trade debtors",
      "assetAmount": 1250.5,
      "accountingAssetAmount": 1250.5,
      "contactCustomId": "contact-001",
      "exchangeRate": 1,
      "description": "Invoice #2024-001 posting",
      "date": "2024-01-15T00:00:00Z",
      "attributes": [
        {
          "customId": "cost-center",
          "value": "Marketing",
          "valueCustomId": "marketing"
        }
      ],
      "customId": "erp-entry-2024-001",
      "accountingEntryCode": "invoice-2024-001"
    }
  ]
}

Response

Successful Response