> ## Documentation Index
> Fetch the complete documentation index at: https://docs.conductor.is/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a payroll wage item

> Creates a new payroll wage item.



## OpenAPI

````yaml POST /quickbooks-desktop/payroll-wage-items
openapi: 3.1.0
info:
  title: Conductor API
  version: 0.0.1
servers:
  - url: https://api.conductor.is/v1
security:
  - BearerAuth: []
paths:
  /quickbooks-desktop/payroll-wage-items:
    post:
      summary: Create a payroll wage item
      description: Creates a new payroll wage item.
      parameters:
        - in: header
          name: Conductor-End-User-Id
          description: The ID of the End-User to receive this request.
          schema:
            type: string
            description: The ID of the End-User to receive this request.
            example: end_usr_1234567abcdefg
            x-stainless-naming:
              typescript:
                method_argument: conductorEndUserId
              mcp:
                method_argument: conductorEndUserId
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 31
                  description: >-
                    The case-insensitive unique name of this payroll wage item,
                    unique across all payroll wage items.


                    **NOTE**: Payroll wage items do not have a `fullName` field
                    because they are not hierarchical objects, which is why
                    `name` is unique for them but not for objects that have
                    parents.


                    Maximum length: 31 characters.
                  example: Regular Pay
                isActive:
                  type: boolean
                  description: >-
                    Indicates whether this payroll wage item is active. Inactive
                    objects are typically hidden from views and reports in
                    QuickBooks. Defaults to `true`.
                  example: true
                  default: true
                wageType:
                  type: string
                  enum:
                    - bonus
                    - commission
                    - hourly_overtime
                    - hourly_regular
                    - hourly_sick
                    - hourly_vacation
                    - salary_regular
                    - salary_sick
                    - salary_vacation
                  description: >-
                    Categorizes how this payroll wage item calculates pay - can
                    be hourly (regular, overtime, sick, or vacation), salary
                    (regular, sick, or vacation), bonus, or commission based.
                  example: hourly_regular
                overtimeMultiplier:
                  type: string
                  description: >-
                    The overtime pay multiplier for this payroll wage item,
                    represented as a decimal string. For example, `"1.5"`
                    represents time-and-a-half pay.
                  example: '1.5'
                rate:
                  type: string
                  description: >-
                    The default rate for this payroll wage item, represented as
                    a decimal string. Only one of `rate` and `ratePercent` can
                    be set.
                  example: '15.00'
                ratePercent:
                  type: string
                  description: >-
                    The default rate for this payroll wage item expressed as a
                    percentage. Only one of `rate` and `ratePercent` can be set.
                  example: '10'
                expenseAccountId:
                  type: string
                  description: >-
                    The expense account used to track wage expenses paid through
                    this payroll wage item.
                  example: 80000001-1234567890
              required:
                - name
                - wageType
                - expenseAccountId
              additionalProperties: false
      responses:
        '200':
          description: Returns the newly created payroll wage item.
          headers:
            Conductor-Request-Id:
              schema:
                type: string
                description: The unique identifier for this API request.
                example: req_1234567abcdefg
              required: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/qbd_payroll_wage_item'
      security:
        - BearerAuth: []
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Conductor from 'conductor-node';


            const conductor = new Conductor({
              apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
            });


            const payrollWageItem = await
            conductor.qbd.payrollWageItems.create({
              expenseAccountId: '80000001-1234567890',
              name: 'Regular Pay',
              wageType: 'hourly_regular',
              conductorEndUserId: 'end_usr_1234567abcdefg',
            });


            console.log(payrollWageItem.id);
        - lang: Python
          source: |-
            import os
            from conductor import Conductor

            conductor = Conductor(
                api_key=os.environ.get("CONDUCTOR_SECRET_KEY"),  # This is the default and can be omitted
            )
            payroll_wage_item = conductor.qbd.payroll_wage_items.create(
                expense_account_id="80000001-1234567890",
                name="Regular Pay",
                wage_type="hourly_regular",
                conductor_end_user_id="end_usr_1234567abcdefg",
            )
            print(payroll_wage_item.id)
