ac-co.ai docs
API Referencehmrc

Receipt

GET
/hmrc/payrollFiling/receipt

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/receipt?query%5Bid%5D=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "filingType": "fps",  "status": "prepared",  "engineStatus": "submitted",  "irmark": "string",  "irmarkReceipt": "string",  "correlationId": "string",  "acceptedAt": "string",  "responseSummary": {    "qualifier": "string",    "function": "string",    "messages": [      "string"    ],    "errors": [      {        "number": "string",        "type": "string",        "text": "string"      }    ]  }}