200Successful Response
Schema: SuccessEnvelope_JournalEntryListResponse_
successbooleanmessagestringcodestringdataJournalEntryListResponse
/api/v1/journal-entriesRetrieve journal entries with filtering by date, ledger, source, and text search.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
idarray · stringdefault: []Filter by journal entry IDs (comma-separated UUIDs)
descriptionstringFilter by description (partial match)
invoice_idstringFilter by linked invoice UUID
ledger_idstringFilter by ledger account UUID (returns entries with line entries affecting this ledger)
sourcearray · stringdefault: []Filter by one or more backend origins: manual, invoice, bill, credit_memo, transaction, stripe, shopify, plaid, ramp, square, system, teal
creation_methodJournalEntryCreationMethodEnumFilter by creation method: ai (system-generated) or manual (user-typed)
start_datestringFilter entries on or after this date (ISO 8601: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)
end_datestringFilter entries on or before this date (ISO 8601: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ)
searchstringSearch journal entries by description (case-insensitive partial match)
cursorstringCursor for pagination
limitintegerPagination limit
directionstringdefault: nextPagination direction: 'next' or 'prev'
include_total_countbooleandefault: FalseWhether to include total count (expensive - avoid if possible)
sort_bystringColumn name to sort by (e.g. 'created_at', 'amount', 'name'). When changing sort, reset cursor to None.
descendingbooleandefault: TrueSort direction: true for descending (newest/largest first), false for ascending
Schema: SuccessEnvelope_JournalEntryListResponse_
successbooleanmessagestringcodestringdataJournalEntryListResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject