Incorrect account posted

I have an AR cash payment and an invoice that was posted to Inventory Purchase Rec'ing, how do I fix what has been done and post to correct account?  These posting have made my Inv. Account off but AR is in balance. 

Thank you,

Salanna