Electronic invoicing has recently been introduced in Italy. For internal use for managing XML and sending to the SDI system we have created a web app developed in Python / Django. The core of the web app has been released under the MIT license.
Fork on GitHub