- Get the closed payroll cycle:
- Use
GET /companies/{companyId}/payroll-cyclesto list all payroll cycles and identify the closed month you want to report on. Take note of thepayroll-cycle-id.
- Use
- Get consumptions for a company:
- For each company, use
GET /companies/{companyId}/consumptionsto retrieve their confirmed consumptions for that payroll cycle.
- For each company, use
Key Points
- If
payrollCycleIdis not provided, then the API works with the ongoing cycle.