I am trying to make create an unvoice in zoho books from creator once a check box is clicked and it is not working. Is there something wrong with my code. The info executes but the invoice is not created. Thank you. And that's not my actual org id.
if(Charge_to_customer == true)
organization_id = "00000000";
info "Invoice draft has been created in zoho books.";
draft_info = Map();
response = zoho.books.createRecord("Invoices",organization_id,draft_info);