The bankruptcy law regarding the scope of the chapter 13 discharge is complex and has recently undergone major changes.
A chapter 13 debtor is entitled to a discharge upon completion of all payments under the chapter 13 plan so long as the debtor: (1) certifies (if applicable) that all domestic support obligations that came due prior to making such certification have been paid; (2) has not received a discharge in a prior case filed within a certain time frame (two years for prior chapter 13 cases and four years for prior chapter 7, 11 and 12 cases); and (3) has completed an approved course in financial management (if the U.S. trustee or bankruptcy administrator for the debtor's district has determined that such courses are available to the debtor). 11 U.S.C. § 1328. The court will not enter the discharge, however, until it determines, after notice and a hearing, that there is no reason to believe there is any pending proceeding that might give rise to a limitation on the debtor's homestead exemption. 11 U.S.C. § 1328(h).
The discharge releases the debtor from all debts provided for by the plan or disallowed (under section 502), with limited exceptions. Creditors provided for in full or in part under the chapter 13 plan may no longer initiate or continue any legal or other action against the debtor to collect the discharged obligations.
As a general rule, the discharge releases the debtor from all debts provided for by the plan or disallowed, with the exception of certain debts referenced in 11 U.S.C. § 1328. Debts not discharged in chapter 13 include certain long term obligations (such as a home mortgage), debts for alimony or child support, certain taxes, debts for most government funded or guaranteed educational loans or benefit overpayments, debts arising from death or personal injury caused by driving while intoxicated or under the influence of drugs, and debts for restitution or a criminal fine included in a sentence on the debtor's conviction of a crime. To the extent that they are not fully paid under the chapter 13 plan, the debtor will still be responsible for these debts after the bankruptcy case has concluded. Debts for money or property obtained by false pretenses, debts for fraud or defalcation while acting in a fiduciary capacity, and debts for restitution or damages awarded in a civil case for willful or malicious actions by the debtor that cause personal injury or death to a person will be discharged unless a creditor timely files and prevails in an action to have such debts declared nondischargeable. 11 U.S.C. §§ 1328, 523(c); Fed. R. Bankr. P. 4007(c).
The discharge in a chapter 13 case is somewhat broader than in a chapter 7 case. Debts dischargeable in a chapter 13, but not in chapter 7, include debts for willful and malicious injury to property (as opposed to a person), debts incurred to pay nondischargeable tax obligations, and debts arising from property settlements in divorce or separation proceedings. 11 U.S.C. § 1328(a).
There is also a such thing as a hardship discharge. After confirmation of a plan, circumstances may arise that prevent the debtor from completing the plan. In such situations, the debtor may ask the court to grant a "hardship discharge." 11 U.S.C. § 1328(b). Generally, such a discharge is available only if: (1) the debtor's failure to complete plan payments is due to circumstances beyond the debtor's control and through no fault of the debtor; (2) creditors have received at least as much as they would have received in a chapter 7 liquidation case; and (3) modification of the plan is not possible. Injury or illness that precludes employment sufficient to fund even a modified plan may serve as the basis for a hardship discharge. The hardship discharge is more limited than the discharge described above and does not apply to any debts that are nondischargeable in a chapter 7 case. 11 U.S.C. § 523.
The fact that you have filed bankruptcy will negatively effect your chances to finance a house. However, if you've successfully completed the program, it will look much better than a Chapter 7.