Skip to main content
GET
List all Ledgers

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer , where is your auth token.

Headers

teal-instance-id
string
required

The Teal instance ID

Query Parameters

type
enum<string> | null

Optional ledger type used for filtering.

Available options:
asset,
liability,
equity,
revenue,
expense
sub_type
enum<string> | null

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,
retained_earnings
financial_account_type
enum<string> | null

Optional financial account type used for filtering.

Available options:
bank_account,
credit_card,
payments,
payroll,
loan,
prepaid_card,
accounts_receivable,
accounts_payable,
treasury,
investment
debit_credit
enum<string> | null

Optional ledger debit/credit used for filtering.

Available options:
debit,
credit
special_type
enum<string> | null

Optional special ledger type used for filtering. Special ledgers are ledgers that have special behaviour in the system.

Available options:
uncat_inflow,
uncat_outflow,
account_transfers,
opening_balances,
retained_earnings,
current_year_earnings,
accounts_receivable,
accounts_payable,
wages_expense,
bonus_expense,
commissions_expense,
contractor_expense,
employee_reimbursements,
severance_expense,
payroll_tax_expense,
employer_benefits_expense,
health_insurance_expense,
wages_payable,
payroll_tax_payable,
employee_benefit_liabilities,
payroll_liabilities,
payroll_adjustments_clearing
sort
enum<string>[] | null

A comma separated list of sort orders for the results.

Available options:
name,
-name,
type,
-type,
sub_type,
-sub_type,
debit_credit,
-debit_credit
expand
enum<string>[] | null

Comma-separated list of Ledger expand paths.

Available options:
parent,
parent.parent,
details
ledger_ids
string[] | null
deprecated

Deprecated: use ids instead. Comma-separated list of ledger IDs.

ids
string[] | null

Alias for ledger_ids. Comma-separated list of ledger IDs. Returns 404 if an ID is not found, 403 if any ID is not authorized.

limit
integer
default:50

The number of records to return. Max limit is 1000.

Required range: x >= 1
page_token
string | null

Opaque page token

Response

Successful Response

next_page_token
string | null
required

The token to use to request the next page

Example:

"ikal0NEVfMhF8dJf4yQ6KQZmGD"

prev_page_token
string | null
required

The token to use to request the previous page

Example:

"vuA7JeKI5c6FLnPt5JfRcZcJxW"

records
Ledger · object[]
required

List of ledgers

Example: