I need help in writing deluge script for creating Invoices for all customers with the same item type in Zoho books.

I need help in writing deluge script for creating Invoices for all customers with the same item type in Zoho books.

Please help. 
I have at least 400 customers with same item type.