Payment in error

I don’t know if there is a way to contra out the entries within bank tagging but the alternative is to treat it as a pre-payment and then refund it. The link below seems to be for a purchase but I have checked and the sales side is identical.