Finalize a contribution report
This endpoint finalizes the contribution report object, making it immutable and preventing any further updates. Once finalized, its status changes to finalized, and it serves as a historical record for payroll reporting. Any changes or adjustments that occur after the finalization will roll into the next reporting period.
Path parameters
Headers
The target platform id. Required only when calling with a dashboard (WorkOS AuthKit) access token instead of a platform API key — the token carries no platform claim, so the caller must say which platform it means. Ignored for platform API key / embed session token callers.
Response
OK
Example response
{
"id": "ctr_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"employer_id": "er_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"period": {
"from_date": "2024-12-01",
"to_date": "2024-12-01"
},
"finalized_at": "2024-12-01T00:00:00Z",
"file_id": "file_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"created_at": "2024-12-01T00:00:00Z",
"last_updated_at": "2024-12-01T00:00:00Z"
}Changes
Changed in 2 of the 9 revisions of this API.2
- ○
added the optional property
file_idto the response with the200statusresponse-optional-property-added
- ○
- ○
added the new optional
headerrequest parameterX-Platform-Idnew-optional-request-parameter
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○