get cash before service
sales order, sales receipt, posting to customer deposit account
sales order, sales receipt, posting to customer deposit account


In your In Product Help, please do a search for Upfront Deposit.
This will explain how to receive customer deposit, hold that deposit and use it on future invocies.