Adjusting old AP invoices created through Receipt of Invoice

We came across a few invoices that were paid in AP using our GL account for purchasing instead of using the Invoices that were created through  Receipt of Invoice.

I want to adjust these existing invoices that have been paid through AP, but not clear on which GL account I should be using to adjust them to zero.  The GL account on the Receipt of Invoice was Purchase Clearing.  Thanks in advance for input.