
Business Situation
An HR team running monthly payroll under Indonesian statutory rules — PPh 21 income tax, BPJS contributions, and UMR minimum-wage floors — with employee data, salary components, and the rules themselves maintained in spreadsheets.
Operational Challenge
Every run meant applying those rules by hand. The calculation took days, and it could not be audited afterwards because the working was formulas rather than records. Any change to a statutory rule or a salary component meant redoing the month, and the close date depended on one or two specific people being available.
Solution
Payroll Agent automates payroll calculation, tax compliance, and salary disbursement. Employee data, salary components, and statutory rules live in one system. A pipeline of four specialized agents validates inputs, computes PPh 21, BPJS, and UMR-compliant salaries, and produces disbursement-ready output.
Business Impact
A full payroll run completes in about 13 seconds instead of days. Every figure has a record behind it, so a question about a payslip is answered by looking it up rather than by rebuilding the calculation. Rule changes are applied once, centrally, instead of being re-entered across a spreadsheet.
Workflow
Features
Employee Management
Roles, teams, salary components
Salary Calculation
Gross to net, automated
Tax Compliance
PPh 21, BPJS, UMR
4-Agent Pipeline
Each stage owns one concern
Payslips & Reports
Per employee, per period
Role-based Access
HR, managers, employees
Architecture
Built on Laravel with Blade views, the system models the full payroll domain — employees, components, deductions, statutory rules — as first-class records rather than spreadsheet formulas. The payroll run is a staged pipeline where each agent owns one concern (input validation, gross-to-net calculation, statutory compliance, disbursement preparation), which keeps the tax logic auditable and each stage independently testable.
Client Applications
API & Business Logic
Data & Intelligence
Available Customizations
Is this suitable for your business?
This foundation is ideal for:
Foundation Coverage
Reusable modules from the Carlsson Studio foundation, combined with logic built for this domain.
Foundation Modules
- Authentication
- Roles & Permissions
- Dashboard
- Notifications
- File Uploads
- Reporting
Accounts & Access
- Employee-Bound Account ProvisioningSelf-registration gated on an existing employee record; role-based route access for Admin/Manager/Employee. — highly portable
HR
- Employee Directory & Career LifecycleMaster employee data, per-manager team rosters, and position history tracking.
Payments
- Multi-Scheme Wage Calculation EngineComputes gross pay for hourly, monthly, and commission schemes with overtime and late-arrival rules.
- Indonesian PPh 21 & BPJS Tax CalculatorProgressive income tax and BPJS deduction engine across five annual tax brackets. — highly portable
- Employee Payment LedgerPersists finalized payment records with an admin creation flow and per-employee history. — highly portable
Reporting
- PDF Payslip GenerationPer-employee, per-period payslips with idempotent re-runs and ownership-scoped downloads. — highly portable
AI & Automation
- Four-Stage Multi-Agent PipelineAutonomous agents for data collection, tax calculation, compliance review, and reporting, handed off via chat.
- Human-in-the-Loop Approval GateAutomated compliance checks with a human approve, reject, or correct workflow before payroll runs. — highly portable
Technical Highlights
Pattern
Compliance
Database
Performance
Authentication
Interested in something similar?
We can customize this foundation to match your own business workflow.
Start from this foundation