Skip to main content
GET
/
companies
/
{companyId}
/
payroll-cycles
/
{payrollCycleId}
/
employees
/
{employeeId}
/
consumptions
Find employee consumptions for a specific payroll cycle
curl --request GET \
  --url https://pre-public-api.cobee.io/api/v3/companies/{companyId}/payroll-cycles/{payrollCycleId}/employees/{employeeId}/consumptions \
  --header 'Authorization: Bearer <token>'
{
  "consumptions": [
    {
      "behaviour": "allowance",
      "category": "meal-benefit",
      "sumType": "expenses",
      "amount": {
        "amountInCents": 4500000,
        "currency": "EUR"
      }
    }
  ]
}
Deprecated Endpoint
This endpoint is deprecated. Please use the new endpoint List Employee Consumptions instead.

Overview

Retrieves all confirmed transactions of a specific employee for a specific payroll cycle.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

companyId
string<uuid>
required

The unique identifier of the company

payrollCycleId
string<uuid>
required

The unique identifier of the payroll cycle

employeeId
string<uuid>
required

The unique identifier of the employee

Response

Employee consumptions successfully retrieved

consumptions
object[]
required

List of employee consumptions