In the official bonds executed by the officers enumerated in § 8-22-101, there shall be included a condition that the officer shall collect and duly so account to the county trustee for the fees, commissions, emoluments, perquisites, and compensation that such officer shall receive or by due diligence ought to have received by virtue of the office, to which the county is entitled by chapters 21 and 22 of this title.