How to setoff supplier and customer balances

how to setoff supplier and customer balances