Defaults to all categories and accounts if none specified.
The categories field in the response has a breakdown of the total by categories for the given periods. You can expect to also receive the breakdown for income and transfer categories.
The 'total' field in the response calculates the total outgoing expenditure for the given periods. This calculation do not include income and transfers.
Categories under the transfer group are the only ones that can appear twice showing income and expenditure separately
Requires spending_analysis:read scope.