🇮🇹 Receive and process electronic invoices from Italy’s SDI system
Electronic invoicing is mandatory for all businesses in Italy. The Sistema di Interscambio (SDI) serves as the Italian government’s central hub for transmitting, validating, and delivering all electronic invoices throughout the country.
The SDI system operates using a standardized XML format called FatturaPA, which ensures all invoices contain the required information and comply with the strict validation rules established by the Italian tax authority (Agenzia delle Entrate). To ensure proper routing of invoices to the correct recipient, the SDI system uses a unique identifier called a Recipient Code, which is assigned to each registered SDI provider.
Invopop simplifies SDI integration by allowing you to work with GOBL format instead of XML, providing synchronous validation before submission, and offering a simple API integration with automatic handling of SDI notifications and status updates. For sending invoices through SDI, see our companion guide: Italy - SDI: Sending Invoices.
Connect the SDI Italy app
Unlike sending, receiving invoices requires additional configuration after the initial connection.
Set up the Customer Registration Workflow
Use this workflow to register a company to receive invoices through SDI.
Copy and paste into a new Empty Party workflow code view.
Before starting, review the workflows guide to understand the general setup process.
In Console, create a new workflow and choose Empty Party workflow as the base. Then name the workflow with a descriptive label such as “SDI Register Supplier”.
The new workflow will need to perform these steps:
"Processing"
to mark the start of the registration."Production"
environment to go live."Registered"
.In the Error Handling section, add a Set State step and choose "Error"
to capture any issues during registration.
This minimal workflow is required to onboard a customer for SDI e-invoicing in Italy. You can extend it with notification steps, such as sending confirmation emails or updating external systems when registration succeeds or fails.
Import Invoices Workflow
Use this workflow to import and process invoices received through SDI. This workflow must be selected in the SDI Italy app configuration to automatically process incoming invoices.
Copy and paste into a new Empty Invoice workflow code view.
This workflow automates the import and processing of incoming invoices via Italy’s SDI (Sistema di Interscambio).
Before starting, review the workflows guide to understand the general setup process.
In Console, create a new workflow and choose Empty Invoice workflow as the base. Then add the following steps:
"Production"
for real operations."it"
), date format (%Y-%m-%d
), and logo height (40px)."Sent"
once it’s successfully processed.In the Error Handling section, add a Set State step with the state set to "Error"
to capture and flag failed imports.
This is the minimal workflow required to automate the reception and visualization of invoices received through SDI. You may expand it with additional steps such as storing a backup copy, notifying clients, or integrating the documents into an ERP system.
Configure the app for receiving invoices
To start processing incoming invoices navigate to Configuration → Apps, find the SDI Italy app and tap Configure and select the appropriate Import Invoices workflow
This workflow will automatically trigger whenever a new invoice is received through SDI. Any errors in the import process will trigger the rescue steps in the workflow, allowing identification and resolution of issues.
Register with Italian tax authority
You must register the Recipient Code (Codice Destinatario) for each company you want to receive invoices.
JKKZDGR
provided by InvopopAfter completing this registration with the tax authority, execute the Customer Registration workflow in Invopop to complete the setup for that company.
Both steps must be completed for each company
JKKZDGR
with the Italian tax authority for that companyRegistration is only required for receiving invoices, not for sending them.
Invopop uses the GOBL FatturaPA library to process conversions, automatically converting received FatturaPA XML documents into GOBL format.
Detailed information about the SDI-specific extensions and validations can be found in:
Register with Italian tax authority
Register the Recipient Code JKKZDGR
with the Italian tax authority for each company that needs to receive invoices, as outlined in the setup steps.
Set up the Customer Registration workflow
Run this workflow for each company that needs to receive invoices. This registers the company’s tax ID with our SDI integration partner to subscribe to invoice events for that organization.
Configure the app for import
Select the Import Invoices workflow in the SDI Italy app configuration to automatically process incoming invoices.
Process received invoices
Once registered, any invoices addressed to the registered companies with the Recipient Code will be automatically received and processed through the Import Invoices workflow configured in the app settings.
The import process uses the open-source library gobl.fatturapa to convert FatturaPA documents into GOBL format, making them accessible within the Invopop workspace like any other document.
If errors occur during the import process, they will trigger the rescue steps in the workflow, allowing users to check what went wrong and take appropriate action.
Is electronic invoicing mandatory in Italy?
Yes, electronic invoicing through SDI is mandatory in Italy for B2G, B2B, and B2C transactions.
All invoices must be issued in FatturaPA format and transmitted through the SDI (Sistema di Interscambio) platform.
What happens if a received invoice contains errors?
If an invoice received through SDI contains errors:
If the invoice has significant structural issues that prevent conversion, you may need to contact the sender to request a corrected invoice.
How quickly are invoices received after being sent by suppliers?
Invoices are typically received within minutes after being sent by suppliers through SDI. The automatic import process in Invopop processes them as soon as they are received by our system.
Can I register multiple companies to receive invoices?
Yes, multiple companies can be registered to receive invoices through a single Invopop workspace. For each company, you must:
JKKZDGR
with the Italian tax authority for that specific companyThis two-step registration process (with the tax authority and with Invopop) must be completed for each company you want to register. This is particularly useful for white-labeling scenarios where a user manages multiple entities.
Can I use the same workflow for both sending and receiving invoices?
No, sending and receiving invoices require different workflows:
For more information on sending invoices, see our Italy - SDI: Sending Invoices guide.
What is the difference between registering with the tax authority and registering with Invopop?