Why you receive P7M files in Italy
A .p7m attachment is usually a signed Italian e-invoice or another digitally signed document. Here’s where these files come from.
Guides
In Italy, .p7m is the most common format for digitally signing a document. You may receive these files without asking for them, particularly by certified email.
Italian e-invoices
Since 1 January 2019, nearly all invoices between businesses and professionals resident in Italy have been electronic. They pass through the Sistema di Interscambio (SdI, Italy’s e-invoice exchange), run by the Agenzia delle Entrate (Italian Revenue Agency). Invoices to public authorities had already been subject to the requirement since 2014–2015. The requirement was extended on 1 July 2022 to taxpayers under the regime forfettario (Italian flat-rate tax regime) with revenue above €25,000, and on 1 January 2024 to all taxpayers under that regime.
A fattura elettronica (Italian e-invoice) is an XML file. Whether it needs a signature depends on the recipient.
- Invoices to public authorities (FPA12) must be digitally signed.
- Invoices to private-sector recipients (FPR12) may be unsigned, though many invoicing systems and intermediaries sign them anyway.
An invoice signed in the CAdES format might be called IT01234567890_00001.xml.p7m. The first part gives the country code and the sender’s tax identifier, followed by a sequence identifier.
How the files reach you
- By PEC (Italian certified email). If you’ve provided a PEC address for receiving invoices, the SdI delivers the file as an attachment.
- Through your invoicing software or accountant. The original file is often forwarded by email.
- From Fatture e Corrispettivi (Invoices and Receipts) on the Agenzia delle Entrate website. You can view and download the invoices you’ve sent and received there.
Other signed documents
You can also receive .p7m files for documents other than invoices.
- Digitally signed contracts and bids, especially for public authorities and tenders
- Legal instruments and other documents sent by notaries, lawyers and accountants
- Documents filed with or issued by the Registro delle imprese (Italian Business Register)
- Signed forms and declarations for public authorities
The envelope usually contains a PDF in these cases. The viewer recognises it and lets you view or download it.
What to do with the file
- Open the file in this site’s viewer to see the contents and the signer’s details.
- If it’s an invoice, print it or save a PDF copy for easier reading. The XML file remains the valid version.
- Keep the original
.p7mas evidence of the signature. Italian e-invoices must be archived electronically. The Agenzia delle Entrate offers a free compliant electronic archiving service, and many invoicing apps include one.