Web Project Solutions
EN
My Cart
Request a consultation
Guide

Every Magento 2 order becomes an invoice in Fatture in Cloud, with a module installed in four commands

Paid Magento 2 orders become e-invoices in Fatture in Cloud, with customer, VAT and payment already filled in. Steps and screenshots.

  • From Magento 2.0 to 2.4
  • E-invoices with customer, VAT and payment already filled in
  • €80 one-off, no subscription

Why a ready-made module

You could write a connection between Magento and Fatture in Cloud from scratch, perhaps with help from an AI. But that means studying the Fatture in Cloud API, creating or updating the customer on every order, matching tax rates and payment methods, filling in recipient code and PEC for Italian e-invoicing, translating configurable products, shipping and discounts, and then reworking everything every time Magento or Fatture in Cloud is updated.

The module already does all of this. You install it with four commands, connect it to Fatture in Cloud in a few minutes, and from then on you choose the orders and click Export, and the invoices appear in Fatture in Cloud already complete. If something does not add up, the person who wrote it answers you, with 3 months of support included.

Want to skip the installation too?We install and configure it on your store for €20.Go to the module

What it does

  • Sends Magento orders to Fatture in Cloud as an e-invoice, invoice, receipt, delivery note, order, pro forma, quote or credit note.
  • Creates the customer in Fatture in Cloud or updates it if it already exists, with VAT number, tax code, recipient code and PEC taken from the fields you choose.
  • Matches Magento tax rates to Fatture in Cloud ones, and payment methods to the e-invoice payment mode and the account.
  • Exports the paid orders in a range of dates or order numbers, and keeps the list of the documents created.

What you need

  • A Fatture in Cloud account.
  • Magento 2.0 to 2.4 and access to the server command line, or someone who has it.
  • The module, €80 one-off with 3 months of support and a refund within 60 days. It is also available for PrestaShop and OpenCart.

Installing the module

  1. 1

    Copy the files

    Extract the zip you downloaded after your purchase and copy the Webprojectsol folder you find in upload into the app/code/ folder of your Magento.

  2. 2

    Enable it with four commands

    From the Magento root folder run these commands, one after the other.

    bin/magento module:enable --clear-static-content Webprojectsol_FattureInCloud
    bin/magento setup:upgrade
    bin/magento setup:di:compile
    bin/magento setup:static-content:deploy

    When it is done, FattureinCloud.it appears in the left-hand menu, with Esporta Documenti, Aliquote IVA and Modalità di pagamento.

  3. 3

    The licence is already there

    If you bought the module on this website, the licence for the domain you entered in the order is activated automatically when the order is completed. You can add a test domain in the same order, before putting the module in the cart.

Connecting Fatture in Cloud

You connect it once and there is nothing technical to write, you just copy a code from one page to another. The module settings are in Stores › Configuration › Estensioni Web Project Solutions › FattureinCloud.it: Esporta Documenti.

  1. 1

    Open the connected applications

    In the Credenziali API (API credentials) group you find the Applicazioni collegate a Fatture in Cloud link and the ID Cliente of our application. The link opens the right Fatture in Cloud page, where you click Ottieni il tuo token personale.

    The Applicazioni collegate page in Fatture in Cloud
    The «Applicazioni collegate» page in Fatture in Cloud, with the button for getting the token.
  2. 2

    Enter the client ID, choose the company and the permissions

    Paste the ID Cliente shown by the module and click Prosegui. Tick the company that should receive the documents, then give Accesso completo to Clienti and to the documents you want to create, for example Fatture, and Lettura to Impostazioni, which the module needs to read VAT rates, payment methods and accounts.

    Choosing the application permissions in Fatture in Cloud
    The shield next to an item means the permission is granted.
  3. 3

    Copy the token

    Fatture in Cloud shows you the access token. Copy it with the icon next to it and keep it to yourself, because it is the key to your account.

    Applicazione collegata window with the access token
    The token, hidden in the screenshot, is copied with the icon on the right.
  4. 4

    Paste it into Magento

    Back in Magento, paste the token into Token di accesso and click Save Config. Now the Azienda drop-down shows your Fatture in Cloud companies, so choose the right one and save again.

    Credenziali API group of the module in Magento with token and company
    Token saved and company chosen, the connection is done.

Configuring the module

  1. 1

    Fields and default VAT rates

    In Configurazione Campi (field configuration) you choose which customer fields hold VAT number, tax code, PEC and SDI code, and whether to copy the order comment into the invoice. In Aliquote Predefinite (default VAT rates) you set the Fatture in Cloud VAT rate for customers in Italy, in the European Union and outside it.

    Configurazione Campi and Aliquote Predefinite groups of the module in Magento
    The customer details come from the fields your store already uses.
  2. 2

    Documents and order statuses

    In Documenti you choose the type, for example Fattura elettronica, the numbering series and, if you want, the subject text with placeholders such as {numero} and {data}. In Stato d'ordine (order status) you choose which statuses to export and which mark the invoice as paid.

    Documenti and Stato d'ordine groups of the module in Magento
    To choose more than one status, hold Ctrl while you click.
  3. 3

    Payment methods

    In FattureinCloud.it › Modalità di pagamento click Aggiungi Tipo di Pagamento and match each Magento payment method to the Fatture in Cloud method, the e-invoice payment mode and the account. For e-invoices you need a match for every payment method you use.

    Matching the Magento check payment method to Fatture in Cloud
    Magento's check payment, with the «Assegno» mode and the «Cassa» account.
  4. 4

    VAT rates

    In FattureinCloud.it › Aliquote IVA click Aggiungi Aliquota IVA and match each Magento tax rate to the Fatture in Cloud one, for example IT-22 to 22 %.

    List of Magento tax rates matched to Fatture in Cloud
    One match for each tax rate you use in the store.

Sending orders to Fatture in Cloud

  1. 1

    Choose the orders

    In FattureinCloud.it › Esporta Documenti click Export, choose the document type and, if you want, a range of dates or order numbers, then click Export again. The orders that go out are the ones already paid, that is the ones you created the invoice for in Magento or that were paid online.

    New export of Magento orders to Fatture in Cloud
    Here order number 65 as an e-invoice.
  2. 2

    Find the invoice in Fatture in Cloud

    Every exported order appears in the list with the number of the document created. In Fatture in Cloud the invoice is already complete with customer, products, VAT and due date, and all that is left is to sign it and send it to the Italian exchange system with Firma e invia.

    An e-invoice created from a store order in Fatture in Cloud
    The invoice created from the order, ready to be signed and sent.

If something goes wrong

«Nessun documento deve essere esportato»

In the range you chose there are no paid orders in one of the statuses to export. Create the order invoice in Magento, or add its status in Stato d'ordine, and try again.

«Per inviare fatture elettroniche è necessario revisionare i tipi di pagamento»

Some payment method lacks the e-invoice payment mode or the account. Open FattureinCloud.it › Modalità di pagamento and complete the matches.

The VAT rate or payment drop-downs are empty

The application lacks read permission on Impostazioni. In Fatture in Cloud open Impostazioni › Applicazioni collegate, open the application and add it to the permissions.

The Azienda drop-down shows nothing

The token was not saved or is no longer valid. Paste it again and save. If you regenerated it in Fatture in Cloud, paste the new one.

The FattureinCloud.it menu does not appear after installation

One of the four commands is missing, usually setup:di:compile, or the cache is old. Run the commands again and then bin/magento cache:flush.

Shall we connect Fatture in Cloud to your Magento?Installation and configuration for €20, and we reply within 24 hours.Go to the module