A judge has ended Johnny Depp and Amber Heard’s marriage after months of arguing over the final terms of their breakup.

The judgment kept many of the terms the actors agreed to in August, when they announced a settlement in their divorce a day before a restraining order hearing that would have focused on Heard’s allegations that Depp was physically abusive toward her.

Friday’s judgment at Los Angeles superior court came on the same day Depp launched a $25m action against his former managers, claiming “gross mismanagement” of his affairs.

The judgment called for Depp to pay Heard $7m, which she has pledged to two charities. Lawyers for the actors have squabbled over whether Depp can make the payments directly to the charities and other details of the final judgment.

The divorce papers showed Depp would retain sole possession of numerous real estate assets, including properties in Los Angeles, Paris and his private island in the Bahamas. He would also keep more than 40 vehicles and vessels, including vintage cars and his motorcycle collection.

Neither actor would receive spousal support, and a confidentiality provision called for them to refrain from discussing their relationship in interviews or on social media.

The couple have no children together, but Heard would keep their Yorkshire terrier dogs, Pistol and Boo, and a horse called Arrow.

The dogs made headlines in April 2015 when the couple failed to declare them while visiting Australia. Depp was in the country to film Pirates of the Caribbean: Dead Men Tell No Tales, the fifth episode of the movie franchise, due for release in 2017.

Australia’s deputy prime minister, Barnaby Joyce, told they couple they had to send the dogs back to California or the animals would be euthanised.

“It’s time that Pistol and Boo buggered off back to the United States,” said Joyce, who was agriculture minister at the time. “He [Depp] can put them on the same chartered jet he flew out on to fly them back out of our nation.”

Australia has strict biosecurity measures to keep out canine diseases, such as the bacterial infection leptospirosis and rabies.

Joyce said no one should be able to bypass biosecurity rules, even if they had been voted the world’s sexiest man twice.

Friday’s judgment ends a marriage of less than two years. The pair met on the set of the 2011 film The Rum Diary and married in February 2015, but separated in May 2016.

Depp denied he physically abused Heard. Police officers who went to their apartment in May after a fight between the couple said they found no evidence of a crime.

“Our relationship was intensely passionate and at times volatile, but always bound by love,” the actors said in a joint statement released after Heard dismissed her restraining order petition. “Neither party has made false accusations for financial gain. There was never any intent of physical or emotional harm.”

On Friday, Depp filed a lawsuit against The Management Group (TMG), claiming he had been the victim of “gross mismanagement” which had cost him “tens of millions of dollars”.

According to documents filed with the Los Angeles superior court, Depp, 53, claims the company and its owners, Joel and Robert Mandel, failed to properly pay his taxes, made unauthorised loans and overpaid for security and other services.

He has filed 11 complaints, including fraud, breach of contract and professional negligence, and is seeking damages of more than $25m.

The complaint states: “As a result of years of gross mismanagement and sometimes outright fraud, Mr Depp lost tens of millions of dollars and has been forced to dispose of significant assets to pay for TMG’s self-dealing and gross misconduct.

“In essence, TMG treated Mr Depp’s income as their own, available to either TMG or third parties to draw upon as desired.”

Michael Kump, representing TMG, said Depp’s lawsuit was a “fabrication” and the firm did “everything possible to protect Depp from his irresponsible and profligate spending”.

He also claimed the actor owed TMG $4.2m from a $5m loan it provided.

“His tactics and lawsuit will fail, and he will be forced to pay back the loan as promised,” Kump said.