Invoice Amount to be the deal amount after creating the invoice

Invoice Amount to be the deal amount after creating the invoice

Hi team - is it possible for Zoho CRM to put the invoice amount in the deal amount once an invoice is created. We have integrated CRM with Zoho Books and when the invoice is created, the deal amount is always 0. Any way to automate this? Can this be done via custom function?