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

# updatePayrollLineItemTaxAdjustment

> The `updatePayrollLineItemTaxAdjustment ` API is used to correct a tax adjustment that has been added to an employee for a pay period

### When to use:
- When correcting tax adjustment mistakes before payroll submission

### Notes:
- The employee must have a tax adjustment applied in the specified pay period with the given `taxName`
- **Amount** overwrites the existing calculated tax value entirely, it does not subtract



## OpenAPI

````yaml put /payroll/updatePayrollLineItemTaxAdjustment
openapi: 3.0.1
info:
  title: Default module
  description: ''
  version: 1.0.0
servers: []
security:
  - basic: []
tags: []
paths:
  /payroll/updatePayrollLineItemTaxAdjustment:
    put:
      tags: []
      summary: updatePayrollLineItemTaxAdjustment
      description: >-
        The `updatePayrollLineItemTaxAdjustment ` API is used to correct a tax
        adjustment that has been added to an employee for a pay period


        ### When to use:

        - When correcting tax adjustment mistakes before payroll submission


        ### Notes:

        - The employee must have a tax adjustment applied in the specified pay
        period with the given `taxName`

        - **Amount** overwrites the existing calculated tax value entirely, it
        does not subtract
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                method:
                  type: string
                companyId:
                  type: string
                payPeriodId:
                  type: string
                employeeId:
                  type: string
                taxName:
                  type: string
                amount:
                  type: integer
              required:
                - method
                - companyId
                - payPeriodId
                - employeeId
                - taxName
                - amount
            example:
              method: updatePayrollLineItemTaxAdjustment
              companyId: C2019899-9EEF-49F7-9B51-70744AFAFE61
              payPeriodId: 9BF440AF-9BE8-49B7-8F5E-0673E35CB5B3
              employeeId: 91B2952B-664E-42D2-B3AA-CCAFC9CE00A6
              taxName: Federal Withholding Tax
              amount: 55
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                required:
                  - success
                  - message
              example:
                success: true
                message: Tax adjustment updated successfully
          headers: {}
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                required:
                  - error
              example:
                error:
                  code: 404
                  message: >-
                    Tax adjustment not found for the specified parameters.
                    Please ensure the tax adjustment exists before attempting to
                    update.
          headers: {}
      deprecated: false
      security:
        - basic: []
components:
  securitySchemes:
    basic:
      type: http
      scheme: basic

````