Hello Samaira,
This is a similar process to Vendor Risk.
You can do your first step by Payment Orders. When you send DME to Vendor Bank you get your invoice flagged for Payment Orders.
Check FBZP - CoCd Payment Method - to activate this functionality.
The vendor invoices are still opened however unable to be cleared. Then in a second moment you run transaction F_DD_PRENOTIF_ITEM to remove payment order. At this point you are able to clear the initial Vendor invoice.
Please comment if it makes sense for you,
Regards