201Successful Response
Schema: SuccessEnvelope_AnalyzeIncomeStatementResponse_
successbooleanmessagestringcodestringdataAnalyzeIncomeStatementResponse
/api/v1/businesses/{business_id}/income-statement/analyzeUses AI to analyze the income statement for the given period and return structured insights.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredSchema: AnalyzeIncomeStatementRequest
start_datestringrequiredStart date (YYYY-MM-DD)
end_datestringrequiredEnd date (YYYY-MM-DD)
Schema: SuccessEnvelope_AnalyzeIncomeStatementResponse_
successbooleanmessagestringcodestringdataAnalyzeIncomeStatementResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject