Topic: Delete invoice but keep direct delivery (note)

Is it possible to delete an invoice but keep the associated delivery note. I have now realised for this particular requirement I should have done a direct delivery and then batch them at the end of the month.

Am happy to directly manipulate tables on this occasion if required.

Thanks