Fictitious Invoices across all open batches

Every now and then one of my locations has their internet drop when one of the stations is writing a sales order. When we log back in, the invoice gets distributed to all open batches across the company, and cannot be deleted or changed. It will not update either, and it appears in any new S/O batches that are made as well. Does anyone have any ideas on how to clear those from History so they do not appear in any open batches anymore?