Own development · in production since April 2026
I used to retype every paid invoice from my webshop into my accounts: look up the customer, copy the lines, pick the VAT, book the payment. The same steps every time, and every time a chance of a typo. Since April 2026 every paid invoice from Good Nature Vibe is in Zoho Books before I have seen it, with the customer and the payment attached. My webshop and my accounts stayed what they were.
-
0
invoices retyped since April 2026
-
2 cents
maximum deviation; above that the invoice waits for me
-
5
events with their own route to the accounts
-
1
number per invoice, in webshop and accounts
On this page: starting point · approach · result · next cycle · what you can use · frequently asked questions
Starting point
There was nothing between my webshop and my accounts. I entered every paid invoice into Zoho Books by hand: customer, lines, VAT, payment. The invoice e-mail came from Magento, while the accounts lived in Zoho. Two places, twice the work, and no guarantee they said the same thing.
I wanted one invoice in one place, with the same number in webshop and accounts, and to hear only about what deviates.
Approach
I worked in the same four steps as on every job.
- Scope. Only paid invoices go through, with the payment attached. An invoice gets the same number in the accounts as in the webshop.
- Design. An event in the webshop is the starting point, the invoice number the key. A calculation check up front, and a person for every exception.
- Build. An extension of my own on the webshop that reports what happens, and a separate route to the accounts for each event.
- Maintain. Every error goes to my e-mail and Telegram. An invoice that does not add up stays put until I look at it.
What I built
Magento 2 has no webhooks in core. So I built my own Magento module that watches 5 events: a new customer, a paid invoice, a credit memo, a cancelled order and a newsletter sign-up. On every event the module sends a webhook to n8n straight away, without cron and without fixed check times.
- Magento module. Catches the event, recalculates an invoice and sends the webhook.
- n8n. One workflow per event, on a server of my own. The newsletter goes to my mailing list, the rest to the accounts.
- Zoho Books. My accounts, reached through the EU API with an OAuth connection.
How the route runs
- Paid. A customer pays and Magento creates the invoice.
- Recalculated. My module checks every line, the VAT and the total. If it adds up, the webhook goes to n8n straight away.
- Customer found. The workflow looks up the customer in Zoho Books by e-mail address, and creates the contact if it is not there yet.
- Invoice booked. In Zoho Books the invoice gets the same number as in Magento, with the order number as reference. If that number already exists, the workflow skips it, so an invoice never lands in the accounts twice.
- Payment booked. The payment is applied to the invoice, through a clearing account per payment channel.
- Invoice sent. Zoho Books e-mails the invoice to the customer. The Magento invoice e-mail is switched off.
A credit memo in Magento becomes a credit note in Zoho Books, linked to the original invoice. A cancelled order voids the invoice. If a payment arrives before the invoice is in Zoho, the workflow creates the invoice first.
Sales to consumers in Belgium, Germany and France are booked per destination country, with the OSS VAT codes in Zoho Books. Each product group gets the rate of that country: supplements at the reduced rate, skin and aroma oils and shipping at the standard rate.
Where it went wrong and what I learned
This is where it went wrong for me, and what the route does now.
- An invoice that does not add up. A few times an invoice line from Magento did not match the VAT or the total. Now the module recalculates every invoice; if it is off, the invoice stops and the error goes to the log. An invoice that waits is easier to fix than a wrong booking.
- VAT on composite products. On configurable and bundled products the parent product carried no VAT percentage. The module now takes it from the child product.
- An amount that is slightly off. Before the payment, the workflow compares the Zoho Books total with what the customer paid. Above a gap of 2 cents it books no payment and the invoice stays a draft for me to check.
- A server that does not answer in time. If n8n does not respond in time, the module makes 1 new attempt. If that fails too, it goes to the log.
- An error nobody sees. Every workflow error goes to my e-mail and Telegram. So I hear it when something does not run.
Result: connected, proven, monitored
- Connected. Webshop and accounts share the same invoice number, with the customer linked and the payment applied. From customer to credit note.
- Proven. In production since April 2026, with a calculation check on every invoice before it enters the accounts.
- Monitored. Every error goes to my e-mail and Telegram. If an amount deviates, the invoice stays a draft until I look at it.
As of November 2026. I do not publish invoice counts; what is certain: zero retyped invoices since April 2026, and a deviation of at most 2 cents before an invoice waits for me.
What I notice now
I no longer retype invoices. A paid invoice is in Zoho Books before I have seen it, with the same number as in the webshop. My customer gets one tidy invoice, from the accounts. I only look at the exceptions, and if something is off, I hear it from the system and not from a customer.
Next cycle
Still to come: monitoring of invoices that stay in draft. A follow-up measurement of the number of invoices that waited for a check goes here as soon as I have done it.
What you can use from this
You do not have to replace your webshop or your accounting package. The retyping stops; the packages stay. The structure works for any webshop and any accounting package: an event as the starting point, the invoice number as the key, a calculation check up front and a person for every exception.
You choose where to start: paid invoices only, or payments and credit notes as well. And you decide which deviations come past you first.
Swipe the table sideways to see all columns.
| System | What you can reuse | What differs |
|---|---|---|
| Shopify | Start at a paid order, duplicate check on number, amount check | Shopify sends webhooks itself |
| WooCommerce | The same steps, from customer to credit note | Already running at a client: Mercabilis case |
| Magento 2 | This route, with the calculation check in the module | No webhooks in core, so a custom module |
| Exact Online | Invoice number as the key, payment through a clearing account | You agree journals and ledger accounts with your accountant up front |
| Moneybird | Contact by e-mail address, then invoice and payment | Moneybird reports events itself through webhooks, per administration |
| Zoho Books | Everything on this page | Choose the EU data centre and send your organisation with every call |
The technical side and the facts from the Zoho Books documentation are on Magento 2 to Zoho Books integration. What AI assistants can do in the same webshop is in the case about the entrance for AI assistants.
Frequently asked questions
Can this work without a custom Magento module?
Yes. Then the integration checks for anything new at fixed times, or you use the webhook modules from Adobe. My module reports everything right away and recalculates first.
Do unpaid invoices go to Zoho Books too?
No. Only paid invoices go through, with the payment attached.
Does this work for sales outside the Netherlands?
Yes, for consumers in Belgium, Germany and France. The route books those sales per destination country with the OSS VAT codes in Zoho Books, per product group at the rate that applies there. Sales to other EU countries are set up with your accountant beforehand. I do not give VAT advice; the integration follows what you agree.
What does an integration like this cost?
A scoped process like this is a quick win, from €750 for the build. Maintenance is a separate package you can cancel monthly. In the free assessment I work out what it costs and gives for your webshop.
Want to know what a route like this would do for your webshop?
I work through one route with you. You get a short report with figures, even if the answer is no.
Free, no obligation
Own case by Stefan de Graaf (AIAgentCycle) for Good Nature Vibe. Facts checked on 3 November 2026.