Line Entries
List all Line Entries in a Journal Entry
Teal API Endpoints
- Categorization
- Chart of Accounts Templates
- Instances
- Journal Entries
- Ledgers
- Line Entries
- Payables
- Platform
- Quickbooks
- Receivables
- Reports
- Tags
- Transaction Sources
- Transactions
- Transfers
API Migration
- Migration Guides
- Deprecated Endpoints
Line Entries
List all Line Entries in a Journal Entry
Lists all the Line Entries in a Journal Entry.
GET
/
v0
/
journal-entries
/
{journal_entry_id}
/
line-entries
curl --request GET \
--url https://api.sandbox.teal.dev/v0/journal-entries/{journal_entry_id}/line-entries \
--header 'Authorization: Bearer <token>' \
--header 'teal-instance-id: <teal-instance-id>'
[
{
"amount": 31282.28,
"debit_credit": "credit",
"description": "Payroll#230215",
"ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
"related_line_entry_id": "<string>",
"transaction_id": "<string>",
"id": "XMDsKVuW4Wmi3LTW31Qw6E",
"datetime": "2023-02-15T06:42:18Z",
"editable": true,
"journal_entry": {
"datetime": "2023-02-15T06:42:18Z",
"description": "Payroll#230215",
"id": "C4ocnUQze8kDwQ3EczkZXn",
"line_entry_ids": [
"XMDsKVuW4Wmi3LTW31Qw6E",
"NULcvXTkLczde32qs1rqgB"
]
},
"journal_entry_id": "C4ocnUQze8kDwQ3EczkZXn",
"journal_entry_description": "Payroll#230215",
"ledger": {
"debit_credit": "debit",
"editable": false,
"financial_account_type": "bank_account",
"id": "7JRNsKwy2Lw66caxVU7WGC",
"is_required": false,
"name": "Pluto Checking 4242",
"report_cash_flow": true,
"sort_code": "2240",
"sub_type": "current_assets",
"type": "asset"
},
"ledger_name": "Payroll Expense",
"tags": [
{
"id": "UjL3BQnEaJtecuC7CUeDk",
"name": "Sprinter - 1ab-c23",
"tag_group_id": "NCB2xo5S1yQbNgyWskXpwG"
}
],
"transaction": {
"amount": 31282.28,
"datetime": "2023-02-15T06:42:18Z",
"description": "Payroll#230215",
"id": "txn_UjL3BQnEaJtecuC7CUeDk",
"journal_entry_id": "C4ocnUQze8kDwQ3EczkZXn",
"ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
"line_entry_id": "XMDsKVuW4Wmi3LTW31Qw6E",
"personal": false,
"posted_status": "posted",
"review_status": "reviewed",
"source_account_id": "L7RR1Yz85FJoASPvPLs441"
}
}
]
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The Teal instance ID
Path Parameters
Journal entry ID
Query Parameters
Comma-separated list of Line Entry expand paths.
Available options:
transaction
, ledger
, journal_entry
Response
200
application/json
Successful Response
The response is of type object[]
.
curl --request GET \
--url https://api.sandbox.teal.dev/v0/journal-entries/{journal_entry_id}/line-entries \
--header 'Authorization: Bearer <token>' \
--header 'teal-instance-id: <teal-instance-id>'
[
{
"amount": 31282.28,
"debit_credit": "credit",
"description": "Payroll#230215",
"ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
"related_line_entry_id": "<string>",
"transaction_id": "<string>",
"id": "XMDsKVuW4Wmi3LTW31Qw6E",
"datetime": "2023-02-15T06:42:18Z",
"editable": true,
"journal_entry": {
"datetime": "2023-02-15T06:42:18Z",
"description": "Payroll#230215",
"id": "C4ocnUQze8kDwQ3EczkZXn",
"line_entry_ids": [
"XMDsKVuW4Wmi3LTW31Qw6E",
"NULcvXTkLczde32qs1rqgB"
]
},
"journal_entry_id": "C4ocnUQze8kDwQ3EczkZXn",
"journal_entry_description": "Payroll#230215",
"ledger": {
"debit_credit": "debit",
"editable": false,
"financial_account_type": "bank_account",
"id": "7JRNsKwy2Lw66caxVU7WGC",
"is_required": false,
"name": "Pluto Checking 4242",
"report_cash_flow": true,
"sort_code": "2240",
"sub_type": "current_assets",
"type": "asset"
},
"ledger_name": "Payroll Expense",
"tags": [
{
"id": "UjL3BQnEaJtecuC7CUeDk",
"name": "Sprinter - 1ab-c23",
"tag_group_id": "NCB2xo5S1yQbNgyWskXpwG"
}
],
"transaction": {
"amount": 31282.28,
"datetime": "2023-02-15T06:42:18Z",
"description": "Payroll#230215",
"id": "txn_UjL3BQnEaJtecuC7CUeDk",
"journal_entry_id": "C4ocnUQze8kDwQ3EczkZXn",
"ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
"line_entry_id": "XMDsKVuW4Wmi3LTW31Qw6E",
"personal": false,
"posted_status": "posted",
"review_status": "reviewed",
"source_account_id": "L7RR1Yz85FJoASPvPLs441"
}
}
]