いえ sounds more formal than うち. (うち is more colloquial.)
いえ means "house" and うち has more meanings, "house", "my house" and "my" depending on the context.
Examples:
Please come to my house. = わたしのいえにきてください / うちにきて(ください)。
my mother = わたしのおかあさん / うちのおかあさん
my friend's house = (わたしの)ともだちのいえ = (わたしの)ともだちのうち
I hope you get it.