Categorize returned transactions
This first merge is being done to make the feature available for the rest of the team. This is needed, because another feature is currently blocked until this functionality is available. There is still some refining to be done, but that work does not need to be finished before making this functionality available.