Contribution Reports

List all employee breakdowns

Changed on

Returns a list of employee breakdowns for a contribution report. The breakdowns are returned sorted by creation date, with the most recent breakdown appearing first.

get/contribution_reports/{contribution_report_id}/employee_breakdowns

Request

  • Base URL
    https://test.api.kota.io
  • URL
    https://test.api.kota.io/contribution_reports/{contribution_report_id}/employee_breakdowns
  • Auth
    HTTP bearer

Path parameters

contribution_report_idstring required
Example:ctr_3b1333d87d9d4fd6ad83ba7f6b0e951a

Query parameters

pageinteger

The page of results to return. Defaults to 1 if not provided.

page_sizeinteger

The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.

Response

OK

pageinteger required

The current page of the results

page_sizeinteger required

The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size

total_countinteger required

The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page.

has_next_pageboolean

Whether there are more pages available after this page

has_previous_pageboolean

Whether there are more pages available before this page

Example response

{
  "items": [
    {
      "employee_id": "ee_3b1333d87d9d4fd6ad83ba7f6b0e951a",
      "contribution_report_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",
      "created_at": "2024-12-01T00:00:00Z",
      "last_updated_at": "2024-12-01T00:00:00Z",
      "health_insurance": {
        "employer_contributions": [
          {
            "id": "ct_3b1333d87d9d4fd6ad83ba7f6b0e951a",
            "adjustment": true,
            "adjustment_for": "ct_3b1333d87d9d4fd6ad83ba7f6b0e951a",
            "amount": 123.45,
            "cover_period": {
              "from_date": "2024-12-01",
              "to_date": "2024-12-01"
            },
            "policy_id": "p_3b1333d87d9d4fd6ad83ba7f6b0e951a",
            "employee_policy_id": "eehp_3b1333d87d9d4fd6ad83ba7f6b0e951a",
            "reporting_month": "2024-12-01"
          }
        ],
        "employee_contributions": [
          {
            "id": "ct_3b1333d87d9d4fd6ad83ba7f6b0e951a",
            "adjustment": true,
            "adjustment_for": "ct_3b1333d87d9d4fd6ad83ba7f6b0e951a",
            "amount": 123.45,
            "cover_period": {
              "from_date": "2024-12-01",
              "to_date": "2024-12-01"
            },
            "policy_id": "p_3b1333d87d9d4fd6ad83ba7f6b0e951a",
            "employee_policy_id": "eehp_3b1333d87d9d4fd6ad83ba7f6b0e951a",
            "reporting_month": "2024-12-01"
          }
        ]
      }
    }
  ],
  "page": 1,
  "page_size": 20,
  "total_count": 1
}

Changes