Model for creating transaction