The operating balance excluding gains and losses (obegal) was $2.5millon for the 10 months ending April 30, compared with a forecast surplus of $1billion.
Jayne Winfield, from the Office of the Government Accountant, said the extra $1billion was due to higher-than-forecast core Crown tax revenue and lower-than-forecast Crown expenses.
Tax revenue was $1.2billion, or 2%, higher than forecast and $5billion (8.8%) higher compared with the same period last year.
Corporate tax was the largest driver of increased tax revenue against forecast, being $1billion ahead, she said.
The corporate tax forecast was based on an assumption the annual peak in provisional tax assessments and estimates processing would occur in May.
Crown expenses were $391million lower.
Mr Joyce said the Treasury and Inland Revenue expected most of the tax gain to reverse in the May accounts.
At this stage, the Treasury expected the 2016-17 accounts to be broadly as forecast.
Deloitte Dunedin tax partner Phil Stevenson agreed with the summation by Mr Joyce.
''For the 10-month period, corporate tax revenue was ahead of the forecasted amount due to Inland Revenue simply having processed more provisional tax assessments and estimates than previously assumed.''
The peak processing for those items normally occurred in May but this year it occurred in April.
The result was the April result being ahead of the year-to-date forecast.
''Come May, the actual result should be more in line with the forecasted year-to-date at that time and therefore most of the increase is simply a one-month timing difference that will reverse,'' he said.
Mr Joyce warned it was important not to take too much from a single month's figures, particularly because of the timing differences.
However, the accounts overall did underline the Government's improving fiscal position.
''It is only by having this strong economic plan we get to make the sort of choices were were able to make in the recent Budget.
''And only a strong economic plan will give us the capacity to make more positive decisions into the future.''
The Treasury accounts showed the operating balance, which included gains and losses from Government investments from the New Zealand Superannuation Fund, ACC and other departments was $2.12billion ahead of forecast at $11.9billion.
Net gains were $599millon above forecast, largely due to investment gains on financial instruments of $1.5billion.
Offsetting those, actuarial gains on the Crown's investment portfolios were $863million lower than forecast, mostly reflecting a lower discount rate used to convert future cash into present-day dollars.
At the same time last year, the operating balance was a deficit of $3.4billion, a turnaround of more than $15.2billion.