format transactions for the report