The Senate is expected to pass the measure before funding lapses on Oct. 1, giving senators an additional two months — until just before Congress takes a weeklong Thanksgiving break — to pass a dozen spending bills, reconcile them with the House’s legislation and secure the president’s signature.

While congressional leaders and the White House reached agreement in July over nearly $1.4 trillion for defense and domestic programs, 12 annual bills are necessary to outline how that money will be divided among agencies, programs and departments. The House this year passed 10 of those bills, but at different funding levels than in the budget agreement.

But those bills cannot be reconciled until the Senate passes its own versions.

Senate Democrats have raised objections to how the Republican majority set funding levels for some of the bills, and provisions that would allow for more money to be set aside for barriers and fencing. Backed by their House counterparts, they have also objected to the administration’s demand that Congress replace $3.6 billion that was diverted from military construction projects to wall construction.

“We do not support diverting taxpayer dollars to build an ineffective and controversial wall along our southern border,” a group of Senate Democrats wrote in a letter this week, urging for a more bipartisan process. “Especially when those funds are stolen from our military and important investments for American families, such as college affordability, and our fight against the opioid crisis.”

Republicans, for their part, have pushed back on some amendments that they say are “poison pills,” legislative jargon for partisan provisions that could imperil the legislation on the Senate floor. And they have accused Democrats of violating the terms of the budget agreement, which barred such policy riders.