Automate "Zoho CRM" Invoice to PDF and Mail Invoice from API (PHP server side)

Automate "Zoho CRM" Invoice to PDF and Mail Invoice from API (PHP server side)

This relates to Zoho CRM and not Zoho Invoice or other add-on's.

I can create a new invoice for a Zoho Account/Contact from the website PHP using the API.

How can I 
1. [More Options] > "Export to PDF" 

and 

2. [More Options] > "Send Mail" 

from the API to do these funtions from my website php?

ie. for example (simplified form) 

// Create the invoice
$my_new_invoice_id = $zoho->insertRecord(....invoice record....)

// Create the pdf
www.zoho.crm/something/CreatePDF?invoiceid=$ my_new_invoice_id  

// Mail to the contact
www.zoho.crm/something/MailToContact?invoiceid=$ my_new_invoice_id  

Thanks