How to offset dues with owner credit

How to deduct Due Amount from Owner Credit?