Use the Auto Void Supplier Invoice feature found under the Actions tab in the Accounts Payable module (see answer to the next question for more information).