OPINION
Mrs. Morse filed this action in the district court seeking a refund of tax overpaid in her name. On cross-motions for summary judgment, the district court dismissed Mrs. Morse’s complaint with prejudice, holding that the decision of the tax court in Claire Morse, 19 T. C.M. 393 (1960), was res judicata, barring the district court from having jurisdiction to order a refund. The District Court further held that since the tax coui’t found that Mrs. Morse was not the taxpayer, she could not receive a refund of the tax. We reverse.
During the years 1944 and 1945, income tax returns were filed in Mrs. Morse’s name declaring an income of $32,239.42 with tax due in the amount of $14,925.62 for 1944 and income of $46,028.35 with tax due in the amount of $24,596.39 for 1945. The tax was paid by someone other than Mrs. Morse. Mrs. Morse filed a timely claim for refund for those years and the Commissioner mailed her a notice of deficiency for the same years. Mrs. Morse subsequently filed a petition in the tax court requesting it to find that there were overpayments and no deficiencies. Prior to the trial in the tax court, the Commissioner conceded that Mrs. Morse owed no deficiencies. At the conclusion of the trial, the tax court found that there were overpayments in the amounts of $14,925.62 for 1944 and $24,569.39 for 1945. When the Commissioner failed to refund the overpayments, Mrs. Morse filed the present action.
The government argues that the district court correctly held that it lacked jurisdiction because section 6512(a) of the Internal Revenue Code of 1954 1 precludes a taxpayer from bringing a suit for the recovery of tax in any other court once he has filed a timely petition with the tax court. The government *879 concedes that subsection (1) of that section allows an exception for overpay-ments determined by a decision of the tax court which has become final, but argues that this exception does not apply to Mrs. Morse because the tax court declined to find that she had made the overpayments. The government’s construction limits the language of the exception more than is reasonable or necessary. Section 6512(a)(1) excepts from the general preclusion of suits in other courts, suits to recover tax “[a]s to overpayments determined by a decision of the Tax Court which has become final.” The language does not require that the overpayments must have been made by the taxpayer.
The government further argues that even if suits for refund of overpayments do fall within the exception to section 6512(a), Mrs. Morse’s suit in the district court is barred by the doctrine of res judicata since the issues of this case were adjudicated and decided by the tax court. Although the doctrine of res judicata does bar subsequent litigation between the same parties on identical claims that have previously been decided by the tax court, it has no application where the legal matters raised in the second case differ from those determined in the earlier case. Commissioner v. Sunnen,
While the tax court found that an overpayment had been made, it declined to order a refund to Mrs. Morse or to determine who was entitled to the refund. This was proper since it lacked jurisdiction to order a refund or to determine who was entitled to the refund. The tax court’s jurisdiction, which exists only to the extent specifically enumerated by statute, is confined to determining the amount of deficiency or overpayment for the particular tax year for which the commissioner has sought a deficiency and the taxpayer has filed a petition for review. Commissioner v. Gooch Milling & Elevator Co.,
The district court also erred in holding that the tax court had found that Mrs. Morse was not the taxpayer. The tax court made no such finding, but found only that Mrs. Morse did not pay the tax and that a person unknown to the court had paid the tax.
Section 322(d) of the Internal Revenue Code of 1939 provided:
If the Tax Court finds that there is no deficiency and further finds that the taxpayer has made an overpayment of tax in respect of the taxable year in respect of which the Commissioner determined the deficiency . the Tax Court shall have jurisdiction to determine the amount of such overpayment, and such amount shall, when the decision of the Tax Court has become final, be credited or refunded to the taxpayer.
The government contends that under this section, a person is entitled to a refund only if the tax was paid by him or by someone else in his behalf. The tax cannot be paid in a person’s behalf, the government argues, where that person has not consented to having the return filed in his name. We find no merit in this contention since one may bestow a benefit upon another person without that person’s consent. Even if the person who paid Mrs. Morse’s tax had no intent to benefit her, he paid the tax in her name and that should be sufficient to give Mrs. Morse better title than the government since the tax court found that no tax was due.
Nevertheless, we express no opinion as to whether Mrs. Morse is actually entitled to the refund, but remand the case to the district court for further proceedings to consider other relevant tax laws, including sections 322(a)(1) and 3770(a)(1) of the Internal Revenue Code of 1939.
Reversed and remanded.
Notes
. Whether or not the district court had jurisdiction must be determined under the statutes in effect when the refund action was filed, but whether or not a taxpayer is entitled to a refund must be determined under the statutes in effect when the tax was paid. Therefore, as to the jurisdiction issue, the Internal Revenue Code of 1954 applies.
. See note 1. On this issue the Internal Revenue Code of 1939 applies.
