How to apply owner credit to outstanding dues

How to deduct Due Amount from Owner Credit?