Trying to do year end but this won't allow balance

So I had entered a credit note in error then had to create an invoice to pay that credit note and not sure if we had deleted the credit note but it is no longer showing in our system.  Problem is that in Sage the cheque is showing as having paid $12,000 but the cheque amount was actually written for $10,000. So now we have this $2000 difference and I am unsure how to fix that.  Thank you so much

edit*

I had already created the credit note but the amount had also already been deducted from the specific invoice so we still owed the 2k. I later paid it out and deleted the credit note but when it was deleted it adjusted the amount on the cheque so now the cheque in Sage says we paid $12k but we only paid $10k.  I am trying to find a way to make the cheque show the 10k.  Do I need to re enter the credit note?