v2024-03-01
Payrolls API Updates: modified fixed compensations behavior for unprocessed payrolls. These changes were made primarily to improve performance of the payroll API endpoints and you should experience faster Prepare a payroll and Update a payroll responses.
- All fixed compensation types are no longer included in
payrolls#prepare
andpayrolls#update
responses. Instead we include afixed_compensation_types
array in the top level response of the payroll object. - To add a fixed compensation to an
employee_compensation
, in thepayrolls#update
request add an object to thefixed_compensations
array with a validname
from thefixed_compensation_types
array and anamount
. Fixed compensations with$0.00
amounts will not be persisted and included in the payroll response - There are some exceptions for specific fixed compensation types,
Owner's Draw
,Minimum Wage Adjustment
, andSeverance
cannot be added and will be included in the payrollsfixed_compensations
response when valid.
Payroll version
is no longer included in the top level response of payrolls#prepare
and payrolls#update
. Instead each employee_compensation
object now has a version
field which must be included in payrolls#update
requests. This is another performance improvement to better support partial payroll updates.
Notifications Updates: Notification status
is no longer included in notifications#get
response. Instead we recommend relying on subscribing to our Notifications webhooks and events#get
endpoint to fetch notification status updates from our system and to store and update the notification in your own notification system.