Create a payroll wage item
Changed onCreates a new payroll wage item.
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/conductor-is/apis/conductor-api/docs/quickbooks-desktop/payroll-wage-items/post.tsA function with typed inputs. Its response is checked against the schema.
Headers
The ID of the End-User to receive this request.
Request body
Example request
{
"name": "Regular Pay",
"isActive": true,
"wageType": "hourly_regular",
"overtimeMultiplier": "1.5",
"rate": "15.00",
"ratePercent": "10",
"expenseAccountId": "80000001-1234567890"
}Response
Returns the newly created payroll wage item.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_payroll_wage_item",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Regular Pay",
"isActive": true,
"wageType": "hourly_regular",
"expenseAccount": {
"id": "80000001-1234567890",
"fullName": "Expenses:Payroll"
},
"overtimeMultiplier": "1.5",
"rate": "15.00",
"ratePercent": "10"
}Changes
- warning
the
request property's maxLength was set to36
- warning
- breaking
response property
overtimeMultiplierlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
ratelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
ratePercentlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
the
response's property type changed fromobjectnullto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status
- breaking