Upon a verdict being rendered in favor of the state in any action brought by the state against any officer charged with the collection of any revenue for the state and his sureties, or either, for the recovery of any such revenue collected by him, a judgment must be rendered for the amount of such verdict and 20 percent thereon.
Ala. Code § 40-1-17 (1975)