Hello there, Jack.
Yes, you are correct. You need to exclude the returned payment transaction from your bank to avoid duplicate records in your books. This will help prevent an incorrect increase in your bank balance and avoid reconciliation problems.
For more details, check out this article: Exclude a bank transaction you downloaded into QuickBooks Online.
Want to focus on growing your business instead of bookkeeping? With QuickBooks Live Expert Assisted, our professional bookkeepers handle the details, turning financial chaos into clarity so you can thrive.
You're welcome to post again if you need further assistance in QuickBooks.