Accountant Portal

Read companies journal entries

Journal entries for one customer (posted only unless status=void) as a keyset-paged list, newest entry date first (#1703). data is a bare array; meta.nextCursor and meta.hasMore drive paging — pass meta.nextCursor back as cursor until hasMore is false.

get/accountant/companies/{customerId}/journal-entries

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

customerId, string uuid required

Query parameters

dateFrom, string date

Inclusive journal entry date lower bound. Invalid dates or an inverted range return 422.

dateTo, string date

Inclusive journal entry date upper bound. Omit bounds to retain the unfiltered list.

limit, integer

Page size. Defaults to and is capped at 500; an out-of-range or non-numeric value falls back to the 500-row default rather than erroring.

cursor, string

Opaque keyset cursor from the previous page's meta.nextCursor. A malformed cursor is rejected with 400 rather than answered as an empty final page.

status, 'posted' | 'void'

Omit for posted entries only; void returns voided entries. Any other value is rejected with 400; it used to be accepted and ignored, which answered a question about voided entries with posted ones.

Response

One page of journal entries

object required
success, boolean
data, object[]
meta, object

Changes

No recorded changes to this operation across all 110 revisions of this API.