Hello,
I am trying to create draft invoices in books for quotes that are ready to be billed from zoho crm.
The main challenge i am having is taxes. They are based on location and each quote has the tax name i need to charge, but i cannot get the search in zoho books to work.
Here is what i am doing:
- taxSearchVar = {"tax_name":"14-316"};
taxMap= Map();
bigtaxMap = zoho.books.getRecords("settings/taxes", booksOrgId, taxSearchVar, "zoho_books");
info bigtaxMap;
This returns the first 200 tax codes (of 500 yay New Mexico!) and completely ignores my search.
I have also tried to do the string search with encodeURL.
Some better error handling here would be amazing. If i get an error at all its just a java script object i can't even view.