Adds HMRC adjustments to the specified pay run.
POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/payrun/{payRunId}/hmrcadjustments
Parameter name | Value | Description | Additional |
---|---|---|---|
payRunId | int32 | Required | |
businessId | string | Required |
The request body takes a complete SubmitPayRunHmrcAdjustmentRequest resource, containing the following writable properties:
{
"employeeIdType": "string",
"hmrcAdjustments": {
"<key>": "array"
},
"payRunId": "int32",
"replaceExisting": "boolean",
"suppressCalculations": "boolean"
}
Name | Type | Description |
---|---|---|
employeeIdType | string |
IdType
Possible values are:
|
hmrcAdjustments | object |
Dictionary |
hmrcAdjustments.<key> | map of array |
List |
hmrcAdjustments.<key>.amount | double | Decimal |
hmrcAdjustments.<key>.applyTaxRelief | boolean |
Nullable |
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 |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox