Transaction model and view