If under execution sale the collateral does not sell for enough to pay the secured debt, interest, and costs of sale, the judgment creditor shall be liable for all costs thus made, but if a greater sum is realized, the officer conducting the sale shall at once pay to the secured party the amount due thereunder, and apply the surplus on the execution.
Iowa Code § 626.41