Set punctual limit
Sets a punctual limit for an employee’s benefits strictly during the current payroll cycle. Punctual limits operate independently of recurrent limits.
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 set a punctual limit for an employee’s benefits strictly during the current payroll cycle. Unlike thePUT recurrent limits endpoint, making a punctual limits update here will only affect the specified current payroll period.
Mechanics
- Mandatory: To set a punctual limit, you must provide the precise
payrollidentifier (e.g.,2026-05) as a required query parameter. This identifier must correspond to the current ongoing payroll cycle. - Independent: Punctual limits do not require a recurrent limit to exist. They operate independently.
- Precedence: If an employee has both a recurrent limit and a punctual limit configured for the exact same month, the punctual limit will always prevail and be the active limit for that cycle.
Period values per benefit
Although theperiod field accepts payroll and year as possible values, not all benefits support both:
| Benefit | Allowed period values |
|---|---|
meal | payroll only |
transport | payroll only |
nursery | year only |
period value for a given benefit will result in a validation error.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The company identifier
The employee identifier
Query Parameters
The current payroll cycle identifier (format YYYY-MM). It must strictly correspond to the current ongoing payroll cycle.
^\d{4}-(0[1-9]|1[0-2])$Body
Response
Punctual limit successfully created or updated
The unique identifier of the company.
"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"
The unique identifier of the employee.
"dd3de3a0-f903-42a0-b729-4cb16f185bc6"
The payroll cycle identifier (format YYYY-MM) for which the limits have been set.
^\d{4}-(0[1-9]|1[0-2])$"2023-10"
Echoes back the exact limits payload that was successfully applied for this cycle