v1

latestOpenAPI 3.1.02026-07-24111224223.3 KB
Reports

Lists journal entries with reporting currency amounts

Returns journal entries with line item amounts converted to the reporting currency.

get/reports/journal-entries

Query parameters

limitinteger

Maximum number of rows to return in the page.

cursorstring

If defined, a cursor to retrieve the next page.

Example:iLQvkEj3sh3UiweC

Pagination cursor to navigate through the full response.

subsidiary_idstring uuid

Subsidiary to be used when filtering data

updated.gtstring date-time
Example:2023-01-01T00:00:00Z

Filter journal entries updated after this timestamp

date.gtestring date
Example:2023-12-01

Filter journal entries with a posting date on or after this date (inclusive)

date.ltestring date
Example:2023-12-31

Filter journal entries with a posting date on or before this date (inclusive)

account_idsstring[]

Filter journal entries that have at least one line item posting to any of these account ids (comma-separated)

sort_by'created' | 'updated'

the field the journal entries should be sorted by descending (either created or updated)

Response

OK

Example response

{
  "journal_entries": [
    {
      "items": [
        {
          "local_amount": {
            "amount": "1.01",
            "currency": "USD"
          },
          "reporting_amount": {
            "amount": "1.01",
            "currency": "USD"
          },
          "original_transaction_amount": {
            "amount": "1.01",
            "currency": "USD"
          },
          "account_code": "11112"
        }
      ]
    }
  ],
  "pagination": {
    "next_cursor": "iLQvkEj3sh3UiweC"
  }
}