---
title: "Get accounting events for the specified dates"
method: GET
path: "/accounting/journalEntry/events"
tags: ["Accounting"]
---

# Get accounting events for the specified dates

`GET /accounting/journalEntry/events`

Returns all accounting related events between the from and to dates. Since there can be a large number of these, the results are paginated. To retrieve subsequent pages of events, pass in the pageToken returned from the prior call.

## Query parameters

- `from` integer, required
- `to` integer, required
- `limit` integer
- `pageToken` string

## Response `200`

successful operation

- AccountingEventPaginatedResponse
  - `data` AccountingEvent[]
    - `id` string
    - `entityId` string
    - `accountingDate` integer
    - `accountId` string
    - `subscriptionId` string
    - `sourceTransactionType` 'INVOICE_POSTED' | 'PAYMENT_PROCESSED' | 'CREDIT_MEMO_POSTED' | 'REVENUE_RECOGNIZED' | 'PAYMENT_VOIDED' | 'INVOICE_VOIDED' | 'REALIZED_GAIN_LOSS_POSTED' | 'REFUND'
    - `sourceTransactionId` string
    - `sourceEventId` string
    - `sourceEventTimestamp` integer
    - `sourceEventPayload` ByteBuffer
      - `short` integer
      - `char` string
      - `int` integer
      - `long` integer
      - `float` number, float
      - `double` number, double
      - `direct` boolean
      - `readOnly` boolean
    - `sourceEventMetadata` object
    - `sourceEventSequenceNumber` integer
  - `count` integer
  - `pageToken` string
  - `totalCount` integer

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/revisions/c30f5b9fbfab/schema)
