Adds a withholding or clearance tax adjustment to the specified pay run.
POST https://apisg.yourpayroll.io/api/v2/business/{businessId}/payrun/{payRunId}/taxadjustments
Parameter name | Value | Description | Additional |
---|---|---|---|
payRunId | int32 | Required | |
businessId | string | Required |
The request body takes a complete SubmitPayRunForeignTaxAdjustmentRequest resource, containing the following writable properties:
{
"employeeIdType": "string",
"payRunId": "int32",
"replaceExisting": "boolean",
"suppressCalculations": "boolean",
"taxAdjustments": {
"<key>": "array"
}
}
Name | Type | Description |
---|---|---|
employeeIdType | string |
IdType
Possible values are:
|
payRunId | int32 | Int32 |
replaceExisting | boolean | Boolean |
suppressCalculations | boolean | Boolean |
taxAdjustments | object |
Dictionary |
taxAdjustments.<key> | map of array |
List |
taxAdjustments.<key>.amount | double | Decimal |
taxAdjustments.<key>.employeeExternalId | string | String |
taxAdjustments.<key>.employeeId | string | String |
taxAdjustments.<key>.employeeName | string | String |
taxAdjustments.<key>.externalId | string | String |
taxAdjustments.<key>.id | int32 | Int32 |
taxAdjustments.<key>.locationId | string | String |
taxAdjustments.<key>.locationName | string | String |
taxAdjustments.<key>.notes | string | String |
taxAdjustments.<key>.taxType | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox