Italian e-invoice viewer: portal, stylesheet or online
Three free ways to read an Italian XML e-invoice: the Fatture e Corrispettivi portal, the Revenue Agency's stylesheet and an online viewer, with pros and cons.
Why you need a viewer
An Italian e-invoice is an XML file in the FatturaPA format: a list of data meant for software.
A double click shows code, or nothing at all if the file is signed as .xml.p7m.
To read it like a paper invoice you need something that turns the data into a page: a stylesheet,
the portal of the Italian Revenue Agency (Agenzia delle Entrate) or an online viewer. None of the three changes the invoice:
the tax document is still the XML file.
The Fatture e Corrispettivi portal
Invoices that went through the Exchange System (SdI, Sistema di Interscambio) are also in the reserved area of the Revenue Agency, in the Fatture e Corrispettivi portal, under Consultazione. You log in with SPID, CIE or CNS (the Italian digital identity, electronic ID card or national services card), also as a private person. There you can see your issued and received invoices and download their files.
How to get there, and where else an invoice can be (PEC, recipient code), is explained in the guide where to find your e-invoices.
- Pros: it is the official service, it is free, and you don't upload anything anywhere.
- Cons: you only see your own invoices or those of someone who gave you a delegation, and only after logging in. A file that came by email, from a customer or a supplier abroad, can't be opened there.
The Revenue Agency's stylesheet
In the technical documentation of FatturaPA (on the fatturapa.gov.it website) the Revenue Agency publishes two stylesheets in XSL format: one for ordinary invoices between businesses and private persons, and one for invoices to the public administration. A stylesheet tells the browser how to lay out the data of the XML.
- Download the right stylesheet and save it in the same folder as the invoice.
- If the invoice is an
.xml.p7m, first extract the XML from the signature envelope: the stylesheet can't read signed files (see the guide to opening a .p7m file). - Near the top of the XML, after the first line, add an instruction that calls the stylesheet, for example
<?xml-stylesheet type="text/xsl" href="name-of-the-stylesheet.xsl"?>. - Open the XML in your browser.
- Pros: free, and the file never leaves your computer.
- Cons: you have to repeat it for every invoice and edit the file. For security reasons many browsers don't apply a stylesheet to a file opened from disk and show a blank page or the code. The courtesy PDF copies attached to the XML stay hidden.
An online viewer: e-invoices.it
- Open e-invoices.it and upload the
.xmlor.xml.p7mfile, or several files or a ZIP. - Choose View and print: the invoice opens in a new tab, with supplier and customer, line items, VAT summary and payment, and any attachments at the bottom.
- Pros: free without registration, nothing to install, works on your phone too. It opens signed files without extracting them, ordinary invoices as well as invoices to the public administration, and shows the attached courtesy copies. From there you can save the invoice as a PDF with your browser's print function. The invoice can also be shown in English.
- Cons: the file is uploaded to our server. It is processed in memory and deleted right after, without storing its content, but if an invoice must not leave your computer, the stylesheet is the way to go.
Which one to choose
- Your invoices are already in the portal and you only want to see them: Fatture e Corrispettivi.
- You have a file to open right away, perhaps signed or received by email: an online viewer.
- The file must not leave your computer and you don't mind editing it: the stylesheet.
- You have hundreds of invoices from the bulk download: rather than viewing them one by one, put them all into one Excel file.
A viewer is for reading the invoice: it does not verify the signature or check that the invoice is correct.