payroll_pay_group_check
Check whether an employee is assigned a pay group to confirm payroll readiness. Resolves missed payments caused by missing pay group assignment.
Instructions
Check whether an employee is set up to be paid (pay group assigned).
Use when the user asks "why didn't Jane get paid" or "is this new hire ready for payroll". Returns whether a pay group is assigned and the pay frequency (weekly/biweekly/etc). Unassigned pay group is the #1 reason an employee is skipped in a payroll run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | The client the employee belongs to. | |
| employee_id | Yes | Which employee. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | ||
| employee_id | Yes | ||
| pay_group_id | Yes | ||
| pay_group_name | Yes | ||
| pay_frequency | No | e.g. 'weekly', 'biweekly', 'semimonthly', 'monthly'. | |
| assigned | Yes | ||
| warning | No |