Reports
Get Income Statement
Get an income statement containing an array of ledger summaries for the instance. Requires Tier 1 subscription.
GET
/
v0
/
reports
/
income-statement
Authorization
Header
Query
curl --request GET \
--url https://api.sandbox.teal.dev/v0/reports/income-statement \
--header 'Authorization: <authorization>' \
--header 'teal-instance-id: <teal-instance-id>'
{
"records": [
{
"amount": 10237.23,
"children": [],
"debit_credit": "debit",
"ledger_id": "KFuaw1XRBKx9aYU6LodsDN",
"name": "Salaries And Wages Expense",
"parent_id": "FZo8uxfiKS9AZ6N6Eujwut",
"sort_code": "5300",
"sub_type": "current_assets",
"total_amount": 57537.23,
"type": "asset"
}
]
}
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Headers
teal-instance-id
string
requiredThe Teal instance ID
Query Parameters
start_date
string
requiredThe start date of the report, inclusive
end_date
string
requiredThe end date of the report, inclusive
Response
200 - application/json
records
object[] | null
requiredA list of child records records
curl --request GET \
--url https://api.sandbox.teal.dev/v0/reports/income-statement \
--header 'Authorization: <authorization>' \
--header 'teal-instance-id: <teal-instance-id>'
{
"records": [
{
"amount": 10237.23,
"children": [],
"debit_credit": "debit",
"ledger_id": "KFuaw1XRBKx9aYU6LodsDN",
"name": "Salaries And Wages Expense",
"parent_id": "FZo8uxfiKS9AZ6N6Eujwut",
"sort_code": "5300",
"sub_type": "current_assets",
"total_amount": 57537.23,
"type": "asset"
}
]
}