What is the procedure to register a divorce between a Shanghai citizen and a person identified as a Hong Kong citizen, Macao citizen, Taiwan citizen, Overseas Chinese or foreigner?

The registration procedure is as follows:

Primary examination (the applicants provide a valid Identity Certificate and marriage certificate), acceptance (both parties fill in the Application for Divorce and submit the Agreement of Divorce upon Free Fill), examination registration (the authority issues the divorce certificate).