How to view invoices sent and received through the Exchange System using Openapi APIs.

Consulting electronic invoices through the Tax Drawer of the Italian Revenue Agency allows you to view, download, and verify all invoices correctly issued and received through the Exchange System associated with your VAT number or tax code.
Please note that electronic invoice files correctly transmitted to the Exchange System (SdI) remain available for consultation in the reserved area of the Italian Revenue Agency website until December 31 of the second year following their receipt by the SdI. After that, only the so-called “invoice data” will be available for consultation until December 31 of the eighth year following the submission of the relevant tax return.
To access the Tax Drawer section more quickly on the Italian Revenue Agency portal, we recommend accessing it directly from Invoices and receipts rather than from the homepage of the Revenue Agency portal.
To access the service, you must have one of the following credentials:

Once logged in, the user must choose the profile they want to operate with

Once the profile is selected, you can choose the VAT number you intend to operate on. Select the user profile associated with the company whose invoices you want to consult.
Once the working profile is configured, you can proceed to the consultation of invoices and receipts by clicking the Proceed button.
Once logged into the Invoices and Receipts portal, several sections will be available. In the “Consultation” section, click on "Electronic invoices and other VAT data".

Once inside the Consultation section, you can view issued or received invoices by clicking the corresponding link.

Once one of the two links is selected, you will see the list of available invoices (issued or received) made available through the exchange system for the last quarter or for the selected period using the appropriate filter.

The screen allows you to view, for each row in the table, the main summary data of the document, including invoice number and date, tax identifier of the supplier or customer, taxable amount, VAT, unique identifier assigned by the Exchange System (SdI) to the invoice XML file, and any applicable stamp duty. By hovering over the subject identifier, the corresponding company name is also displayed.
By clicking the magnifying glass icon in the last column, the VAT subject can access detailed invoice data or download the related XML file.
It is possible to filter the list using parameters such as VAT type, issue date, and invoice type.
In addition, through the Advanced Search functionality available in the box, it is possible to select a specific VAT number or tax code or filter by invoice type or status.