The bill passed 227-203, along mostly party lines on Dec. 19, 2017, from which it headed to the Senate .