AP clerk entered an AP payment in prior fiscal year incorrectly.

AP clerk entered an AP payment in prior fiscal year. Then reversed it in the new fiscal year instead of the PY fiscal year.  How do i fix it so that the reversal is in the prior fiscal year not the current one?

ie: AP payment was entered on 7/8 and posted to 6/30 (our prior fiscal year).  She then went in to void the payment when she realized it was incorrect but it voided the payment in July (7/8 date it was originally entered).  Now my bank account is off because the payment was entered in the wrong fiscal year. 

How do i correct this?