But Inland Revenue challenged that ruling and the Court of Appeal overturned it.
IRD refusing Trustpower's tax deductions for 2006, 2007 and 2008 was confirmed the appellate court's decision.
The tax fight is now set to go another round and after Trustpower was given leave on Friday to take the case before the Supreme Court.
A note in Trustpower's accounts earlier this year said that if IRD won the dispute would be liable to pay $5.9 million in tax and interest of $3.0 million.
However, there could also be a flow on effects for other tax years.
"Inland Revenue has reassessed the 2009 and 2010 [tax] years and has made further claims. Trustpower has disputed this assessment. The dispute has been lodged with the High Court but is on hold pending the 2006 to 2008 dispute," notes in Trustpower's accounts said.
If IRD was completely successful for these additional years Trustpower says it would have to pay a further $6.4 million.
"The impact of these adjustments on the tax expense in the income statement is difficult to estimate but is unlikely to exceed $2,500,000 for all years up to March 2015," the note said.