Britney Spears and Kevin Federline officially ended their marriage July 30.
Los Angeles Court Commissioner Scott Gordon signed orders for dissolution of marriage, an alimony agreement, and child custody.
Britney Spears' attorney Laura Wasser said the alimony agreement will not be made public unless there is an enforcement issue. The child custody order was tentatively sealed, pending an August 14 hearing.
Gordon said "the best interests of the children could be harmed" if the arrangement were not sealed.
Spears married Federline, a former backup dancer, in October, 2004, eight months after the annulment of her first marriage to childhood friend Jason Alexander.
Citing irreconcilable differences, she filed for divorce from Federline on November 7, 2006.
Since February, the couple have shared joint custody of their two sons, 22-month-old Sean Preston and 10-month-old Jayden James.