Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The Teal instance ID
Path Parameters
The ledger ID
Query Parameters
Comma-separated list of Ledger expand paths.
Body
Indicates if the ledger is a credit or debit ledger.
Required if financial_account_type
is not specified.
debit
, credit
"debit"
The name of the ledger.
Teal does not enforce any other conventions or patterns on naming schemes; however, we recommend you use concise, descriptive names, especially for financial account ledgers.
"Pluto Checking 4242"
If the ledger is a child Ledger, the ID of the parent ledger object.
null
Determines the display order in reports, ordered digit by digit, starting from the leftmost position. For example, 20010
will come before 3050
.
Teal does not enforce any other conventions or patterns on sort codes. However, it is recommended to adopt a common convention such as starting all ledgers of the same type with the same number (assets start with 1, liabilities start with 2, etc.). The default CoA templates provided by Teal follow best practices for sort code numbering.
Required if financial_account_type
is not specified.
20
"1400"
Indicates similar characteristics and accounting treatment for a group of ledgers within a type
.
Required if financial_account_type
is not specified.
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
"current_assets"
Indicates the purpose and location of the funds and value recorded in the ledger and which report it is included in: asset
, liability
and equity
ledgers are displayed on the balance sheet; revenue
and expenses
are displayed on the income statement.
Required if financial_account_type
is not specified.
asset
, liability
, equity
, revenue
, expense
"asset"
A list of fields to be cleared.
["parent_id"]
Response
Successful Response
The unique ID of the object.
"7JRNsKwy2Lw66caxVU7WGC"
The name of the ledger.
"Pluto Checking 4242"
Indicates if the ledger is a credit or debit ledger.
debit
, credit
Whether line entries can be manually added or removed from the ledger.
false
Indicates that the ledger is one of the four system ledgers required for Teal to work. In the default chart of accounts, these are named one of: Transfers Between Accounts
, Opening Balance Retained Earnings
, Uncategorized Cash Inflow
, Uncategorized Cash Outflow
. You can update the names of these to fit your needs.
false
If the ledger is a child Ledger, the ID of the parent ledger object.
null
Whether Teal includes this ledger in the cash flow report.
false
Determines the display order in reports, ordered digit by digit, starting from the leftmost position. For example, 20010
will come before 3050
.
"1400"
Indicates similar characteristics and accounting treatment for a group of ledgers within a type
.
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
Indicates the purpose and location of the funds and value recorded in the ledger and which report it is included in: asset
, liability
and equity
ledgers are displayed on the balance sheet; revenue
and expenses
are displayed on the income statement.
asset
, liability
, equity
, revenue
, expense
The datetime when the ledger was created.
"2024-01-01T00:00:00Z"
Indicates that the ledger represents a real-world financial account.
bank_account
, credit_card
, payments
, payroll
, loan
, prepaid_card
, accounts_receivable
, accounts_payable
"bank_account"
Expandable. If the ledger is a child ledger, the parent ledger object.