Studio AntoliniChartered Accountant

Tax Observatory › Assessment and litigation › Algorithmic selection of taxpayers: what can be requested from the Agenzia
Assessment and litigation

Algorithmic selection of taxpayers: what can be requested from the Agenzia

The Agenzia delle Entrate (Italian Revenue Agency) chooses whom to audit partly by using probabilistic models trained on the outcomes of past audits, and using data from the Archivio dei rapporti finanziari (financial relationships register). The implementing decree requires pseudonymisation, human involvement and an explanation of the risk in the documents issued, but the taxpayer’s means of defence have precise limits.

27 November 2026By Studio Antolini9 min read

The Agenzia delle Entrate (Italian Revenue Agency) may select the cases to be audited using machine learning and inferential statistics, but no provision allows it to issue a notice of assessment (avviso di accertamento) on the basis of the risk score alone. Where the selection is based on data from the Archivio dei rapporti finanziari (financial relationships register), the documents addressed to the taxpayer must explain the tax risk identified and the data used. The most practical way of obtaining them is the contraddittorio preventivo (the taxpayer’s right to be heard before the notice is issued); in our view, access to the model is not a realistic prospect.

The legal basis

Article 1, paragraph 682, of Law No. 160/2019 authorises the Agenzia, for the risk analyses under Article 11, paragraph 4, of Decree-Law No. 201/2011, to cross-check the data in the Archivio against other databases, “also after prior pseudonymisation of personal data”. The aim is to identify risk criteria and the cases to be audited or to be steered towards compliance on the taxpayer’s own initiative (adempimento spontaneo). Paragraph 681 introduced into the Codice privacy (Personal Data Protection Code) restrictions on the rights of the data subject to protect tax interests (Article 2-undecies, paragraph 1, point (f-bis)). Paragraph 683 provides, for the data in the Archivio only, for a decree of the Ministry of Economy and Finance (MEF); paragraphs 684 and 685 prohibit processing before the data protection impact assessment.

The Ministerial Decree of 28 June 2022 (published in the Official Gazette, Gazzetta Ufficiale, No. 152 of 1 July 2022), in Article 5, paragraph 5, provides for data pseudonymised in advance, reliability tests of the models and two rules that are useful for the defence: the documents addressed to the taxpayer always explain the tax risk identified and the data used, and human involvement is always ensured in building the analysis and audit datasets.

Article 2 of Legislative Decree No. 13/2024 extended risk analysis, whether deterministic or probabilistic (using AI or inferential statistics), to all of the Agenzia’s databases and inserted it into Articles 31 and 32 of Presidential Decree No. 600/1973 and Article 51 of Presidential Decree No. 633/1972. It also leaves it to a MEF regulation to lay down restrictions on the rights of the data subject, including the right under Article 22 GDPR.

In its information notice on the logic of the risk analysis models, the Agenzia states that probabilistic analysis serves only to corroborate deterministic results, and describes a supervised algorithm, trained on completed audits, that ranks cases by priority.

Article 14 of Law No. 132/2025 confines AI in public administration to an instrumental and supporting role: a human being remains solely responsible for the decision, and it must be possible to know how the system works and to trace its use.

With effect from 1 January 2027, Article 2 of Legislative Decree No. 13/2024, Articles 31 and 32 of Presidential Decree No. 600/1973, Article 51 of Presidential Decree No. 633/1972 and Article 7 of Legislative Decree No. 546/1992 will be merged into the testi unici (consolidated Acts: Legislative Decrees No. 141/2026 and No. 175/2024). In this article they are cited in the text in force until 31 December 2026.

The safeguards and their limits

Pseudonymisation protects confidentiality, not the right of defence: in the list intended for the tax offices, taxpayers’ identities become readable again.

