While the REFUND option does allow you to change the REFERENCE to, for example 'FAILED DD', it does not UN-ALLOCATE the original DD from the invoice it was matched against.
Considering we are moving away from Cheques and DDs can often be rejected, I think this should be useful?