The department also said Friday the June surplus allowed the state to meet projections for tax collections for the 2012 fiscal year, which ends Saturday.
The state’s official financial forecast had predicted it would collect $572 million in taxes in June, but the actual figure was $604 million. The difference is 5.6 percent.
That surplus offset shortfalls in April and May.
For the entire fiscal year, the state collected $6 billion in taxes — about $4 million above expectations.
But tax collections this fiscal year were 8.4 percent greater than the previous fiscal year’s tax collections of $5.5 billion.