Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The Teal instance ID
Query Parameters
Optional ledger type used for filtering.
Available options:
asset
, liability
, equity
, revenue
, expense
Optional ledger sub type used for filtering.
Available options:
current_assets
, non-current_assets
, transfers_between_accounts
, uncategorized_assets
, current_liabilities
, non-current_liabilities
, equity
, operating_revenues
, other_income
, cost_of_goods_sold
, operating_expenses
, other_expenses
Optional financial account type used for filtering.
Available options:
bank_account
, credit_card
, payments
, payroll
, loan
, prepaid_card
, accounts_receivable
, accounts_payable
Optional ledger debit/credit used for filtering.
Available options:
debit
, credit
A comma separated list of sort orders for the results.
Comma-separated list of Ledger expand paths.
The number of records to return. Max limit is 1000.
Required range:
1 <= x < 1001
Response
Successful Response
The token to use to request the next page
Examples:
"ikal0NEVfMhF8dJf4yQ6KQZmGD"
The token to use to request the previous page
Examples:
"vuA7JeKI5c6FLnPt5JfRcZcJxW"
List of ledgers
Examples:
[
{
"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"
}
]