Machine Learning-Based Forensic Analytics for the Detection of Financial Statement Fraud

Authors

  • Amelia Ratna Santoso Fakultas Ekonomi dan Bisnis, Universitas Airlangga, Surabaya, Indonesia
  • Budi Prasetyo Fakultas Ekonomi dan Bisnis, Universitas Gadjah Mada, Yogyakarta, Indonesia

DOI:

https://doi.org/10.51903/h1hep018

Keywords:

Forensic Analytics, Machine Learning, XGBoost, Fraud Detection, Financial Statements

Abstract

The digital transformation in accounting has not only made financial reporting faster but also opened avenues for data manipulation and fraudulent reporting. As a result, there is a need to apply machine learning-based forensic analytics to scale up both objective and contextual anomaly detection. The primary purpose of the research is to introduce a fraud detection model for the financial statements of publicly listed companies in Indonesia by comparing the effectiveness of three major algorithms: Logistic Regression, Random Forest, and XGBoost. The 240 observations from 40 companies for the 2018–2023 period were analyzed using an explanatory quantitative approach, with SMOTE balancing and Beneish M-Score validation methods. The findings indicate that among all models tested, XGBoost stands out as the best, achieving the highest accuracy of 92.1% and an AUC of 0.947, whereas leverage, profit growth, and auditor turnover are identified as the main predictors of fraud risk. The application of this combination of forensic accounting and machine learning has led to the conclusion that it is possible to detect fraud with much higher accuracy than with conventional auditing techniques. One of the most important aspects of this research is the use of interpretable predictive analytics in developing countries. This means the model could serve as a data-based early warning system for auditors and regulators, thereby improving transparency and corporate governance in Indonesia.

References

Abdullah, A. A. H., & Almaqtari, F. A. (2024). The Impact of Artificial Intelligence and Industry 4.0 on Transforming Accounting and Auditing Practices. Journal of Open Innovation: Technology, Market, and Complexity, 10(1), 100218. https://doi.org/10.1016/j.joitmc.2024.100218

ACFE. (2024). CFE. (2024). Occupational Fraud 2024: A Report to the Nations. Association of Certified Fraud Examiners. https://legacy.acfe.com/report-to-the-nations/2024

Alter, A., & Elekdag, S. (2020). Emerging Market Corporate Leverage and Global Financial Conditions. Journal of Corporate Finance, 62, 101590. https://doi.org/10.1016/j.jcorpfin.2020.101590

Benyasrisawat, P., & Ounlert, N. (2026). Fraud Risk and Audit Opinions Across Countries: Complementing Accounting-Based Fraud Risk with Machine Learning Methods. Journal of Risk and Financial Management, 19(1), 26. https://doi.org/10.3390/jrfm19010026

Bhattacharya, I., & Mickovic, A. (2024). Accounting Fraud Detection Using Contextual Language Learning. International Journal of Accounting Information Systems, 53, 100682. https://doi.org/10.1016/j.accinf.2024.100682

Brid Murphy et al. (2024). Exploring Accounting and AI Using Topic Modelling. International Journal of Accounting Information Systems, 55, 100709. https://doi.org/10.1016/j.accinf.2024.100709

Calista, A. N., & Nugroho, A. H. D. (2022). Pengaruh Faktor-Faktor Fraud Diamond dalam Mendeteksi Financial Statement Fraud. Kompak: Jurnal Ilmiah Komputerisasi Akuntansi, 15(2), 308–318. https://doi.org/10.51903/kompak.v15i2.658

Cantona et al. (2024). Pengaruh Akuntabilitas, Tranparansi dan Kualitas SDM terhadap Pengelolaan Anggaran Pendapatan dan Belanja Desa. Jurnal Ilmiah Manajemen, Ekonomi Dan Bisnis, 3(1), 181–194. https://doi.org/10.51903/jimeb.v3i1.708

Černevičienė, J., & Kabašinskas, A. (2024). Explainable Artificial Intelligence (XAI) in Finance: A Systematic Literature Review. Artificial Intelligence Review, 57(8), 216. https://doi.org/10.1007/s10462-024-10854-8

Compagnino, A. A., Maruccia, Y., Cavuoti, S., Riccio, G., Tutone, A., Crupi, R., & Pagliaro, A. (2025). An Introduction to Machine Learning Methods for Fraud Detection. Applied Sciences, 15(21), 11787. https://doi.org/10.3390/app152111787

