Creates a new employee consumption. **Note:** This endpoint is **only available** in the **sandbox** environment.
Consumption Reports
Create employee consumptions
POST
Creates a new employee consumption. **Note:** This endpoint is **only available** in the **sandbox** environment.
Overview
Creates a new consumption for an employee in the Cobee system. This endpoint allows you to record expenses made by employees using their benefits. The consumption will be added to thePayroll Cycle specified on the request.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the company
The unique identifier of the payroll cycle
The unique identifier of the employee
Body
application/json
Data for the employee consumption
The concept of the consumption
Example:
"meal"
The category of the consumption
Available options:
any, capitalization-benefit, claps-benefit, custom-benefit, education-benefit, gym-benefit, health-insurance-benefit, home-office-benefit, individual-capitalization-benefit, it-product-benefit, life-insurance-benefit, meal-benefit, nursery-benefit, pension-plan-benefit, renting-benefit, retirement-insurance-benefit, transport-benefit, unknown, wellness-benefit Example:
"meal-benefit"
The behaviour of the consumption
Available options:
allowance, allowance-not-exempt, flex, flex-not-exempt The amount of the consumption
Response
Consumption successfully created
The unique identifier of the registered employee