v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
AccountingEntries

List accounting entries

Returns the accounting entries of a company, ordered by accounting date (most recent first). Results are paginated: use limit to control page size and pass the returned nextPageToken to fetch the next page. startDate/endDate filter by accounting date, and startUpdatedAt/endUpdatedAt filter by last modification time, useful for incremental synchronization. startDate/startUpdatedAt are inclusive, endDate/endUpdatedAt are exclusive, and each date range spans at most 90 days. If neither startDate nor endDate is given, only entries dated up to today are returned.

get/accountingentries/{companyId}

Path parameters

companyIdstring required

Query parameters

reconciledboolean

Filter by reconciliation status. false also matches entries that are not yet reconciled or have no status set.

Filter by reconciliation status. false also matches entries that are not yet reconciled or have no status set.

accountingCodestring

Filter by ledger account code (accountingCode).

Filter by ledger account code (accountingCode).

accountingEntryCodestring

Filter by accountingEntryCode (does not match accountingEntryCodeId).

Filter by accountingEntryCode (does not match accountingEntryCodeId).

startDatestring date

Only return entries dated on or after this date (inclusive). The range cannot exceed 90 days: if endDate is also given, the span between the two cannot exceed 90 days; if endDate is omitted, startDate cannot be more than 90 days in the past.

Only return entries dated on or after this date (inclusive). The range cannot exceed 90 days: if endDate is also given, the span between the two cannot exceed 90 days; if endDate is omitted, startDate cannot be more than 90 days in the past.

endDatestring date

Only return entries dated before this date (exclusive). Combined with startDate, the range cannot exceed 90 days. If used without startDate, results start 90 days before this date.

Only return entries dated before this date (exclusive). Combined with startDate, the range cannot exceed 90 days. If used without startDate, results start 90 days before this date.

startUpdatedAtstring date-time

Only return entries last modified on or after this timestamp (inclusive). The range cannot exceed 90 days: if endUpdatedAt is also given, the span between the two cannot exceed 90 days; if endUpdatedAt is omitted, startUpdatedAt cannot be more than 90 days in the past.

Only return entries last modified on or after this timestamp (inclusive). The range cannot exceed 90 days: if endUpdatedAt is also given, the span between the two cannot exceed 90 days; if endUpdatedAt is omitted, startUpdatedAt cannot be more than 90 days in the past.

endUpdatedAtstring date-time

Only return entries last modified before this timestamp (exclusive). Combined with startUpdatedAt, the range cannot exceed 90 days. If used without startUpdatedAt, results start 90 days before this timestamp.

Only return entries last modified before this timestamp (exclusive). Combined with startUpdatedAt, the range cannot exceed 90 days. If used without startUpdatedAt, results start 90 days before this timestamp.

limitinteger

Maximum number of objects to return in the response. Default 500, maximum 2000.

Maximum number of objects to return in the response. Default 500, maximum 2000.

nextPageTokenstring

Token to fetch the next page of results, taken from the nextPageToken returned by the previous request with the same filters. Omit it to fetch the first page. An invalid or malformed token is rejected with 404.

Token to fetch the next page of results, taken from the nextPageToken returned by the previous request with the same filters. Omit it to fetch the first page. An invalid or malformed token is rejected with 404.

Response

Successful Response

nextPageTokenstring nullable

Token to fetch the next page of results. null when there are no more pages.

Example response

{
  "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"
    }
  ]
}