This blog will describe how to configure the transformation settings to enable the system to send an electronic invoice in Italy.
In Italy it is legally required to provide an electronic invoice when dealing with any Italian company.
The Government has created a specific layout for the XML format that must be complied with.
Then, using the standard functionality of e-invoicing with SAP Business ByDesign, see the blog https://blogs.sap.com/2020/07/22/e-invoicing-with-sap-business-bydesign/, we created the two needed XSLT files for transformation, one to automatically create the Italian e-invoice for customer
and other one to correctly acquire the supplier invoice in the same format.
For customer Invoices, once the transformation has been correctly assigned to the output channel selection
system will automatically create the final XML file in the output history, once the customer invoice has been posted
For Vendor Inovices, you have to upload the vendor XML file and select the XSLT Transformation ID to use.
The system processes the XML input file and create the vendor invoice entry in ByD.
How to create XSTL files?
Using existing tools like Altova XMLSpy, Oxigen XSLT Editor, EDITIX, Liquid Studio, you can develop XSLT file needed for the transformation.
For Customer Invoices, Byd produce an XML file containing all invoice information. Using the XSLT for Customer Invoices you can obtain a “custom” XML output.
For Vendor invoice you need to transform the supplier XML file into XML defined into webservice “Manage Supplier Invoice”.
We conclude, that we have covered in this blog post the configuration of the transformation settings to be able to send and receive the electronic invoice according to the Government directives.