Overview
Retrieves all confirmed transactions of a specific employee for a specific payroll cycle.Important: The payload can be transformed depending oncategoriesandgroupBy. Choose the options that better suit your integration.
Important: Fortext/csvwe can select two formats throughcsvFormatoptions. Whenlinesis selected, each row corresponds to a single consumption record. Whencolumnsis selected, each row corresponds to the total consumptions of an employee, and each consumption type is represented as a separate column.
Important: if the requested payroll cycle is not closed yet, then the propertyExample responses based onendwill be the current date. Otherwise,endwill correspond to the last day of the cycle.
csvFormat and categories:
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 company
The unique identifier of the employee
Query Parameters
The unique identifier of the payroll cycle. If not provided, the open payroll cycle will be used.
The format of the resulting consumptions request. Lines: as many lines as benefits for each employee, Columns: one line for each employee and as many columns as benefits
lines, columns List of benefit categories to include in the response, which will return them in the same order as requested.
Consumptions can be grouped to return data that is more similar to how your system works. The consumptions can be grouped by:
category: it will calculate the sum of expenses minus withdrawals for all the consumptions in a category,category,behaviour: sum of all expenses minus withdrawals for all the consumptions in category and behaviour.
Response
Employee consumptions successfully retrieved