Except as otherwise provided by law, any note, mortgage or other credit agreement may provide for the payment of reasonable costs of collection, including, but not limited to, court costs, attorney fees and collection agency fees, except that such costs of collection:
K.S.A. 58-2312