API Referencehmrc
List
RESTRICTED: requires the hmrc:read scope (hmrc:write for state-changing operations), granted after manual approval. Self Assessment operations are answered from records held in ac-co.ai and make no call to HMRC.
AuthorizationBearer <token>
In: header
Query Parameters
query*
Response Body
application/json
curl -X GET "https://example.com/hmrc/payrollFiling/list?query%5BlegalEntityId%5D=41192155-f2be-4dd0-9ea4-e32ad94824f7&query%5BfilingType%5D=fps&query%5Bstatus%5D=prepared&query%5BtaxYear%5D=string&query%5Bcursor%5D=string&query%5Blimit%5D=50"{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filingType": "fps", "class": "string", "status": "prepared", "statusReason": "string", "engineStatus": "submitted", "engine": "govtalk", "legalEntityId": "41192155-f2be-4dd0-9ea4-e32ad94824f7", "payrollRunId": "583e66d8-be46-42af-9715-d42780e4efc2", "periodEnd": "string", "taxYear": "string", "correlationId": "string", "submittedAt": "string", "completedAt": "string", "createdAt": "string", "firstError": "string" } ], "nextCursor": "string"}