Script to extract records from a Zoho Creator Report and create invoice in Zoho Invoice.

Script to extract records from a Zoho Creator Report and create invoice in Zoho Invoice.

I have a report in zoho creator that includes several records. I am trying to create a Custom Action button that when clicked, will transfer the data from the selected records to Zoho Invoice to obviously create and invoice that includes all of the selected records. Can you stair me in the right direction?