Hello there, @sulu707.
Let me share two scenarios and help you fix the difference when offsetting credits to invoice vs. bank statement.
If you're receiving payments via Merchant Services and deposited them to Undeposited Funds, you can consider using the Add funds to this deposit section to fix the difference.
But if you're not using Merchant Services, you can go to the Banking page and match the deposit to fix the difference. Let me guide you how.
Once done, you'll be able to fix the difference when offsetting credits to invoice vs bank statement.
In case you need tips and related articles in the future, visit our QuickBooks Community help website for reference: QBO Self-help.
Please keep in touch with us here in the Community should you need any further assistance. We're always here to help.