The House is poised to vote on a bipartisan, $1.3 trillion omnibus spending bill as soon as Thursday, less than 24 hours after GOP leaders unveiled the massive package needed to avert a government shutdown this week.

The legislative text of the bill, totaling 2,232 pages, was released Wednesday evening after lawmakers and the White House debated throughout the day over what the final bill would look like.

ADVERTISEMENT

Conservatives complained bitterly about the rushed schedule and lack of transparency, lamenting that GOP leadership gave rank-and-file members little time to read and study what’s in the bill.

“This process looks really bad; it looks swampy,” said Dan Holler, a spokesman for the outside conservative group Heritage Action.

Throughout the day Wednesday, lawmakers speculated that President Trump Donald John TrumpBiden leads Trump by 36 points nationally among Latinos: poll Trump dismisses climate change role in fires, says Newsom needs to manage forest better Jimmy Kimmel hits Trump for rallies while hosting Emmy Awards MORE was upset with the amount of border wall funding — well below his initial request of $25 billion — and that he might veto the package as a result, forcing the third shutdown in as many months.

But after an impromptu White House visit by Speaker Paul Ryan Paul Davis RyanKenosha will be a good bellwether in 2020 At indoor rally, Pence says election runs through Wisconsin Juan Williams: Breaking down the debates MORE (R-Wis.) Wednesday afternoon, the White House quickly blasted out a statement saying Trump endorsed the omnibus and pledged to sign it into law.

The apparent confusion surrounding the president’s position on certain provisions has dogged the omnibus talks for days, confounding the Republican negotiators trying to glean his wishes and frustrating the effort of GOP leaders to demonstrate they can govern effectively.

The bipartisan deal — agreed to by Trump and the “Big Four” congressional leaders — capped a week of numerous false starts and delays. GOP leaders had hoped to roll out the omnibus on Monday, then on Tuesday, but those deadlines came and went. On Wednesday, House Majority Whip Steve Scalise Stephen (Steve) Joseph ScaliseHouse GOP slated to unveil agenda ahead of election House panel details 'serious' concerns around Florida, Georgia, Texas, Wisconsin elections Scalise hit with ethics complaint over doctored Barkan video MORE (R-La.) had hoped to use an early afternoon vote series to gauge support for the omnibus, but that series got pushed back into the late evening because the bill had still not arrived.

The bill, funding the government through the fiscal year ending Sept. 30, finally landed just after 8 p.m. Wednesday.

Because of the time crunch, Republicans could waive their internal rule that requires the House to vote on legislation at least three calendar days after it was introduced. However, there was also talk in the Capitol that the vote could slip until early Friday morning, before a bipartisan delegation flies to Rochester for the funeral of Rep. Louise Slaughter Dorothy (Louise) Louise SlaughterDemocrats must go on the offensive against voter suppression House passes bill to explicitly ban insider trading Sotomayor, Angela Davis formally inducted into National Women's Hall of Fame MORE (D-N.Y.).

The omnibus will then head to the Senate, which plans to take up the bill on Friday if all senators agree to a speedy vote. If anyone objects, like Sen. Rand Paul Randal (Rand) Howard PaulSecond GOP senator to quarantine after exposure to coronavirus GOP senator to quarantine after coronavirus exposure The Hill's Morning Report - Sponsored by National Industries for the Blind - Trump seeks to flip 'Rage' narrative; Dems block COVID-19 bill MORE (R-Ky.) did last month, Congress may need to pass a days-long stopgap measure to stave off a shutdown at midnight Saturday. The government is currently operating under its fifth continuing resolution (CR), and GOP leaders are scrambling to avoid the embarrassing optics of requiring a sixth.

To finalize the package Wednesday, party leaders had to iron out a handful of stubborn wrinkles that remained after weeks of tense negotiations. The most prominent of those included:

A deal on the Gateway tunnel project connecting New York and New Jersey. The project can receive up to $541 million in federal funds, far short of the $900 million that Congress originally authorized and that Trump opposed.

A narrow background check bill for gun purchases known as the Fix NICS Act, as well as grants to make schools safer after last month's mass shooting at a Florida high school. A third provision, backed by Democrats, would allow the Centers for Disease Control and Prevention to study gun violence as a public health issue, something banned under a law known as the Dickey Amendment.

More than $1 billion for border security and new surveillance technology — funding demanded by Trump — though with restrictions, demanded by the Democrats, that the money can’t underwrite new construction of the border wall Trump promised during the campaign. It provides $641 million for 33 miles of new fences or levees and $630 million for repairs, technology enhancements and related efforts.

More than $4 billion in additional money to fight the opioid crisis.

A fix for the so-called grain glitch, a provision of the new GOP tax law that critics say harms grain companies. In exchange for the fix, Ryan agreed to Democrats’ demand for an expansion of the low-income housing tax credit.

GOP leadership has pitched the omnibus, based on a two-year budget deal agreed to last month, as a huge win for the military. It would boost defense spending by $80 billion in fiscal 2018 and give troops a 2.4 percent pay raise.

“Today marks the beginning of a new era for the United States military,” Ryan said in a statement Wednesday night. “With the biggest increase in defense funding in 15 years, this critical legislation begins to reverse the damage of the last decade and allows us to create a 21st-century fighting force.”

But at a conservative event at the Capitol on Wednesday, leaders of the House Freedom Caucus railed at the huge price tag of the omnibus and at the closed-door process of how it came together.

Without having seen the text yet, Freedom Caucus Chairman Mark Meadows Mark Randall MeadowsAirline CEOs plead with Washington as layoffs loom Trump reacts to Ginsburg's death: 'An amazing woman who led an amazing life' Trump carries on with rally, unaware of Ginsburg's death MORE (R-N.C.), who is close to Trump, predicted that the “wins for conservatives will be few and far between.”

“It is troubling when we get a tunnel and we don't get a wall,” Meadows said.

His close ally, Rep. Jim Jordan James (Jim) Daniel JordanSunday shows preview: Justice Ginsburg dies, sparking partisan battle over vacancy before election House passes resolution condemning anti-Asian discrimination relating to coronavirus Republicans call for Judiciary hearing into unrest in cities run by Democrats MORE (R-Ohio), took it further, urging Trump to veto the spending bill.

"I'm voting against it ... and if the bill passes the way it is, I hope the White House does veto," Jordan said. "But I think it's not good for the American taxpayer, not consistent, anywhere close to consistent, to what we said we would do when they elected us in 2016."

A short while later, Ryan set off for the White House to convince Trump that the deal was a good one and to try to quash any further veto chatter. In addition to Ryan and Trump, Vice President Pence, chief of staff John Kelly John Francis KellyMORE and White House legislative affairs director Marc Short were on hand. Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellOcasio-Cortez to voters: Tell McConnell 'he is playing with fire' with Ginsburg's seat McConnell locks down key GOP votes in Supreme Court fight Video shows NYC subway station renamed after Ruth Bader Ginsburg MORE (R-Ky) called into the 45-minute meeting.

The spur-of-the-moment visit by Ryan apparently paid off. Within minutes of his departure, White House press secretary Sarah Huckabee Sanders issued a statement saying Trump backed the omnibus. Another White House official said Trump intended to sign it into law.

“The President and the leaders discussed their support for the bill, which includes more funds to rebuild the military, such as the largest pay raise for our troops in a decade, more than 100 miles of new construction for the border wall and other key domestic priorities, like combating the opioid crisis and rebuilding our nation’s infrastructure,” Sanders said in the statement.

Juliegrace Brufke contributed.