Only the divorce agreement does not have the legal effect of divorce. Only the divorce agreement registered with the marriage registration authority can have legal effect.
Legal basis:
Article 1076 of the Civil Code: If the husband and wife divorce voluntarily, they shall sign a written divorce agreement and apply for divorce registration in person at the marriage registration office. The divorce agreement shall specify the intention of both parties to divorce voluntarily and the consensus on matters such as child rearing, property and debt handling.