recording transactions types