I am having trouble creating a zoho books invoice from a creator form. This is the code I have at the moment.
Can anyone see what I am doing wrong?
Note: i put MY ID to hide the actual number.
response = zoho.books.createRecord("invoices", "MY ID", { "contact_name" : input.Name, "company_name" : input.Company, "date" : input.Date_field, "phone" : input.Phone, "contact_persons" : {{ "email" : input.Email, "is_primary_contact" : "true" }} });
Any help would be appreciated!
Thank you!