curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.stateset.com/api/v1/gl/income-statement' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"expense_lines": [
{
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_name": "string",
"account_number": "string",
"amount": "49.00",
"indent_level": 1,
"is_total": true
}
],
"net_income": "string",
"period_end": "string",
"period_start": "string",
"revenue_lines": [
{
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_name": "string",
"account_number": "string",
"amount": "49.00",
"indent_level": 1,
"is_total": true
}
],
"total_expenses": "string",
"total_revenue": "49.00"
}
Income statement
Income statement
GET
/
api
/
v1
/
gl
/
income-statement
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.stateset.com/api/v1/gl/income-statement' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"expense_lines": [
{
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_name": "string",
"account_number": "string",
"amount": "49.00",
"indent_level": 1,
"is_total": true
}
],
"net_income": "string",
"period_end": "string",
"period_start": "string",
"revenue_lines": [
{
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_name": "string",
"account_number": "string",
"amount": "49.00",
"indent_level": 1,
"is_total": true
}
],
"total_expenses": "string",
"total_revenue": "49.00"
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
Query parameters
string
required
Inclusive period start date in
YYYY-MM-DD format.string
required
Inclusive period end date in
YYYY-MM-DD format.Response
IncomeStatementResponse
IncomeStatementLineResponse[]
required
string
required
Decimal net income as a string.
string
required
string
required
IncomeStatementLineResponse[]
required
string
required
Decimal total expenses as a string.
string
required
Decimal total revenue as a string.
Status codes
| Code | Meaning |
|---|---|
200 | — |
400 | — |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.stateset.com/api/v1/gl/income-statement' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"expense_lines": [
{
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_name": "string",
"account_number": "string",
"amount": "49.00",
"indent_level": 1,
"is_total": true
}
],
"net_income": "string",
"period_end": "string",
"period_start": "string",
"revenue_lines": [
{
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_name": "string",
"account_number": "string",
"amount": "49.00",
"indent_level": 1,
"is_total": true
}
],
"total_expenses": "string",
"total_revenue": "49.00"
}
Last modified on September 21, 2026