What to automate and what not to
A Fatture in Cloud Shopify integration built with Make creates the correct Italian tax document automatically when an order is paid, instead of someone copying name, address, line items and VAT by hand. Fatture in Cloud is an invoicing tool widely used by Italian small businesses, and Make offers an official app for it with modules to create clients, issued documents and receipts, verify the XML and send e-invoices to SDI, the Italian e-invoicing exchange system.
Before opening the editor, decide what the scenario should do. Automate the repetitive work: customer records, product lines, shipping, payment method, sending to SDI for businesses and credit notes for refunds. Keep a human step for rare cases: orders with unusual VAT rates, non-EU customers, corrections to invoices already transmitted. The tax rules themselves (when to issue an invoice, how to record receipts, how to treat sales to other EU countries) must be decided with your accountant. This article covers the technical side and is not tax advice.
How the Make scenario is structured
A solid scenario for this use case has six blocks, in this order:
- Trigger: the Shopify
Watch ordersmodule, or a custom webhook subscribed to the Shopifyorders/paidevent, which fires when an order is paid. - Duplicate check: look up the order ID in a Make data store or among documents already issued.
- Router by customer type: business with a VAT number, consumer asking for an invoice, consumer without a request.
- Client:
List All Clientsto find them,Create a Clientif they do not exist. - Document:
Create an Issued Documentfor the invoice, thenVerify E-Invoice XMLandSend E-Invoicefor businesses. - Result log: write order ID, document ID and status to the data store.
Trigger on the paid order, not on order creation. With bank transfer or cash on delivery an order can stay pending for days or never be paid, and invoicing at creation produces documents you then have to cancel. If you are still choosing a platform, our Make vs n8n comparison explains when a self-hosted alternative makes sense.
Mapping customers, line items and VAT
Customer data
From Shopify take name, email, billing address and, for businesses, the company name. Shopify's standard checkout has no dedicated field for an Italian VAT number or the SDI recipient code: you need a custom field, a checkout app or the B2B features, depending on your plan. Whatever you choose, the data must land in a structured field Make can read, not in free-text order notes.
Line items, shipping and discounts
Each Shopify line item becomes a document line with description, quantity, price and VAT rate. Shipping is added as a separate line. Discounts are spread across lines or added as a negative line, according to the practice agreed with your accountant. Before creating the document, use the Get Issued Document Pre-Create Info module to read the VAT rates and numbering series configured in your account instead of hard-coding IDs in the scenario.
Gross or net prices
Many Shopify stores display VAT-inclusive prices. Pick one convention and apply it everywhere: if you pass gross prices, the document must treat them as gross; if you calculate the taxable amount, round line by line and compare the total with the order total. A one-cent difference is enough to cause payment reconciliation issues. Add a filter that stops the scenario when the document total differs from the Shopify total.
Consumers and businesses: invoice or receipt
The central router separates three paths.
- Business or freelancer with a VAT number: e-invoice with SDI recipient code or certified email (PEC), XML check and submission to SDI.
- Consumer asking for an invoice: e-invoice with the customer's tax code; the document still goes through SDI.
- Consumer without a request: for e-commerce, the Italian Revenue Agency has clarified that takings can remain exempt from electronic transmission but must be recorded. The
Create a Receiptmodule records them in Fatture in Cloud, per day or per order.
For consumers in other EU countries the annual EUR 10,000 threshold for distance sales applies: above it, the VAT of the customer's country is charged, usually through the OSS scheme. The scenario therefore needs the shipping country to choose the right rate. These points vary from business to business, so have your accountant confirm them before switching the router on.
Credit notes from Shopify refunds
Shopify emits the refunds/create event whenever a refund is created on an order. Connect it to a second scenario, separate from the first, which:
- reads the order ID from the refund;
- retrieves the original invoice ID from the data store;
- uses
Create an Issued Documentto create a credit note with only the refunded lines and quantities, shipping included if returned; - for businesses, verifies it and sends it to SDI like the invoice.
If the original order was recorded as a receipt rather than an invoice, the refund follows the same logic and is handled as a receipt adjustment, not a credit note. A partial refund must never trigger a full reversal.
Handling errors and duplicates
A tax integration that creates two invoices for one order does more damage than one that occasionally stops. That is why the duplicate check is the first module after the trigger. The key is Shopify's numeric order ID, not the visible number such as #1001, which can be customised. Shopify may deliver the same event more than once: the principle is the same one we describe for reliable ecommerce webhooks.
Recommended Make settings
- Enable Store incomplete executions in the scenario settings: it is off by default, and without it an error can lose the order.
- Add an error handler to the Fatture in Cloud modules and send an email or Slack alert with order ID and error.
- Respect the API limits: Fatture in Cloud lists 300 requests every 5 minutes per company and returns 429 or 403 with a
Retry-Afterheader when they are exceeded. During peaks such as Black Friday, limit concurrent executions.
Testing with real orders before go-live
Do not switch the scenario on for live traffic after one successful test. Prepare a list of cases and check them one by one, with your accountant reviewing the resulting documents:
- Italian consumer without an invoice request;
- consumer requesting an invoice;
- business with an SDI recipient code and business with PEC only;
- order with a discount, promo code and free shipping;
- products with different VAT rates in the same cart;
- consumer in another EU country;
- partial refund and full refund;
- the same event sent twice.
For the first weeks, keep business invoices as drafts or send them to SDI only after a manual check. Once documents have been correct for a reasonable period, enable automatic sending. For a wider view of which flows are worth automating in an online store, see our ecommerce automation guide. If you would rather have us design and test the scenario, details are on our Zapier and Make automation service page.
- fatture in cloud
- shopify
- make
- fatturazione elettronica
- note di credito
- automazione
- iva
- ecommerce italia
Frequently asked questions
Does Make have a native Fatture in Cloud connector?
Yes. Make's Fatture in Cloud app includes, among others, Create a Client, Create an Issued Document, Create a Receipt, Verify E-Invoice XML, Send E-Invoice and Make an API call. The connection uses OAuth2 with an app created in Fatture in Cloud's developer settings.
Do I have to issue an invoice for every consumer order?
Not necessarily: in Italy, for online sales to consumers an invoice is generally due only if the customer asks for one, while takings are recorded as receipts. There are exceptions, so define the procedure with your accountant. This is not tax advice.
What happens if Make creates the same invoice twice?
That is the main risk. Write the Shopify order ID into a document field or a Make data store and check for it at the start of the scenario. If it exists, the scenario stops without creating anything.
Are there limits on Fatture in Cloud API calls?
Yes. The documentation lists 300 requests every 5 minutes per company, 1,000 requests per hour per company-app pair and 40,000 per month. Above those limits the API returns 429 or 403 with a Retry-After header.
Sources
- Fatture in Cloud app modules — Make
- Incomplete executions — Make Help Center
- Limits and quotas — Fatture in Cloud Developers
- Webhooks reference: topics — Shopify
- Fattura elettronica e corrispettivi telematici — Agenzia delle Entrate
- Risposte alle domande più frequenti OSS — Agenzia delle Entrate
Related articles
Automation · 6 min read
Make vs n8n: which one should a small business choose for automation
Make or n8n? A practical comparison of hosting, EU data, maintenance, error handling and real costs to choose the right automation platform.
Automation · 6 min read
CRM and Marketing Automation Integration: A Practical Guide for Nurturing and Optimized Sales
Learn how CRM and marketing automation integration can transform your lead nurturing and align sales with marketing, boosting conversions. An operational guide for business owners and marketers.
Digital Systems · 7 min read
Reliable ecommerce webhooks: idempotency, retries and observability
An implementation blueprint for receiving order and payment events, preventing duplicate effects, recovering failures and measuring the entire pipeline.
