# Get Payroll Data

> Reads a client's payroll data from the connected payroll system. Supply the clientid, and optionally a view (summary, byemployee, byperiod…

POST /api/v1/skills/payroll.data.get/invoke

Reads a client's payroll data from the connected payroll system. Supply the client_id, and optionally a view (summary, by_employee, by_period, tax_liabilities or super_obligations), a pay period and an employee_id. It returns the view, the period, the currency and the source, with the figures in a view-specific object.

Body parameters

client_id string · uuid Required

The UUID of the client whose payroll data to read.

view enum · default summary

Which view to return: summary, by_employee, by_period, tax_liabilities or super_obligations.

summary by_employee by_period tax_liabilities super_obligations

period string

Optional pay period to read, such as 2025-Q4; defaults to the latest period.

employee_id string · uuid

Optional UUID of one employee to limit the result to; empty covers everyone.

Returns

Skill executed successfully

skill string Required

Example get_payroll_data

output object Required

output.stub_fields array of strings

output.warnings array of strings

output.view string · default

output.data object

output.period string · default

output.currency string · default AUD

output.source string · default

correlation_id string Required

Errors

Status Type When

401 AUTH.TOKEN_INVALID Authentication required

403 PERMISSION.CAPABILITY_DENIED Insufficient permissions

404 SKILL.NOT_FOUND Skill not found

422 VALIDATION.INVALID_FORMAT Validation error

429 RATE_LIMIT.USER Rate limit exceeded

5XX INTERNAL.UNKNOWN Internal server error

[Previous ← Get Client Financial Data](https://heyarchie.com/en-gb/developers/api-reference/data/get-client-financial-data/)

```
curl https://uk.heyarchie.com/api/v1/skills/payroll.data.get/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "client_id": "00000000-0000-0000-0000-000000000000",
       "view": "summary",
       "period": null,
       "employee_id": null
     }'
```

```
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "payroll.data.get",
    client_id="00000000-0000-0000-0000-000000000000",
    view="summary",
    period=None,
    employee_id=None,
)
print(result)
```

```
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("payroll.data.get", {
  "client_id": "00000000-0000-0000-0000-000000000000",
  "view": "summary",
  "period": null,
  "employee_id": null
});
console.log(result);
```

Response

```
{
  "skill": "get_payroll_data",
  "output": {
    "currency": "AUD",
    "data": {
      "employer_contribution_rate": "0.115",
      "super_payable": "6210.00"
    },
    "period": "2025-Q4",
    "source": "xero",
    "stub_fields": [],
    "view": "super_obligations",
    "warnings": []
  },
  "correlation_id": "<string>"
}
```

```
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
```

Every response also carries X-Request-ID. Quote it if you write to us about a call.
