QB Issue Resolution:

If you flow both the sale and the refund through Undeposited Funds, you can assign the bank debit also to Undeposited Funds, and create a zero Bank Deposit and check off the 2 negatives against the positive, to clear them out

Resolution for Issue 'How do I match an ACH debit that consists of credit card sales and a larger credit card refund?' available: Yes (Solved).
Source: Intuit Community forum.

How do I match an ACH debit that consists of credit card sales and a larger credit card refund?: 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 deposit
Quickbooks Repair Pro will resolve it efficiently and affordably. Guaranteed resolution of your issue, or you pay nothing!

Error Recovery for bank deposit [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: