GET
/
v0
/
journal-entries
/
{journal_entry_id}
/
line-entries
Authorization
Header
Path
curl --request GET \
  --url https://api.sandbox.teal.dev/v0/journal-entries/{journal_entry_id}/line-entries \
  --header 'Authorization: <authorization>' \
  --header 'teal-instance-id: <teal-instance-id>'
[
  {
    "amount": 382.28,
    "datetime": "2023-11-07T05:31:56Z",
    "debit_credit": "credit",
    "description": "<string>",
    "editable": true,
    "id": "XMDsKVuW4Wmi3LTW31Qw6E",
    "journal_entry_description": "August payroll",
    "journal_entry_id": "JFqZgayQehL9wBbyLrGd4A",
    "ledger_id": "FZo8uxfiKS9AZ6N6Eujwut",
    "ledger_name": "Salaries And Wages Expense",
    "related_line_entry_id": "<string>",
    "transaction_id": "<string>"
  }
]

Authorizations

Authorization
string
headerrequired

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

Headers

teal-instance-id
string
required

The Teal instance ID

Path Parameters

journal_entry_id
string
required

Journal entry ID

Response

200 - application/json
amount
string
required
datetime
string
required

The datetime that the line entry occurred.

debit_credit
enum<string>
required

Whether the amount is a credit or debit.

Available options:
debit,
credit
description
string | null
required

Description of a line entry.

editable
boolean
required

Indicates whether this line entry may be edited by the user.

id
string | null
required
journal_entry_description
string
required
journal_entry_id
string | null
required
ledger_id
string
required
ledger_name
string
required
related_line_entry_id
string | null
required

The line entry ID of a related line entry.

transaction_id
string | null
required

The transaction ID associated with the line entry.