Talk with Archie
API reference › Data
Skills › Data

Get Payroll Data

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_idstring · uuidRequired
The UUID of the client whose payroll data to read.
viewenum · default summary
Which view to return: summary, by_employee, by_period, tax_liabilities or super_obligations.
summaryby_employeeby_periodtax_liabilitiessuper_obligations
periodstring
Optional pay period to read, such as 2025-Q4; defaults to the latest period.
employee_idstring · uuid
Optional UUID of one employee to limit the result to; empty covers everyone.
Returns

Skill executed successfully

skillstringRequired
Example get_payroll_data
outputobjectRequired
output.stub_fieldsarray of strings
output.warningsarray of strings
output.viewstring · default
output.dataobject
output.periodstring · default
output.currencystring · default AUD
output.sourcestring · default
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALIDAuthentication required
403PERMISSION.CAPABILITY_DENIEDInsufficient permissions
404SKILL.NOT_FOUNDSkill not found
422VALIDATION.INVALID_FORMATValidation error
429RATE_LIMIT.USERRate limit exceeded
5XXINTERNAL.UNKNOWNInternal server error
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>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "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.