1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "weekEnding": "2026-10-10",
10 "rows": [{
11 "id": "ROW-1",
12 "workerId": "W-01",
13 "projectId": "P-01",
14 "classification": "Electrician",
15 "days": [
16 {
17 "regular": "8.00",
18 "overtime": "0.00",
19 },
20 {
21 "regular": "8.00",
22 "overtime": "0.00",
23 },
24 {
25 "regular": "8.00",
26 "overtime": "0.00",
27 },
28 {
29 "regular": "8.00",
30 "overtime": "0.00",
31 },
32 {
33 "regular": "8.00",
34 "overtime": "0.00",
35 },
36 {
37 "regular": "0.00",
38 "overtime": "0.00",
39 },
40 {
41 "regular": "0.00",
42 "overtime": "0.00",
43 },
44 ],
45 "regularRate": "30.00",
46 "overtimeRate": "45.00",
47 "cashFringeRate": "5.00",
48 "reportedHours": "39.00",
49 "reportedProjectGross": "1390.00",
50 }],
51 "workers": [{
52 "workerId": "W-01",
53 "allJobsGross": "1400.00",
54 "deductions": [{
55 "id": "TAX",
56 "amount": "200.00",
57 }],
58 "reportedDeductions": "200.00",
59 "reportedNet": "1200.00",
60 }],
61}
62
63
64run = client.actor("wheresprada/wh347-payroll-arithmetic-check").call(run_input=run_input)
65
66
67print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
68for item in client.dataset(run.default_dataset_id).iterate_items():
69 print(item)
70
71