Thanks for your help.
Just a quick note which may help with a fix for this issue. After adding “void” to the status field which was previously NULL in the database entry, I was able to see the delete option in WordPress Admin the same as other void invoices. I’m guessing that it is due to a string match query in the code for the status field. Maybe a quick fix would be to do the following check:
if (!status || status === “void”) { // then show delete option below invoice }
I could be talking nonsense but hopefully it helps π