Configuring investor tax based on the loan products