Payroll Agent
The Payroll Agent automates payroll calculation, statutory compliance, payslip generation, and reporting — reducing payroll processing time from days to minutes.
Use Cases
- Monthly payroll calculation (base, overtime, allowances, deductions)
- Statutory deduction computation (income tax, social security, pension)
- Payslip generation and distribution
- Bank transfer file generation (NACHA, SEPA, SWIFT)
- Year-end tax document preparation (W-2, P60, Form 16, etc.)
- Multi-jurisdiction payroll (different rules per country/state)
- Payroll audit and variance reporting
Multi-Jurisdiction Support
The Payroll Agent includes built-in tax rule sets for major jurisdictions. Configure your active jurisdictions in the agent settings. For jurisdictions not listed, provide a custom tax rule file (CSV or JSON).
| Region | Status |
|---|---|
| United States (federal + 50 states) | Supported |
| United Kingdom | Supported |
| India | Supported |
| European Union (major countries) | Supported |
| Singapore | Supported |
| Australia | Supported |
| Custom jurisdiction | Via rule file upload |
Reference
Run form
What Run Parameters asks for. From the API, send these in inputs (or task_payload.userInputs) by key.
| Field | Key | Required | Kind |
|---|---|---|---|
| Pay Period | payPeriod | Yes | One of: Weekly, Bi-Weekly, Monthly, Custom |
| Period End Date | periodEndDate | Yes | Date |
| Employee Count | employeeCount | No | Number |
| Payout Currency | currency | No | Text |
| Tax Jurisdiction | taxJurisdiction | No | Text |
| Include Variable Pay / Bonus | includeBonus | No | One of: Yes, No |
| Cost Centres | costCentres | No | Text |
| Attach files (optional) | attachments | No | Files |
Workflow steps
The steps on the canvas when Power House Studio opens this agent. Read a step’s result in a later step or a condition as results.<step id>.<part>.
| Step | Step id | What it does | Waits for a person |
|---|---|---|---|
| Payroll Supervisor | payroll-supervisor | Coordinates payroll cycle and delegates to calculation, compliance, and benefits agents | No |
| Payroll Calculator | payroll-calculator | Computes gross and net pay including overtime and deductions | No |
| Tax Compliance Agent | tax-compliance-agent | Ensures correct tax withholding and statutory deductions | No |
| Benefits Processor | benefits-processor | Calculates and applies employee benefit contributions | No |
| Payroll Review | payroll-review | CFO or Finance Manager reviews payroll run before disbursement | Yes |
| Disbursement Agent | disbursement-agent | Initiates bank transfers and payroll disbursements | No |
| Payroll Report Generator | payroll-report-generator | Generates payroll summaries, cost reports, and regulatory filings | No |
| Disbursement Approval | disbursement-approval | Final authorisation from CFO before funds are transferred | Yes |
Tools this agent may call
Generated from python_service; see Connecting Systems.
| Tool | What it does | Waits for a person? |
|---|---|---|
adpWorkerQuery | Query worker/employee records from ADP Workforce Now HRMS | No, it only reads |
sqlQuery | Execute a parameterised SQL SELECT query against the configured on-prem database (PostgreSQL or MySQL) | No, it only reads |
postgresQuery | Execute a parameterised SELECT query against a PostgreSQL database | No, it only reads |
gmailSend | Send an email via Gmail API | Yes |
slackPost | Post a message to a Slack channel | Yes |
pdfGenerator | Generate a formatted PDF report from title, content, and optional sections | No, it only reads |
excelExporter | Generate an Excel workbook from structured data (array of dicts or explicit sheets with headers/rows) | No, it only reads |
successFactorsQuery | Read SAP SuccessFactors records over OData: User, EmpJob, EmpEmployment, JobRequisition, JobApplication, Candidate, Position | No, it only reads |
workdayReport | Read a Workday custom report the organisation has published for integrations (e.g. workers, open requisitions, payroll results) | No, it only reads |
xeroQuery | Read records from Xero: Invoices (ACCPAY = bills, ACCREC = sales invoices), Payments, BankTransactions, Contacts, Accounts, PurchaseOrders and more. 100 per page | No, it only reads |
quickbooksQuery | Read records from QuickBooks Online with its query language: Bill, Invoice, Payment, BillPayment, Vendor, Customer, Account, PurchaseOrder | No, it only reads |
netsuiteQuery | Read records from NetSuite with SuiteQL (SELECT only): transactions, vendors, customers, accounts | No, it only reads |
teamsPost | Post a message to the organisation's Microsoft Teams channel | Yes |
outlookSend | Send an email from the organisation's Microsoft 365 mailbox | Yes |