Automatically create invoice in Zoho Books when a status changes in CRM

Automatically create invoice in Zoho Books when a status changes in CRM

We have a custom module in Zoho CRM that tracks some of our work. When the status of an item is changed to Complete, we want to automatically pull the pricing info (also stored in that custom module) and create an invoice in Zoho Books. How do I do this? Do I need to use the API?