Article 22 GDPR grants the right not to be subject to a decision based solely on automated processing which produces legal effects or similarly significantly affects the person, but paragraph 2, point (b), makes an exception for decisions authorised by Member State law with suitable measures. In our view it is difficult to invoke it against the selection: inclusion in the list does not determine the taxpayer’s tax situation, human involvement is provided for and the processing is authorised by law. In its opinion No. 453 of 22 December 2021, the Garante (Italian Data Protection Authority) asked that human involvement be expressly provided for and that operators be able to depart from the model’s output. We consider that an official who merely adopts the score does not meet that requirement: this is the weak point of the procedure.

The right of access to data (Article 15 GDPR) is deferred by the Ministerial Decree: it can be exercised only after delivery of the tax audit report (processo verbale di constatazione) or service of an investigative measure or of the notice imposing tax and, for compliance letters, after their receipt. The rights to object and to restriction of processing are excluded; the right to rectification is unaffected. The decree refers to points (a), (b), (c), (e) and (g) of Article 15, paragraph 1, but not to point (h), concerning the logic of automated decisions. It therefore remains uncertain whether the logic can be requested with reference to the individual case.

Case law: clear in the administrative courts, unsettled in tax matters

The Consiglio di Stato (Council of State), Sixth Section, in judgment No. 2270 of 8 April 2019, held that a public algorithm must be knowable in every respect and fully subject to review by the courts. In judgment No. 8472 of 13 December 2019, the same Section also allowed its use in discretionary activity, provided that the criteria are knowable in advance, the decision is attributable to the body holding the power, there is no discrimination and the decision does not rest exclusively on the algorithm: it must be possible for a human to check, validate or overturn the automated output.

Those cases concerned procedures in which the algorithm determined the outcome. In tax procedure, by contrast, the algorithm chooses whom to audit, and the tax claim arises from the subsequent investigation. We are not aware of any settled tax case law of the Italian Court of Cassation. In our view, a defect in the model is unlikely, on its own, to lead to the annulment of a notice that rests on independent evidence. The defect becomes decisive when the notice reproduces the risk indicator, for example the inconsistency between declared revenue and incoming payments on bank accounts, without any investigation of its own.

What to request, and where

For the contraddittorio, Article 6-bis of Law No. 212/2000 requires the draft notice to be communicated and a total period of not less than sixty days to submit counter-arguments and, on request, to access the file and take copies. The final notice must give reasons for not accepting the taxpayer’s observations. This is the stage at which to request the selection sheet, the risk criterion and the data used. The file does not necessarily include the model: a request for the algorithm’s code or weights is likely to be rejected.

In the initial appeal, the first point of reference is Article 7 of Law No. 212/2000: the notice must state the factual basis (presupposti) and the evidence, and paragraph 1-bis prohibits amending, supplementing or replacing them other than by a further notice, where the conditions for doing so are met and no preclusive time limit has expired. Article 7 of Legislative Decree No. 546/1992 places on the tax authorities the burden of proving the violations (paragraph 5-bis) and allows the court, within the limits of the facts pleaded, to request information and to order an expert report (consulenza tecnica; paragraphs 1 and 2). Access to administrative documents is of little use while the audit is open: Article 24, paragraph 1, point (b), of Law No. 241/1990 excludes it in tax procedures.

In practice

  • Compliance letter or questionnaire: the taxpayer and the professional adviser reconstruct, within the time limit stated in the document, closing balances, average balances and transactions, separating transfers between the taxpayer’s own accounts, shareholder loans and joint accounts.
  • Draft notice: within the time limit set, a written request for access to the file naming the risk sheet, the criterion applied and the data used, followed by documented counter-arguments.
  • After delivery of the tax audit report, after service of an investigative measure (for example a questionnaire) or of the notice imposing tax or, for compliance letters, after receipt: a request to the Agenzia, as data controller, for access (Article 15 GDPR) and for rectification of inaccurate data. If the exercise of the right is delayed, restricted or excluded by a reasoned communication, the right is exercised through the Garante (Articles 2-undecies, paragraph 3, and 160 of Legislative Decree No. 196/2003). If there is no reply within one month, lodge a complaint with the Garante (Articles 12, paragraph 3, and 77 GDPR).
  • Initial appeal: where the notice refers only to the risk indicator, plead lack of reasoning, which is lost if not raised at this stage (a pena di decadenza); set out the facts of the selection and ask the court to exercise its investigative powers or to order an expert report.
  • Keep: bank statements, bank reconciliations, applications and minutes of the contraddittorio.

