Tex. Code Crim. Proc. art. 4
An affidavit to perfect a restitution lien may not be filed under this article until a court has ordered restitution or entered a judgment requiring the defendant to pay a fine or costs.