You can't delete or void an Accounts Payable invoice. Deleting an invoice is only possible when the invoice is still in data entry and not yet updated.
Resolution
Delete or void an Accounts Payable Invoice
Understand deletion and adjust options
Delete an invoice only before posting.
Adjust an invoice after posting to change amounts, invoice date, GL account or term code etc.
CAUTION:
Deleting removes the record permanently from data entry. Verify accuracy before you delete an invoice.
Steps to delete an unposted invoice
Open Accounts Payable, then select Invoice Data Entry.
Click the Flashlight button and locate the unposted invoice you want to remove.
Click Delete, then confirm removal.
Steps to adjust a posted invoice
Open Accounts Payable, go to Invoice Data Entry.
Select the Vendor, then enter the invoice number to adjust.
Prompt appears to "Adjust Invoice on File?". Click the Adjust button.
Enter adjustment amount or make other required changes.
Go to Lines tab for any required changes to GL Account, amount, etc.
TIP:
If needing to correct the invoice date only, leave adjustment amount alone.
Click Accept to update the changes.
Alternate method using credit or debit memos
Record corrections with memos
Enter credit or debit memos for corrections that require balance changes.
Refer to related solution "Enter credit and debit memos in Accounts Payable", article ID 222924350018430.