All fees, costs or other allowances, or any fees obtained from or allowed against any county, when the same are not authorized by law, and not refunded on demand, may be recovered back in a civil action, in the name of the proper county, in any court of competent jurisdiction; and on the rendering of the judgment in any such case, the court rendering the same shall add one hundred percent (100%) to the same, to go to the county, and also a fee of twenty-five dollars ($25) if in the district court, to go to the county attorney or other person prosecuting the same.
K.S.A. 19-232