When a case is disposed of, the costs, including fees of witnesses, shall be included in the judgment against the party voluntarily dismissing, being involuntarily dismissed, or cast in the action. It shall be the duty of the clerk of the court, of the magistrate, or of any other officer who may issue an execution to endorse on the execution at the time it is issued the date and amount of the judgment, the items of the bill of cost, written in words, and the amount of each item distinctly stated in figures. No costs or items of costs shall in any case be demanded by any officer unless they are itemized and endorsed as provided in this Code section.
OCGA § 9-15-11