Hayden Panettiere Parents' Nasty Divorce Over ... Dad Still Owes Hayden

4/4/2016 12:40 AM PDT

Hayden Panettiere's parents have finally put their divorce to bed, and part of the final terms include an outstanding debt to their daughter.  

According to the divorce docs ... Alan will pay $5,000 a month in spousal support to Hayden's mother, Lesley, for the next 5 years or until she remarries. 

Alan also agreed to shoulder all of the money owed to their daughter. As we reported ... Hayden helped out mom and dad last year by letting Lesley live in her condo, and loaning Alan $100k.

Based on the docs, Lesley wanted to make sure that dough wasn't coming out of her pocket. The divorce settlement brings the nearly 8 year divorce battle to a close.