Since 1st January 2019, the Italian government requires a specific standard for all the companies that sell goods online. All of them are required to issue an electronic invoice for each order and to provide the Italian Agenzia delle Entrate with all invoices in a specific format.
This plugin includes a section that has been specifically developed to give Italian companies an easy tool to generate this required file, together with the PDF file.
If your company is based in Italy and if you sell online, you will be required an .xml file for every order placed in your online shop.
This plugin will help you do that the right way and without much trouble.
Go to the plugin settings at YITH > PDF Invoice > Settings > Generating Documents and enable the option called Abilita la fatturazione elettronica (clienti italiani)
Then, save the changes. After that, you’ll see a new tab next to the others in the plugin settings called Fatturazione elettronica. Here you can enter your company details, so as they will appear in the .xml file.
Now, if you have configured all the other settings for the generation of automatic invoices, you will be able to see in every order a dedicated box called Stato XML
To generate the .xml file in the format required by the Italian Agenzia delle Entrate, just click on the button Crea and then on the button Visualizza in this box. This will let you donwload the .xml file that you can save and send to the Agenzia delle Entrate.
Please, note: if you can’t see the box for the .xml file generation in the order details, make sure you haven’t activated the option for the preview (YITH > PDF Invoice > Preview Mode), as this lets you see a preview of the invoice, and so, the .xml generation cannot be enabled.