← Zoho Books

Create Estimate with Zoho Books API

Pipedream makes it easy to connect APIs for Zoho Books and 2,400+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create Estimate with the Zoho Books API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

Create a workflow to Create Estimate with the Zoho Books API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Create Estimate action
    1. Connect your Zoho Books account
    2. Select a Customer Id
    3. Optional- Select a Currency Id
    4. Optional- Select one or more Contact Persons
    5. Optional- Configure Template Id
    6. Optional- Select a Place Of Supply
    7. Optional- Select a GST Treatment
    8. Optional- Configure GST No
    9. Optional- Configure Estimate Number
    10. Optional- Configure Reference Number
    11. Optional- Configure Date
    12. Optional- Configure Expiry Date
    13. Optional- Configure Exchange Rate
    14. Optional- Configure Discount
    15. Optional- Configure Is Discount Before Tax
    16. Optional- Select a Discount Type
    17. Optional- Configure Is Inclusive Tax
    18. Optional- Configure Custom Body
    19. Optional- Configure Custom Subject
    20. Optional- Configure Salesperson Name
    21. Optional- Configure Custom Fields
    22. Configure Line Items
    23. Optional- Configure Notes
    24. Optional- Configure Terms
    25. Optional- Configure Shipping Charge
    26. Optional- Configure Adjustment
    27. Optional- Configure Adjustment Description
    28. Optional- Select a Tax Id
    29. Optional- Select a Tax Exemption Id
    30. Optional- Select a Tax Authority Id
    31. Optional- Configure Avatax Use Code
    32. Optional- Select a Tax Exemption Id
    33. Optional- Configure VAT Treatment
    34. Optional- Select a Tax Treatment
    35. Optional- Configure Is Reverse Charge Applied.
    36. Optional- Select a Item Id
    37. Optional- Configure Line Item Id
    38. Optional- Configure Name
    39. Optional- Configure Description
    40. Optional- Configure Rate
    41. Optional- Configure Unit
    42. Optional- Configure Quantity
    43. Optional- Configure Project Id
    44. Optional- Configure Accept Retainer
    45. Optional- Configure Retainer Percentage
    46. Optional- Configure Send
    47. Optional- Configure Ignore Auto Number Generation
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Create Estimate with Zoho Books API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Zoho Books
 
Try it
Create Estimate with Zoho Books API on New Submission from Typeform API
Typeform + Zoho Books
 
Try it
Create Estimate with Zoho Books API on New Submission (Instant) from Jotform API
Jotform + Zoho Books
 
Try it
Create Estimate with Zoho Books API on New Scheduled Tasks from Pipedream API
Pipedream + Zoho Books
 
