v1

latestOpenAPI 3.0.32026-07-131610.5 KB

Create National Insurance summary test data

Lets you create National Insurance contributions test data

post/national-insurance-test-support/sa/{utr}/annual-summary/{taxYear}

Path parameters

utrstring required
Example:2234567890

The 10 digit self-assessment UTR for the individual.

taxYearstring required
Example:2016-17

The tax year for the National Insurance contribution being created.

Headers

Accept'application/vnd.hmrc.1.0+json' required

Specifies the response format and the version of the API to be used.

Content-Type'application/json' required

Specifies the format of the request body, which must be JSON.

Authorizationstring required
Example:Bearer 59fc92c1cdf0b8ef1f138a702effdbd2

An OAuth 2.0 Bearer Token.

Request body

object required

Create National Insurance summary test data request

Response

Created

maxNICsReachedboolean required

A flag indicating whether the maximum National Insurance contributions has been reached

Example response

{
  "class1": {
    "totalNICableEarnings": 10
  },
  "class2": {
    "totalDue": 10
  }
}
All 1 operations