Build the WH-347 certified payroll
build_certified_payrollUse when the user is ready to produce the weekly certified payroll (WH-347 PDF or Excel). Computes the WH-347 columns for the crew and returns a link to the export page where the files are generated in the browser; the crew data travels in the URL fragment, which is never sent to the server. The optional last 4 digits of each SSN are typed by the user on that page only. Do not put SSNs or addresses in the arguments. Up to 50 workers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"header": "<header>",
"workers": "<workers>"
},
"name": "build_certified_payroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| header | Yes | Contractor, project, WD and payroll week. | |
| workers | Yes | One entry per worker-week, rates and hours as paid. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| card | Yes | ||
| view | Yes | ||
| lines | Yes | ||
| totals | Yes | ||
| workers | Yes | ||
| urlLength | Yes | ||
| disclaimer | Yes | ||
| reconciles | Yes | ||
| weekEnding | Yes | ||
| reviewLines | Yes |