The budget barely got the assembly's approval.

Literal

Budget [topic-は] barely assembly-of approval [object-を] obtain-[past-た].

かろうじて ('barely, narrowly, with difficulty') is an elegant adverb for close outcomes. 承認を得る ('to obtain approval') is a fixed collocation — 得る (える) is a formal verb for 'to obtain, acquire, gain.' 議会 is a legislative assembly or parliament. The whole sentence has the dry cadence of a newspaper report.