I'm not a cash person, but this is literally how cash deposits work (in the US). You fill out a deposit slip with your account information, hand the slip and the cash to the teller, and that's about it. If you own checks, your check book probably came with some deposit slips pre-filled with your account information.