Insight into expenses, grouped by expense account.
This endpoint gives a summary of the expenses made by the user, grouped by expense 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 expense accounts, only those accounts are included in the results. If you include ID's of asset accounts or liabilities, only withdrawals from those asset accounts / liabilities will be included. You can combine both asset / liability and expense account ID's. Other account ID's will be ignored.
Response
A list of expense accounts and expense details. Each expense 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.
