Customs functions and workflows - Invoices
Summary
To enable ALIX to create a draft invoice in Zoho Books, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for invoices create, update and delete.
It is mandatory to have previously created a connection between the applications. To know how to create a connection, click here.
Create and update
1. Custom function
- Go to Settings -» Automation -» Custom functions
- Create a new function.
- Name the function.
- Select the Invoice module.
- Copy/paste this function :
url = "https://smart.alix.ai/api/integrations/zoho-books/invoices";
bodyMap = Map:String();
bodyMap.put('invoice',invoice);
response = invokeurl
[
url :url
type :PUT
parameters:bodyMap
connection:"alix"
];
At line 9, replace "alix" with the custom function's name
2. Workflow rule
- Go to Settings -» Automation -» Workflow rules.
- Create a new workflow.
- Entrer the following information :
Delete
1. Custom function
- Go to Settings -» Automation -» Custom functions
- Create a new function.
- Name the function.
- Select the Invoice module.
- Copy/paste this function :
url = "https://smart.alix.ai/api/integrations/zoho-books/invoices";
invoice.put('exist',false);
bodyMap = Map:String();
bodyMap.put('invoice',invoice);
response = invokeurl
[
url :url
type :PUT
parameters:bodyMap
connection:"alix"
];
Related Articles
Customs functions and workflows - Bills
Summary To enable ALIX to create a draft bill in Zoho Books, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for bill create, update and delete. It is ...
Customs functions and workflow - Customers
Summary To synchronize Zoho Books's clients to ALIX's contacts, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for clients create, update and delete. It is ...
Customs functions and workflow - Vendors
Summary To synchronize Zoho Books's vendors to ALIX's contacts, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for vendors create, update and delete. It is ...
Release June 15th, 2023 (v.10.7.18)
June 15, 2023 Context This update brings some minor improvements and fixes. News ✯ Pro Forma Invoice New configuration to allow generating basic pro forma invoices in shipments to help clear customs. This configuration can be found in the inventory ...
Release February 14th, 2022 (v.9.15.1)
February 14, 2022 Context This update brings minor improvements and bug corrections. News ✯ Automatically calculated project payment status The payment status of a project is now dynamically calculated based on the status of invoices associated with ...