11 USC 1192 – Discharge
If the plan of the debtor is confirmed under section 1191(b) of this title, as soon as practicable after completion by the debtor of all payments due within the first 3 years of the plan, or such longer period not to exceed 5 years as the court may fix, unless the court approves a written waiver of discharge executed by the debtor after the order for relief under this chapter, the court shall grant the debtor a discharge of all debts provided in section 1141(d)(1)(A) of this title, and all other debts allowed under section 503 of this title and provided for in the plan, except any debt—
(1) on which the last payment is due after the first 3 years of the plan, or such other time not to exceed 5 years fixed by the court; or
(2) of the kind specified in section 523(a) of this title.