The petitioner, Kevin Webster, appeals from the Superior Court’s {Groff, J.) denial of his petition for a writ of habeas corpus challenging his incarceration for a violation of probation. We reverse.
On January 8, 1988, the petitioner was sentenced contemporaneously on two indictments. On indictment 86-1105, charging sale of cocaine (the drug indictment), he was sentenced to twelve months at the house of correction followed by two years probation. On indictment 87-427, charging second-degree assault (the assault indictment), the petitioner received a sentence of one to three years at the State prison, consecutive to the sentence on the drug charge, suspended, and subject to imposition for a period of three years.
In April 1990, a violation of probation report was filed against the petitioner relative to the drug indictment. A four-paragraph handwritten agreement to resolve the probation violation was executed *37by the State and the petitioner and approved by the Superior Court (.Hampsey, J.) in July 1990. The agreement was captioned with the docket numbers for both the assault indictment, 87-427, and the drug indictment, 86-1105, and contained the following paragraphs:
“3. Defendant agrees to serve 12 months in the Hills-borough House of Correction on docket number 87-427. Defendant waives his right to good time credit;
4. Defendant agrees to serve an additional 2 years on probation from this day forward.”
Subsequent reports of probation violations were filed against the petitioner in June and July 1992, each containing both the drug and assault indictments’ docket numbers. At the August 1992 hearing on the alleged violations, after the Superior Court (Mangones, J.) found the petitioner chargeable, the prosecutor made a sentencing recommendation:
“Your honor, the State’s recommendation is that on Docket No. 87-427, charging the defendant with second-degree assault, which carries a maximum 3-Mi to 7 years, that he be resentenced to be stand committed in the New Hampshire State Prison for the 2-V6 to 5 and receive pretrial confinement credit of 365 days.”
The court asked for clarification of the docket number, which had been amended under the court’s new numbering system, and the prosecutor replied, “That charges him with second-degree assault.” The prosecutor also clarified that, on the assault charge, the petitioner had already served twelve months in the house of correction. The court accepted the recommendation and sentenced the petitioner accordingly.
The petitioner filed for a writ of habeas corpus challenging the legality of his sentence, arguing that the sentencing jurisdiction of the court relative to the assault indictment, 87-427, had expired in January 1991, prior to the probation violations for which he was sentenced. The trial court agreed that “[t]he three-year period, within which the suspended sentence in 87-427 could be imposed, had expired as of January 8, 1991,” and that any attempt to impose a sentence on the assault indictment would have been unlawful. The court ultimately found that notwithstanding the record references to the assault indictment, the petitioner’s 1992 sentence was in actuality imposed on the drug indictment, over which jurisdiction remained. That conclusion was based on two subsidiary findings.
First, the trial court looked to the July 1990 agreement that had resulted in sentencing on the petitioner’s earlier violation. While not*38ing that paragraph three of the agreement expressly provided for imposition of twelve-months imprisonment on indictment 87-427, the court found this reference to the assault indictment to be a “scrivener’s error.” That sentence, the court found, was in fact imposed on the drug indictment. Second, with respect to the 1992 hearing and resultant sentencing, the court found that “[t]he transcript indicates that both the Court and the prosecutor were mistaken as to the indictment under which the probation had actually been imposed. The fact that the Court mistakenly identified the docket number as 87-427 is of no significance.” Thus, the court found, the 1992 sentence was in fact imposed on the drug indictment.
While we ordinarily defer to the trial court’s findings of fact unless they are clearly erroneous, we are not so bound where the trial court has relied solely on documentary and record evidence that we are equally capable of examining. See Hillside Assocs. of Hollis v. Maine Bonding & Cas. Co., 135 N.H. 325, 330, 605 A.2d 1026, 1029 (1992). Here, as no testimony was adduced at the habeas hearing, the trial court was in no better position than are we to determine the meaning and significance of document entries and transcript colloquies. See id.
Our review of the 1990 sentencing agreement leads us to conclude that there is no basis for assuming that its reference to the assault indictment resulted from a “scrivener’s error.” The caption of the agreement plainly lists both docket numbers, indicating that the agreement was intended to embrace both the assault and drug indictments, sentencing jurisdiction at that time remaining over both. The express reference in paragraph three to 87-427 indicates on its face that the term of imprisonment to be imposed was tied to the assault indictment. Moreover, upon close inspection of the copy of the agreement provided to us, it appears that paragraph three’s handwritten docket number, “87-427,” was written over another number. The “87” appears to have originally been “86.” The drug indictment was number 86-1105. Rather than a scrivener’s error, therefore, the assault indictment number was apparently written in a deliberate, corrective fashion. Nothing on the face of the agreement suggests anything other than what it purports to be; namely, the disposition of both indictments.
The dissent ascribes the inclusion of the assault indictment number in the 1990 agreement to “docket number confusion,” referring to it as “the erroneous docket number used in the agreement.” While we might agree with these characterizations were the assault indictment the only number to appear, there is no reason to suppose that *39its inclusion along with the drug indictment was either erroneous or the product of confusion. The parties by executing the agreement and the court by accepting it apparently intended for the petitioner to submit to the court’s jurisdiction over both indictments.
The transcript of the 1992 probation violation hearing similarly betrays no ambiguity with respect to the intentions of the parties and the court. At that time, the petitioner was expressly sentenced on the assault indictment, jurisdiction over which had by then expired. That the prosecutor and judge may have been mistaken about which indictment remained before the court does not negate what the judge in fact did: he sentenced the petitioner on an indictment over which the court lacked jurisdiction.
By concluding that the petitioner should stay in prison “[i]n light of the overwhelming, undisputed evidence that [he] twice violated the terms of his probation on the drug charge,” the dissent essentially implies that guilt in fact is sufficient to overcome serious procedural defects. To our knowledge, this has never been the law.
Defendants in criminal cases have the right to expect that sentencing orders will clearly communicate the exact nature of their sentences. State v. Huot, 136 N.H. 96, 99, 612 A.2d 362, 364 (1992). Where there is no ambiguity, the intent expressed in the sentencing order must be presumed to reflect the intent of the sentencing judge. See id. at 99-100, 612 A.2d at 364. Here, the sentencing order plainly expressed an intent to impose a sentence on an indictment over which there was no sentencing authority. The dissent concludes that the reference to the assault indictment was “inadvertent” and that the assault docket number was “erroneously scribbled.” We rely, however, on the express language used by the parties and the sentencing court, and on the spirit of our prior sentencing cases. To hold, as the trial court in effect did, that the sentencing court could have legally sentenced the petitioner on an indictment that remained cannot render an otherwise illegal sentence lawful. Jurisdiction over the assault indictment was lacking, and as the petitioner is thus incarcerated on an illegal sentence, his petition for habeas corpus relief must be granted.
Reversed.
Thayer, J., dissented; the others concurred.