Automated MSME Bookkeeping Using Vision-Language Models and Hierarchical Multi-Agent Systems
DOI:
https://doi.org/10.31004/riggs.v5i2.10269Keywords:
Vision-Language Model, Key Information Extraction, Multi-Agent Systems, MSME Bookkeeping AutomationAbstract
We present a bookkeeping automation system for micro, small, and medium enterprises (MSMEs) that converts receipt photographs into structured ledger entries without manual data transcription. Receipt-based automation is difficult because document layouts vary widely across retailers, image quality in real-world capture conditions is unreliable, and writing extracted data into a spreadsheet accounting system requires coordinated multi-step execution that a single model cannot handle end to end. The system fine-tunes Qwen 3.5-4B with Low-Rank Adaptation (LoRA) on a 1,000-image annotated receipt corpus and couples the extraction model to a LangGraph-based hierarchical multi-agent architecture whose agents access SQLite and Google Sheets through standardized Model Context Protocol (MCP) tool endpoints. When evaluated on 100 unseen test images, the fine-tuned model, configured at LoRA rank 32 and epoch 3, yields a 94.58% Digit Accuracy and an ANLS* score of 93.99 while maintaining 100% JSON validity, representing a 43.71-point and 17.09-point improvement in KIEVal Group F1 and KIEVal Entity F1, respectively, over the untuned Qwen 3.5-4B baseline and outperforming all four zero-shot baselines across every metric. Beyond individual model capabilities, the multi-agent framework, served through vLLM and exposed via a cross-platform mobile client, successfully satisfies all 22 behavioral test cases covering single-agent tool routing, cross-agent orchestration, human-in-the-loop confirmation, and input-output guardrail enforcement, demonstrating a deployable end-to-end pipeline from receipt capture to ledger update.
Downloads
References
[1] K. Aziza and Fitriasuri, "Pemanfaatan Teknologi Kecerdasan Buatan dalam Pencatatan Laporan Keuangan Melalui Digital AI dan Aplikasi pada UMKM di Sako," Jurnal Akademik Pengabdian Masyarakat (JAPM), vol. 4, no. 1, pp. 209-218, Jan. 2025, doi: 10.61722/japm.v4i1.7707.
[2] A. P. Sawitri, Y. Sukandani, B. Adi, M. M. Rachman, T. Aripribowo, and C. M. S. Hartini, "Mengintegrasikan Teknologi AI Dalam Pencatatan Keuangan UMKM Di Desa Gedangan Kecamatan Gedangan - Sidoarjo," Ekobis Abdimas: Jurnal Pengabdian Masyarakat, vol. 5, no. 2, Dec. 2024, doi: 10.36456/ekobisabdimas.5.2.9922.
[3] P. F. Dina and M. N. Murtadlo, "Analisis Pengelolaan Administrasi Transaksi UMKM Berbasis Document Flow Mapping: Studi Kasus Ud. Tani Makmur Kabupaten Rembang," Jurnal Ragam Pengabdian dan Penelitian, vol. 3, no. Spesial Issue, pp. 1543-1554, 2026, doi: 10.62710/8dqovk57.
[4] M. Wati, L. Syafina, and N. Nurwani, “MSME Development Through Simple Bookkeeping, Financial Management and Internal Control Training,” Quantitative Economics and Management Studies, vol. 5, no. 3, pp. 613–621, Jun. 2024, doi: doi.org/10.35877/454ri.qems2676.
[5] A. A. Setiawan, R. G. Guntara, and B. M. Purwaamijaya, “Ekstraksi Informasi Struk Belanja Melalui Pemanfaatan Tesseract dan Regular Expressions,” RIGGS: Journal of Artificial Intelligence and Digital Business, vol. 4, no. 2, pp. 6586–6594, Jul. 2025, doi: 10.31004/riggs.v4i2.1731.
[6] L. W. Rahajeng, “Transformasi Akuntansi UMKM Di Era Artificial Intelligence,” Jurnal Ekonomi Bisnis Manajemen dan Akuntansi (JEBISMA), vol. 2, no. 3, Apr. 2025, doi: 10.70197/jebisma.v2i3.134.
[7] I. G. Widiantara and Moh. A. Romli, “Bidirectional Long Short-Term Memory untuk Ekstraksi Informasi pada Struk Belanja,” Voteteknika: Vocational Teknik Elektronika dan Informatika, vol. 12, no. 4, p. 411, Dec. 2024, doi: 10.24036/voteteknika.v12i4.130990.
[8] A. A. Panggabean, F. H. Lubis, R. R. Aulia, M. H. Akmal, and M. K. Gibran, “Peningkatan Keterbacaan Teks Pada Citra Struk Pembayaran Menggunakan Segmentasi Otsu,” DEVICE : Journal Of Information System, Computer Science And Information Technology, vol. 6, no. 1, Jun. 2025, doi: 10.46576/device.v6i1.6526.
[9] S. Guan, M. Lin, C. Xu, J. Zhao, and D. Greene, "Teaching VLMs to Admit Uncertainty in OCR from Lossy Visual Inputs," Proc. 14th Int. Conf. Learn. Representations (ICLR), 2026. Available: https://openreview.net/forum?id=zyCjizqOxB.
[10] J. Bai et al., "Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond," 2023, arXiv:2308.12966 [cs.CV]. doi: 10.48550/arXiv.2308.12966.
[11] Y. Huang, T. Lv, L. Cui, Y. Lu, and F. Wei, "LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking," in Proc. 30th ACM Int. Conf. Multimedia (MM), 2022, pp. 4083–4091. doi: 10.1145/3503161.3548112.
[12] L. O. M. Y. Prayitno, A. Nurfadilah, S. B. Saudi, W. D. Tsunami, and A. M. Sajiah, “Conversational Agent for Medical Question-Answering Using RAG and LLM,” Journal of Artificial Intelligence and Engineering Applications (JAIEA), vol. 4, no. 3, pp. 1894–1899, Jun. 2025, doi: 10.59934/jaiea.v4i3.1077.
[13] A. Plaat, M. Van Duijn, N. Van Stein, M. Preuss, P. Van der Putten, and K. J. Batenburg, “Agentic Large Language Models, a Survey,” Journal of Artificial Intelligence Research (JAIR), vol. 84, Dec. 2025, doi: 10.1613/jair.1.18675.
[14] M. Abou Ali, F. Dornaika, and J. Charafeddine, “Agentic AI: a comprehensive survey of architectures, applications, and future directions,” Artificial Intelligence Review, vol. 59, no. 11, 2026, doi: 10.1007/s10462-025-11422-4.
[15] W. E. Saputro, “Agentic AI System as a Productivity Partner for MSMEs in Indonesia,” Jurnal Ekonomi Teknologi dan Bisnis (JETBIS), vol. 3, no. 8, pp. 489–497, Oct. 2025, doi: doi.org/10.57185/qbtm4z53.
[16] R. W. Astuti, “Implementasi kecerdasan buatan dalam pengelolaan laporan keuangan di RA Miftahul Hidayah,” B.S. thesis, Dept. of Informatics Eng., STMIK Amik Bandung, Bandung, Indonesia, 2025. [Online]. Available: https://diglib.stmik-amikbandung.ac.id/index.php?p=show_detail&id=12765.
[17] S. Shafiee, Y. Wautelet, L. Hvam, E. Sandrin, and C. Forza, “Scrum versus Rational Unified Process in facing the main challenges of product configuration systems development,” Journal of Systems and Software, vol. 170, p. 110732, Dec. 2020, doi: 10.1016/j.jss.2020.110732.
[18] Z. Huang et al., "ICDAR2019 Competition on Scanned Receipt OCR and Information Extraction," in Proc. 15th IAPR Int. Conf. Doc. Anal. Recognition. (ICDAR), 2019, pp. 1516-1520, doi: 10.1109/ICDAR.2019.00244.
[19] S. Park et al., "CORD: A Consolidated Receipt Dataset for Post-OCR Parsing," in Proc. NeurIPS Workshop Document Intell., 2019. Available: https://openreview.net/forum?id=SJl3z659UH.
[20] S. Duan et al., "GLM-OCR Technical Report," 2026, arXiv:2603.10910 [cs.CL]. doi: 10.48550/arXiv.2603.10910.
[21] Google DeepMind, "Gemini 3.1 Pro Model Card," Google DeepMind, Feb. 2026. [Online]. Available: https://deepmind.google/models/model-cards/gemini-3-1-pro.
[22] L.-C. Chen, H.-T. Weng, M. S. Pardeshi, C.-M. Chen, R.-K. Sheu, and K.-C. Pai, "Evaluation of Prompt Engineering on the Performance of a Large Language Model in Document Information Extraction," Electronics, vol. 14, no. 11, art. no. 2145, May 2025, doi: 10.3390/electronics14112145.
[23] Qwen Team, "Qwen3.5-4B Model Repository," Hugging Face, 2026. [Online]. Available: https://huggingface.co/Qwen/Qwen3.5-4B.
[24] Qwen Team, "Qwen3.5: Towards native multimodal agents," Qwen Blog, 2026. [Online]. Available: https://qwen.ai/blog?id=qwen3.5.
[25] D. Huang, T. Drietomsky, B. Barrett, and Z. Wang, “How Small Can You Go? LoRA Fine-Tuning 270M-8B Models for Merchant Information Extraction in Financial Transactions,” 2026, arXiv:2606.08051 [cs.AI]. doi: 10.48550/arXiv.2606.08051.
[26] E. J. Hu et al., "LoRA: Low-Rank Adaptation of Large Language Models," in Proc. Int. Conf. Learn. Representations (ICLR), 2022. Available: https://openreview.net/forum?id=nZeVKeeFYf9.
[27] S. Raschka, "Practical Tips for Finetuning LLMs Using LoRA (Low-Rank Adaptation)," Ahead of AI, 2023. [Online]. Available: https://magazine.sebastianraschka.com/p/practical-tips-for-finetuning-llms.
[28] Unsloth, "LoRA Fine-tuning Hyperparameters Guide," Unsloth Documentation, 2026. [Online]. Available: https://unsloth.ai/docs/get-started/fine-tuning-llms-guide/lora-hyperparameters-guide.
[29] M. Khang, S. C. Jung, S. Park, and T. Hong, "KIEval: Evaluation Metric for Document Key Information Extraction," in Document Analysis and Recognition – ICDAR 2025, vol. 16025, X.-C. Yin, D. Karatzas, and D. Lopresti, Eds. Cham, Switzerland: Springer, 2026, pp. 270–286. doi: 10.1007/978-3-032-04624-6_16.
[30] D. Peer, P. Schöpf, V. Nebendahl, A. Rietzler, and S. Stabinger, "ANLS* -- A Universal Document Processing Metric for Generative Large Language Models," 2024, arXiv:2402.03848 [cs.CL]. doi: 10.48550/arXiv.2402.03848.
[31] Google DeepMind, "Gemini 3.5 Flash Model Card," Google DeepMind, May. 2026. [Online]. Available: https://deepmind.google/models/model-cards/gemini-3-5-flash.
[32] Google Deepmind, "Gemma-4-E4B Model Repository," Hugging Face, 2026. [Online]. Available: https://huggingface.co/google/gemma-4-E4B-it.
[33] Google Deepmind, "Gemma-4-E2B Model Repository," Hugging Face, 2026. [Online]. Available: https://huggingface.co/google/gemma-4-E2B-it.
[34] Qwen Team, "Qwen3.5-2B Model Repository," Hugging Face, 2026. [Online]. Available: https://huggingface.co/Qwen/Qwen3.5-2B.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 La Ode Muhammad Yudhy Prayitno, La Ode Muhammad Golok Jaya, Asa Hari Wibowo

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


















