Automated controls against fraud and corruption in Spain
Keywords:
Artificial Intelligence, Automated control, Tax, Inspection, Public AdministrationAbstract
This paper examines the current state of affairs concerning the regulation of automated administrative activities related to inspection, supervision, and control in Spain, drawing on existing legal frameworks and selected case studies. It critically reflects on three key challenges associated with the use of AI and algorithmic systems in oversight functions: the lack of transparency, the occurrence of errors, and the potential unreliability or insufficient robustness of system outputs. The study explores several possible solutions and concludes by emphasizing the need to incorporate specific legal safeguards into national legal systems, in light of the insufficient protections currently provided by the EU AI Act for most systems employed in supervisory functions.
References
Aoki, N. (2020). An experimental study of public trust in AI chatbots in the public sector. Government Information Quarterly, Volume 37, Issue 4, 2020, p. 1-10.
Baader, G. & Krcmar, H. (2018). Reducing false positives in fraud detection: Combining the red flag approach with process mining. International Journal of Accounting Information Systems, vol. 31, 1-16
Brizuela, A. et al. (2024). Public Sector Tech Watch. Mapping Innovation in the EU Public Services. Publications Office of the European Union, Luxemburg, 2024, doi:10.2799/4393.
Brożek, B. et al. (2024)The black box problem revisited. Real and imaginary challenges for automated legal decision making. Artificial Intelligence Law, vol. 32, 427-440. https://doi.org/10.1007/s10506-023-09356-9
Capdeferro Villagrasa, O. (2019). Las herramientas inteligentes anticorrupción: entre la aventura tecnológica y el orden jurídico. Revista General de Derecho Administrativo, num. 50, 1-28.
Capdeferro Villagrasa, Oscar. (2025) (forthcoming). Red flags Systems against corruption. Spanish AI Systems Tools and the Impact of EU AI Act. In Ponce Solé, J. And Cerrillo i Martínez, A. (eds.), The EU Artificial Intelligence Act and the Public Sector. Humans and AI Systems in Public Administration in the light of the European Regulation on Artificial Intelligence of 2024, EPLO.
Carnis, L. (2011) Automated Speed Enforcement: What the French Experience Can Teach Us. Journal of Transportation Safety & Security, 3:1, p.15-26.
Cerrillo i Martínez, A. (2019). “Com obrir les caixes negres de les Administracions públiques? Transparència i rendició de comptes en l’ús dels algoritmes”. Revista Catalana de Dret Públic, num. 58, p. 13-28.
Cerrillo i Martínez, A. (2024). “Lección 21. Actuación automatizada, robotizada e inteligente”. VVAA. Manual de Derecho administrativo (2 ed.). Marcial Pons, p. 531-547.
Coglianese, C. & Ben Dor, L. M. (2021). AI in Adjudication and Administration, Brooklyn Law Review. Vol. 86:3, 791-838.
Cotino Hueso, L. (2023). Qué concreta transparencia e información de algoritmos e inteligencia artificial es la debida. Revista española de la transparencia, num. 16, p. 17-63.
De la Cueva González-Cotera, J. (2025) (forthcoming). Transparencia y acceso al código fuente de los programas informáticos. Ponce Solé, J. & Villora Mendieta, M. (eds.), Anuario del Buen Gobierno y de la Calidad de la Regulación 2024. Fundación Democracia y Gobierno Local, Madrid.
Gamero Casado, E. (2023). Las garantías de régimen jurídico del sector público y del procedimiento administrativo común frente a la actividad automatizada y la inteligencia artificial. Gamero Casado, E. (dir.). Inteligencia artificial y sector público. Retos, límites y medios. Tirant lo Blanch. Pp. 397-464.
Goerlich Peset, J. M. (2024). Reglamento de inteligencia artificial e intervención pública en las relaciones laborales. Labos, vol. 5, p. 228-242.
Goerlich Peset, J. M. (2021). Decisiones administrativas automatizadas en materia social: algoritmos en la gestión de la Seguridad Social y en el procedimiento sancionador. Labos, vol. 2(2), p. 22-42.
Grimmelikhuijsen, S. and Tangi, L. (2024). What factors influence perceived artificial intelligence adoption by public managers. Publications Office of the European Union, Luxembourg, https://data.europa.eu/doi/10.2760/0179285, JRC138684.
Inspección General de Servicios (2023). Informe de evaluación del plan de la Inspección General de Servicios 2022-2023, Anualidad 2022. IGS-GV.
Jiménez Cardona, Noemí. (2022). La intel·ligència artificial en la detecció de les pràctiques de bid rigging: el paper capdavanter de l’ACCO. Revista Catalana de Dret Públic, num. 65, 129-145. https://doi.org/10.2436/rcdp.i65.2022.3876
Kroll, J. A. et al. (2017). Accountable Algorithms. University of Pennsylvania Law Review, vol. 165, 633-705.
Miranzo Díaz, J. (2023). Inteligencia artificial y Derecho administrativo. Tecnos: Madrid.
Muñoz Vicuña, D. (2025). Modelos de evaluación de impacto algorítmico para las decisiones administrativas automatizadas. Vaquer Caballería, M. (dir.), La actuación administrativa automatitzada: sus claves jurídicas, Tirant lo Blanch, Valencia, 2025, 501-537.
Oliver Cuello, R. (2021). “Big data e inteligencia artificial en la Administración tributaria”. Revista IDP, num. 33, p. 1-13.
Ponce Solé, J. (2019). Inteligencia artificial, Derecho administrativo y reserva de humanidad: algoritmos y procedimiento administrativo debido tecnológico. Revista General de Derecho Administrativo, num. 50.
Pontón Aricha, T. (2024). “Aproximación al uso de la inteligencia artificial en la administración tributaria española”. Hinojosa, J.J. & Sánchez-Archidona, G. (eds.). Inteligencia artificial, cumplimiento voluntario y los derechos y garantías de los contribuyentes. Atelier. P. 61-80.
Rachovitsa, A. y Johann, N. (2022). The Human Rights Implications of the Use of AI in the Digital Welfare State: Lessons Learned from the Dutch SyRI Case. Human Rights Law Review, Vol. 22:2, 1-15.
Sindicatura de Greuges de Barcelona. (2024). Resolució de la Sindicatura de Greuges retrieved from: https://www.sindicaturabarcelona.cat/wp-content/uploads/202405_Dret-bona-administracio_infraccio-a-un-vehicle-que-no-pot-circular-per-la-ZBE.pdf
Snow, A., (2017), Automated Road Traffic Enforcement: Regulation, Governance and Use: A review, RAC Foundation, London.
Valero Torrijos, J. (2019). Las garantías jurídicas de la inteligencia artificial en la actividad administrativa desde la perspectiva de la buena administración. Revista Catalana de Dret Públic, n. 58, pp. 82-96.
van Noordt, C., & Misuraca, G. (2022). Artificial intelligence for the public sector: results of landscaping the use of AI in government across the European Union. Government Information Quarterly, 101714.
Downloads
Published
How to Cite
License
Copyright (c) 2025 Oscar Capdeferro

This work is licensed under a Creative Commons Attribution 4.0 International License.