Deleting an open credit memo invoice using a VI import job

SOLVED

I am using MAS 200 4.10.  We are automating our RMA process, and currently are creating credit memos through a VI import job.  That is working fine.  Now I am expanding the function to include automating credits to customer credit cards.  The problem here is that the credit memo has to be created first to get the value MAS generates for sales tax so that the credit will have the correct amount.  But the credit can then fail because the customer has since decided to have their card info deleted, or because the card has expired, and then the credit memo is no longer valid and may be deleted if we can't get the required information to complete the credit.

I am looking for a way to delete the open credit memo through a VI import job, just as if a user had chosen to hit the delete button and confirmed the deletion.  I hoped that running an import to update the credit memo and give it a type of XD would work, but changing the invoice type is not allowed.  Is there a way to do what I want?  At this point I'm trying to find a perform function that will do the trick, but I'm not hopeful.

Thank you in advance for any assistance.