House Republicans approved sweeping changes to the U.S. tax code Tuesday, but they will have to vote again on a final bill Wednesday morning after the legislation hit a procedural snag in the Senate late Tuesday afternoon.

Republican lawmakers had been barreling toward their goal of passing the first major tax overhaul in decades before the end of the year. But in their haste, they appeared to have violated a Senate procedural measure known as the Byrd rule.

A Senate aide confirmed to CNBC that three provisions in the bill adopted by the House on Tuesday do not comply with Byrd rule requirements. The rule governs what types of provisions the Senate may consider under the procedural budget window known as reconciliation.

One of these provisions would allow 529 college savings plans to be used for home-schooling expenses. Another is related to a tax exemption for a very narrow category of colleges. The third appears to relate to the bill's name, the "Tax Cuts and Jobs Act."

The Senate is still expected to vote to pass a revised version of the tax bill Tuesday night, and send the final legislation back to the House for a procedural vote Wednesday morning.

Earlier Tuesday, the GOP tax plan passed the House by a margin of 227-203, and Republicans erupted in cheers when the bill garnered enough support. Twelve Republicans — all from high-tax states that traditionally lean Democratic — bucked their party's leadership and opposed the bill. As House members voted on the legislation, chants of "shame!" came down from protesters in the chamber's gallery.

Once the House votes again to pass the tax bill, it will send the broadly unpopular measure to the Senate, where Republicans were previously expected to push it through by Wednesday morning. With Senate passage, the legislation would go to President Donald Trump to sign it into law.