The legal fees paid for certified copies of the depositions of witnesses filed in any court administrator‘s office, or any documents or papers filed or recorded in any public office, necessarily used on trial of a cause or on the assessment of damages, shall be allowed in the taxation of costs. Any officer receiving fees shall, on demand, furnish an itemized list and receipt the same on payment. On refusal to do so, the officer shall be liable to the party paying the same for three times the amount paid. Every officer shall be entitled to the same fees for performing the same service.