payroll_pay_history
Retrieve an employee's paychecks within a date range, showing each paycheck's gross, net, and hours, plus year-to-date gross, net, and taxes.
Instructions
Get an employee's paychecks in a date window, plus year-to-date totals.
Use when the user asks "what did Jane get paid this quarter" or "pull up John's checks for Q1". Returns each paycheck (gross, net, regular/overtime hours) plus YTD gross/net/taxes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | The client the employee belongs to. | |
| employee_id | Yes | Which employee. | |
| start_date | Yes | First day to include (YYYY-MM-DD). | |
| end_date | Yes | Last day to include (YYYY-MM-DD). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | ||
| employee_id | Yes | ||
| start_date | Yes | ||
| end_date | Yes | ||
| vouchers | Yes | ||
| ytd | No | ||
| count | Yes |