A. In a primary election, not less than sixty days before the election, each county clerk shall group each candidate who has been qualified by a proper filing officer and a space for any offices with a declared write-in candidate, separated by political party and certify in writing a separate ballot for each precinct in the county for each major political party to be voted on at the primary election.

B. In a general election, not less than sixty days before the election, each county clerk shall certify in writing the ballot for each precinct in the county containing the name of each candidate that has been certified as the nominee of a qualified political party, each unaffiliated candidate who has been qualified by a proper filing officer, a space for any offices with a declared write-in candidate and any ballot questions to be voted on at the general election.

C. In a regular local election, not less than fifty-six days before the election, each county clerk shall certify in writing the ballot for each precinct in the county containing the name of each candidate who has been qualified by a proper filing officer, a space for any offices with a declared write-in candidate and any ballot questions to be voted on at the regular local election.

D. In a special local election, not less than sixty days before the election, each county clerk shall certify in writing the ballot for each precinct in the county containing any ballot questions to be voted on at the special election.

E. In a special state election, not less than sixty days before the election, the secretary of state shall certify in writing the ballot containing any ballot questions to be voted on at the special state election.

F. In an election to fill a vacancy in the office of United States representative and except as provided in Subsection G of this section, not less than fifty-three days before the election, the secretary of state shall certify in writing the ballot containing the name of each candidate that has been certified as the nominee of a qualified political party, each unaffiliated candidate who has been qualified and a space for any declared write-in candidate to be voted on at the election to fill a vacancy in the office of United States representative.

G. In an election to fill a vacancy in the office of United States representative in extraordinary circumstances pursuant to 2 U.S.C. § 8(b), not more than seventeen days after the announcement of a vacancy in the office of United States representative, the secretary of state shall certify in writing the ballot containing the name of each candidate that has been certified as the nominee of a qualified political party, each unaffiliated candidate who has been qualified and a space for any declared write-in candidate to be voted on at the election to fill a vacancy in the office of United States representative.

H. On the date specified for each election in this section, each ballot certified pursuant to this section shall be sent to the ballot printer or other person preparing the ballot for use by voters and sent to the secretary of state to keep on file for twelve months, after which the certified ballot shall be transferred to be a permanent record at the state records center. Upon request of the county chair of a political party participating in a partisan election, the county clerk shall furnish proof sheets or a copy of the proof sheets of the certified ballot as soon as they become available.