I have observed that even after posting the payment to vendors account, some of the payment does not apply leaving outstanding balances as if we are owing the customer. Please how can i reconcile this

I have observed that even after posting the payment to vendors account, some of the payment does not apply leaving outstanding balances as if we are owing the customer. Please how can i reconcile this