To address this overpayment, you'll first have to establish a specific temporary holding account to accurately track it. I recommend consulting with your accountant to ensure that you choose the correct account type for your financial reporting.
Since this situation doesn't involve Accounts Payable, there's no need to create a vendor credit in QuickBooks Desktop. Instead, you can begin by recording the overpayment as an expense transaction for the amount of $5,000, assigning it to the new temporary holding account you created.
Once the actual payment clears from your bank feed, you should match it to both the original bill and the new expense entry. This method will help keep your QuickBooks records in sync with your bank statement, allowing for a smooth reconciliation process.
Let me know how it goes. We'll keep this thread available for any further inquiries you may have. Have a great day!