TMZ has obtained the divorce docs filed in L.A. County Superior Court, in which actress Talulah Riley agreed to a settlement with her soon-to-be ex-husband ... whom she married in Sept. 2010 ... and then separated from in July 2011.
According to the docs, Riley gets to keep her Cartier watch, her Gucci watch, some diamond jewelry and her Tesla Roadster.
The $4.2 million will be dished out over a 9-year span ... she got $500k up front ... and an additional $900k right after her lawyers signed the judgement documents.
Now, the fun begins ... because Talulah gets $700k on the 1-year anniversary of the signing of the judgement ... followed by a $280k annual payment for years 2 through 8. On the 9th anniversary, she gets a final payment of $140k.
According to the documents, the divorce will become official on September 27.
No word on how Elon plans to make the payments ... we're guessing it won't be through PayPal.