Hi,
This is indeed possible, but only for CurrentInvoices. Once invoices are booked they cannot be deleted, so create all invoices before booking them.
Keep track of the CurrentInvoice handle (which you already have) and use the CurrentInvoice_Delete method to delete the current invoice(s).
Cheers,
Bo