Read companies journal entries
Posted journal entries for one customer 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.
Request
- Base URL: https://api.medianfi.com/api/v1
- URL: https://api.medianfi.com/api/v1/accountant/companies/{customerId}/journal-entries
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Query parameters
Inclusive journal entry date lower bound. Invalid dates or an inverted range return 422.
Inclusive journal entry date upper bound. Omit bounds to retain the unfiltered list.
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.
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.
Restrict the page to one journal status. Omit for every status. A value outside the enum 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
Changes
No recorded changes to this operation across all 1 revision of this API.