Dillard, Presiding Judge. Eric Dial and Reagan Burge were married, had two children together, and divorced in 2011. In April 2023, the trial court modified Dial’s child support obligation, but three months later, Dial again sought modification, alleging he had experienced an involuntary loss of more than 25 percent of his income since the previous order. Burge answered, and filed a motion to dismiss the complaint, arguing that it was statutorily barred—having been filed less than two years from the previous modification. In a cursory order, the trial court granted Burge’s motion. Now, on appeal, Dial contends the trial court erred in granting the motion to dismiss and in treating the motion as one for summary judgment without prior notice. For the following reasons, we reverse the trial court’s ruling dismissing the complaint. We review the trial court’s grant of a motion to dismiss de novo.[1] Importantly, a motion to dismiss for failure to state a claim upon which relief can be granted may not be sustained unless (1) the allegations of the complaint disclose with certainty that the claimant would not be entitled to relief under any state of provable facts asserted in support thereof; and (2) the movant establishes that the claimant could not possibly introduce evidence within the framework of the complaint sufficient to warrant a grant of the relief sought.[2] Put more bluntly, in deciding a motion to dismiss, the trial court “must accept as true all wellpleaded material allegations in the complaint and must resolve any doubts in favor of the plaintiff.”[3] But a trial court also “may consider exhibits attached to and incorporated into the pleadings when ruling upon a motion to dismiss.”[4] And it is only when the trial court elects to consider matters outside of the pleadings that the motion will be treated as one for summary judgment.[5] So viewed, Dial and Burge had two children during their marriage, and they divorced on January 4, 2011, obtaining a “Final Judgment and Decree of Divorce” on that date. That initial final judgment was modified in an order dated January 14, 2021, which included, inter alia, detailed child-support obligations and directed Dial to pay Burge for some of the children’s previously unpaid expenses. Two years later, Dial sought another modification of his child-support obligation, and on April 26, 2023, the trial court issued a final order modifying his support obligation to $600.00 per month. Nearly two months later, on July 19, 2023, Dial again filed a complaint for modification of child support. Specifically, Dial alleged that since the April 26, 2023 order, he suffered an involuntary loss of more than 25 percent of his annual income; and consequently, he sought an additional downward modification of his child-support obligation. In doing so, Dial attached the previous modification orders to his complaint as exhibits. And later, Burge filed an answer and a motion to dismiss, arguing that OCGA § 19-6-15 (k) (2) prohibits parties from seeking a modification of child support within two years from the date of a previous modification order. Burge also attached the April 26, 2023 order as an exhibit to her answer and motion. Dial responded to Burge’s motion, and on November 7, 2023, the trial court held a hearing on the matter; but the hearing, apparently, was not transcribed. And less than two weeks later, the court issued a half-page order that summarily noted that “having heard the evidence” and “considered the Defendant’s Motion to Dismiss[,] it is therefore Ordered that Defendant’s Motion to Dismiss is hereby Granted.” Dial then filed an application for a discretionary appeal, which we granted. This appeal follows. 1. Dial contends the trial court erred in granting Burge’s motion to dismiss, arguing his complaint for modification of child support alleged circumstances falling within an exception to OCGA § 19-6-15 (k) (2). We agree, and thus reverse the trial court’s ruling. Burge is correct that—as argued in her motion to dismiss Dial’s complaint—”[o]n its face, OCGA § 19-6-15 (k) (2) prohibits the filing of a petition for modification of child support within two years from the date of a final order on a previous petition to modify filed by the same parent, with certain narrow exceptions.”[6] And indeed, the Supreme Court of Georgia has explained that “[t]he purpose of the prohibition is to protect the parties from excessive litigation over the same issues.”[7] Specifically, OCGA § 19-6-15 (k) (2) provides: No petition to modify child support may be filed by either parent within a period of two years from the date of the final order on a previous petition to modify by the same parent except when: (A) A noncustodial parent has failed to exercise the court ordered parenting time; (B) A noncustodial parent has exercised a greater amount of parenting time than was provided in the court order; or (C) The motion to modify is based upon an involuntary loss of income as set forth in subsection (j) of this Code section. Significantly, OCGA § 19-6-15 (j) (1) provides: In the event a parent suffers an involuntary termination of employment, has an extended involuntary loss of average weekly hours, is involved in an organized strike, incurs a loss of health, becomes incarcerated, or similar involuntary adversity resulting in a loss of income of 25 percent or more, then the portion of child support attributable to lost income shall not accrue from the date of the service of the petition for modification, provided that service is made on the other parent.[8] Here, in his complaint for modification of his child-support obligation, Dial clearly alleges that he suffered an involuntary loss of more than 25 percent of his annual income since the trial court issued the April 26, 2023 final order. As a result, his complaint, in no uncertain terms, raises an allegation that qualifies as an exception to the bar against petitioning for a modification within two years of a previous child-support modification order, exactly as contemplated in the plain language of OCGA § 19-6-15 (k) (2)-(3). So, construing the allegations in Dial’s complaint for modification as true (as we are required to do),[9] the trial court erred in granting Burge’s motion to dismiss.[10] Accordingly, we reverse the trial court’s ruling and remand the case for further proceedings consistent with this opinion. 2. Dial also maintains the trial court erred by treating the motion to dismiss his complaint as one for summary judgment without providing him prior notice that it intended to do so. But having concluded the trial court erred in granting the motion to dismiss, we need not address this contention.[11] Judgment reversed and case remanded for further proceedings. Brown and Padgett, JJ., concur.