Balaka
Open-source accounting application for Indonesian SMEs. Spring Boot 4 + Thymeleaf + PostgreSQL. Tax-compliant (PPN, PPh, Coretax), payroll, inventory, production, bank reconciliation, invoicing.
Install / Use
/learn @artivisi/BalakaREADME
Accounting application for Indonesian small businesses. Spring Boot 4.0.3 + Thymeleaf + PostgreSQL.
Production-ready features:
- ✅ Core accounting (Chart of Accounts, journal entries, financial reports)
- ✅ Indonesian tax compliance (PPN, PPh 21/23/4(2), e-Faktur, e-Bupot)
- ✅ Payroll with BPJS and automatic PPh 21 calculation
- ✅ Fixed assets with depreciation (straight-line, declining balance)
- ✅ Inventory & simple production (FIFO/weighted average, BOM, production orders)
- ✅ Security hardening (AES-256-GCM encryption, audit logging, RBAC, CSP headers)
- ✅ DevSecOps (CodeQL, SpotBugs, OWASP ZAP DAST, Dependency-Check)
Industry support:
- IT Services & Consulting
- Online Sellers (marketplace integration ready)
- Manufacturing (coffee shops, F&B with BOM)
- Education (universities, student billing & scholarships)
Quick Start
# Prerequisites: Java 25, Docker
# Run tests
./mvnw test
# Run with visible browser (debugging)
./mvnw test -Dtest=ChartOfAccountSeedDataTest -Dplaywright.headless=false -Dplaywright.slowmo=100
# Run OWASP ZAP DAST security scan - quick mode (~5 min, passive only)
./mvnw test -Dtest=ZapDastTest -Ddast.enabled=true -Ddast.quick=true
# Run full DAST with active scanning (~20 min, SQLi/XSS/path traversal)
./mvnw test -Dtest=ZapDastTest -Ddast.enabled=true
# Run SpotBugs security analysis
./mvnw spotbugs:spotbugs
Documentation
| Document | Description | |----------|-------------| | User Manual | End-user documentation (Indonesian) | | Features & Roadmap | Current features and future plans | | Architecture | Tech stack, data model, infrastructure | | Operations Guide | Deployment, release, backup/restore | | Tax Compliance | Indonesian tax handling | | Security Testing | Penetration testing checklist | | Implementation Plan | Detailed implementation status | | ADRs | Architecture decision records | | SonarCloud | Code quality & security analysis |
Project Status
All 16 phases complete. Core accounting, tax compliance, payroll, fixed assets, inventory & production, security hardening, API foundation, bank reconciliation, analytics, invoicing, recurring transactions, tax data management, OpenAPI, fiscal adjustments, payroll API, user manual.
- 3,600+ tests, 80%+ line coverage
- 4 industry seed packs, 20-file user manual
- SpotBugs/FindSecBugs: 0 issues
- OWASP ZAP DAST: 0 HIGH, 0 MEDIUM
See Features & Roadmap for complete feature list and Implementation Plan for detailed status.
