API Referencehmrc
Get
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/get?query%5Bid%5D=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "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", "transactionId": "string", "responseEndPoint": "string", "pollCount": -9007199254740991, "pollIntervalSeconds": -9007199254740991, "nextPollAt": "string", "lastPolledAt": "string", "updatedAt": "string", "errors": [ { "number": "string", "type": "string", "text": "string" } ]}