List corporation limits
Returns the limits for all employees in a specific corporation.
Documentation Index
Fetch the complete documentation index at: https://docs.partners.api.cobee.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint allows you to retrieve the limits for all employees within a specific corporation. You can optionally filter by a specific payroll cycle using thepayroll query parameter (format YYYY-MM).If not provided, the limits for the current payroll cycle are returned. Past payroll cycles are not allowed.
- Current payroll cycle: If the parameter matches the current cycle (or is omitted), the response includes the current payroll cycle details.
- Future payroll cycles: If the parameter is for a future month, the
payrollCycleobject will haveid/start/end: null, as the cycle has not yet opened. - Past payroll cycles: Querying for past payroll cycles is not allowed and will return a
400 Bad Request.
categories query parameter. The response will include only the requested categories in the order they were provided.
The response follows a structure similar to the corporation consumptions endpoint, grouping employees by company and providing their respective limits for benefits like meals, transport, and nurseries.
You can also filter the response by specific benefit categories using the categories query parameter. The response will include only the requested categories in the order they were provided.
CSV Format
You can also request the response in CSV format by setting theAccept header to text/csv.
We support two CSV formats through the csvFormat query parameter:
lines(default): Each row corresponds to a single limit record.columns: Each row corresponds to a single employee, and each limit type is represented as separate columns. The columns for each benefit are named{category}(amount) and{category}-appliesTo(beneficiary).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The response file type. It can be application/json or text/csv.
application/json, text/csv Path Parameters
The unique identifier of the corporation
Query Parameters
The fiscal year and month (YYYY-MM) of the payroll cycle the limits belong to (e.g. 2025-03). If not provided, the current payroll cycle limits are returned. Past payroll cycles are not allowed.
^[0-9]{4}-(0[1-9]|1[0-2])$"2025-03"
List of benefit categories to include in the response, which will return them in the same order as requested.
The format of the resulting limits. Only applicable when Accept is text/csv.
lines: One row per limit (default).columns: One row per employee, with columns for each benefit category (amount and appliesTo).
lines, columns Response
Corporation limits successfully retrieved