Ebaid, I. E.-S. (2023). Board Characteristics and the Likelihood of Financial Statements Fraud: Empirical Evidence from an Emerging Market. Future Business Journal, 9(1), 1–12. https://doi.org/10.1186/s43093-023-00218-z

Filipovic et al. (2021). The Effect of Auditor Rotation on the Relationship between Financial Manipulation and Auditor’s Opinion. Business Systems Research, 12(1), 96–108. https://doi.org/10.2478/bsrj-2021-0007

Friska, R., & Agustia, D. (2025). Enhancing Auditor Judgment Quality: A Review of Evidence from Experimental Research. Journal of Risk and Financial Management, 18(3), 115. https://doi.org/10.3390/jrfm18030115

Gepp et al. (2024). Taking the Hunch Out of the Crunch: A Framework to Improve Variable Selection in Models to Detect Financial Statement Fraud. Accounting and Finance, 64(2), 1569–1588. https://doi.org/10.1111/acfi.13192

Gianluca Gabrielli et al. (2024). The Power of Big Data Affordances to Reshape Anti-Fraud Strategies. Technological Forecasting and Social Change, 205, 123507. https://doi.org/10.1016/j.techfore.2024.123507

Habib, A., Ranasinghe, D., Wu, J. Y., Biswas, P. K., & Ahmad, F. (2022). Real Earnings Management: A Review of the International Literature. Accounting and Finance, 62(4), 4279–4344. https://doi.org/10.1111/acfi.12968

Ismail, N. I., Alwi, N. H., & Mohamed Ramli, E. (2025). Corporate Governance and Fraud Risk: Insights From Malaysian Listed Firms. International Journal of Research and Innovation in Social Science, 9(15), 1225–1234. https://dx.doi.org/10.47772/ijriss.2025.915ec00743

Li, S., Wang, G., & Luo, Y. (2022). Tone of Language, Financial Disclosure, and Earnings Management: A Textual Analysis of Form 20 F. Financial Innovation, 8(1), 43. https://doi.org/10.1186/s40854 022 00346 5

Li, F., & Duan, H. (2024). Research on Fraud Detection Method of Financial Data of Listed Companies Based on HMCRAN. International Journal of Data Warehousing and Mining, 20(1), 1–29. https://doi.org/10.4018/ijdwm.356510

Ludivia Hernandez Aros et al. (2024). Financial Fraud Detection through the Application of Machine Learning techniques: A Literature Review. Humanities and Social Sciences Communications, 11(1), 1–22. https://doi.org/10.1057/s41599-024-03606-0

Naseer, K., & Ahmed, H. N. (2025). Effectiveness and Reliability of Artificial Intelligence in Fraud Detection: A Mixed-Method Study on Financial Audit. Journal of Management and Informatics, 4(1), 706–722. https://doi.org/10.51903/jmi.v4i1.168

Nejla Ellili et al. (2024). Emerging Trends in Forensic Accounting Research: Bridging Research Gaps and Prioritizing New Frontiers. Journal of Economic Criminology, 4, 100065. https://doi.org/10.1016/j.jeconc.2024.100065

Nhien, C. T., Hung, D. N., & Bình, V. T. T. (2024). Using Random Forest and Artificial Neural Network to Detect Fraudulent Financial Reporting: Data from Listed Companies in Vietnam. Quality - Access to Success, 25(202), 160–173. https://doi.org/10.47750/qas/25.202.17

Poutre et al. (2024). Deep Unsupervised Anomaly Detection in High-Frequency Markets. Journal of Finance and Data Science, 10, 1–18. https://doi.org/10.1016/j.jfds.2024.100129

Shanikat, M., & Aldabbas, M. M. (2025). Perception of Corporate Governance Factors in Mitigating Financial Statement Fraud in Emerging Markets: Jordan Experience. Journal of Risk and Financial Management, 18(8), 430. https://doi.org/10.3390/jrfm18080430

Zhou, N., Kang, J., & Park, S. H. (2025). Strategy for Sustained Profitable Growth: The Difference Between Growth and Profit Oriented Firms. Management and Organization Review, 21(3), 562–585. https://doi.org/10.1017/mor.2024.66

Zhu, S., Wu, H., Ngai, E. W. T., Ren, J., He, D., Ma, T., & Li, Y. (2024). A Financial Fraud Prediction Framework Based on Stacking Ensemble Learning. Systems, 12(12), 1–27. https://doi.org/10.3390/systems12120588

Downloads

Published

2025-01-25

Issue

Section

Articles