List all contribution reports
Changed onReturns a list of contribution reports. The reports are returned sorted by creation date, with the most recent reports appearing first.
Request
- Base URLhttps://test.api.kota.io
- URLhttps://test.api.kota.io/contribution_reports
- AuthHTTP bearer
Query parameters
Unique identifier of the employer for filtering reports
Multiple values can be provided by separating them with a comma. Allowed values are: open, finalized.
Month for filtering reports, used together with year (MM format)
Year for filtering reports, can be used standalone or with month (YYYY format)
Unique identifier of the customer for EoR platforms, used to filter reports for a logical employer
The page of results to return. Defaults to 1 if not provided.
The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.
Response
OK
Example response
{
"items": [
{
"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
}
]
}
}
],
"page": 1,
"page_size": 20,
"total_count": 1
}Changes
- warning
deleted the
headerrequest parameterX-Platform-Id
- warning
- info
added the optional property
//to the response with the status
- info