While things are amicable, get everything that you can agree too on paper...then use lawyers to legalise...
Here in Oz, you (can) go to mediation, which is facilitated, and relatively inexpensive...then get lawyers to prepare court orders (Consent Orders), which can then be processed through...