Create a new adjustment

Generates a new adjustment entry attributed to a specific worker Token scopes: adjustments:write

Authentication

AuthorizationBearer
## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Request

Creation data for a new adjustment
filefileRequired
File of adjustment.
titlestringRequired3-255 characters
Title of adjustment.
amountstring or doubleRequired
Amount of adjustment.
vendorstringRequired>=3 characters
Vendor of adjustment.
countrystringRequiredformat: "^[A-Z]{2}$"=2 characters
Country code.
contract_idstringRequired>=5 characters
The identifier of the contract associated with the adjustment
descriptionstringRequired3-255 characters
Description of adjustment.
cycle_referencestringOptional
Cycle reference of adjustment.
move_next_cycleboolean or nullOptional
If an adjustments can belong to another payroll cycle.
date_of_adjustmentstring or nullOptionalformat: "date"

Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.

adjustment_category_idstringRequired>=25 characters
Adjustment category id.

Response

Successful operation.
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error