Hi Samuel
If the credit for an invoice to a Sundry vendor went to AP, then there is an incorrect setting somewhere in PO. But that's a different issue.
To get to where you want to be, all you have to do is to enter an invoice in AP itself for the correct vendor and debit the AP account (to wash against the credit to AP that happened above). This will end up having no effect in GL, and it shouldn't because the credit to AP is already there.
Steve