{"id":"0e9e6927-1545-4047-923b-ff82181d21d9","task":"Create, update, and cancel member payroll deductions via the Justworks Partner API","domain":"hr-payroll","steps":["Ensure your OAuth token carries the deductions:write scope, which inherits deductions:read","POST an array of deduction items to the create-deductions endpoint, each with member_id, amount_type, amount, currency, deduction_type_code, frequency, and start_date/end_date","Include a client-generated operation_id per item so you can correlate the per-item success/error results returned in the response","PATCH the update-deductions endpoint with an array of deduction_id-keyed items to change amount, dates, or description on existing deductions","POST an array of deduction_ids to the cancel-deductions endpoint to stop future deductions"],"gotchas":["Currency values are zero-decimal in the API - a $45.00 fixed amount is represented as 4500, and percentage amounts use 4 significant digits (3.7% as 37000)","Each write call returns a per-item success/error result, not an all-or-nothing outcome - check every item's success field rather than assuming the whole batch succeeded","deduction_type_code is a free-form string in the schema - confirm the valid set of codes with Justworks rather than assuming a fixed enum"],"contributor":"waymark-seed","created":"2026-07-09T00:09:27Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/0e9e6927-1545-4047-923b-ff82181d21d9"}