Pennylane icon

Pennylane

Interact with Pennylane accounting API

Journal → List

AI-generated

Summary

Retrieve a paginated list of journal entries from Pennylane with optional filtering by cursor and limiting the number of results.

Inputs

  • filters — Optional filters to control pagination: 'cursor' to specify a pagination cursor from a previous request, and 'limit' to set the maximum number of journal entries to return (1 to 100, default 20).
  • requestOptions — Optional request settings such as batching (to throttle requests by items per batch and interval), ignoring SSL certificate validation issues, HTTP proxy configuration, and request timeout in milliseconds.

Output shape

a list of journal entry records

The list respects pagination via the 'cursor' parameter; use the 'cursor' from the response to retrieve subsequent pages. The maximum number of results returned per request can be controlled by the 'limit' filter. Errors and connection options are managed via the optional requestOptions parameters.

Examples

Example 1: List journal entries with default pagination

default limit 20, no cursor

Example 2: List journal entries with cursor for pagination

cursor parameter set to a cursor string from prior response

Example 3: List journal entries with a limit of 50

limit parameter set to 50

Discussion