Lists all journal entries
Changed onReturns GL journal entries with rich filtering (subsidiary, account, date range, reconciliation state). Use entry ids with retrieve-a-journal-entry before attempting updates or deletes.
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Maximum number of rows to return in the page.
If defined, a cursor to retrieve the next page.
Pagination cursor to navigate through the full response.
Subsidiary to be used when filtering data
Book ID to filter journal entries by. Primary books return primary entries only; adjustment-overlay books return primary and adjustment entries.
Filter journal entries updated after this timestamp
Filter journal entries with a posting date on or after this date (inclusive)
Filter journal entries with a posting date on or before this date (inclusive)
Filter journal entries that have at least one line item posting to any of these account ids (comma-separated)
the field the journal entries should be sorted by descending (either created or updated)
Response
OK
Example response
{
"journal_entries": [
{
"currency": "USD",
"items": [
{
"amount": {
"amount": "1.01",
"currency": "USD"
},
"original_transaction_amount": {
"amount": "1.01",
"currency": "USD"
},
"account_code": "11112"
}
],
"exchange_rate": {
"base": "USD",
"target": "USD"
}
}
],
"pagination": {
"next_cursor": "iLQvkEj3sh3UiweC"
}
}Changes
- info
added the new optional
queryrequest parameterbook_id - info
added the required property
//to the response with the status
- info