Create CRM Task when Zoho Books Invoice has been paid

Create CRM Task when Zoho Books Invoice has been paid

I need to create a task in Zoho CRM module relating to a Deal when a Zoho Books Invoice, also relating to same Deal is paid. I think Zoho Flow is the way to go but can't find a field in Zoho Books to use to create task in relevant deal. Can this be done?