200Successful Response
Schema: SuccessEnvelope_GetIncomeStatementResponse_
successbooleanmessagestringcodestringdataGetIncomeStatementResponse
/api/v1/businesses/{business_id}/income-statementIncome statement grouped by section. Each section contains ledger line items with period values as top-level keys.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredstart_datestringrequiredStart date (YYYY-MM-DD)
end_datestringrequiredEnd date (YYYY-MM-DD)
hide_zero_rowsbooleandefault: FalseExclude line items with all-zero values
period_granularitystringdefault: monthlyPeriod grouping: monthly, quarterly, or yearly
tag_idsarray · stringdefault: []Filter by tag UUIDs — only line entries tagged with at least one of these tags are included
Schema: SuccessEnvelope_GetIncomeStatementResponse_
successbooleanmessagestringcodestringdataGetIncomeStatementResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject