In which cases can the Treasury investigate even the email of the self-employed

In recent years, the Supreme Court has been clarifying the limits that the Treasury Inspectorate has when entering businesses to detect any type of irregularity in taxes such as VAT, Personal Income Tax or Companies or infractions related to invoices.