If the court requires the defendant to deposit cash or cash and another form of security as bail, the court may require the defendant and each person who makes the deposit on behalf of the defendant to execute an agreement that allows the court to retain all or a part of the cash to pay publicly paid costs of representation and fines, costs, fees, and restitution that the court may order the defendant to pay if the defendant is convicted. Before execution of the agreement, the defendant or person who makes the deposit on behalf of the defendant shall be advised that, upon conviction of the defendant, the court may retain from the cash deposited as bail all or a part of the cash to pay publicly paid costs of representation and fines, costs, fees, and restitution that the court may order the defendant to pay if the defendant is convicted. The defendant must also pay the fee required by subsection (d).
A portion of the deposit, not to exceed ten percent (10%) of the monetary value of the deposit or fifty dollars ($50), whichever is the lesser amount, may be retained as an administrative fee. The clerk shall also retain from the deposit under this subdivision fines, costs, fees, and restitution as ordered by the court, publicly paid costs of representation that shall be disposed of in accordance with subsection (b), and the fee required by subsection (d). In the event of the posting of a real estate bond, the bond shall be used only to insure the presence of the defendant at any stage of the legal proceedings, but shall not be foreclosed for the payment of fines, costs, fees, or restitution. The individual posting bail for the defendant or the defendant admitted to bail under this subdivision must be notified by the sheriff, court, or clerk that the defendant's deposit may be forfeited under section 7 of this chapter or retained under subsection (b).
The clerk of the court shall semiannually remit the fees collected under this subsection to the board of trustees of the Indiana public retirement system for deposit in the special death benefit fund. The fee required by subdivision (2) is in addition to the administrative fee retained under subsection (a)(2).
IC 35-33-8-3.2