listJournalEntries
listJournalEntriesRetrieve paginated journal entries filtered by date, status, account, or job. Use fastapi-filter syntax for precise queries.
Instructions
Retrieve a paginated list of journal entries with optional filtering by date, status, account, or job. Filters use fastapi-filter conventions (e.g. posted_at__gte=YYYY-MM-DD, lines__account_id=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Cursor for pagination. | |
| limit | No | Maximum number of journal entries to return per page. | |
| search_query | No | Search query to filter journal entries. | |
| order | No | Sort order. Prefix with '-' for descending. Defaults to '-created_at'. | |
| id | No | Filter by journal entry UUID (exact match). | |
| posted_at__gte | No | Posted-at date lower bound (inclusive). Accepts ISO date YYYY-MM-DD or full datetime. | |
| posted_at__lte | No | Posted-at date upper bound (inclusive). | |
| status_type | No | Filter by status. Common values: 'posted', 'draft'. | |
| description__ilike | No | Case-insensitive partial match on description. | |
| job_id | No | Filter by originating job UUID (e.g. revenue recognition batch). | |
| lines__account_id | No | Filter entries having a line on this account UUID. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |