API Referencepayroll
List pay runs
RESTRICTED: requires a payroll:, cis: or p11d:read scope, granted after manual approval. Reads come from records held in ac-co.ai; nothing here calls HMRC. Preparing a filing never sends or approves it: a person approves in the payroll app.
AuthorizationBearer <token>
In: header
Query Parameters
legalEntityId?string
Format
uuidtaxYear?string
taxMonth?integer
Range
1 <= value <= 12status?string
Value in
- "draft"
- "processing"
- "approved"
- "submitted"
- "paid"
limit?integer
Range
1 <= value <= 200Default
50offset?integer
Range
0 <= value <= 100000Default
0Response Body
application/json
curl -X GET "https://example.com/payroll/runs"{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legalEntityId": "41192155-f2be-4dd0-9ea4-e32ad94824f7", "taxYear": "string", "taxMonth": -9007199254740991, "periodNumber": -9007199254740991, "payFrequency": "string", "payPeriod": "string", "payDate": "string", "status": "string", "confirmed": true, "totals": { "grossPay": 0, "incomeTax": 0, "employeeNi": 0, "employerNi": 0, "studentLoans": 0, "pensionEmployee": 0, "pensionEmployer": 0, "netPay": 0, "totalCostToEmployer": 0 }, "submittedAt": "string", "fpsSubmissionId": "6524c1c7-532b-418a-863d-369d1a889df0" } ], "nextOffset": -9007199254740991}