Starting from 1 July 2022, entrepreneurs in Italy and San Marino will be able to issue electronic invoices to each other with the help of a single cross-border system Sistema di Interscambio (SDI).
Source pagero.com
See also Exchange of letters between Italy and San Marino on electronic invoicing