In QuickFile if you are credit noting an earlier paid invoice with the view to holding those funds on account, the only way to do this would be to enter the original invoice. If this invoice pre-dates any opening balances you have entered, then some adjustment would be needed on the opening balance journal to factor this in.
We have a more general guide on credit notes in QuickFile here.
Please let me know if you have any follow up questions on this.