Bava Basra 14: Moshe Wrote his Sefer and Parshas Bilam

Why isn't Parshas Bilam part of the Sefer Torah that Moshe wrote?