Contribution Reports
Finalize a contribution report
Changed onThis 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.
post/contribution_reports/{contribution_report_id}/finalize
Request
- Base URLhttps://test.api.kota.io
- URLhttps://test.api.kota.io/contribution_reports/{contribution_report_id}/finalize
- AuthHTTP bearer
Path parameters
contribution_report_idstring required
Example:ctr_3b1333d87d9d4fd6ad83ba7f6b0e951a
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",
"aggregates": {
"employee_count": 123,
"totals": [
{
"total_amount": 123.45,
"employer_amount": 123.45,
"employee_amount": 123.45
}
]
}
}Changes
- warning
deleted the
headerrequest parameterX-Platform-Id
- warning
- info
added the optional property
to the response with the status
- info