You can do this with a journal entry (J/E). I assume the deposits included the sales tax collected? If that's the case, do your J/E like this:
| Debit | Credit |
Sales | XXX | |
Sales Tax Payable | | XXX |
That will reduce your sales by the amount of the sales tax collected and increase your sales tax payable. Make sure to include the name of your Sales Tax Agency in the "Name" field. I would date the J/E as of the last day of the deposits you are correcting unless the cut-off date for sales tax due falls within the date range of the deposits. If that's the case you will need to make two J/Es for the two different sales tax periods. Also, when you go to pay the sales tax for this entry, I would use another J/E:
| Debit | Credit |
Sales Tax Payable | XXX | |
Cash | | XXX |