Page 62
2. a. A nonresident whose only state source income is compensation excluded under subsection 1 does not have an income tax liability and is not required to file a return as prescribed in section 57-38-31, except nothing in this subsection prohibits the tax commissioner from exercising the commissioner's discretion to require the filing of an informational return by a nonresident employee described in subdivision a of subsection 1. b. This subsection is applicable to the determination of an individual income taxpayer's filing requirement and has no application to the imposition of, or this state's jurisdiction to impose, this or any other tax on any taxpayer. 3. a. No amount is required to be deducted or retained from compensation paid to a nonresident for employment duties performed in this state if the compensation is excluded from state source income under subsection 1, without regard to paragraph 1 of subdivision a of subsection 1. The number of days a nonresident employee is present in this state for purposes of paragraph 2 of subdivision a of subsection 1 must include all days the nonresident employee is present and performing employment duties on behalf of the employer and any other related person. (1) For purposes of this subsection, "related person" means a person that, with respect to the employer during all or any portion of the taxable year, is: (a) A related entity; (b) A component member as defined in section 1563(b) of the Internal Revenue Code [26 U.S.C. 1563(b)]; (c) A person to or from whom there is attribution to stock ownership as provided in section 1563(e) of the Internal Revenue Code; or (d) A person that, notwithstanding its form of organization, bears the same relationship to the employer as a person described in subparagraphs a through c. (2) For purposes of this subsection, "related entity" means: (a) A stockholder who is an individual, or a member of the stockholder's family as provided in section 318 of the Internal Revenue Code [26 U.S.C. 318] if the stockholder and the members of the stockholder's family own, directly, indirectly, beneficially, or constructively, in the aggregate, at least fifty percent of the value of the employer's outstanding stock; (b) A stockholder, or a stockholder's partnership, limited liability company, estate, trust, or corporation, if the stockholder and the stockholder's partnerships, limited liability companies, estates, trusts, and corporations own, directly, indirectly, beneficially, or constructively, in the aggregate, at least fifty percent of the value of the employer's outstanding stock; or (c) A corporation, or a party related to the corporation in a manner that would require an attribution of stock from the corporation to the party or from the party to the corporation under the attribution rules of the federal Internal Revenue Code if the employer owns, directly, indirectly, beneficially, or constructively, at least fifty percent of the value of the corporation's outstanding stock. The attribution rules of the federal Internal Revenue Code shall apply for purposes of determining whether the ownership requirements of this definition have been met. b. An employer that erroneously applies the income tax withholding exception solely as a result of miscalculating the number of days a nonresident employee is present in this state to perform employment duties shall not be subject to the penalty imposed in section 57-38-45 if: (1) The employer relied on the employer's regularly maintained time and attendance system that: Page No. 62