
Problem
An HR team was spending days every month calculating payroll in spreadsheets — applying Indonesian PPh 21 income tax rules, BPJS contributions, and UMR minimum-wage compliance by hand. The process was error-prone, impossible to audit, and had to be redone whenever a rule or salary component changed.
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 — a full payroll run in about 13 seconds instead of days.
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
Technical Highlights
Pattern
Compliance
Database
Performance
Authentication
Available Customizations
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
Is this suitable for your business?
This foundation is ideal for:
Interested in something similar?
We can customize this foundation to match your own business workflow.
Start from this foundation