The Dutch parliament may approve some of the last-minute cuts agreed on to save its budget from breaching EU rules.
The move would protect the country's credentials as a champion of fiscal discipline.
The minority government led by Martin Rutte collapsed at the weekend in a row over the budget cuts.
The cuts are required if the Netherlands, one of the last triple-A rated euro zone members, is to meet strict European Union limits on budget deficits.
Led by Finance Minister Jan Kees de Jager, the government won support late on Thursday from three small opposition parties for a revised budget package.
The package includes an increase in value added tax, extra taxes on fossil fuels, alcohol and tobacco, and cuts in healthcare.
The Netherlands, which has been widely seen as an advocate of fiscal discipline among euro zone members, rattled investors and financial markets when it appeared to be on the brink of failing to meet those targets itself.
Dutch politicians, some of whom have lectured Greece on getting its finances in order, say Thursday's deal will cut the deficit to the EU target ceiling of 3%.
The deal reduces the risk that the Netherlands will lose its top-notch sovereign credit rating, but the country still faces months of policy uncertainty ahead of the September 12 poll.
Earlier on Thursday, its central bank president, Klaas Knot, warned that the country faced enormous challenges. He reiterated that the country must address structural reforms and said Europe's sovereign debt crisis was not over yet.
The failure of a core euro zone member to come up with a deal would have heightened the uncertainty, feeding angst in financial markets about the sustainability of Spanish and other euro zone debt.
"Austerity creates pain but we are doing this for the Netherlands and we're doing it for our children," Christian Democrat Lower House leader Sybrand van Haersma Buma told parliament as the new deal was debated.
The Dutch budget plan for 2013 now has the backing of the majority of members of the Dutch parliament after the opposition GreenLeft party said it would support the plan.
A caretaker coalition government of the Christian Democrats Party and the Liberals had already backed the plan, as did two smaller opposition parties. Together with the GreenLeft, they will have enough members to get the plan through parliament.