Goff also said if he was elected Mayor on October 8 he would resign from Parliament the week after and would not get a salary until he was sworn in as Mayor on November 1.
Goff recently raised $250,000 at a fundraising dinner and auction in the Chinese community. The lion's share was an auction of a book signed by China's President Xi Jinping but the auction included the rather cheeky auction of a bottle of wine signed by PM John Key.
A spokesman said Goff's donations were put into a separate bank account and those worth more than $1500 would be disclosed after the elections as required under law.
It had not been possible to halt Goff's salary payments while he was still an MP, but he had opted to give it to charity instead to prevent accusations he was campaigning on taxpayer's money.
MPs who are absent without leave have their pay docked but Goff did have leave.
A spokesman for Labour leader Andrew Little said David Shearer and Jenny Salesa had taken on Goff's remaining portfolios of defence and ethnic affairs respectively.
Goff was still doing some constituency work.