{
  "components": {
    "schemas": {
      "OutputV1ArchiveApiCompanyDeductiona239d2f7fc92": {
        "description": "A company deduction object.",
        "properties": {
          "allowedEarningTypeForPercentCalc": {
            "description": "The earning types this company deduction type applies to.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "companyContribution": {
            "anyOf": [
              {
                "description": "The amount the company pays on the employee's behalf.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "deductionType": {
            "description": "The deduction type.",
            "type": "string"
          },
          "employeeDeduction": {
            "anyOf": [
              {
                "description": "The amount the employee pays out of their pocket.",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "employerMatch401K": {
            "additionalProperties": false,
            "description": "This field earlier returned tiered match in case only one tiered match is set up for a company. This field is now deprecated.",
            "type": "object"
          },
          "id": {
            "description": "The company deduction unique identifier.",
            "type": "string"
          },
          "isEEPercent": {
            "description": "If the amount given in a employee deduction is a % than true. Otherwise false, if the amount if an absolute dollar amount value.",
            "type": "boolean"
          },
          "isERPercent": {
            "description": "If the amount given in a company contribution is a % than true. Otherwise false, if the amount if an absolute dollar amount value.",
            "type": "boolean"
          },
          "isMonthly": {
            "anyOf": [
              {
                "description": "Indicates that the admin has set up deduction amounts per month. It is true only when the admin explicitly selects 'Monthy' while setting up the Company Deduction Type (CDT). If it is false, then the defaults set up are used per pay period.",
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "matchingScheme401k": {
            "description": "The defined matching scheme. Safe harbor is used if you want to use tiered matching.",
            "type": "string"
          },
          "name": {
            "description": "Name of the company deduction.",
            "type": "string"
          },
          "tiered_401k_matches": {
            "description": "This returns an array of tiered match object ids. We can use these ids with API https://api.rippling.com\n/platform/api/tiered_match_401k/{id} to query tiered matches for a company.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "title": "CompanyDeduction",
        "type": "object"
      }
    }
  },
  "info": {
    "title": "Rippling v1-archive-api",
    "version": "2026-10-28"
  },
  "openapi": "3.1.0",
  "paths": {
    "/platform/api/company_deductions/{deductionId}": {
      "get": {
        "externalDocs": {
          "url": "https://developer.rippling.com/documentation/v1-archive-api/reference/get-company-deductions-deduction-id"
        },
        "operationId": "rippling.v1_archive_api.get_company_deductions_deductionid",
        "parameters": [
          {
            "in": "path",
            "name": "deductionId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutputV1ArchiveApiCompanyDeductiona239d2f7fc92"
                }
              }
            },
            "description": "OK"
          }
        },
        "servers": [
          {
            "description": "production",
            "url": "https://api.rippling.com"
          }
        ],
        "summary": "GET Company Deduction Detail",
        "x-rippling-entitlements": [],
        "x-rippling-required-scopes": []
      }
    }
  }
}
