Adds HMRC adjustments to the specified pay run.

Request

POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/payrun/{payRunId}/hmrcadjustments

Path parameters

Parameter name Value Description Additional
payRunId int32 Required
businessId string Required

Request body

The request body takes a complete SubmitPayRunHmrcAdjustmentRequest resource, containing the following writable properties:

{
    "employeeIdType": "string",
    "hmrcAdjustments": {
        "<key>": "array"
    },
    "payRunId": "int32",
    "replaceExisting": "boolean",
    "suppressCalculations": "boolean"
}

Properties

Name Type Description
employeeIdType string IdType

Possible values are:

  • Standard
  • External
hmrcAdjustments object Dictionary
hmrcAdjustments.<key> map of array List
hmrcAdjustments.<key>.amount double Decimal
hmrcAdjustments.<key>.contributionType string String
hmrcAdjustments.<key>.employeeExternalId string String
hmrcAdjustments.<key>.employeeId string String
hmrcAdjustments.<key>.employeeName string String
hmrcAdjustments.<key>.externalId string String
hmrcAdjustments.<key>.id int32 Int32
hmrcAdjustments.<key>.locationId string String
hmrcAdjustments.<key>.locationName string String
hmrcAdjustments.<key>.niCategory string String
hmrcAdjustments.<key>.notes string String
payRunId int32 Int32
replaceExisting boolean Boolean
suppressCalculations boolean Boolean

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK