A limited partnership, a foreign limited partnership authorized to transact business in this State, and a partner of one of these partnerships are subject to taxation under Article 4 of Chapter 105 of the General Statutes in accordance with their classification for federal income tax purposes. Accordingly, if a limited partnership or a foreign limited partnership authorized to transact business in this State is classified for federal income tax purposes as a C corporation as defined in G.S. 105-131(b)(2) or an S corporation as defined in G.S. 105-131(b)(8), the partnership and its partners are subject to tax under Article 4 of Chapter 105 of the General Statutes to the same extent as a C corporation or an S corporation, as the case may be, and its shareholders. If a limited partnership or a foreign limited partnership authorized to transact business in this State is classified for federal income tax purposes as a partnership, the partnership and its partners are subject to tax under Article 4 of Chapter 105 of the General Statutes accordingly. If a limited partnership or a foreign limited partnership authorized to transact business in this State is classified for federal income tax purposes as other than a corporation or a partnership, the partnership and its partners are subject to tax under Article 4 of Chapter 105 of the General Statutes in a manner consistent with that classification. This section does not require a limited partnership or a foreign limited partnership to obtain an administrative ruling from the Internal Revenue Service on its classification under the Internal Revenue Code.
N.C. Gen. Stat. § 59-1107