Hold prepaid money on a client and apply it to deposits or invoices.
How to refund a booking deposit as a payment or credit it to client balance.