cidi-it / fatturapa_viewer
Roundcube plugin to view and download electronic invoices (FatturaPA) and SdI notifications (.xml and .p7m)
Package info
github.com/CiDi-IT/fatturapa_viewer
Language:XSLT
Type:roundcube-plugin
pkg:composer/cidi-it/fatturapa_viewer
Requires
- php: >=8.0
- roundcube/plugin-installer: >=0.1.6
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-28 10:06:40 UTC
README
A Roundcube webmail plugin that allows you to seamlessly view and download Italian Electronic Invoices (.xml, .p7m) and related SdI notifications (Delivery Receipts, Rejection Notices, Delivery Impossibility Notices) directly inside your webmail interface.
Features
- Automatically detects FatturaPA files and SdI notifications in email attachments.
- Hides the native Roundcube attachments list when SdI documents are present.
- Displays clean, color-coded interactive buttons:
- 🔵 Blue: Electronic Invoices (Fattura Elettronica) with rendered HTML view (via XSLT).
- 🟢 Green: Delivery Receipts (Ricevuta di Consegna).
- 🟠Orange: Delivery Impossibility Notices (Recapito Impossibile).
- 🔴 Red: Rejection Notices (Notifica di Scarto).
- Direct download buttons with original file preservation.
- Built-in support for
.p7mdigital signature extraction using OpenSSL.
Requirements
- Roundcube Webmail (>= 1.4)
- PHP >= 8.0 with
opensslandxslextensions enabled. - Official
FatturaOrdinaria.xslstylesheet placed inside thestylesheets/folder.
Installation
Method 1: Manual / Git Installation
-
Clone this repository into your Roundcube
plugins/directory:cd /path/to/roundcube/plugins/ git clone https://github.com/CiDi-IT/fatturapa_viewer.git fatturapa_viewer -
Make sure the official
FatturaOrdinaria.xslfile exists in:plugins/fatturapa_viewer/stylesheets/FatturaOrdinaria.xsl
Method 2: Composer Installation
Run the following command in your Roundcube root directory:
composer require cidi-it/fatturapa_viewer
Configuration
Enable the plugin in your Roundcube configuration file (config/config.inc.php):
$config['plugins'] = array( // ... your other plugins 'fatturapa_viewer', );
Support & Coffee ☕
If this plugin helps you save time and streamline your email workflow, consider supporting its development with a donation:
License
Licensed under the GNU General Public License v3.0 or later.