Try it
Create Estimate with Zoho Books API on New Download Counts from npm API
npm + Zoho Books
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Create Estimate on Zoho Books
Description:Creates a new estimate. [See the documentation](https://www.zoho.com/books/api/v3/estimates/#create-an-estimate)
Version:0.0.1
Key:zoho_books-create-estimate

Code

// legacy_hash_id: a_Xzi1qo
import { parseObject } from "../../common/utils.mjs";
import zohoBooks from "../../zoho_books.app.mjs";

export default {
  key: "zoho_books-create-estimate",
  name: "Create Estimate",
  description: "Creates a new estimate. [See the documentation](https://www.zoho.com/books/api/v3/estimates/#create-an-estimate)",
  version: "0.0.1",
  type: "action",
  props: {
    zohoBooks,
    customerId: {
      propDefinition: [
        zohoBooks,
        "customerId",
      ],
    },
    currencyId: {
      propDefinition: [
        zohoBooks,
        "currencyId",
      ],
      optional: true,
    },
    contactPersons: {
      propDefinition: [
        zohoBooks,
        "contactPersons",
        ({ customerId }) => ({
          customerId,
        }),
      ],
      description: "Array if contact person(S) for whom estimate has to be sent.",
      optional: true,
    },
    templateId: {
      propDefinition: [
        zohoBooks,
        "pdfTemplateId",
      ],
      optional: true,
    },
    placeOfSupply: {
      propDefinition: [
        zohoBooks,
        "placeOfSupply",
      ],
      optional: true,
    },
    gstTreatment: {
      propDefinition: [
        zohoBooks,
        "gstTreatment",
      ],
      optional: true,
    },
    gstNo: {
      propDefinition: [
        zohoBooks,
        "gstNo",
      ],
      optional: true,
    },
    estimateNumber: {
      type: "string",
      label: "Estimate Number",
      description: "Search estimates by estimate number.",
      optional: true,
    },
    referenceNumber: {
      type: "string",
      label: "Reference Number",
      description: "Search estimates by reference number.",
      optional: true,
    },
    date: {
      type: "string",
      label: "Date",
      description: "Search estimates by estimate date.",
      optional: true,
    },
    expiryDate: {
      type: "string",
      label: "Expiry Date",
      description: "The date of expiration of the estimates.",
      optional: true,
    },
    exchangeRate: {
      propDefinition: [
        zohoBooks,
        "exchangeRate",
      ],
      optional: true,
    },
    discount: {
      propDefinition: [
        zohoBooks,
        "discount",
      ],
      optional: true,
      description: "Discount applied to the invoice. It can be either in % or in amount. e.g. 12.5% or 190. Max-length [100]",
    },
    isDiscountBeforeTax: {
      propDefinition: [
        zohoBooks,
        "isDiscountBeforeTax",
      ],
      optional: true,
    },
    discountType: {
      propDefinition: [
        zohoBooks,
        "discountType",
      ],
      optional: true,
    },
    isInclusiveTax: {
      propDefinition: [
        zohoBooks,
        "isInclusiveTax",
      ],
      optional: true,
    },
    customBody: {
      propDefinition: [
        zohoBooks,
        "customBody",
      ],
      optional: true,
    },
    customSubject: {
      propDefinition: [
        zohoBooks,
        "customSubject",
      ],
      optional: true,
    },
    salespersonName: {
      propDefinition: [
        zohoBooks,
        "salespersonName",
      ],
      optional: true,
    },
    customFields: {
      propDefinition: [
        zohoBooks,
        "customFields",
      ],
      description: "A list of Additional field objects for the payments. **Example: {\"index\": 1, \"value\": \"value\"}**",
      optional: true,
    },
    lineItems: {
      propDefinition: [
        zohoBooks,
        "lineItems",
      ],
      description: "A list of line items objects of an estimate. **Example: {\"item_id\": \"1352827000000156060\", \"name\": \"name\", \"description\": \"description\", \"quantity\": \"1\" }** [See the documentation](https://www.zoho.com/books/api/v3/sales-order/#create-a-sales-order) for further details.",
    },
    notes: {
      propDefinition: [
        zohoBooks,
        "notes",
      ],
      description: "The notes added below expressing gratitude or for conveying some information.",
      optional: true,
    },
    terms: {
      propDefinition: [
        zohoBooks,
        "terms",
      ],
      optional: true,
    },
    shippingCharge: {
      propDefinition: [
        zohoBooks,
        "shippingCharge",
      ],
      optional: true,
    },
    adjustment: {
      propDefinition: [
        zohoBooks,
        "adjustment",
      ],
      optional: true,
    },
    adjustmentDescription: {
      propDefinition: [
        zohoBooks,
        "adjustmentDescription",
      ],
      optional: true,
    },
    taxId: {
      propDefinition: [
        zohoBooks,
        "taxId",
      ],
      description: "ID of the tax to be associated to the estimate.",
      optional: true,
    },
    taxExemptionId: {
      propDefinition: [
        zohoBooks,
        "taxExemptionId",
      ],
      optional: true,
    },
    taxAuthorityId: {
      propDefinition: [
        zohoBooks,
        "taxAuthorityId",
      ],
      optional: true,
    },
    avataxUseCode: {
      propDefinition: [
        zohoBooks,
        "avataxUseCode",
      ],
      optional: true,
    },
    avataxExemptNo: {
      propDefinition: [
        zohoBooks,
        "taxExemptionId",
      ],
      optional: true,
    },
    vatTreatment: {
      propDefinition: [
        zohoBooks,
        "vatTreatment",
      ],
      optional: true,
    },
    taxTreatment: {
      propDefinition: [
        zohoBooks,
        "taxTreatment",
      ],
      description: "VAT treatment for the estimate.",
      optional: true,
    },
    isReverseChargeApplied: {
      type: "boolean",
      label: "Is Reverse Charge Applied.",
      description: "Used to specify whether the transaction is applicable for Domestic Reverse Charge (DRC) or not.",
      optional: true,
    },
    itemId: {
      propDefinition: [
        zohoBooks,
        "itemId",
      ],
      optional: true,
    },
    lineItemId: {
      type: "string",
      label: "Line Item Id",
      description: "ID of the line item. Mandatory, if the existing line item has to be updated. If empty, a new line item will be created.",
      optional: true,
    },
    name: {
      type: "string",
      label: "Name",
      description: "Name of the line item.",
      optional: true,
    },
    description: {
      type: "string",
      label: "Description",
      description: "Description of the line item.",
      optional: true,
    },
    rate: {
      type: "string",
      label: "Rate",
      description: "Rate of the line item.",
      optional: true,
    },
    unit: {
      type: "string",
      label: "Unit",
      description: "Unit of the line item. E.g. kgs, Nos",
      optional: true,
    },
    quantity: {
      type: "integer",
      label: "Quantity",
      description: "The quantity of line item.",
      optional: true,
    },
    projectId: {
      type: "string",
      label: "Project Id",
      description: "Id of the project",
      optional: true,
    },
    acceptRetainer: {
      type: "boolean",
      label: "Accept Retainer",
      description: "The \"Accept Retainer\" node should be passed for the retainer invoice to be created automatically, provided that the customer has accepted the quote.",
      optional: true,
    },
    retainerPercentage: {
      type: "integer",
      label: "Retainer Percentage",
      description: "Pass the \"Retainer Percentage\" node to create the retainer invoice automatically.",
      min: 1,
      max: 100,
      optional: true,
    },
    send: {
      propDefinition: [
        zohoBooks,
        "send",
      ],
      optional: true,
    },
    ignoreAutoNumberGeneration: {
      propDefinition: [
        zohoBooks,
        "ignoreAutoNumberGeneration",
      ],
      optional: true,
      description: "Ignore auto estimate number generation for this estimate. This mandates the estimate number.",
    },
  },
  async run({ $ }) {
    const response = await this.zohoBooks.createEstimate({
      $,
      params: {
        send: this.send,
        ignore_auto_number_generation: this.ignoreAutoNumberGeneration,
      },
      data: {
        customer_id: this.customerId,
        currency_id: this.currencyId,
        contact_persons: parseObject(this.contactPersons),
        template_id: this.templateId,
        place_of_supply: this.placeOfSupply,
        gst_treatment: this.gstTreatment,
        gst_no: this.gstNo,
        estimate_number: this.estimateNumber,
        reference_number: this.referenceNumber,
        date: this.date,
        expiry_date: this.expiryDate,
        exchange_rate: this.exchangeRate && parseFloat(this.exchangeRate),
        discount: this.discount && parseFloat(this.discount),
        is_discount_before_tax: this.isDiscountBeforeTax,
        discount_type: this.discountType,
        is_inclusive_tax: this.isInclusiveTax,
        custom_body: this.customBody,
        custom_subject: this.customSubject,
        salesperson_name: this.salespersonName,
        custom_fields: parseObject(this.customFields),
        line_items: parseObject(this.lineItems),
        notes: this.notes,
        terms: this.terms,
        shipping_charge: this.shippingCharge,
        adjustment: this.adjustment && parseFloat(this.adjustment),
        adjustment_description: this.adjustmentDescription,
        tax_id: this.taxId,
        tax_exemption_id: this.taxExemptionId,
        tax_authority_id: this.taxAuthorityId,
        avatax_use_code: this.avataxUseCode,
        avatax_exempt_no: this.avataxExemptNo,
        vat_treatment: this.vatTreatment,
        tax_treatment: this.taxTreatment,
        is_reverse_charge_applied: this.isReverseChargeApplied,
        item_id: this.itemId,
        line_item_id: this.lineItemId,
        name: this.name,
        description: this.description,
        rate: this.rate && parseFloat(this.rate),
        unit: this.unit,
        quantity: this.quantity,
        project_id: this.projectId,
        accept_retainer: this.acceptRetainer,
        retainer_percentage: this.retainerPercentage,
      },
    });

    $.export("$summary", `Item successfully created with Id: ${response.estimate.estimate_id}`);
    return response;
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Zoho BookszohoBooksappThis component uses the Zoho Books app.
Customer IdcustomerIdstringSelect a value from the drop down menu.
Currency IdcurrencyIdstringSelect a value from the drop down menu.
Contact PersonscontactPersonsstring[]Select a value from the drop down menu.
Template IdtemplateIdstring

ID of the PDF template.

Place Of SupplyplaceOfSupplystringSelect a value from the drop down menu:{ "label": "Abu Dhabi (UAE Supported)", "value": "AB" }{ "label": "Ajman (UAE Supported)", "value": "AJ" }{ "label": "Dubai (UAE Supported)", "value": "DU" }{ "label": "Fujairah (UAE Supported)", "value": "FU" }{ "label": "Ras al-Khaimah (UAE Supported)", "value": "RA" }{ "label": "Sharjah (UAE Supported)", "value": "SH" }{ "label": "Umm al-Quwain (UAE Supported)", "value": "UM" }{ "label": "United Arab Emirates (GCC Supported)", "value": "AE" }{ "label": "Saudi Arabia (GCC Supported)", "value": "SA" }{ "label": "Bahrain (GCC Supported)", "value": "BH" }{ "label": "Kuwait (GCC Supported)", "value": "KW" }{ "label": "Oman (GCC Supported)", "value": "OM" }{ "label": "Qatar (GCC Supported)", "value": "QA" }
GST TreatmentgstTreatmentstringSelect a value from the drop down menu:business_gstbusiness_noneoverseasconsumer
GST NogstNostring

15 digit GST identification number of the customer.

Estimate NumberestimateNumberstring

Search estimates by estimate number.

Reference NumberreferenceNumberstring

Search estimates by reference number.

Datedatestring

Search estimates by estimate date.

Expiry DateexpiryDatestring

The date of expiration of the estimates.

Exchange RateexchangeRatestring

Exchange rate of the currency.

Discountdiscountstring

Discount applied to the invoice. It can be either in % or in amount. e.g. 12.5% or 190. Max-length [100]

Is Discount Before TaxisDiscountBeforeTaxboolean

Used to specify how the discount has to applied. Either before or after the calculation of tax.

Discount TypediscountTypestringSelect a value from the drop down menu:entity_levelitem_level
Is Inclusive TaxisInclusiveTaxboolean

Used to specify whether the line item rates are inclusive or exclusive of tax.

Custom BodycustomBodystring
Custom SubjectcustomSubjectstring
Salesperson NamesalespersonNamestring

Name of the sales person.

Custom FieldscustomFieldsstring[]

A list of Additional field objects for the payments. Example: {"index": 1, "value": "value"}

Line ItemslineItemsstring[]

A list of line items objects of an estimate. Example: {"item_id": "1352827000000156060", "name": "name", "description": "description", "quantity": "1" } See the documentation for further details.

Notesnotesstring

The notes added below expressing gratitude or for conveying some information.

Termstermsstring

The terms added below expressing gratitude or for conveying some information.

Shipping ChargeshippingChargestring

Shipping charges applied to the invoice.

Adjustmentadjustmentstring
Adjustment DescriptionadjustmentDescriptionstring
Tax IdtaxIdstringSelect a value from the drop down menu.
Tax Exemption IdtaxExemptionIdstringSelect a value from the drop down menu.
Tax Authority IdtaxAuthorityIdstringSelect a value from the drop down menu.
Avatax Use CodeavataxUseCodestring

Used to group like customers for exemption purposes. It is a custom value that links customers to a tax rule.

Tax Exemption IdavataxExemptNostringSelect a value from the drop down menu.
VAT TreatmentvatTreatmentstring

Enter vat treatment.

Tax TreatmenttaxTreatmentstringSelect a value from the drop down menu:vat_registeredvat_not_registeredgcc_vat_not_registeredgcc_vat_registerednon_gccdz_vat_registereddz_vat_not_registeredhome_country_mexicoborder_region_mexiconon_mexicovat_registered vat_not_registered non_kenyavat_registeredvat_not_registeredoverseas
Is Reverse Charge Applied.isReverseChargeAppliedboolean

Used to specify whether the transaction is applicable for Domestic Reverse Charge (DRC) or not.

Item IditemIdstringSelect a value from the drop down menu.
Line Item IdlineItemIdstring

ID of the line item. Mandatory, if the existing line item has to be updated. If empty, a new line item will be created.

Namenamestring

Name of the line item.

Descriptiondescriptionstring

Description of the line item.

Rateratestring

Rate of the line item.

Unitunitstring

Unit of the line item. E.g. kgs, Nos

Quantityquantityinteger

The quantity of line item.

Project IdprojectIdstring

Id of the project

Accept RetaineracceptRetainerboolean

The "Accept Retainer" node should be passed for the retainer invoice to be created automatically, provided that the customer has accepted the quote.

Retainer PercentageretainerPercentageinteger

Pass the "Retainer Percentage" node to create the retainer invoice automatically.

Sendsendboolean

Send the estimate to the contact person(s) associated with the estimate.

Ignore Auto Number GenerationignoreAutoNumberGenerationboolean

Ignore auto estimate number generation for this estimate. This mandates the estimate number.

Authentication

Zoho Books uses OAuth authentication. When you connect your Zoho Books account, Pipedream will open a popup window where you can sign into Zoho Books and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Zoho Books API.

Pipedream requests the following authorization scopes when you connect your account:

ZohoBooks.fullaccess.all

About Zoho Books

Online accounting software

More Ways to Use Zoho Books

Triggers

New Customer from the Zoho Books API

Emit new event when a new customer is created.

 
Try it
New Expense from the Zoho Books API

Emit new event when a new expense is created.

 
Try it
New Sales Order from the Zoho Books API

Emit new event when a new sales order is created.

 
Try it

Actions

Create Customer with the Zoho Books API

Creates a new customer. See the documentation

 
Try it
Create Customer Payment with the Zoho Books API

Creates a new payment. See the documentation

 
Try it
Create Employee with the Zoho Books API

Creates an employee for an expense. See the documentation

 
Try it
Create Invoice with the Zoho Books API

Creates an invoice for your customer. See the documentation

 
Try it
Create Item with the Zoho Books API

Creates a new item. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Premium
Salesforce
Salesforce
Web services API for interacting with Salesforce
Premium
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Premium
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Premium
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Premium
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Premium
Snowflake
Snowflake
A data warehouse built for the cloud
Premium
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.