d. Must be subject to collection by the tax commissioner under an agreement under section
57-01-02.1, with the exception of a county lodging or county restaurant tax, and must be administered by the tax commissioner in accordance with the relevant provisions of chapter
57-39.2, including reporting and paying requirements, correction of errors, payment of refunds, and application of penalty and interest.
After December 31, 2005, any portion of a charter or any portion of an ordinance or act of a governing body of a home rule county passed pursuant to a charter which does not conform to the requirements of this subsection is invalid to the extent that it does not conform. The invalidity of a portion of a charter or ordinance or act of a governing body of a home rule county because it does not conform to this subsection does not affect the validity of any other portion of the charter or ordinance or act of a governing body of a home rule county or the eligibility for a refund under section 57-01-02.1. Any taxes imposed under this chapter on farm machinery, farm irrigation equipment, and farm machinery repair parts used exclusively for agricultural purposes, or on alcoholic beverages, which were in effect on December 31, 2005, become gross receipts taxes after December 31, 2005. Ordinances enacted after August 1, 2017, may not allow for the collection and levy of any tax not otherwise specified under this section.