BENAVIDES, Circuit Judge:
Factual and Procedural Background
This case involves a debtor’s claim to recover an income tax overpayment for her 1997 tax year. Pursuant to 26 U.S.C. § 6402(a) of the Internal Revenue Code1 and 11 U.S.C. § 553(a) of the Bankruptcy Code,2 the Internal Revenue Service (“IRS”) setoff her overpayment against her unpaid 1993 tax liability, a liability which had been discharged under § 727 of the Bankruptcy Code. After the setoff occurred, the debtor moved to reopen her case, and filed amended schedules which for the first time listed her 1997 income tax overpayment as an exempt asset under § 522. The IRS did not file any objection to the reopening of the case or the amended schedules. The bankruptcy court granted the motion to reopen and her schedules were amended. The plaintifPdebtor, Constance Luongo, then brought an action in the bankruptcy court to recover her 1997 tax overpayment. She asserted that the setoff executed by the IRS was improper because (1) the 1993 tax debt had been discharged in bankruptcy, and (2) the 1997 tax overpayment had been exempted from her bankruptcy estate. In response, the IRS argued that the bankruptcy court lacked jurisdiction or that it should abstain from hearing the matter. The IRS further asserted that Bankruptcy Code § 553 preserved the IRS’ right to setoff under § 6402(a), notwithstanding the discharge of debtor’s unpaid 1993 tax debt or her attempt to exempt the 1997 overpayment. The case was submitted to the bankruptcy court on cross-motions for summary judgment.
The bankruptcy court adopted the opinion in Alexander v. Internal Revenue Service, 225 B.R. 145 (Bankr.W.D.Ky.1998), and granted plaintiffs motion for summary judgment. Construing the conflicting mandates of the two sections in favor of the debtor, the bankruptcy court in Alexander held that the language in § 522(c) that “property exempted under this section is not liable ... for any debt of the debtor that arose ... before the commencement of the case ...” took precedence over the language of § 553(a) that “this title [the Bankruptcy Code] does not affect any right of a creditor to offset....” The IRS appealed and the district court reversed. The district court held that based on the clear and unambiguous language of § 553(a) the IRS’ right of setoff was unaffected by Luongo’s claims that the tax overpayment is exempt property and the tax liability was discharged in the bankruptcy proceeding. Appellant Luon-go filed a timely notice of appeal.
While neither the district court nor the bankruptcy court afforded the IRS’ jurisdictional claims meaningful discussion in their respective opinions, we address these claims first as they are necessarily ante[328]*328cedent to any determination of the merits. In so doing, we conclude that the bankruptcy court had jurisdiction to resolve the debtor’s tax dispute and did not abuse its discretion in not abstaining. Further, we hold (1) that the IRS permissibly setoff Appellant’s prepetition tax overpayment against her discharged debt and (2) that Appellant could not exempt the overpayment under § 522. Because we find that Appellant could not properly exempt the overpayment at issue, we do not reach the exemption issue decided below — that is, whether § 522(c) prevents a creditor from exercising its right to setoff preserved in § 553. The judgment of the district court is AFFIRMED.
Analysis
I. Jurisdiction and Abstention
The IRS contends first that the bankruptcy court lacked jurisdiction to consider this matter, or in the alternative, should have abstained. Section 505 authorizes bankruptcy courts to determine the amount or legality of any tax liability of the estate or the debtor. 11 U.S.C. § 505(a)(1).3 This authority, however, is not unlimited. Section 505(a)(2)(B) provides that the bankruptcy court may not determine—
(B) any right of the estate to a tax refund, before the earlier of — •
(i) 120 days after the trustee properly requests such refund from the governmental unit from which such refund is claimed; or
(ii) a determination by such governmental unit of such request.
The IRS contends that the language of § 505(a)(2)(B) precludes a bankruptcy court from deciding the personal tax liability of the debtor. It relies on the inclusion of the terms “the estate” and “the trustee” to argue that § 505 contemplates that only a trustee may obtain a tax refund in bankruptcy court, and then only if the trustee is seeking a refund on behalf of the estate.
Initially, we note that the IRS’ reading of this subsection is contrary to the broad grant of jurisdiction in § 505(a)(1) permitting a bankruptcy court to determine “the amount or legality of any tax, any fine or penalty relating to a tax, or any addition to tax, whether or not previously assessed, whether or not paid, and whether or not contested before and adjudicated by a judicial or administrative tribunal of competent jurisdiction.” Furthermore, the legislative statements accompanying § 505 make clear that the section “authorizes the bankruptcy court to rule on the merits of any tax claim involving an unpaid tax, fine, or penalty relating to a tax, or any addition to a tax, of the debtor or the estate.” 124 Cong.Rec. H 11110 (daily ed. Sept. 28, 1978) (remarks of Rep. Edwards introducing the House amendment)(emphasis added), reprinted in, 1978 U.S.C.C.A.N. 5787, 6436, 6490. And under the paragraph heading “Jurisdiction of the tax court in bankruptcy cases,” the legislative statements instruct that “the bankruptcy judge will have authority to determine which court will determine the merits of the tax claim both as to claims against the estate and claims against the debtor concerning his personal liability for nondischargeable taxes.” 124 Cong.Rec. 32414 (1978) (Statement of Representative Edwards), reprinted in 1978 [329]*329U.S.C.C.A.N. .6436, 6492-93 (emphasis added); 124 Cong.Rec. 34014 (1978) (Statement of Senator DeConcini), reprinted in 1978 U.S.C.C.A.N. 6505, 6562; see also Begier v. IRS, 496 U.S. 53, 64-65 n. 5, 110 S.Ct. 2258, 2266 n. 5, 110 L.Ed.2d 46 (1990) (“Because of the absence of a conference and the key roles played by Representative Edwards and his counterpart floor manager Senator DeConcini, we have treated their floor statements on the Bankruptcy Reform Act of 1978 as persuasive evidence of congressional intent.”). The IRS cites no case supporting its restrictive reading of the bankruptcy court’s jurisdiction under § 505. On the contrary, absent the express statutory limitations in § 505(a)(2)(A) and (B), bankruptcy courts have universally recognized their jurisdiction to consider tax issues brought by the debtor, limited only by their discretion to abstain.4 In re Hunt, 95 B.R. 442, 445 [330]*330(Bankr.N.D.Tex.1989) (“[T]he reported decisions uniformly recognize the Bankruptcy Court’s jurisdiction to determine a debt- or’s tax liability-”).
The bankruptcy court’s ability to abstain is premised on Congress’ use of the word “may ” in § 505. In re Beisel, 195 B.R. 878, 379 (Bankr.S.D.Ohio 1996) (“Section 505(a)(1) allows but does not require the Bankruptcy Court to determine a debtor’s' tax liabilities.”). The factors frequently cited by the courts in deciding whether to abstain include the complexity of the tax issues to be decided, the need to administer the bankruptcy case in an orderly and efficient manner, the burden on the bankruptcy court’s docket, the length of time required for trial and decision, the asset and liability structure of the debtor, and the prejudice to the taxing authority. In re Hunt, 95 B.R. at 445. Several courts have also taken into consideration what they identify as the two-fold purpose of § 505:(1) “affording a forum for the ready determination of the legality or amount of tax claims, which determination, if left to other proceedings, might delay conclusion of the administration of the bankruptcy estate,” In re Diez, 45 B.R. 137, 138 (Bankr.S.D.Fla.1984), and (2) “providing an opportunity for the trustee, on behalf of the creditor, to contest the validity and amount of a tax claim when the debtor has been unwilling or unable to do so.” In re Millsaps, 133 B.R. 547, 554 (Bankr. M.D.Fla.1991); see also City of Amarillo v. Eakens, 399 F.2d 541, 543-44 (5th Cir. 1968) (“The amendment, by authorizing re-determinations in those instances where the tax claim was never appealed, serves to protect creditors of the bankrupt from the bankrupt’s lack of diligence.”).
The bankruptcy courts that have focused on these requirements consider general unsecured creditors, not the debtor, the intended beneficiaries of § 505(a). In re Williams, 190 B.R. 225, 227 (Bankr.W.D.Pa.1995); In re El Tropicano Inc., 128 B.R. 153, 161 (Bankr. W.D.Tex.1991). These courts conclude that when neither of the above two purposes would be served by a bankruptcy court determination of a chapter 7 debtor’s tax liability, abstention is warranted. These cases improperly view §' 505 in isolation without proper deference to the other goals of the Bankruptcy Code. The bankruptcy court’s responsibility in administering the estate is not only to achieve a fair and equitable distribution of assets to the creditors, but also to “relieve the honest debtor from the weight of oppressive indebtedness and permit him to start afresh.” Local Loan v. Hunt, 292 U.S. 234, 244, 54 S.Ct. 695, 699, 78 L.Ed. 1230 (1934). Thus, a court should consider the impact of the abstention not only on the general administration of the estate, but also on the debtor. In re Smith, 122 B.R. 130, 133-134 (Bankr. M.D.Fla.1990) (de[331]*331dining to exercise discretion because it would not assist the debtor to have a fresh start in life).
Another touchstone of the abstention inquiry is the substantive law governing the material issues. When bankruptcy issues are at the core of a dispute, it would be absurd for a bankruptcy court to abstain from deciding those matters over which it has particular expertise. On the other hand, simply because tax law is somehow implicated does not automatically trigger abstention. Just as bankruptcy courts are often called upon to apply state law in resolving bankruptcy matters, so too may they apply tax law in appropriate circumstances.5 In tax cases, the issue of abstention often arises with respect to questions of dischargeability. Many of the courts that have abstained cite the legislative history that:
... in the case of nondischargeable Federal income taxes, the IRS would be required to issue a deficiency notice to an individual debtor, and the debtor could then file a petition in the Tax Court-or a refund suit in a district court-as the forum in which to litigate his personal liability for a nondischargeable tax.
124 Cong. Rec. H 11110 (Sept. 28, 1978, remarks of Rep. Edwards); S 17427 (Oct. 6, 1978, identical remarks of Sen. DeConci-ni). This quote and the cases relying on it are predicated on the non-dischargeability of the tax. Where the determination of dischargeability or other bankruptcy specific issues is fully resolved, we agree with the IRS that there is no reason why the suit cannot be heard by a district court, the Tax Court, or the Court of Federal Claims.6 Our case, on the other hand, is more analogous to those cases where the court was faced with the preliminary bankruptcy question of whether the tax liability was dischargeable. See In re Shapiro, 188 B.R. 140, 143 (Bankr.E.D.Pa.1995)(concluding that while the bankruptcy court is the appropriate forum to determine the bankruptcy issue of dischargeability, it would be inappropriate for the bankruptcy court to decide the amount of the debtor’s non-dischargeable liability, which relies on non-bankruptcy law); In re Wood, 1994 WL 759753 (Bankr.N.D.Ga. Nov.21, 1994) (court abstained from fixing the amount of the debt but set a trial with regard to the issue of dischargeability); In re Gosciniak, 1994 WL 585928, at *3 (Bankr.S.D.Ind. May 25, 1994) (court ruled on discharge-ability but abstained from deciding amount of liability). In the instant case, Appellant was not requesting the bankruptcy court to determine the amount of her tax liability, but instead whether her tax overpayment, by virtue of exemption or discharge-ability, was protected from setoff by the IRS.
In In re Shapiro, the bankruptcy court noted several cases which follow the increasing trend of “dismissing a pending adversary proceeding which does not involve bankruptcy law issues, upon dismissal of the bankruptcy case itself.” 188 B.R. at 148 (citing Chapman v. Currie Motors, Inc., 65 F.3d 78 (7th Cir. 1995)). In Chapman, the Seventh Circuit [332]*332found that the bankruptcy court properly abstained from deciding a “related to” proceeding where the resolution of the matter did not rely on bankruptcy law and neither party alleged that the objectives of the Bankruptcy Code would be impaired. 65 F.3d at 82. We find such reasoning persuasive. Accordingly, we hold that where bankruptcy issues predominate and the Code’s objectives will potentially be impaired, bankruptcy courts should generally exercise jurisdiction.7 Conversely, absent any bankruptcy issues or implication of the Code’s objectives, it is usually appropriate for the bankruptcy court to decline or relinquish jurisdiction. We recognize, of course, that there may be instances where exceptional factors involving judicial economy, fairness and convenience to the litigants, or the simplicity of the non-bankruptcy issues involved may counsel otherwise. See In re Smith, 866 F.2d 576, 580 (3d Cir.1989). Such instances should be rare and we trust bankruptcy courts will exercise their jurisdiction prudently.
We now consider the application of this standard to the present case. This Court reviews the bankruptcy court’s decision not to abstain for an abuse of discretion. Matter of Howe, 913 F.2d 1138, 1143 (5th Cir.1990). In this case, Appellant received a discharge of her 1993 tax liability pursuant to § 727 of the Bankruptcy Code. The IRS then exercised its right to setoff established in § 6402 of the I.R.C. and preserved in § 553 of the Bankruptcy Code. Finally, Appellant claimed her tax overpayment as an exempt asset under § 522 of the Bankruptcy Code. We begin the abstention inquiry by identifying the material issues: first, whether Appellant could exempt her tax overpayment under § 522; second, whether § 522(c) immunizes exempt property from setoff; and third, whether §§ 524(a)(2) and 553 of the Bankruptcy Code permit a creditor to setoff against discharged debt. The resolution of these issues, although involving the IRS’ right to setoff under § 6402(a) of the I.R.C., was governed predominantly by bankruptcy law. Notably, there is no dispute over the amount of the parties’ respective tax liabilities or that outside of bankruptcy the IRS would have the right to setoff. Instead, the resolution of this matter required the bankruptcy court to interpret conflicting sections of the Bankruptcy Code and to determine the proper scope of the parties’ rights to dischargeability, exemption, and setoff. Such determinations are best made by the bankruptcy court. The second prong of the abstention inquiry also counsels in favor of the bankruptcy court retaining jurisdiction. Appellant’s rights to the integrity of her discharge and to the use of her exemptions are integral to the Code’s objective in providing a fresh start. Under the circumstances presented here, the bankruptcy court’s decision not to abstain was clearly proper.
II. IRS’ Right to Setoff
On May 19,1998, Appellant Luorigo filed for relief under Chapter 7 of the Bankruptcy Code. At the time of her filing she owed the IRS $3,800 in unpaid taxes from her 1993 tax year. On August 15, 1998, Appellant filed her 1997 income tax return showing an overpayment of $1,395.94. The bankruptcy court entered an order on September 10, 1998 discharging Appel[333]*333lant’s personal liability for her 1993 income tax deficiency. Subsequently, in November 1998, the IRS executed its claim to setoff and applied all of Appellant’s 1997 tax overpayment to her unpaid 1993 tax liability.8
Appellant first argues that the discharge of her 1993 tax liability under § 524(a)(2) bars the IRS from executing its claim to setoff. Section 524(a)(2) provides:
(a) A discharge in a case under this title—
(2) operates as an injunction against the commencement or continuation of an action, the employment of process, or an act, to collect, recover, or offset any such debt as a personal liability of the debtor, whether or not discharge of such debt is waived;
11 U.S.C. § 524(a)(2) (emphasis added). There is an apparent inconsistency between § 524(a)(2)’s prohibition on offsets and § 553’s recognition of setoff rights. Section 553(a) provides:
(a) Except as otherwise provided in this section and sections 362 and 363 of this title, this title does not affect any right of a creditor to offset a mutual debt by such creditor to the debtor that arose before the commencement of the case under this title against a claim of such creditor against the debtor that arose before the commencement of the case....
We agree with the vast majority of courts considering the relationship between § 524(a) and § 553 that a debtor’s discharge in bankruptcy does not bar a creditor from asserting its right to setoff. See In re Davidovich, 901 F.2d 1533 (10th Cir.1990); In re Buckenmaier, 127 B.R. 233 (9th Cir. B.A.P.1991); Posey v. Dept. of Treasury, 156 B.R. 910 (W.D.N.Y.1993); Reich v. Davidson Lumber Sales Emp. Ret. Plan, 154 B.R. 324 (D.Utah 1993); In re Thompson, 182 B.R. 140 (Bankr.E.D.Va. 1995); In re Runnels, 134 B.R. 562 (Bankr.E.D.Tex.1991); In re Morgan, 77 B.R. 81 (Bankr.S.D.Miss.1987); In re Conti, 50 B.R. 142 (Bankr.E.D.Va.1985); In re Ford, 35 B.R. 277 (Bankr.N.D.Ga.1983); In re Slaw Constr. Corp., 17 B.R. 744 (Bankr.E.D.Pa.1982); Krajci v. Mt. Vernon Consumer Discount Co., 16 B.R. 464 (Bankr.E.D.Pa.1981). But see In re Dezarn, 96 B.R. 93, 95 (Bankr.E.D.Ky.1988); In re Johnson, 13 B.R. 185, 189 (Bankr. M.D.Tenn.1981). It is impossible for us to ignore the clear statement of § 553 that “this title [the Bankruptcy Code] does not affect any right of a creditor to offset....” We interpret this statement to allow a discharged debt to be setoff upon compliance with the terms and conditions provided in § 553, notwithstanding § 524(a)’s post-discharge bar. This interpretation avoids the “possible injustice in requiring a creditor to file its claim for satisfaction in the bankruptcy court, while at the same time compelling the same creditor to pay in full its debt to the bankruptcy estate.” In re Davis, 889 F.2d at 661 (quoting In re Southern Indus. Banking Corp., 809 F.2d 329, 332 (6th Cir.1987)). Our interpretation also creates an equitable balance by preventing affirmative action to collect the discharged debt, while preserving the creditor’s right to raise a discharged debt as a defense to a recovery action brought by the debtor. “In these circumstances, where the creditor’s use of § 553 is defensive, the spirit of § 524(a)(2), ‘to eliminate [334]*334any doubt concerning the effect of the discharge as a total prohibition on debt collection efforts’ is not violated.” In re Ford, 35 B.R. at 280 (quoting S.Rep. No. 598, 95th Cong., 2d Sess. 80 (1978), U.S.C.C.A.N.1978, 5866).
In order to establish a valid right to setoff under § 553, the IRS must prove: (1) a debt owed by the creditor to the debtor which arose prior to the commencement of the bankruptcy case; (2) a claim of the creditor against the debtor which arose prior to the commencement of the bankruptcy case; and (3) the debt and claim must be mutual obligations. Braniff Airways, Inc. v. Exxon Co., 814 F.2d 1030, 1035 (5th Cir.1987). The second and third conditions are easily satisfied in the present case. First, Appellant owed the IRS $3,800 arising out of her 1993 tax year. Second, the debts involved are between the same parties standing in the same capacity, the requisite for mutuality.
The final condition is that the IRS’ debt to Appellant arose prior to the commencement of the bankruptcy case. Creditors are limited by the terms of § 553 to offsetting debts owed the debtor prepetition.9 In re Eggemeyer, 75 B.R. 20, 22 (Bankr.S.D.Ill.1987) (“The discharge of a debt in a bankruptcy proceeding does not affect the creditor’s right to setoff, provided the right of setoff existed at the time the bankruptcy petition was filed.”). Whether a debt arises prepetition is governed by when the debt accrued, not when the action for recovery was brought. “A tax obligation accrues when the event that triggers liability has occurred.” Matter of Midland Indus. Service Corp., 35 F.3d 164, 167 (5th Cir.1994). As of December 31, 1997 all of the events necessary to establish Appellant’s tax liability for her 1997 tax year had occurred.10 The date she actually filed her return is not relevant in determining when the debt arose.11 Id. at 167 (“[A] tax claim is incurred on the date it accrues rather than the date it is assessed or becomes payable.”). Thus, her bankruptcy petition having been filed on May 19, 1998, the overpayment (the debt owed the debtor by the creditor) arose prior to the commencement of the case.
Practical considerations reinforce a rule governing setoff against discharged debt that disregards the timing of the debtor’s action in favor of when it accrued. A contrary conclusion would open the proverbial floodgates to all manner of deception.12 Specifically with regard to taxes, [335]*335allowing dischargeability to act as a bar would permit a debtor to shelter assets from his creditors by making substantial overpayments to the IRS during a given tax year. The debtor could withhold the filing of his tax return until after he had filed for bankruptcy and received a discharge. Post-discharge, the debtor could obtain his tax refund free from the claims of his creditors.13 Such a result would not comport with the equitable nature of the Bankruptcy Code. Accordingly, we find the IRS’ debt to Appellant as a result of her overpayment during the 1997 tax year arose prepetition. Having established a valid right of setoff under § 553, the IRS permissibly offset Appellant’s overpayment against her discharged 1993 tax liability.
After the IRS executed its set-off rights, Appellant moved to reopen her case and filed amended schedules exempting the 1997 tax overpayment. Appellant’s second claim is that by virtue of the exemption of her tax overpayment, the IRS is prohibited from exercising its right to setoff. The commencement of the bankruptcy case creates a bankruptcy estate, which includes all “legal and equitable interests of the debtor.” 11 U.S.C. § 541; Owen v. Owen, 500 U.S. 305, 308, 111 S.Ct. 1833, 114 L.Ed.2d 350 (1991); Martin v. United States, 159 F.3d 932, 934 (5th Cir. 1998). Bankruptcy Code section 522 then permits a debtor to exempt certain property of the bankruptcy estate. 11 U.S.C. § 522(b). Property exempted under § 522 is removed from the estate for the benefit of the debtor. Thus, it is axiomatic that property cannot be exempted unless it was first part of the estate:
An exemption is an interest withdrawn from the estate (and hence from creditors) for the benefit of the debtor.
Property that is properly exempted under § 522 is (with some exceptions) immunized against liability for prebank-ruptcy debts. § 522(c). No property can be exempted (and therefore immunized), however, unless it first falls within the bankruptcy estate. Section 522(b) provides that the debtor may exempt certain property “from property of the estate”; obviously, then, an interest that is not possessed by the estate cannot be exempted.
Owen, 500 U.S. at 308, 111 S.Ct. 1833 (emphasis in original). A debtor’s claim to a tax refund is property of the estate. Mueller v. Commissioner, 496 F.2d 899, 903 (5th Cir.1974). However, under 26 U.S.C. § 6402(a) the debtor is generally only entitled to a tax refund to the extent that her overpayment exceeds her unpaid tax liability. In re Davis, 889 F.2d at 661. In the present case, the estate had a tax liability totaling $3,800, while the 1997 overpayment totaled only $1,395.94. Section 6402(a) grants the IRS discretion whether to offset against a debtor’s unpaid tax liability or to refund the overpayment to the taxpayer. The IRS elected to exercise that discretion to apply the overpayment to Appellant’s past liability. Because the prior unpaid tax liability exceeded the amount of the overpayment, the debtor was not entitled to a refund and the tax refund did not become property of the estate. Absent an interest in the estate to the refund, it could not properly be exempted by the debtor under § 522.
[336]*336
Conclusion
We reject the IRS’ contention that the bankruptcy court lacked jurisdiction over this proceeding. Section 505(a)(1) vests the bankruptcy court with broad jurisdiction over tax matters of the estate and the debtor, including determinations with respect to the personal liability of the debtor. The IRS’ alternative contention that the bankruptcy court should have abstained and permitted this action to be brought in the Tax Court or the district court is also rejected. The bankruptcy court did not abuse its discretion in not abstaining from a proceeding involving issues governed predominantly by bankruptcy law and implicating one of the Code’s paramount objectives of providing the honest debtor with a fresh start. The bankruptcy court erred, however, by preventing the IRS from enforcing its statutory right to setoff, established in § 6402(a) of the I.R.C. and preserved in § 553 of the Bankruptcy Code, against a tax overpayment that arose prior to the commencement of the case. Upon compliance with the terms of § 553, a creditor’s right to setoff is not affected by the post-discharge bar on collection efforts in § 524(a)(2). Additionally, under our controlling caselaw, the estate did not have an interest in the tax overpayment which could be exempted by Appellant. The bankruptcy court erred in permitting Appellant to exempt property, pursuant to § 522, which had not entered the estate. Because we find Appellant could not exempt the overpayment under § 522, we leave open the question of whether § 522(c) immunizes exempt property from setoff. We AFFIRM the judgment of the district court.