Deposits and money on account
It stays on their account, unallocated, until there is an invoice to allocate it to.
Record the money as an ordinary receipt and allocate none of it. It stays on the customer's account as credit you are holding. When the job is invoiced, open the receipt and allocate it.
Where to see it
The customer's account panel shows what they owe and what is unapplied, separately. On the Debtors report the unapplied amount is deducted in their current column, and the total shows how much of the debtors figure has already been received.
Unapplied credit is not a credit note. Unapplied credit is money you are holding for the customer; a credit note reverses all or part of an invoice.