Every officer, when requested so to do, shall make out a bill of his or her fees in every case, and for any services, specifying each particular item thereof, and receipt the same when it is paid, which bill of fees shall always be subject to examination and correction by the courts. Any officer who fails to comply with the requirements of this section shall be liable to the person paying the fees in treble the amount so paid.