How to deduct advance payments from owner payout