Overview
Retrieves all confirmed transactions of a specific corporation for a specific year and month.Important: The payload can be transformed depending onformat,categoriesandgroupBy. 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 theExample responses based onpayroll(i.e.2025-08) query param belongs to a cycle that is not closed yet, then the propertypayrollCycle.endwill be the current date. Otherwise,payrollCycle.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.
Available options:
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 consumptions belong to (e.g. 2025-03).
Example:
"2025-03"
The format of the resulting consumptions.
lines: as many lines as grouping benefits for each employeecolumns: one line for each employee and as many columns as grouping benefits
Available options:
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
Corporation employee consumptions successfully retrieved