...
7. To find the deposit back, go into the Sales Oder and you can find the deposit under "Related Records" tab.
8. At the time when the Sales order is made converted into the an invoice, the payment is automatically applied to the invoice and the amount owing is reduced by the deposit(ed) amount(s).
...