class TransactionService {

    public Map<String, String> uploadUserTransaction(MultipartFile multipart) {
        log.info("parsing transaction data");
        List<UserTransaction> transactions = parseService.convertFileToTargetObject(multipart, UserTransaction.class);
        log.info("{} transactions parsed", transactions.size());
        Map<String, String> map = transactionsStaffRestClient.transactions(transactionDataConverter.toLedgersMockTransactions(transactions)).getBody();
        log.info("Call to Ledgers to create new transactions successful");
        return map;
    }

}