ac-co.ai docs
API Referencep11d

List P11D / P11D(b) filings

GET
/p11d/filings

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.

Requires p11d:read. Status of P11D / P11D(b) (EXB) filings only; the per-employee benefit figures of a filing are not exposed here (a preparation's preview carries them, for the person who approves).

AuthorizationBearer <token>

In: header

Query Parameters

legalEntityId?string
Formatuuid
status?string

Value in

  • "prepared"
  • "awaiting_approval"
  • "approved"
  • "queued"
  • "submitting"
  • "polling"
  • "accepted"
  • "rejected"
  • "failed"
  • "unknown_outcome"
  • "cancelled"
taxYear?string
cursor?string
Lengthlength <= 512
limit?integer
Range1 <= value <= 200
Default50

Response Body

application/json

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