Skip to content

Automations

Automating e-invoicing for an online store: a Wix + Zapier case and what changed in 2026

Issuing an invoice by hand for every online order wastes time and, sooner or later, leads to a mistake. In this article I explain how I connected the Wix Studio shop of Defined Body by Alebis to fattureincloud.it through Zapier, so that every confirmed payment produces its electronic invoice on its own. Then we look at what changed in 2026 for anyone invoicing through Italy's SDI, and what to check before automating.

  • Giuseppe Pinto
  • Published on
  • 7 min read

The case: Defined Body by Alebis

Defined Body by Alebis is a Milan business that offers beauty treatments and sells gift cards and skincare products online from metododefinedbody.com, built with Wix Studio. Before the project, for every web order someone had to open the accounting software and retype customer, lines, amounts and payment by hand. Repetitive work that needed care and took time away from clients.

The goal was clear: when a customer pays on the site, the electronic invoice should be created on its own, ready for the Sistema di Interscambio (SDI), the Italian tax agency's platform that every electronic invoice in Italy goes through. And it has to be right, because a wrong invoice cannot simply be deleted.

The result: manual invoicing of online orders has been eliminated entirely. Today every confirmed web payment produces a compliant electronic invoice, issued through the fattureincloud.it API v2.

How the flow works: confirmed web payments only

The flow has three pieces. Wix records the order and the payment, Zapier reads the data and transforms it, and fattureincloud.it creates the document through its API v2 and sends it to SDI. No server to maintain: I connected tools the client was already using.

The most important choice was the trigger, the moment everything starts. An invoice is created only from a confirmed web payment. An order created but not paid, or a failed payment, produces nothing.

Orders entered by hand are left out on purpose: they follow a different path and whoever creates them handles the invoice. Without this filter the real risk is invoicing the same sale twice. When the flow stops for one of these reasons it is not an error: it is exactly the intended behaviour.

A card terminal with a card inserted: the invoice is issued only once payment is confirmed

Data mapping and edge cases

The heart of the work is matching order data to invoice fields. Before touching Zapier I always write a table like this one: for each field, where it comes from, in what format, and what happens if it is missing.

The trickiest part is the invoice recipient. A private customer is identified by their codice fiscale (personal tax code), a company by its partita IVA (VAT number), and each branch has different required fields. A missing value needs a clear rule, not silence. I aligned the VAT calculation with fattureincloud.it's own, so order totals and invoice totals cannot drift apart; which rates apply, though, is up to the accountant.

How I mapped the main data in the Defined Body project
Wix order dataWhat it becomes on the invoiceWhat I watched out for
Private customer or companyTax code or VAT numberDifferent required fields for each case
Products, VAT and discountsLines with tax and discount carried overInvoice total equal to the order total
ShippingA line of its ownSame VAT treatment as a product line
Actual payment methodMethod and a dedicated settlement accountEvery payment recorded in the right account

Testing, monitoring and an urgent fix

An automation that only works in the happy path is not enough. I tested every variant with real or very realistic orders: private and business customers, with and without a discount, with shipping, with different payment methods. I compared every generated invoice with its original order before closing the job.

After go-live came the moment every automation meets sooner or later: a production issue that needed fixing fast. I solved it almost the same day, and it left me with a rule I always apply: every run must be visible, replayable and, if something goes wrong, trigger a notification. Never a silent failure.

Problems almost always come from cases nobody imagined: an incomplete address, a very long company name, a tax code with a typo. That is why, in the first weeks, I check runs one by one.

What changed in 2026 for SDI invoicing

On 31 March 2026 the Agenzia delle Entrate (Italy's tax agency) published version 1.9.1 of the e-invoice technical specifications, usable from 15 May 2026. The previous version, 1.9, had been in use since 1 April 2025 and introduced, among other things, document type TD29 and the cross-border VAT exemption scheme RF20. On the same 15 May, version 1.8.4 of the specifications for invoicing public administrations also took effect, as announced on fatturapa.gov.it.

According to the change list in Annex A, version 1.9.1 brings these updates:

  • A new rejection check, code 00327: if the customer's VAT number is missing and the tax code given belongs to a VAT group instead of the member company, the invoice is rejected.
  • Up to 300 recipient codes can be requested by anyone with an accredited receiving channel.
  • A new code in the AltriDatiGestionali block for income invoiced under the exemption for sports workers.
  • Updated accreditation procedures for the Web Service and SFTP channels.
  • Looking further ahead: under the EU ViDA package (VAT in the Digital Age), adopted on 11 March 2025, digital reporting requirements for cross-border B2B transactions start on 1 July 2030, and by 1 January 2035 national systems such as SDI must align with the EU model.
Invoices, tax forms and a calculator on a desk

What it means in practice for your store

If you use a cloud invoicing service, like fattureincloud.it in the Defined Body case, format updates are handled by the provider. That is one reason I prefer relying on a specialised service rather than generating the XML from scratch. If your integration builds the file itself, every new version of the specifications has to be read and tested.

Before switching on any automation, have your accountant approve the logic: VAT treatment, nature of the transactions, returns and credit notes, timing. I do not give tax advice and I do not replace your accountant: my part is turning the rules they confirm into a reliable flow. Also plan for what the automation does not cover, such as orders changed after payment.

Zapier is a great fit when the flow is linear and volumes are moderate, as in this case. When the rules get complex or you need finer logs and checks, a custom API integration is the sturdier choice. I always pick the simplest tool that holds up in the real case.

How I can help

Designing and building automations like this one is one of the services I offer: I connect your store or management software to your invoicing tool, decide with you and your accountant when to issue and what to leave out, map the data, test every variant and stay available when a quick fix is needed. With Defined Body by Alebis, manual invoicing of online orders is gone, and an urgent production issue was solved almost the same day.

I will not promise miracles: if your case is better served by another solution, I will tell you. If you want to know whether and how your invoicing can be automated, write to me through the banner below or the contact form on the site: we start from how you work today.

Sources

References consulted for this article. Always check official sources before making decisions.

Robotic arms at work on an automated line

Automation and AI

Less repetitive work, more time for your clients

Invoices, emails, CRM and notifications that run on their own, with AI only where it really helps.

Message me

Frequently asked questions

In many cases yes, if your store platform and invoicing software can be connected, directly or through a tool like Zapier. First decide when to issue, for example only once payment is confirmed, and have the rules confirmed by your accountant.
They apply to every electronic invoice sent to SDI from 15 May 2026. If you use a cloud invoicing service, the provider usually handles the update; if you generate the XML yourself, you need to check the new rules. For tax questions, ask your accountant.
In the Defined Body project they are left out on purpose: the automation starts only from confirmed web payments. Manual orders follow a different path, so the same invoice can never be issued twice.
For linear flows and moderate volumes Zapier is often enough and easier to manage. If rules get complicated, volumes grow or you need precise logs and checks, a custom API integration is a better fit.

More articles you might like