CHIEF JUSTICE HECHT delivered the opinion of the Court. By statute, the Texas Health and Human Services Commission “shall” contract for “annual independent external financial and performance audits” of Medicaid contractors, which “must be completed” before the end of the next fiscal year.[1] The court of appeals held that these requirements are “directory”, as opposed to “mandatory”, and thus the commissioner did not act ultra vires in directing that a contractor be audited years after the period covered.[2] Labels aside, conducting timely, annual audits is not left to HHSC’s discretion and is in that sense mandatory. But in this case, HHSC’s noncompliance with the statutory mandate does not foreclose its use of the audit results. We therefore affirm the part of the court of appeals’ judgment dismissing Image’s claims arising from the 2016 audit. We reverse the part of the court of appeals’ judgment dismissing the rest of Image’s suit and remand the case to the trial court for further proceedings consistent with this opinion. I HHSC “is the state agency designated to administer federal Medicaid funds”[3] and other benefits programs, such as SNAP[4] and TANF.[5] From 2009 to 2015, Image API, LLC provided services to HHSC under the parties’ Document Processing Services Agreement.[6] Image’s job was to manage a processing center for incoming mail related to Medicaid and other benefits programs. This mail included benefits applications submitted on paper, which Image sorted, scanned, and then routed electronically to the appropriate place or person within HHSC’s system. The Agreement provided that HHSC would compensate Image using its “retrospective cost settlement model”. HHSC made monthly payments to Image based on Image’s estimated allowable costs plus a reasonable profit, subject to monthly and annual reviews to reconcile the payments with Image’s actual allowable costs. In this process, Image was to provide HHSC access to its records, and HHSC was to conduct its regular audits according to agreed procedures. Image was contractually obligated to refund payments in excess of allowable costs. From 2009 to 2015, HHSC identified overpayments and requested corrections more than twenty times, and each time Image complied. The Legislature has also made HHSC responsible for auditing certain contractors. Section 32.0705(b) of the Human Resources Code states that HHSC “shall contract with an independent auditor to perform annual independent external financial and performance audits of any Medicaid contractor used in the commission’s operation of Medicaid.”[7] “Medicaid contractor” is defined in subsection (a), as we discuss fully below.[8] After imposing the audit requirement, subsection (b) provides that the “commission regularly shall review the Medicaid contracts and ensure” that various goals are met, including, “to the extent possible, [that] audits under this section are completed in a timely manner.”[9] Subsection (d) imposes a concrete deadline: “An audit required by this section must be completed before the end of the fiscal year immediately following the fiscal year for which the audit is performed.”[10] In 2016, HHSC notified Image that an independent external firm would conduct an audit of Image’s performance and billing for the years 2010 and 2011. Image cooperated fully with the audit, which was completed in 2017. The auditors ultimately concluded that HHSC had overpaid Image approximately $440,000 in costs relating to bonuses, holiday pay, overtime, and other unauthorized labor expenses that Image had incurred but that were not allowable under the Agreement.[11] HHSC wrote Image that to recoup the overpayments, it would begin deducting $73,500 per month from payments on Image’s invoices and would continue doing so for six months, until the total amount had been recouped.[12] Image sued HHSC’s executive commissioner in her official capacity for engaging in ultra vires conduct.[13] Image alleged that the commissioner had no legal authority to conduct an untimely audit of Image, a Medicaid contractor, in violation of Section 32.0705(d). It sought a declaration that the 2016 audit for contract years 2010 and 2011 violated Section 32.0705(d). It also sought to enjoin HHSC from conducting or relying on any noncompliant audit. Image moved for summary judgment. HHSC[14] filed a plea to the jurisdiction and a cross-motion for summary judgment,[15] asserting that it is both immune from suit and entitled to judgment on the merits because Image is not a Medicaid contractor under Section 32.0705(a) and because the deadline for audits of Medicaid contractors in Section 32.0705(d) is directory—or not judicially enforceable. The trial court denied Image’s motion and HHSC’s plea to the jurisdiction but granted HHSC’s motion for summary judgment and signed a final judgment for the commissioner. The order does not give reasons for the court’s ruling. Both parties appealed.[16] The court of appeals agreed with Image that it is a Medicaid contractor under Section 32.0705(a),[17] but it also agreed with HHSC that the one-year deadline in Section 32.0705(d) is directory and therefore does not constrain the commissioner’s discretion.[18] Because of its construction of subsection (d), the court held that HHSC’s plea to the jurisdiction should have been granted. The court of appeals reversed that part of the trial court’s judgment and rendered judgment dismissing Image’s entire suit for want of jurisdiction.[19] Only Image seeks review. The issues are whether it is a Medicaid contractor to which Section 32.0705 applies[20] and the consequences of HHSC’s failure to comply with the one-year deadline for audits. II We first consider whether Image is a Medicaid contractor.[21] A “Medicaid contractor” is defined by Section 32.0705(a)(2) as “an entity that . . . under a contract with the commission . . . performs one or more administrative services in relation to the commission’s operation of Medicaid, such as claims processing, utilization review, client enrollment, provider enrollment, quality monitoring, or payment of claims.”[22] Because the statute does not define “administrative services”, the court of appeals looked to several dictionaries, which reflect that administrative, when used as an adjective, connotes “office-y”, secretarial, or ministerial tasks.[23] The court reasoned that Image’s work of sorting, digitizing, and routing mail meets the basic definition of administrative services. The court further reasoned that Image performed its service “in relation to”—broadly speaking—HHSC’s operation of Medicaid because the processed documents include applications for Medicaid benefits.[24] Turning to the statute’s list of examples, the court concluded that Image’s services facilitate “client enrollment, at the very least”, pointing to HHSC’s request for proposal (RFP) in response to which Image was hired.[25] The 100-page RFP states that HHSC is seeking a document-processing vendor to make eligibility determinations for programs including Medicaid more efficient. Under the heading “Mission Statement”, the RFP states: “HHSC’s mission in this procurement is to procure services that will assist in its efforts to modernize the eligibility system and improve Texans’ access to health and human service programs in a manner that assures the highest levels of quality, accuracy and efficiency.” Under the heading “Mission Objectives”, the RFP lists the programs, including Medicaid, for which it is seeking a vendor “to support the determination of client eligibility”. Then it continues: “The procurement of document processing services supports the mission objectives described in this section.” Those objectives include “obtain[ing] program and operational optimization of eligibility determination[s]” for Medicaid and other programs. The Document Processing Services Agreement incorporates the RFP expressly. The Agreement also states that “HHSC’s procurement of document processing services . . . will assist in its efforts to modernize the eligibility system and improve Texans’ access to health and human service programs in a manner that assures the highest levels of quality, accuracy and efficiency.” In an exhibit to the Agreement containing modifications to Image’s proposal, Image acknowledges potential “increases in the number of Medicaid clients” and the effect of such an increase on Image’s fees. We agree with the court of appeals’ conclusion. The parties dispute whether subsection (a)(2)’s inclusive example list modifies “administrative services” or “operation of Medicaid”. But the examples listed—”claims processing, utilization review, client enrollment, provider enrollment, quality monitoring, or payment of claims”—are both “administrative services” and HHSC’s “operation of Medicaid”.[26] The question is thus whether Image provides “administrative services in relation to” one of these processes or one that is similar in kind or class.[27] The RFP and the Agreement make clear that HHSC solicited document-processing services so that it could make accurate eligibility determinations faster, facilitating client enrollment.[28] HHSC argues that administrative services means managerial services and that a Medicaid contractor “must have some role in the actual management of HHSC’s Medicaid program.” As HHSC points out, there are dictionary definitions that equate administrative or administration with management or executive work.[29] In the governmental realm, there are many instances in which administrative is used in reference to managerial or skilled work, rather than routine or helping work.[30] But importantly, administrative work is not always executive or managerial work. “[W]ords can have more than one meaning. . . . The fact that [a] word may sometimes be used to convey a different meaning is the very reason why we look for its common, ordinary meaning.”[31] We are also obligated to “read [statutory terms] in context”.[32] Doing so, we think that if the Legislature had meant to limit the definition of Medicaid contractor to one who takes a lead in managing Medicaid, it would have said so expressly. HHSC also argues that the parties’ course of dealing confirms that Image is not a Medicaid contractor, pointing to a checkbox section of the parties’ Agreement. One box that could have been checked but wasn’t discusses the financial and performance audits required by Section 32.0705. The implication is that if the parties had considered Image to be a Medicaid contractor, the box would have been checked. Whatever evidentiary value the unchecked box may have,[33] it cannot overcome the language in the RFP and the Agreement acknowledging Image’s role in assisting HHSC to optimize and modernize its eligibility-determination system. We hold that Image is a Medicaid contractor under Section 32.0705(a). III We turn to whether the court of appeals erred in its conclusion that the audit deadline imposed by Section 32.0705(d) is directory. The statute provides: (b) The commission shall contract with an independent auditor to perform annual independent external financial and performance audits of any Medicaid contractor used in the commission’s operation of Medicaid. The commission regularly shall review the Medicaid contracts and ensure that: . . . (3) to the extent possible, audits under this section are completed in a timely manner. . . . (d) An audit required by this section must be completed before the end of the fiscal year immediately following the fiscal year for which the audit is performed.[34] The 2016 audit undeniably failed to meet the deadline in subsection (d). The court of appeals agreed with HHSC that subsection (d)’s deadline is “mere[ly] a suggestion”.[35] The court acknowledged that “a common man would read ['must'] as being mandatory”.[36] But relying on this Court’s caselaw, the court reasoned that the statute’s lack of a penalty for noncompliance “creates the presumption that ‘must be completed’ is directory, as opposed to mandatory.”[37] This presumption is “buttressed by other considerations”, the court explained, including HHSC’s heavy workload: Construing “must be completed” as authorizing only a year to begin and finish the annual audit could well hamper [the statute's] objective, given the plethora of other business conducted by the Commission. Unless one forgets, we are dealing with a bureaucracy engaged in many activities and serving many functions.[38] Thus, “in the end,” the lack of noncompliance penalty, coupled with HHSC’s “many activities and . . . functions”, led the court “to forgo the common man’s interpretation of ‘must’” and hold that subsection (d) “is directory, as opposed to mandatory.”[39] A The distinction between mandatory and directory timing provisions derives from our caselaw.[40] The usual case involves a statute or rule requiring an act to be performed within a certain amount of time prior to or during litigation or an administrative process—e.g., service of process on a state agency within thirty days of the filing of a petition for judicial review,[41] holding a hearing on property forfeiture within thirty days of the defendant’s answer,[42] or filing a declaration of water use in an agency by a specified date[43]—and a party who failed strictly to comply. When construing such a provision, we first ask whether the statute expresses the timing requirement in mandatory language. Does it say that the act “shall” or “must” be performed within the prescribed time? “[I]n a statute”, these words “are generally understood as mandatory terms that create a duty or condition.”[44] Or does it instead say only that the act “may” or “should” be performed, indicating that it is directory?[45] When mandatory language is used, the question becomes “what consequences follow a failure to comply.”[46] The answer turns on whether a particular consequence is “explicit” in the text[47] or “logically necessary to accomplish the statute’s purpose”.[48] If a particular consequence is either, then “the courts will apply that consequence.”[49] If no particular consequence is explicit or logically necessary, then we decline to create a statutory consequence for noncompliance, because that “is the Legislature’s job, not ours.”[50] The mandatory–directory distinction can be confusing. We have labeled statutes using mandatory language as directory in the absence of an explicit or logically necessary consequence for noncompliance.[51] And “[a]lthough the word ‘shall’ is generally construed to be mandatory, it may be and frequently is held to be merely directory.”[52] But we have never equated directory with discretionary. To the contrary, we have expressly disavowed such a reading. Recently, we said: Our law contains many such commands for agencies to undertake ministerial actions within a stated time, without any further statutory guidance on what happens if the command is broken. Such commands are part of the law; whether they prescribe a consequence, and whether they are characterized as “mandatory” or “directory,” they are not mere suggestions to be disregarded.[53] A statute requiring that an act be performed within a certain time, using words like shall or must, is mandatory. Whether the statute imposes a specific penalty for noncompliance is a separate question, but a mandatory timing provision is not rendered otherwise by the statute’s failure to state a penalty for noncompliance.[54] Applying these principles, Section 32.0705(d) is mandatory because it states that a statutorily required audit “must be completed” within the time prescribed. B HHSC argues that subsection (b)(3) authorizes it to complete audits performed under Section 32.0705 later than the deadline in subsection (d). Subsection (b) states that “[t]he commission regularly shall review [its] Medicaid contracts and ensure that” certain benchmarks are met, including that “(3) to the extent possible, audits under this section are completed in a timely manner.” As HHSC acknowledges, we must read subsections (b) and (d) together, “giving effect to each provision so that [neither] is rendered meaningless or mere surplusage.”[55] HHSC tries to harmonize the provisions this way: “[S]ubsection (b)(3) directs that the audit be conducted in a timely fashion but provides HHSC with authority to conduct an audit afterwards”, whereas “subsection (d) directs what ‘timely’ means”. But this reading cannot be correct because it renders meaningless subsection (d)’s statement that an audit “must be completed” by the end of the fiscal year following the audit year. This reading is also undermined by the statute’s history.[56] What is now Section 32.0705 was enacted in 1999 as Section 12.0123 of the Health and Safety Code.[57] Section 12.0123 contained the text in subsections (a) through (c) of Section 32.0705, but there was no subsection (d). Section 12.0123(b)(3) stated that the Commission “regularly shall review its Medicaid contracts and ensure that[] . . . to the extent possible, audits under this section are completed in a timely manner”,[58] but “timely” was not defined. In 2015, the Legislature moved Section 12.0123 to Section 32.0705 of the Human Resources Code and amended it to add subsection (d).[59] If the Legislature had intended for HHSC to retain discretion on the timing of its audits of Medicaid contractors, it would not have amended the statute to say that the audits “must be completed” by a specific deadline. Finally, subsections (b)(3) and (d) can be harmonized to give effect to the plain language of each. The focus of subsection (b) is on HHSC’s duty to arrange for an annual independent external audit of its Medicaid contractors and on what its Medicaid contracts should say about these audits. Because “text cannot be divorced from context”,[60] subsection (b)(3) requires HHSC to “regularly . . . review [its] Medicaid contracts and ensure that” they support the timeliness benchmark. Subsection (d) then tells HHSC what timeliness is and sets a hard deadline: each audit “must be completed” by the end of the fiscal year following the audit year. We reject HHSC’s contention that subsection (b)(3) transforms subsection (d)’s (later enacted) “must” into a “may”. IV HHSC’s 2016 audit of Image thus failed to comply with the deadline in Section 32.0705. We turn finally to the consequences of that failure. To avoid usurping the Legislature’s authority, when an agency fails to comply with a statutory duty, the Judiciary may impose only consequences that are explicit in the statutory text or “logically necessary to accomplish the statute’s purpose”.[61] The “logically necessary” test is text-based too. We do not “choos[e] legal consequences without any direction from the text.”[62] Doing so risks “trespass[ing] beyond the judicial realm and into the policy decisions that are proper for the [Legislature].”[63] And courts must be especially vigilant when asked to “[f]ashion[] an extratextual judicial remedy against the executive branch”, for doing so “creates a serious risk that the courts will intrude into the prerogatives of both other branches.”[64] Image concedes that a Medicaid contractor is liable in damages for fraudulent overcharges or payments in breach of contract. HHSC has made no such allegation against Image. Nor has Image disputed the overcharges found in HHSC’s 2016 audit. Absent allegations of misconduct, Image argues, the consequence for a late audit under Section 32.0705(d) must be that HHSC cannot recoup payments identified as unallowable. This consequence is not explicit in the text, but Image argues it would serve Chapter 32′s general purposes of “enabl[ing] the state to provide medical assistance on behalf of needy individuals and . . . to obtain all benefits for those persons authorized under the Social Security Act or any other federal act.”[65] Disallowing recoupment of overpayments, Image argues, would serve this purpose by motivating HHSC to conduct timely audits, as it regularly does anyway under the retrospective cost settlement model for paying contractors. A contractor found to have charged HHSC costs for which reimbursement is not allowed can make adjustments when the overcharge is found in regular reviews or an annual audit when it can be difficult, as in this case, to repay overcharges years before. In Image’s view, audits within the statutory deadline would ensure timely error correction, aid HHSC as a good steward of the public funds it is entrusted to administer, and maximize state funds available for medical assistance. HHSC should be able to use the results of late audits only prospectively, Image argues, ensuring that overcharges are corrected going forward. Image’s arguments are not unreasonable, but that is not the test for determining the consequences of an untimely audit under Section 32.0705(d). The test for a consequence not expressed in the statute is that it be “logically necessary” to give effect to the statute. Disallowance of recoupment does not give effect to Section 32.0705(d), much less Chapter 32 as a whole. There is no textual clue whatsoever that the result Image urges is what the Legislature intended.[66] An injunction prohibiting HHSC from collecting overpayments found by the 2016 audit would therefore be error. We leave open the possibility that a Medicaid contractor could sue to stop an untimely audit from proceeding. But Image did not object to the 2016 audit at the time and complied with it fully. And, as we have noted, Image has not disputed the audit’s findings. We thus conclude that Image’s action for a declaration that HHSC’s 2016 audit was ultra vires and void, and for an injunction prohibiting HHSC from using the result of the audit or recouping overcharges from Image, must be dismissed. Because Image’s request for relief regarding prospective audits has not been adjudicated,[67] we remand the case to the trial court for further proceedings.[68] * * * * * We hold that Image is a Medicaid contractor under Section 32.0705(a), and that the deadline in Section 32.0705(d) for auditing HHSC’s Medicaid contractors is mandatory, but that HHSC’s failure to meet the deadline does not preclude it from using the result of the audit or pursuing recoupment of overcharges found in the audit. We affirm the part of the court of appeals’ judgment dismissing Image’s claims arising from the 2016 audit for lack of jurisdiction, we reverse the part of the judgment dismissing the remainder of Image’s suit, and we remand to the trial court for further proceedings consistent with this opinion. Nathan L. Hecht Chief Justice OPINION DELIVERED: June 21, 2024