Indonesian payroll compliance is genuinely complex. Every pay cycle requires calculating gross pay across three employment schemes — hourly with overtime multipliers, monthly with late-day penalties, and commission-based — then applying PPh 21 progressive tax (five brackets from 5% to 35%), BPJS Kesehatan (1% employee), and BPJS Ketenagakerjaan JHT and JP deductions, then validating every net pay against the regional UMR minimum wage. A single missed rule creates legal liability. PayrollAgent solves this through specialized Band agents collaborate across the full payroll lifecycle. Data Collector Agent calls the existing Laravel payroll API at payroll.carlssonstudio.com, collects employee records, timecards, receipts, and scheme configurations, then passes a structured payload to Agent 2 through a Band room. Payroll Calculator Agent receives the collected data and applies PPh 21 and BPJS deductions to compute net pay for each employee, passing the enriched payload to Agent 3. Compliance Reviewer Agent validates every row against the Medan UMR (Rp 4,900,000), flags sub-minimum entries with specific shortfall amounts and remediation notes, and categorises each entry as approved or flagged before passing the full review to Agent 4. Report Generator Agent receives the reviewed payload, generates a line-item payroll report for the manager, submits approved payments to the Laravel payment table via the API, and surfaces flagged entries for human review in the Blade UI — completing the human-in-the-loop compliance gate. The entire workflow runs through Band. Each agent communicates exclusively through Band rooms, passing structured JSON context at every handoff. A single trigger message — "@Data Collector run payroll for 2026-06" — initiates the full four-agent pipeline within seconds. The system is built on top of a production-deployed Laravel payroll application actively used by a real company, with the Python Band agents running alongside the existing Blade UI.
Category tags: