How to disable auto send "Thank You" email when created Payment Received using custom function?

How to disable auto send "Thank You" email when created Payment Received using custom function?

Hi all,

I using custom function to create a Payment Received record to Zoho Books from Zoho CRM.  My problem is after completed Payment Received the system will auto send a "Thank you" email to customer right away. Is there any way to turn off this function?  I had tried to disable all notification feature in Zoho Books invoice, but it don't work.

Is there any other way to disable this function? Checked from Books API documents but there is no turn off function on this matter.
Checking if anyone come across this problem and how do solve this matter. 

Thank you very much