Skip to content

API Reference parrot_tools.interfaces.workday.handlers.payroll

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.interfaces.workday.handlers.payroll

View source

Workday Payroll read handlers (FEAT-232).

Single-call read handlers for the Workday Payroll WSDL, ported verbatim from the former in-line WorkdaySOAPClient payroll methods in parrot_tools/workday/tool.py (operations + payload shapes preserved). Each issues exactly one self.service.call_operation(operation=...) and returns a JSON-serializable dict / list[dict] (no DataFrame) via zeep serialize_object — matching the legacy return shapes.

NOTE: operation names + payloads mirror the legacy implementation. The Payroll WSDL (payroll_v45_2.wsdl) is not bundled in this checkout's env/workday/; unit tests mock call_operation and live calls require the WSDL to be present.

Class CompanyPaymentDatesType

Get_Company_Payment_Dates — company payment dates in a window.

Method CompanyPaymentDatesType.execute

execute(*, start_date: str, end_date: str, pay_group_id: Optional[str] = None, **_kwargs: Any) -> List[Dict[str, Any]]

Parameter Type Default Description
start_date str
end_date str
pay_group_id Optional[str] None
**_kwargs Any {}

Returns: List[Dict[str, Any]]

Class PayrollBalancesType

Get_Payroll_Balances — payroll balances for a worker.

Method PayrollBalancesType.execute

execute(*, worker_id: str, start_date: Optional[str] = None, end_date: Optional[str] = None, pay_component_group_ids: Optional[List[str]] = None, **_kwargs: Any) -> Dict[str, Any]

Parameter Type Default Description
worker_id str
start_date Optional[str] None
end_date Optional[str] None
pay_component_group_ids Optional[List[str]] None
**_kwargs Any {}

Returns: Dict[str, Any]

Class PayrollResultsType

Get_Payroll_Results — historical / off-cycle payroll results for a worker.

Method PayrollResultsType.execute

execute(*, worker_id: str, start_date: Optional[str] = None, end_date: Optional[str] = None, include_details: bool = False, **_kwargs: Any) -> List[Dict[str, Any]]

Parameter Type Default Description
worker_id str
start_date Optional[str] None
end_date Optional[str] None
include_details bool False
**_kwargs Any {}

Returns: List[Dict[str, Any]]

Alias WorkdayTypeBase

Re-exported from parrot_tools.interfaces.workday.handlers.base.WorkdayTypeBase.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally