The government recorded a higher than forecast surplus in the five months to the end of November.
The operating balance before gains and losses showed a surplus of $125 million.
That was $582 million more than the forecast $457 million deficit.
Core Crown tax revenue of $30.4 billion dollars came in $530m above forecast.