I am currently creating a billing system for a hotel. My problem is what if the guest pay by cash as his/her downpayment and pays with a credit card when he/she checks out.

tnx in advance