A total of 18 councils were given an injection of money from the government in February to ensure they could meet their duty to balance the books.