when an invoice is paid, update CRM field

when an invoice is paid, update CRM field

Hello,
I want to update a field in CRM (deal modul) when an invoice has been paid. How can I do this?

For this you would have to have a mapping from Deal to Invoice, right?

If it's easier, then updating a field in Contact would also be OK.

What is the best way to do this? About flow?

Thanks and greetings