Untagging of a credit note

Hi,

I have an invoice which has been tagged to the bank but should have been tagged to an invoice. I would like to be able to delete the credit note to allocate it to the invoice, however it will not let me delete as it has been included in a VAT return ( the invoice and credit notes are for equal amounts so will not change any VAT amounts) how am I able to do this?

Thanks

Can you please clarify this? Is the payment on the bank currently tagged to an invoice that has been included in a VAT return? Where should this have been tagged to instead?