A shortage of medicines, fuel and other essentials also helped to push the cost of living to record highs, triggering nationwide protests which overthrew the ruling government in 2022.
“We have lived beyond our means. Whether we like it or not, these difficult measures which may be very unpopular need to be taken,” Mr Sabry said in an interview before the funding was announced.
“Luckily, most [people] other than politically-motivated unions have understood that. I know they are not happy, but they also understand we have no choice,” Mr Sabry added.
Earlier this year the country introduced income taxes for professionals, ranging from 12.5% to more than 36%.
It also raised other taxes to pay for critical purchases, including fuel and food.
This is in stark contrast from the big tax cuts former Sri Lanka president Gotabaya Rajapaksa introduced in 2019, which lost the government income of more than $1.4bn (£1.14bn) a year.
Andrew Wood, analyst at the S&P Global Ratings agency, said: “Sri Lanka still faces a long road toward consolidation of its government balance sheet, consistent economic growth, and external stability.
“We expect the economy to contract again in 2023, albeit at a more modest pace, before returning to growth in 2024.”
Earlier this month, the IMF said Sri Lanka had secured financing assurances from all its major creditors, including China and India, which paved the way for the bailout.
Mr Sabry said it was “a little premature” to discuss if China – Sri Lanka’s biggest bilateral lender – would consider writing-off some of the country’s debts.
“We have the will to pay, but we don’t have the capacity to pay. What we are now trying to do is get that capacity back,” he said.
“That’s going to be a very difficult and serious discussion.”
The Sri Lankan government had initially hoped to agree a new payment plan with China and India by the end of 2022.
Beijing’s lending to Sri Lanka stands at around $7bn (£5.71bn) while India is owed around $1bn (£820m).