It is recommended for the case of technical issues to carry a proof of purchase (digital or physical) by the official Slovenian motorway company (DARS), but it is not mandatory since the e-vignette is fully digital and automatically added to the Slovenien toll system.
Related articles:
Do I get a confirmation email for my Slovenian vignette order?
I bought the Slovenian digital vignette but got no email, what now? (Vignetteslovenien.si)
Are commercial invoices provided for purchases of the Slovenian vignettes?
What payment methods do you accept?
How is the Slovenian vignette checked?