How to read an Italian e-invoice (FatturaPA XML) file
If you do business with Italy, sooner or later a supplier sends you a file ending in .xml or .xml.p7m instead of a PDF. That is the Italian electronic invoice, FatturaPA, and it is a data file, not a document. Opened as plain text it is a wall of tags.
On this page
From difficult file to readable document.
Check the file ending
A .xml file is the invoice itself. A .xml.p7m file is the same invoice inside a digital signature wrapper. Keep the exact file you received and do not rename it.
Open it in a FatturaPA reader
Use one of the options below on your iPhone, iPad or Mac. The reader should show seller, buyer, invoice number and date, lines, VAT per rate, total and payment details.
Check the numbers against what you expect
Compare the total, the VAT and the payment details with your order or contract. If the supplier also sent a PDF copy, make sure it matches the XML.
Archive the XML, not just a PDF
A PDF you create from the invoice is a reading copy. The XML is the invoice record, so store it with your accounting documents and pass it on to your accountant as received.
Why you got an XML and not a PDF
In Italy, B2B invoices travel as structured XML through the national exchange system, the Sistema di Interscambio (SdI). The supplier's software issues the file, SdI routes it, and the recipient gets the data. Any PDF you receive is usually a courtesy copy.
That makes sense for machines and none for a person on a phone. The same pattern appears across Europe, from UBL and Peppol to German XRechnung. For the Italian case in more depth, see how to view a FatturaPA XML on iPhone.
The options compared
Pick by where the invoice comes from and how sensitive it is. App descriptions come from their App Store pages, so check the current page before you install.
| Option | Best for | Watch out for |
|---|---|---|
| Official XSL stylesheet from fatturapa.gov.it | A no-cost view in a desktop browser | Needs the stylesheet saved next to the XML; fiddly on iPhone; signed .p7m files must be unwrapped first |
| Agenzia delle Entrate Fatture e Corrispettivi portal | Italian businesses that can sign in with SPID, CIE or CNS and want the invoices SdI delivered | Not available to most foreign recipients, and it is a web portal, not a file viewer |
| Fattura XML - Lettore Fatture (CAPITA) | An Italian-language iPhone reader for XML and XML.P7M with a VAT check on the EU VIES service and PDF or CSV export, as its page describes | Interface oriented to Italian users; read its page for how it handles signatures |
| P7M Converter (ALVICORE) | Extracting a FatturaPA from a P7M and turning it into a readable PDF on the device | Aimed at unwrapping and conversion rather than invoice analysis |
| EU Docs | A reader in English and six other languages that checks the invoice arithmetic and signature on the device | A reading and screening tool, not an accounting system or official validation |
What EU Docs shows
EU Docs opens FatturaPA and simplified FatturaPA (FSM10) files, including signed .xml.p7m, on iPhone, iPad and Mac. It displays the parties, lines and VAT summary, withholding tax, stamp duty and pension-fund lines, and a payment card with the amount due, the due date, a copyable IBAN and a SEPA QR code for your banking app. It warns when a supplier's IBAN differs from invoices you saved earlier.
It also checks EN 16931 arithmetic for lines, VAT and totals, required fields, and check digits for VAT numbers, IBANs and national IDs, and reads SdI receipts. If the invoice is signed, the signature is checked offline against the EU trusted lists bundled in the app. These checks are not an official validation. You can export a readable PDF and save the extracted original without changing it.
Online viewers and your data
Many sites will render a FatturaPA if you upload it. An invoice contains the VAT numbers, addresses and bank details of two companies. For anything real, prefer a tool that processes the file on the device. EU Docs has no account system, document-upload service, advertising or analytics SDK.
When another tool fits better
If you need to issue or send Italian invoices, you need invoicing software that connects to SdI, such as the invoicing apps from Italian providers, not a reader. If you are an Italian business that receives many invoices a month, the Agenzia delle Entrate portal or your accountant's software keeps the full record. For formal validation of a signature, use an official validation service. Use a reader like this one when you simply need to understand and check what was sent to you.
What a reader cannot tell you
A reader shows what the file says. It cannot confirm that SdI accepted the invoice, that the supplier is legitimate or that the invoice is deductible for you. Those are questions for your accountant and for the official channels.
If the document does not display as expected
Keep the original filename and check that the download is complete. Renaming XML, P7M or ASiC files to PDF does not convert them. If a signed container opens, check the type of its extracted payload: it may be an invoice, PDF or another format requiring its own reader.
For an invoice, compare the document identifier, supplier, currency, tax and total with the original fields. Report an unsupported format with its non-sensitive format/version details; avoid sending private documents unless you choose an appropriate support channel.
Authoritative references
Official specifications and public-sector documentation used to check the terminology in this guide.
Questions about this file type.
What is a FatturaPA file?
FatturaPA is the Italian electronic invoice format, an XML file exchanged through the Sistema di Interscambio. It holds the invoice data, not a page layout.
What does .xml.p7m mean on an invoice?
The XML invoice is wrapped in a digital signature. A reader that supports P7M extracts the XML for you; renaming the file does not.
Can I read an Italian e-invoice on my iPhone?
Yes. Apps such as EU Docs, Fattura XML - Lettore Fatture and P7M Converter open FatturaPA files on iPhone. Compare their App Store pages to pick one.
Do I need to upload the invoice to read it?
Not with an on-device reader. EU Docs opens and parses the file on your device and has no document-upload service.
Is a PDF made from the XML the official invoice?
No. In Italy the XML is the invoice record. A PDF you export is a reading copy, so keep the XML.
Can I check the supplier's VAT number?
EU Docs checks the VAT number's check digits on the device and can copy the number and open the official EU VIES website for a live lookup.