Frequently asked questions

Can the Agenzia serve an assessment decided by an algorithm?

Not a notice of assessment based on the risk score alone. The legal system does provide for automated measures, such as the automated processing of returns to determine the tax payable (liquidazione delle dichiarazioni), but the notice must state its own factual basis, evidence and legal reasons (Article 7 of Law No. 212/2000). Article 14 of Law No. 132/2025 leaves responsibility for the decision with a human being, and the Ministerial Decree of 28 June 2022 guarantees human involvement in building the datasets.

Can the code of the algorithm that selected the case be obtained?

Realistically, no. The Agenzia publishes a document explaining the logic of the models; where the analysis used data from the Archivio dei rapporti finanziari, for the individual case it is possible to request the risk identified and the data used, which the decree requires to be explained in the documents addressed to the taxpayer.

Can a notice issued without contraddittorio be annulled?

Yes, if it can be challenged on its own before the tax courts (autonomamente impugnabile) and contains a tax claim (Article 6-bis, paragraph 1, of Law No. 212/2000, as interpreted by Article 7-bis, paragraph 1, of Decree-Law No. 39/2024). The contraddittorio is not required for automated or substantially automated measures, for measures of prompt determination of the tax payable (pronta liquidazione) or for formal checks of returns, as identified by MEF decree; these include refusals of refunds, depending partly on their value. Nor is it required where there is a well-founded risk to collection, stated in the reasons (paragraph 2). It is also not required for measures for which the legislation provides specific forms of dialogue, or for the recovery of non-existent tax credits (Article 7-bis of Decree-Law No. 39/2024). The defect must be raised in the initial appeal, failing which it is lost (a pena di decadenza), and the court cannot raise it of its own motion (Article 7-bis, paragraph 2, of Law No. 212/2000).

Sources

Article 1, paragraphs 681 to 686, of Law No. 160 of 27 December 2019.

Decree of the Minister of Economy and Finance of 28 June 2022, Gazzetta Ufficiale No. 152 of 1 July 2022, Articles 3, 4 and 5.

Article 2 of Legislative Decree No. 13 of 12 February 2024 (text in force until 31 December 2026).

Articles 6-bis, 7 and 7-bis of Law No. 212 of 27 July 2000, in the text in force (Articles 6-bis and 7-bis introduced and Article 7 amended by Legislative Decree No. 219 of 30 December 2023); Article 7-bis of Decree-Law No. 39 of 29 March 2024, converted into law by Law No. 67 of 23 May 2024.

Article 14 of Law No. 132 of 23 September 2025.

Articles 12, 15, 22 and 77 of Regulation (EU) 2016/679; Articles 2-undecies and 160 of Legislative Decree No. 196 of 30 June 2003.

Article 7 of Legislative Decree No. 546 of 31 December 1992 (text in force until 31 December 2026); Article 24 of Law No. 241 of 7 August 1990.

Legislative Decree No. 175 of 14 November 2024 and Legislative Decree No. 141 of 5 August 2026 (testi unici applicable from 1 January 2027).

Garante per la protezione dei dati personali, opinion No. 453 of 22 December 2021.

Consiglio di Stato, Sixth Section, judgments No. 2270 of 8 April 2019 and No. 8472 of 13 December 2019.

Agenzia delle Entrate, information notice on the logic underlying the risk analysis models based on data from the Archivio dei rapporti finanziari.

However, in the absence of settled tax case law of the Italian Court of Cassation, the actual bearing of a defect in the selection algorithm on the validity of the notice of assessment remains to be examined case by case.

← Back to the ObservatoryContact the Studio →

Cerca nelle guide
Scrivi una domanda e premi Invio.