The clerk shall insert in the entry of judgment, on the application of the prevailing party upon five days' notice to the other except when the attorneys reside in the same city, village or town and then upon two days' notice, the sum of the allowances for costs and disbursements as provided by law and the necessary disbursements, including the fees of officers allowed by law, the fees of witnesses, the reasonable compensation of commissioners in taking depositions, the fees of referees and the expense of printing the papers for any hearing when required by a rule of the court. The disbursements shall be stated in detail and verified by affidavit. A copy of the items of the costs and disbursements shall be served with a notice of adjustment.
S.C. Code § 15-37-40