Ariz. Rev. Stat. § 11-584
A. The public defender, on order of the court, shall defend, advise and counsel any person who is entitled to counsel as a matter of law and who is not financially able to employ counsel in the following proceedings and circumstances:
B. The public defender shall perform the following duties:
C. Although the services of the public defender or court appointed counsel shall be without expense to the defendant, the juvenile, a parent or any other party, the court may make the following assessments: