moved FinanceTransaction from api to core