You can't delete or void an Accounts Payable invoice.
Deleting removes the record permanently. Verify accuracy before you delete an invoice.
Monetary adjustments don’t update some reports, including:
How to adjust or reverse an Accounts Payable invoice
How to enter credit and debit memos in Accounts Payable