Let's review the mapping of accounts on Harvest, mbrajkovic.
It's possible that the deposit was counted as income causing it to duplicate.
We can manually modify the deposit by changing the account to Accounts Receivable. Then, link it to the invoice.
You can read through this article for the detailed steps to link the two transactions: How to link a deposit to an invoice.
We're always up to help you with your concerns.