GET
/
v0
/
journal-entries
/
{journal_entry_id}
curl --request GET \
  --url https://api.sandbox.teal.dev/v0/journal-entries/{journal_entry_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'teal-instance-id: <teal-instance-id>'
{
  "datetime": "2022-01-01T00:00:00Z",
  "description": "Payment of legal fees",
  "id": "C4ocnUQze8kDwQ3EczkZXn",
  "line_entries": [
    {
      "amount": 382.28,
      "datetime": "2023-11-07T05:31:56Z",
      "debit_credit": "credit",
      "description": "<string>",
      "editable": true,
      "id": "XMDsKVuW4Wmi3LTW31Qw6E",
      "journal_entry": {
        "datetime": "2022-01-01T00:00:00Z",
        "description": "Payment of legal fees",
        "id": "C4ocnUQze8kDwQ3EczkZXn",
        "line_entry_ids": [
          "CWu49stZwxhVcHe7498qVx",
          "YT7R5Nc2gZBbkHbodiuxXP"
        ]
      },
      "journal_entry_description": "August payroll",
      "journal_entry_id": "JFqZgayQehL9wBbyLrGd4A",
      "ledger": {
        "debit_credit": "debit",
        "editable": true,
        "financial_account_type": "bank_account",
        "id": "7JRNsKwy2Lw66caxVU7WGC",
        "is_required": true,
        "name": "Accounts Receivable",
        "parent": "<any>",
        "parent_id": "HLn8oy2eqMUCwjp1Cwdgco",
        "report_cash_flow": true,
        "sort_code": "2003",
        "sub_type": "current_assets",
        "type": "asset"
      },
      "ledger_id": "FZo8uxfiKS9AZ6N6Eujwut",
      "ledger_name": "Salaries And Wages Expense",
      "related_line_entry_id": "<string>",
      "tags": [
        {
          "id": "UjL3BQnEaJtecuC7CUeDk",
          "name": "Semi-trailer Truck",
          "tag_group_id": "NCB2xo5S1yQbNgyWskXpwG"
        }
      ],
      "transaction": {
        "amount": 100,
        "categorization_method": "<string>",
        "datetime": "2022-01-01T00:00:00Z",
        "description": "Shell Gas Bar 4124",
        "id": "t_9237232",
        "journal_entry": null,
        "journal_entry_id": "<string>",
        "ledger": null,
        "ledger_id": "<string>",
        "line_entry": null,
        "line_entry_id": "<string>",
        "metadata": {
          "location": "TX, USA",
          "vendor_type": "Gas station"
        },
        "opposing_line_entries": null,
        "opposing_line_entry_ids": [
          "<string>"
        ],
        "posted_status": "posted",
        "review_status": "reviewed",
        "tags": [
          {
            "id": "UjL3BQnEaJtecuC7CUeDk",
            "name": "Semi-trailer Truck",
            "tag_group_id": "NCB2xo5S1yQbNgyWskXpwG"
          }
        ]
      },
      "transaction_id": "<string>"
    }
  ],
  "line_entry_ids": [
    "CWu49stZwxhVcHe7498qVx",
    "YT7R5Nc2gZBbkHbodiuxXP"
  ]
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

Path Parameters

journal_entry_id
string
required

Query Parameters

expand
enum<string>[] | null

Comma-separated list of Journal Entry expand paths.

Available options:
line_entries,
line_entries.transaction,
line_entries.ledger

Response

200 - application/json
datetime
string
required

Date that the journal entry occurred

description
string
required
id
string
required
line_entries
object[] | null
required

List of Line Entries. platformGL instances only. Included in expanded responses.

line_entry_ids
string[] | null
required

List of Line Entry IDs. platformGL instances only.