A judge in Lisbon has ordered Portuguese police chief Goncalo Amaral to reveal how much he earned from a book he wrote, claiming Madeleine McCann was dead and her parents were to blame.
Concalo Amaral must hand over receipts showing how much he raked in from sales of his 2008 book The Truth of the Lie.
The order was made during Amaral's trial for libel. Kate and Gerry McCann are suing him for £1m over defamatory claims against them.
The producers of a TV documentary must also reveal how much Amaral, 56, was paid to take part in it, the court ruled.
The Truth of the Lie remains unpublished in Britain because of its explosive allegations, which led to Amaral being discredited as a reliable source of insight about events surrounding Madeleine's disappearance.
It was released only three days after Kate and Gerry were dropped as suspects in the disappearance of Madeleine, one year after she vanished in 2007.
Former police chief Amaral claimed in his book that Madeleine died in the apartment block in Praia da Luz and that her parents constructed the disappearance narrative to cover it up.
He denies defamation.