ac-co.ai docs
API Referencehmrc

Get Filing Summary

GET
/hmrc/selfAssessment/getFilingSummary

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/selfAssessment/getFilingSummary?query%5BsubmissionId%5D=23243110-f447-42f4-a433-27cb8d276b19&query%5Bregenerate%5D=true&query%5BreadOnly%5D=true"
{  "submissionId": "23243110-f447-42f4-a433-27cb8d276b19",  "taxYear": "string",  "filedAt": "string",  "irmark": "string",  "correlationId": "string",  "environment": "test",  "narrative": "string",  "forms": [    {      "form": "string",      "instances": 0,      "boxes": [        {          "box": "string",          "description": "string",          "segment": "string",          "values": [            "string"          ]        }      ]    }  ],  "attachments": [    {      "filename": "string",      "description": "string"    }  ],  "generatedAt": "string"}