When you void a check the invoice is put on "hold" status so you can issue a replacement check. If you need the invoice cancelled you will have to do that manually by going to the Invoice Entry menu and selecting the A/P Invoice Change/Cancel (AP3324) screen, shown below.
If you want to rerelease it, go into Invoice Release Check Writer Menu AP9140 and change the status to P.
Or, you can make changes to the invoice and then rerelease it.
Note: If you cancel the invoice, the Purchase Order will be reopened.