QB Issue Resolution:

the screen shot looks like an invoice that has been paid, the deposit amount is subtracted from the total due and you received the balance

a deposit should have posted to a liability when received, so that is the starting place – was it?

applying the deposit to the current sale is current revenue.

so the issue is what happened to the 398?  does the cash type bank account have that as a deposit back when received?  If it is not in the cash type bank account or the real bank, it was probably received in cash or a check that the owner cashed and used personally, equity drawing

Resolution for Issue 'How can I fix this deposit transaction from 2017?' available: Yes (Solved).
Source: Intuit Community forum.

How can I fix this deposit transaction from 2017?: this issue or error code is a known issue in Quickbooks Online (QBO) and/or Quickbooks. Support for this issue is available either by self-service or paid support options. Experts are available to resolve your Quickbooks issue to ensure minimal downtime and continue running your business. First try to resolve the issue yourself by looking for a resolution described below. If it is a complex issue or you are unable to solve the issue, you may contact us by clicking here or by using other support options.

Support for Bank Account
Quickbooks Repair Pro will resolve it efficiently and affordably. Guaranteed resolution of your issue, or you pay nothing!

Error Recovery for Bank Account [Canada]
E-Tech is the #1 Quickbooks data migration and Conversion service provider.

Get 50% off Quickbooks Online

Click Here for 50% off!

Additional Support Options: