Journal Entries

The JournalEntry object is used to represent a company's journey entries

The JournalEntry object

Properties


idString
Optional

remote_idString
Optional
The third-party API ID of the matching object.

remote_dataRemoteData[]
Optional

transaction_dateString
Optional
The journal entry's transaction date.

remote_created_atString
Optional
When the third party's journal entry was created.

paymentsArray
Optional
Array of Payment object IDs.

linesArray
Optional

The JournalEntry object

{
  "id": "ecbe05ac-62a3-46c5-ab31-4b478b37d1b4",
  "remote_id": "088899",
  "remote_data": [
    {
      "path": "/actions",
      "data": [
        "Varies by platform"
      ]
    }
  ],
  "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
    },
    {
      "remote_id": "121223",
      "account": "f963f34d-3d2f-4f77-b557-cf36bc7e6498",
      "net_amount": 10
    }
  ]
}

GET

/journal-entries

Returns a list of JournalEntry objects.


Query & Path Parameters


created_afterString
Optional
If provided, will only return objects created after this datetime.

created_beforeString
Optional
If provided, will only return objects created before this datetime.

cursorString
Optional
The pagination cursor value.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

modified_afterString
Optional
If provided, will only return objects modified after this datetime.

modified_beforeString
Optional
If provided, will only return objects modified before this datetime.

page_sizeInteger
Optional
Number of results to return per page.

remote_idString
Optional
The API provider's ID for the given object.

Response

{
  "next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
  "previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ",
  "results": [
    {
      "id": "ecbe05ac-62a3-46c5-ab31-4b478b37d1b4",
      "remote_id": "088899",
      "remote_data": [
        {
          "path": "/actions",
          "data": [
            "Varies by platform"
          ]
        }
      ],
      "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
        },
        {
          "remote_id": "121223",
          "account": "f963f34d-3d2f-4f77-b557-cf36bc7e6498",
          "net_amount": 10
        }
      ]
    }
  ]
}
Field support by platform

Sage Business Cloud Accounting

Sage Business Cloud Accounting

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


transaction_dateString

remote_dataRemoteData[]

remote_created_atString

remote_idString

Quickbooks Online

Quickbooks Online

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


transaction_dateString

remote_dataRemoteData[]

remote_created_atString

remote_idString
GET

/journal-entries/{id}

Returns a JournalEntry object with the given id.


Query & Path Parameters


idString
Required

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

Response

{
  "id": "ecbe05ac-62a3-46c5-ab31-4b478b37d1b4",
  "remote_id": "088899",
  "remote_data": [
    {
      "path": "/actions",
      "data": [
        "Varies by platform"
      ]
    }
  ],
  "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
    },
    {
      "remote_id": "121223",
      "account": "f963f34d-3d2f-4f77-b557-cf36bc7e6498",
      "net_amount": 10
    }
  ]
}
Field support by platform

Sage Business Cloud Accounting

Sage Business Cloud Accounting

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


transaction_dateString

remote_dataRemoteData[]

remote_created_atString

remote_idString

Quickbooks Online

Quickbooks Online

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


transaction_dateString

remote_dataRemoteData[]

remote_created_atString

remote_idString