Hi there, Parvaneh.
I tested this in my company file in QuickBooks and I was able to zero out the balance. Can you tell us how the credit was recorded and applied?
We just want to make sure that we are giving you the right information and steps to sort this out.
Please reply back to us to share more details. We look forward to it.