components:
  schemas:
    qbd_payroll_wage_item:
      type: object
      properties:
        id:
          type: string
          description: >-
            The unique identifier assigned by QuickBooks to this payroll wage
            item. This ID is unique across all payroll wage items but not across
            different QuickBooks object types.
          example: 80000001-1234567890
        objectType:
          type: string
          const: qbd_payroll_wage_item
          description: The type of object. This value is always `"qbd_payroll_wage_item"`.
          example: qbd_payroll_wage_item
        createdAt:
          type: string
          description: >-
            The date and time when this payroll wage item was created, in ISO
            8601 format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop
            interprets in the local timezone of the end-user's computer.
          example: '2025-01-01T12:34:56.000Z'
        updatedAt:
          type: string
          description: >-
            The date and time when this payroll wage item was last updated, in
            ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks
            Desktop interprets in the local timezone of the end-user's computer.
          example: '2025-02-01T12:34:56.000Z'
        revisionNumber:
          type: string
          description: >-
            The current QuickBooks-assigned revision number of this payroll wage
            item object, which changes each time the object is modified. When
            updating this object, you must provide the most recent
            `revisionNumber` to ensure you're working with the latest data;
            otherwise, the update will return an error.
          example: '1721172183'
        name:
          type: string
          description: >-
            The case-insensitive unique name of this payroll wage item, unique
            across all payroll wage items.


            **NOTE**: Payroll wage items do not have a `fullName` field because
            they are not hierarchical objects, which is why `name` is unique for
            them but not for objects that have parents.
          example: Regular Pay
        isActive:
          type: boolean
          description: >-
            Indicates whether this payroll wage item is active. Inactive objects
            are typically hidden from views and reports in QuickBooks. Defaults
            to `true`.
          example: true
        wageType:
          type: string
          enum:
            - bonus
            - commission
            - hourly_overtime
            - hourly_regular
            - hourly_sick
            - hourly_vacation
            - salary_regular
            - salary_sick
            - salary_vacation
          description: >-
            Categorizes how this payroll wage item calculates pay - can be
            hourly (regular, overtime, sick, or vacation), salary (regular,
            sick, or vacation), bonus, or commission based.
          example: hourly_regular
        expenseAccount:
          type:
            - object
            - 'null'
          properties:
            id:
              type:
                - string
                - 'null'
              description: >-
                The unique identifier assigned by QuickBooks to this object.
                This ID is unique across all objects of the same type, but not
                across different QuickBooks object types.
              example: 80000001-1234567890
            fullName:
              type:
                - string
                - 'null'
              description: >-
                The fully-qualified unique name for this object, formed by
                combining the names of its parent objects with its own `name`,
                separated by colons. Not case-sensitive.
              example: Parent:Child:Grandchild
          required:
            - id
            - fullName
          additionalProperties: false
          description: >-
            The expense account used to track wage expenses paid through this
            payroll wage item.
          example:
            id: 80000001-1234567890
            fullName: Expenses:Payroll
        overtimeMultiplier:
          type:
            - string
            - 'null'
          description: >-
            The overtime pay multiplier for this payroll wage item, represented
            as a decimal string. For example, `"1.5"` represents time-and-a-half
            pay.
          example: '1.5'
        rate:
          type:
            - string
            - 'null'
          description: >-
            The default rate for this payroll wage item, represented as a
            decimal string. Only one of `rate` and `ratePercent` can be set.
          example: '15.00'
        ratePercent:
          type:
            - string
            - 'null'
          description: >-
            The default rate for this payroll wage item expressed as a
            percentage. Only one of `rate` and `ratePercent` can be set.
          example: '10'
      required:
        - id
        - objectType
        - createdAt
        - updatedAt
        - revisionNumber
        - name
        - isActive
        - wageType
        - expenseAccount
        - overtimeMultiplier
        - rate
        - ratePercent
      additionalProperties: false
      title: The Payroll Wage Item object
      x-conductor-object-type: other
      summary: >-
        A payroll wage item defines a type of payment scheme in QuickBooks
        Desktop, such as Regular Pay or Overtime Pay, that specifies how
        employee wages are calculated and tracked.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your Conductor secret key using Bearer auth (e.g., `"Authorization:
        Bearer {{YOUR_SECRET_KEY}}"`).

````

Built with [Mintlify](https://mintlify.com).