v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-2684278289.5 KB
Books

Retrieve a Journal Entry

get/books/journal-entry/{booksId}/{journalEntryId}

Path parameters

booksIdstring uuid required
journalEntryIdstring base58 (max length 22) required

unique id for a journal entry

Example:7JRNsKwy2Lw66caxVU7WGC

Query parameters

expand'lineEntries' | 'lineEntriesTransactions' | 'lineEntriesLedger' | 'lineEntriesOpposingLedgerIds' | 'lineEntriesPaymentApplications' | 'lineEntriesLinePaymentApplications' | 'accrualSource' | 'transfer' | 'autocatResult'

Response

Example response

{
  "journalEntry": {
    "accrualSource": {
      "dueDate": "2016-07-22",
      "effectiveDate": "2016-07-22",
      "files": [
        {
          "id": "7JRNsKwy2Lw66caxVU7WGC"
        }
      ],
      "id": "7JRNsKwy2Lw66caxVU7WGC",
      "journalEntryIds": [
        "7JRNsKwy2Lw66caxVU7WGC"
      ],
      "lines": [
        {
          "accountId": "7JRNsKwy2Lw66caxVU7WGC",
          "accrualSourceId": "7JRNsKwy2Lw66caxVU7WGC",
          "id": "7JRNsKwy2Lw66caxVU7WGC"
        }
      ],
      "paymentApplications": [
        {
          "adjustments": [
            {
              "accrualAdjustmentId": "7JRNsKwy2Lw66caxVU7WGC",
              "creditAccountId": "7JRNsKwy2Lw66caxVU7WGC",
              "debitAccountId": "7JRNsKwy2Lw66caxVU7WGC"
            }
          ],
          "lineEntry": {
            "journalEntryId": "7JRNsKwy2Lw66caxVU7WGC",
            "lineEntryId": "7JRNsKwy2Lw66caxVU7WGC"
          },
          "paymentApplicationId": "7JRNsKwy2Lw66caxVU7WGC"
        }
      ]
    },
    "autocatResult": {
      "createdAt": "2016-07-22T00:00:00Z",
      "ledgerId": "7JRNsKwy2Lw66caxVU7WGC"
    },
    "creationDate": "2016-07-22T00:00:00Z",
    "datetime": "2016-07-22T00:00:00Z",
    "id": "7JRNsKwy2Lw66caxVU7WGC",
    "lineEntries": [
      {
        "accrualSource": {
          "dueDate": "2016-07-22",
          "effectiveDate": "2016-07-22",
          "id": "7JRNsKwy2Lw66caxVU7WGC",
          "lines": [
            {
              "accountId": "7JRNsKwy2Lw66caxVU7WGC",
              "accrualSourceId": "7JRNsKwy2Lw66caxVU7WGC",
              "id": "7JRNsKwy2Lw66caxVU7WGC"
            }
          ]
        },
        "datetime": "2016-07-22T00:00:00Z",
        "id": "7JRNsKwy2Lw66caxVU7WGC",
        "journalEntryId": "7JRNsKwy2Lw66caxVU7WGC",
        "ledgerId": "7JRNsKwy2Lw66caxVU7WGC",
        "opposingLedgerIds": [
          "7JRNsKwy2Lw66caxVU7WGC"
        ],
        "paymentApplications": [
          {
            "accrualSource": {
              "accrualSourceId": "7JRNsKwy2Lw66caxVU7WGC",
              "endDate": "2016-07-22",
              "startDate": "2016-07-22"
            },
            "linePaymentApplicationId": "7JRNsKwy2Lw66caxVU7WGC"
          }
        ],
        "relatedLineEntryId": "7JRNsKwy2Lw66caxVU7WGC",
        "tags": [
          {
            "id": "7JRNsKwy2Lw66caxVU7WGC",
            "tagGroupId": "7JRNsKwy2Lw66caxVU7WGC"
          }
        ],
        "transaction": {
          "datetime": "2016-07-22T00:00:00Z",
          "journalEntryId": "7JRNsKwy2Lw66caxVU7WGC",
          "ledgerId": "7JRNsKwy2Lw66caxVU7WGC",
          "lineEntryId": "7JRNsKwy2Lw66caxVU7WGC",
          "opposingLineEntryIds": [
            "7JRNsKwy2Lw66caxVU7WGC"
          ]
        }
      }
    ],
    "lineEntryIds": [
      "7JRNsKwy2Lw66caxVU7WGC"
    ],
    "transfer": {
      "fromEntry": {
        "datetime": "2016-07-22T00:00:00Z",
        "journalEntryId": "7JRNsKwy2Lw66caxVU7WGC",
        "lineEntries": [
          {
            "accrualSource": {
              "dueDate": "2016-07-22",
              "effectiveDate": "2016-07-22",
              "id": "7JRNsKwy2Lw66caxVU7WGC",
              "lines": [
                {
                  "accountId": "7JRNsKwy2Lw66caxVU7WGC",
                  "accrualSourceId": "7JRNsKwy2Lw66caxVU7WGC",
                  "id": "7JRNsKwy2Lw66caxVU7WGC"
                }
              ]
            },
            "datetime": "2016-07-22T00:00:00Z",
            "id": "7JRNsKwy2Lw66caxVU7WGC",
            "journalEntryId": "7JRNsKwy2Lw66caxVU7WGC",
            "ledgerId": "7JRNsKwy2Lw66caxVU7WGC",
            "opposingLedgerIds": [
              "7JRNsKwy2Lw66caxVU7WGC"
            ],
            "paymentApplications": [
              {
                "accrualSource": {
                  "accrualSourceId": "7JRNsKwy2Lw66caxVU7WGC",
                  "endDate": "2016-07-22",
                  "startDate": "2016-07-22"
                },
                "linePaymentApplicationId": "7JRNsKwy2Lw66caxVU7WGC"
              }
            ],
            "relatedLineEntryId": "7JRNsKwy2Lw66caxVU7WGC",
            "tags": [
              {
                "id": "7JRNsKwy2Lw66caxVU7WGC",
                "tagGroupId": "7JRNsKwy2Lw66caxVU7WGC"
              }
            ],
            "transaction": {
              "datetime": "2016-07-22T00:00:00Z",
              "journalEntryId": "7JRNsKwy2Lw66caxVU7WGC",
              "ledgerId": "7JRNsKwy2Lw66caxVU7WGC",
              "lineEntryId": "7JRNsKwy2Lw66caxVU7WGC",
              "opposingLineEntryIds": [
                "7JRNsKwy2Lw66caxVU7WGC"
              ]
            }
          }
        ]
      },
      "toEntry": {
        "datetime": "2016-07-22T00:00:00Z",
        "journalEntryId": "7JRNsKwy2Lw66caxVU7WGC",
        "lineEntries": [
          {
            "accrualSource": {
              "dueDate": "2016-07-22",
              "effectiveDate": "2016-07-22",
              "id": "7JRNsKwy2Lw66caxVU7WGC",
              "lines": [
                {
                  "accountId": "7JRNsKwy2Lw66caxVU7WGC",
                  "accrualSourceId": "7JRNsKwy2Lw66caxVU7WGC",
                  "id": "7JRNsKwy2Lw66caxVU7WGC"
                }
              ]
            },
            "datetime": "2016-07-22T00:00:00Z",
            "id": "7JRNsKwy2Lw66caxVU7WGC",
            "journalEntryId": "7JRNsKwy2Lw66caxVU7WGC",
            "ledgerId": "7JRNsKwy2Lw66caxVU7WGC",
            "opposingLedgerIds": [
              "7JRNsKwy2Lw66caxVU7WGC"
            ],
            "paymentApplications": [
              {
                "accrualSource": {
                  "accrualSourceId": "7JRNsKwy2Lw66caxVU7WGC",
                  "endDate": "2016-07-22",
                  "startDate": "2016-07-22"
                },
                "linePaymentApplicationId": "7JRNsKwy2Lw66caxVU7WGC"
              }
            ],
            "relatedLineEntryId": "7JRNsKwy2Lw66caxVU7WGC",
            "tags": [
              {
                "id": "7JRNsKwy2Lw66caxVU7WGC",
                "tagGroupId": "7JRNsKwy2Lw66caxVU7WGC"
              }
            ],
            "transaction": {
              "datetime": "2016-07-22T00:00:00Z",
              "journalEntryId": "7JRNsKwy2Lw66caxVU7WGC",
              "ledgerId": "7JRNsKwy2Lw66caxVU7WGC",
              "lineEntryId": "7JRNsKwy2Lw66caxVU7WGC",
              "opposingLineEntryIds": [
                "7JRNsKwy2Lw66caxVU7WGC"
              ]
            }
          }
        ]
      }
    }
  }
}