ac-co.ai docs
API Referencepayroll

Read one payroll (FPS / EPS / NVR) filing

GET
/payroll/filings/{id}

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

Path Parameters

id*string
Formatuuid

Response Body

application/json

curl -X GET "https://example.com/payroll/filings/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"    }  ]}