Insight into income, grouped by revenue account.
This endpoint gives a summary of the income received by the user, grouped by revenue account.
Parameters
X-Trace-Idstring<uuid>headerUnique identifier associated with this request.
startstring<date>requiredqueryA date formatted YYYY-MM-DD.
endstring<date>requiredqueryA date formatted YYYY-MM-DD.
accounts[]Array<integer>queryThe accounts to be included in the results. If you add the accounts ID's of revenue accounts, only those accounts are included in the results. If you include ID's of asset accounts or liabilities, only deposits to those asset accounts / liabilities will be included. You can combine both asset / liability and deposit account ID's. Other account ID's will be ignored.
Response
A list of revenue accounts and income details. Each revenue account has one row per currency.
Bad request
Unauthenticated
Page not found
Validation error. The body will have the exact details.
Internal exception
Authorization
firefly_iii_authoauth2OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.
local_bearer_authhttp (bearer)A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.
