This would require debit notes to become little ledgers which you can debit/credit. I feel like this would add extra complexity which is not justified. I think making an invoice overpaid until the amount is refunded is just as good. I mean after all, it is what happened.
Don’t wish to make it more complicated than it needs to be.
I will try giving the correct approach a go and select the invoice.
This may need updating in the guides as others may have had the same workflow then update and think they have an error.