Invoke Skill Payroll Data Get
post
/api/v1/skills/payroll.data.get/invokeGet payroll data β summary, by employee, by period, tax/super obligations.
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.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_idrequired | string (uuid) | The UUID of the client whose payroll data to read. |
view | "summary" | "by_employee" | "by_period" | "tax_liabilities" | "super_obligations" | Which view to return: summary, by_employee, by_period, tax_liabilities or super_obligations.summaryby_employeeby_periodtax_liabilitiessuper_obligations |
period | string | null | Optional pay period to read, such as 2025-Q4; defaults to the latest period. |
employee_id | string (uuid) | null | Optional UUID of one employee to limit the result to; empty covers everyone. |
Responses
200Skill executed successfully
| Field | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skillrequired | string | β | ||||||||||||||||||||||||
outputrequired | object | βshow nested
| ||||||||||||||||||||||||
correlation_idrequired | string | β |
401Authentication required
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
403Insufficient permissions
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
404Skill not found
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
429Rate limit exceeded
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
5XXInternal server error
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
curl https://api.dev.arch.ie/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
}'