All accounts against the state subject to allowance by the supreme court shall be presented to the attorney general for approval. His opinion, or that of his assistant, concerning the validity of the same and whether it should be allowed or disallowed, shall be obtained in writing and presented to the court before the same shall be allowed by said court.
Miss. Code § 7-5-27