1. Create a payment for the invoice, using the same check number.
2. Mark the Unsuccessful? checkbox.
3. Select Void from the drop-down menu.
4. Click OK.