Assuming you have to still create the invoice, you could
1.create a saved search that shows the specific invoices created by CSV import.
2. Make sure it has internal ID, line ID on it.
3. Download this. Correct the error.
4. Do CSV import as Update only, and it will just update it.
Or, Delete/ void the Invoices created, and do the import the right way.