Function #6: Calculate Commissions for paid invoices

Function #6: Calculate Commissions for paid invoices

Zoho Books helps you automate the process of calculating and recording commissions paid to sales persons using custom functions. We've written a script that computes the commission amount based on the percentage of commission you enter and creates an expense correspondingly. 

Prerequisites:

Add a new custom field of type Percent with the name "Commission Percent" for the Invoices module. In this field, you will enter the percentage of commission you ought to give the salesperson. 

Custom Function: 

Now, head to Settings -> Automation -> Custom Functions -> +New Custom Function and add the function script. You can find the script in this GitHub link. 



As you'll notice, we have entered "Petty Cash" as the Paid Through account for the expense in the script. If you wish to track it using a different account, replace Petty Cash by the appropriate account name. 

Also, don't forget to create the Connection. Without it, the function won't execute. Here's how to create a connection in Zoho Books:



Workflow Rule: 

Go to Settings -> Automation -> Workflow Rules -> +New Workflow Rule and configure the rule as follows to animate the custom function on the right occasion. 




Once you choose the appropriate custom function at the end, save the workflow. 

This will streamline the process of tracking commissions and increase efficiency by hampering the possibility of any human errors and saving you time. 

Some of you might want to record the commission amount as bill or have other additional requirements in this workflow. In such a case, I recommend you to contact us for a customized function.

Regards,
Divya R
Zoho Books

    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts





                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator Resources



                                                                                    Zoho CRM Resources

                                                                                    • CRM Community Learning Series

                                                                                      CRM Community Learning Series


                                                                                    • Kaizen

                                                                                      Kaizen

                                                                                    • Functions

                                                                                      Functions

                                                                                    • Meetups

                                                                                      Meetups

                                                                                    • Kbase

                                                                                      Kbase

                                                                                    • Resources

                                                                                      Resources

                                                                                    • Digest

                                                                                      Digest

                                                                                    • CRM Marketplace

                                                                                      CRM Marketplace

                                                                                    • MVP Corner

                                                                                      MVP Corner







                                                                                        Design. Discuss. Deliver.

                                                                                        Create visually engaging stories with Zoho Show.

                                                                                        Get Started Now


                                                                                          Zoho Show Resources

                                                                                            Zoho Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方