How To Account for a Returned Check
We had a customer pay an invoice via check. We recorded the payment and added the funds to undeposited funds. The bank accepted the check and we matched the bank record to the deposit. Two days later, the bank rejected the check. The customer wanted to pay via credit card and since I couldn't use the original invoice (it was marked paid), I generated a payment link. They paid via credit card and QBO auto generated entries.
How do I record the returned check and the new payment so that the customer's account shows it is a $0 balance.