# Zoho Books: GST invoices and payments from WhatsApp

> Connect Zoho Books to Avox so an automation can add a customer, create a GST invoice with your own Zoho Books taxes, send its link in a chat and record a payment. Regions, limits and what happens if Zoho fails.

Source: https://docs.theavoxai.com/connections/apps/zoho-books

Connect Zoho Books and Avox can add the people who message you as customers, create their invoices
with the GST you set up in Zoho Books, send the invoice's link in the chat (or have Zoho Books email
it), record a payment against it, and tell you when it is paid. Your books stay in Zoho Books: Avox
only asks Zoho Books to do these things, and shows what it made on the **Invoices** page.

## What Avox can and cannot do with Zoho Books

- **Can:** add a customer, with their GSTIN, GST treatment and state.
- **Can:** create an invoice for a customer, with your Zoho Books items or named lines, quantities,
  prices, the tax you picked in Zoho Books and the HSN or SAC code.
- **Can:** send the invoice's link to paste in a chat, or have Zoho Books email it.
- **Can:** record a payment against an invoice (cash, bank transfer, UPI, card, cheque or other).
- **Can:** check whether an invoice was paid, and list and search your invoices in Avox.
- **Never:** works out tax. Zoho Books decides the GST rate, the amount and whether it is CGST and SGST
  or IGST, from the tax you set up and the place of supply. Avox sends prices before tax and reads the
  totals back from Zoho Books exactly, to the paisa.
- **Cannot:** make e-invoices (the IRN and QR code from the government portal), credit notes,
  estimates or bills. They stay in Zoho Books.
- **Cannot:** change or delete invoices from the **Invoices** page. It only reads.

## Get Zoho Books ready first

1. In Zoho Books, open **Settings**, then **Taxes**, and set up GST with your GSTIN and the tax rates
   you charge. Without taxes, invoices are made without tax.
2. Add your items with their **HSN** or **SAC** code and their default tax. An invoice line that names
   the item gets that tax when the step doesn't pick one.
3. Check which organization is your **default** one. Avox works in that organization.

You also need a plan on your Switchboard, which sets how many apps you can connect
([AVX-3683](https://docs.theavoxai.com/error-codes/avx-3683), [AVX-3706](https://docs.theavoxai.com/error-codes/avx-3706)), and the permission **Manage
connected apps** in Avox ([AVX-3707](https://docs.theavoxai.com/error-codes/avx-3707)).

## Connect Zoho Books

**1. Open Zoho Books in Apps**

Open **Apps** in the sidebar, pick **Zoho Books** and click **Connect**.

**2. Sign in at Zoho**

Click **Continue to Zoho Books**. Zoho's own page opens. Sign in with the Zoho account that owns the
organization and accept what Avox asks for: customers, invoices, payments, and reading your
organization and taxes. Avox never sees your password.

**3. Come back to Avox**

You return to Avox with **Zoho Books is connected**, named after your organization.

**Regions.** Zoho works out your region when you sign in. Avox accepts the United States, Europe,
India, Australia, Japan, China, Canada, Saudi Arabia and the United Kingdom, and talks to your
region's own Zoho servers. A sign-in from anywhere else is refused and nothing is connected.

If your Zoho account has no Zoho Books organization yet, the sign-in ends with
[AVX-3746](https://docs.theavoxai.com/error-codes/avx-3746). Make one in Zoho Books, then connect again. If the button says
**Coming soon**, Avox has not switched Zoho Books on yet ([AVX-3682](https://docs.theavoxai.com/error-codes/avx-3682)).

## What each action does

- **Add a customer.** Saves a customer with their name, and if you give them, company, email, mobile,
  GSTIN, GST treatment (registered business, unregistered business, overseas or consumer) and state
  code. A registered business needs a GSTIN. Avox checks the GSTIN's shape and check character
  before sending it ([AVX-3743](https://docs.theavoxai.com/error-codes/avx-3743)).
- **Create an invoice.** For a customer already in Zoho Books. Each line is an item (by its Zoho Books
  id) or a name, a quantity (up to 3 decimals), a price for one before tax, and optionally the tax and
  the HSN or SAC code. The currency must be the customer's own currency in Zoho Books, or Avox refuses
  it ([AVX-3705](https://docs.theavoxai.com/error-codes/avx-3705)). Choose whether it is marked as sent right away; otherwise it
  stays a draft. If an automation retries the step, it gets the same invoice back, never a second
  one.
- **Send an invoice.** **As a link** marks a draft as sent and gives back its link, to put in a
  WhatsApp message. **By email** has Zoho Books email it to the addresses you give.
- **Record a payment.** Records money you received against one invoice. Avox reads the invoice first:
  a draft, void or paid invoice can't take a payment ([AVX-3744](https://docs.theavoxai.com/error-codes/avx-3744)), and a
  payment can't be more than what's still due ([AVX-3745](https://docs.theavoxai.com/error-codes/avx-3745)). If the step is
  retried, Avox finds the payment it already recorded instead of recording it twice.
- **Invoice status.** Reads the invoice: draft, open, overdue, partly paid, paid or void, with its
  total and what's still due.

## How Avox hears that an invoice was paid

Zoho Books doesn't send signed updates to apps, so Avox reads your invoices again every 15 minutes,
but only while an invoice Avox made is still open. It is one read of your most recently changed
invoices each time, so it uses very little of Zoho Books' daily call allowance. A payment you record
through Avox shows at once.

## What you see in Avox afterwards

Open **Apps**, then **Zoho Books**. The menu has **Overview**, **Invoices** and **Activity**.

- **Overview** shows the status, the organization, the region, who connected it and the last problem.
- **Invoices** has **Sent by Avox** (the invoices Avox made) and **In Zoho Books** (every invoice,
  newest change first, searchable). Open one for its number, dates, place of supply, GST treatment,
  lines with their tax, total and what's still due, its link, and **Open in Zoho Books**.
- **Activity** has the usage and the log of every call.

## Limits

- Each Switchboard can make 120 calls a minute to Zoho Books ([AVX-3695](https://docs.theavoxai.com/error-codes/avx-3695)).
  Zoho Books also has its own daily limit per organization, which depends on your Zoho Books plan.
- Up to 50 lines per invoice and 10 email addresses per send.

## When Zoho Books fails or says no

- **Needs reconnecting** ([AVX-3692](https://docs.theavoxai.com/error-codes/avx-3692)): Zoho stopped accepting Avox's access.
  Click **Reconnect**.
- **Permission not given** ([AVX-3690](https://docs.theavoxai.com/error-codes/avx-3690)): an action needs a permission that
  wasn't allowed at the sign-in. Reconnect and allow everything.
- **Slow down** ([AVX-3695](https://docs.theavoxai.com/error-codes/avx-3695)): too many calls at once, or Zoho Books' daily
  limit. Try again later.
- **Zoho Books refused it** ([AVX-3713](https://docs.theavoxai.com/error-codes/avx-3713)): the log entry has Zoho's own words,
  such as a missing customer or a wrong tax id.
- The **Invoices** page shows what Avox saved when Zoho Books can't be read
  ([AVX-3717](https://docs.theavoxai.com/error-codes/avx-3717)).

## Disconnecting

Click **Disconnect** on the Overview. Avox asks Zoho to drop its access and deletes what it saved to
call Zoho. Invoices, customers and payments it made stay in Zoho Books. Avox keeps its own record of
the invoices it made for 25 months, like payments.

## Related
