journal entries retrieve
GET {{baseUrl}}/journal-entries/:id
Returns a JournalEntry
object with the given id
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"id":"ecbe05ac-62a3-46c5-ab31-4b478b37d1b4","remote_id":"088899","transaction_date":"2020-03-31T00:00:00Z","remote_created_at":"2020-03-31T00:00:00Z","payments":["b26fd49a-cbae-470a-a8f8-bcbc119e0390"],"lines":[{"remote_id":"121222","account":"9d892439-5fab-4dbb-8bd8-34f7f96c7912","net_amount":25.54,"description":"Cash payment for lunch"},{"remote_id":"121223","account":"f963f34d-3d2f-4f77-b557-cf36bc7e6498","net_amount":10}],"memo":"Weekly Payment"}