A water services company operating in New Jersey told the state’s tax court that the Division of Taxation erred in denying its attempt to exclude $25 million in intercompany dividends for tax years 2017 and 2018, because the amounts were wrongly included in its federal returns.