---
title: "List all payrolls"
method: GET
path: "/hris/{connection_id}/payroll"
tags: ["hris", "payroll"]
---

# List all payrolls

`GET /hris/{connection_id}/payroll`

## Request

- Base URL: `https://api.unified.to`
- URL: `https://api.unified.to/hris/{connection_id}/payroll`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string
- `sort` string
- `order` string
- `query` string
- `user_id` string
- `company_id` string
- `group_id` string
- `type` string
- `start_gte` string
- `end_lt` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- HrisPayroll[]
  - `id` string
  - `created_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `company_id` string: (reference to HrisCompany)
  - `group_id` string: the pay group (hris_group of type PAY_GROUP) (reference to HrisGroup)
  - `status` 'DRAFT' | 'PENDING' | 'APPROVED' | 'PROCESSING' | 'PAID' | 'FAILED' | 'CANCELLED'
  - `type` 'REGULAR' | 'OFF_CYCLE' | 'BONUS' | 'CORRECTION' | 'TERMINATION' | 'CONTRACTOR'
  - `start_at` string, date-time: pay period start (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `end_at` string, date-time: pay period end (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `paid_at` string, date-time: pay/check date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `approved_at` string, date-time: (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `currency` string
  - `gross_amount` number
  - `net_amount` number
  - `employee_tax_amount` number
  - `employer_tax_amount` number
  - `deduction_amount` number: total employee deductions
  - `employer_contribution_amount` number: total employer benefit contributions
  - `total_cost_amount` number: total company cost/debit for this payroll
  - `user_ids` string[]: employees paid in this payroll
  - `payslip_ids` string[]
  - `metadata` HrisMetadata[]
    - `id` string
    - `value` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `slug` string
  - `raw` object

## Changes

- **2026-10-19** `39502239a975`: 2 info
  - added the enum value `metadata` to the property `items/` of the `query` request parameter `fields`
  - added the optional property `items/metadata` to the response with the `200` status
- **2026-10-11** `a29ffd62ac71`: 1 breaking
  - the response's body type changed from no type to `array` for status `200`
- **2026-10-09** `18cdc3570968`: 1 breaking
  - the response's body type changed from `array` to no type for status `200`
- **2026-10-08** `07678e2ad542`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/unified/apis/unified-to-api/changes/hris/:connection_id/payroll/get.md)

---

[API](https://skmtc.dev/unified/apis/unified-to-api.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api/revisions/88a1fc7820d6?raw)
