Integrations · Integration route
Connecting Magento 2 to Zoho Books
Do you retype paid invoices from Magento 2 into Zoho Books, with VAT per country? In my own webshop, paid invoices, customers, payments, credit notes and cancellations go to Zoho Books automatically, and I only check the exceptions. A Magento 2 module I built myself sends a webhook to the route on every event; below is how it runs and what you need yourself.
In productionCustom route in n8n
Do you recognise this?
I had this manual work in my own webshop; the route below takes it over.
- Retyping invoices: every paid webshop invoice is entered into Zoho Books by hand, with the customer and the payment.
- VAT per country: sales to consumers in Belgium, Germany or France need the right OSS VAT code per country, and by hand that often goes wrong.
- Two invoice emails: your customer receives an invoice from the webshop and later another one from the accounts.
- Payment separate from the invoice: the payment is on the bank statement, but in Zoho Books it is not linked to the invoice.
What goes from Magento 2 to Zoho Books
The route goes one way, from Magento 2 to Zoho Books: customers, paid invoices, payments, credit notes and cancellations.
Magento 2 reports what happens in the webshop, Zoho Books is the administration where it is booked. Items, stock and sales orders are not part of it.
| Object | Direction | Trigger | Matching |
|---|---|---|---|
| Customer becomes contact | Magento 2 → Zoho Books | New customer in Magento 2 | Email address, exact and case-insensitive. Magento customer ID as a custom field |
| Paid invoice becomes invoice | Magento 2 → Zoho Books | Invoice paid | Zoho invoice number equal to the Magento invoice number, order number as reference |
| Payment becomes payment | Magento 2 → Zoho Books | Invoice paid | On the invoice, booked to a clearing account per payment channel |
| Credit memo becomes credit note | Magento 2 → Zoho Books | Credit memo in Magento 2 | Linked to the original invoice |
| Cancellation voids the invoice | Magento 2 → Zoho Books | Order cancelled | Invoice found by order number |
| Exception | Route → me | On an error | Alert through the error workflow, by email and Telegram |
How the route works
The route from Magento 2 to Zoho Books runs in five steps, from an event in Magento 2 to the invoice email that Zoho Books sends.
- Something happens in Magento 2 that the route listens for: a new customer, a paid invoice, a credit memo or a cancelled order.
- My own Magento 2 module catches that event and sends a webhook to n8n straight away, without cron and without scheduled checks. For an invoice, the module first recalculates the lines and totals. If n8n does not answer within the short timeout, the module makes one more attempt.
- Each event starts its own n8n workflow. It first searches Zoho Books for the object: the contact by email address, the invoice by invoice number.
- The workflow writes the result through the Zoho Books EU API, with the organization_id on every call. Invoices for the Netherlands get the Dutch VAT codes; the workflow books sales to consumers in Belgium, Germany and France per destination country with the OSS VAT codes in Zoho Books.
- Zoho Books emails the invoice to the customer. The Magento 2 invoice email is switched off, so the customer receives one invoice.
Error path: On a payment, the route compares the invoice total in Zoho Books with the amount paid. If they differ, it books no payment and the invoice stays a draft. An invoice that fails the calculation check in the module is not sent and ends up in the module's log. Every error in a workflow goes through a separate error workflow to my email and Telegram.
Facts about this route
I checked ten facts: five from my own route and five from the Zoho Books documentation, from the EU domain to the daily limit.
Checked on 3 November 2026. API facts come from the official Zoho Books documentation, route facts from my own route. The source is listed per row.
| Fact | Value | Source |
|---|---|---|
| Trigger | Webhooks from my own Magento 2 module on new customer, paid invoice, credit memo and cancelled order. No cron | Own route, checked 3 November 2026 |
| Numbering | Zoho invoice number equal to the Magento invoice number, Magento order number as reference, Magento IDs in custom fields | Own route, checked 3 November 2026 |
| VAT | Netherlands: VAT codes 21, 9 and 0 percent. Belgium, Germany and France: the OSS VAT codes in Zoho Books per destination country, per product group the rate of that country (supplements reduced, skin and aroma oils and shipping standard). Prices include VAT | Own route, checked 3 November 2026 |
| Currency | EUR | Own route, checked 3 November 2026 |
| Connection | Zoho Books EU API with an OAuth2 credential in n8n | Own route, checked 3 November 2026 |
| EU domain | Zoho Books has nine API domains. For the EU it is https://www.zohoapis.eu/books/ | Zoho Books API: Introduction |
| Organisation | Every call has to send the organization_id | Zoho Books API: Introduction |
| Limits | 100 requests per minute per organisation. Per day: Free 1,000, Standard 2,000, Professional 5,000, Premium, Elite and Ultimate 10,000 | Zoho Books API: Introduction |
| VAT inclusive or exclusive | An invoice has is_inclusive_tax: it indicates whether line item rates include tax. Per line you choose the tax with a tax_id | Zoho Books API: Invoices |
| Customer in another EU country | vat_treatment indicates the location of the customer, with its own value for a customer in an EU country who is VAT registered | Zoho Books API: Invoices |
In practice
The route from Magento 2 to Zoho Books has been running in production in my own webshop, Good Nature Vibe, since April 2026.
I built all of it myself: the Magento 2 module with the webhooks, the n8n workflows and the error handling. Paid invoices, payments, credit notes and cancellations reach Zoho Books without retyping, and I only check the exceptions. The case describes where it went wrong and what I learned from it. Read the case →
What you need on your side
You need four things: Magento 2 with the webhook module, a Zoho Books organisation in the EU with the VAT codes, an agreement with your accountant on OSS and a server of your own.
- Magento 2 with the custom module that sends a webhook to n8n on every event. That module is custom work for your webshop.
- A Zoho Books organisation in the EU data centre, with the VAT codes (for sales to consumers in other EU countries also the OSS codes per country) and a clearing account per payment channel.
- An agreement with your accountant on sales to other EU countries: the OSS registration, the rate per product group and customers with a VAT number.
- A server of your own for n8n. If you do not have one yet, I set it up.
What it costs
For the route from Magento 2 to Zoho Books you pay a fixed price per scoped process, guide price from €750, plus a monthly fee for maintenance and monitoring.
Guide price: from €750 per scoped process. How many processes your route has determines the price; we work that out in the free assessment. Everything runs on your own server, in your name. Maintenance and monitoring are a monthly fee: n8n maintenance from €250 per month, the server itself €145 per server per month. All prices and what is included →
What I do not do
I keep four limits: no VAT advice, no items and stock, no unpaid invoices, no purchasing or bank.
- I do not file your VAT return and I do not give VAT advice.
- I do not sync items, stock or sales orders in this route.
- The route does not pass on unpaid invoices.
- Purchase invoices and bank transactions are not part of this route. That is a process of its own.
Frequently asked questions about Magento 2 and Zoho Books
Five questions about this route, from the custom Magento module to the Zoho Books API limits.
Why a custom Magento module with webhooks?
Webhooks are not in the Magento core. Adobe provides separate modules for them: Webhooks from 2.4.5 and I/O Events, which is only for Adobe Commerce. That is why I built a Magento 2 module myself. It sends a webhook to n8n the moment something happens, with one more attempt if n8n does not answer in time.
Why do only paid invoices go to Zoho Books?
That way Zoho Books only holds webshop invoices the customer has actually paid, each with its payment. An invoice goes through once it is paid in Magento 2, and the payment is booked with it on the clearing account of the payment channel.
How do you prevent an invoice from ending up in Zoho Books twice?
The invoice number in Zoho Books is the same as in Magento 2. Before the route creates an invoice, it searches Zoho Books for that number. If the invoice already exists, it skips it. An invoice that is already paid does not get a second payment.
How does the route handle VAT?
Sales in the Netherlands are booked with the Dutch VAT codes in Zoho Books: 21, 9 and 0 percent, with prices including VAT. Sales to consumers in Belgium, Germany and France are booked per destination country with the OSS VAT codes in Zoho Books, per product group at the rate that applies there. How you book sales to other EU countries or to a customer with a VAT number is something you agree with your accountant beforehand.
Does this fit within the Zoho Books API limits?
Zoho Books allows 100 requests per minute per organisation and a daily limit per plan, from 1,000 on Free to 10,000 on Premium and higher. How many invoices that is per day depends on the number of calls per invoice. I work that out in the free scan.
Related
Systems and routes for this integration
Magento 2
In productionPass orders and customer data on to your accounting.
More about the Magento 2 integration →Zoho Books
In productionBook webshop orders automatically as an invoice.
View in the overview →Connecting WooCommerce to Exact Online
In productionOrders to Exact Online, items and customer group prices back to the webshop; for a client of web agency Mercabilis.
See the route →Connecting website forms to Zoho CRM and Listmonk
In productionAt Holos33, my own platform, every website form submission goes to Zoho CRM, and anyone who signs up lands on the right list in Listmonk.
See the route →