Level 2

Reports and accounting

Open the deposit and change the account to AR. Go back to the invoice and apply the credit. The deposit should show up. Now you can link them. Hope it helps.