curl --location '/journals.json?sort=date&direction=desc' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 200,
"data": [
{
"Journal": {
"id": 0,
"number": "string",
"date": "2026-05-10",
"description": "string",
"alter_description": "string",
"entity_type": "string",
"entity_id": "string",
"draft": 0,
"is_automatic": 0,
"staff_id": 0,
"total_debit": 0,
"total_credit": 0,
"currency_code": "USD",
"currency_rate": 0,
"created": "2019-08-24T14:15:22.123Z",
"modified": "2019-08-24T14:15:22.123Z",
"JournalTransaction": [
{
"id": 0,
"journal_id": "string",
"journal_account_id": "string",
"debit": 0,
"credit": 0,
"currency_debit": 0,
"currency_credit": 0,
"description": "string"
}
]
}
}
],
"pagination": {
"prev": null,
"next": "/api2/journals/?page=2",
"page": 1,
"page_count": 5,
"total_results": 98
}
}