# 薪資參數

查詢薪資相關的參數代碼，包括：薪資科目代碼查詢、成本中心代碼查詢等。

## 取得薪資科目預設檔

> \`\`\`\
> salary\_item\_default = {\
> &#x20; "SALARY\_ITEM\_DEFAULT\_ID": number, //ID\
> &#x20; "ITEM\_CLASS":string,              //加扣項別\
> &#x20; "ITEM\_CODE":string,               //薪資科目代號\
> &#x20; "ITEM\_NAME":string,               //薪資科目名稱\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"薪資參數","description":"查詢薪資相關的參數代碼，包括：薪資科目代碼查詢、成本中心代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/pb/salary_item/default":{"post":{"tags":["薪資參數"],"summary":"取得薪資科目預設檔","description":"```\nsalary_item_default = {\n  \"SALARY_ITEM_DEFAULT_ID\": number, //ID\n  \"ITEM_CLASS\":string,              //加扣項別\n  \"ITEM_CODE\":string,               //薪資科目代號\n  \"ITEM_NAME\":string,               //薪資科目名稱\n},\n```\n","responses":{"200":{"description":"成功\n```\n{\n  code: 200,\n  data: [salary_item_default, salary_item_default, ...],\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得加扣項薪資科目

> \`\`\`\
> salary\_item = {\
> &#x20; "SALARY\_ITEM\_ID": number,   //薪資科目\_ID\
> &#x20; "CO\_ID": number,            //公司\_ID\
> &#x20; "ITEM\_CODE":string,         //薪資科目代號\
> &#x20; "ITEM\_NAME":string,         //薪資科目名稱\
> &#x20; "ITEM\_NAME\_JSON":boject,    //薪資科目名稱\_JSON\
> &#x20; "SORT\_ORDER": number,       //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"薪資參數","description":"查詢薪資相關的參數代碼，包括：薪資科目代碼查詢、成本中心代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/pb/salary_item/list":{"post":{"tags":["薪資參數"],"summary":"取得加扣項薪資科目","description":"```\nsalary_item = {\n  \"SALARY_ITEM_ID\": number,   //薪資科目_ID\n  \"CO_ID\": number,            //公司_ID\n  \"ITEM_CODE\":string,         //薪資科目代號\n  \"ITEM_NAME\":string,         //薪資科目名稱\n  \"ITEM_NAME_JSON\":boject,    //薪資科目名稱_JSON\n  \"SORT_ORDER\": number,       //排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200,\n  data: [salary_item, salary_item, ...],\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得薪資科目代碼檔

> \`\`\`\
> salary\_item = {\
> &#x20; "CO\_ID": number,            //公司\_ID\
> &#x20; "ITEM\_CLASS": number,       //加扣項別\
> &#x20; "DEFAULT\_ITEM\_CODE":string, //對照系統科目代號\
> &#x20; "ITEM\_CODE":string,         //薪資科目代號\
> &#x20; "ITEM\_NAME":string,         //薪資科目名稱\
> &#x20; "ITEM\_NAME\_JSON":boject,    //薪資科目名稱\_JSON\
> &#x20; "IS\_TAX": number,           //是否應稅\
> &#x20; "TAX\_FORMAT":string,        //所得格式\
> &#x20; "TAX\_TYPE": number,         //課稅屬性\
> &#x20; "ENV\_ITEM\_NAME":boject,     //薪資袋輸出名稱\
> &#x20; "IS\_ACT": number,           //是否啟用\
> &#x20; "SORT\_ORDER": number,       //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"薪資參數","description":"查詢薪資相關的參數代碼，包括：薪資科目代碼查詢、成本中心代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/pb/salary_item":{"post":{"tags":["薪資參數"],"summary":"取得薪資科目代碼檔","description":"```\nsalary_item = {\n  \"CO_ID\": number,            //公司_ID\n  \"ITEM_CLASS\": number,       //加扣項別\n  \"DEFAULT_ITEM_CODE\":string, //對照系統科目代號\n  \"ITEM_CODE\":string,         //薪資科目代號\n  \"ITEM_NAME\":string,         //薪資科目名稱\n  \"ITEM_NAME_JSON\":boject,    //薪資科目名稱_JSON\n  \"IS_TAX\": number,           //是否應稅\n  \"TAX_FORMAT\":string,        //所得格式\n  \"TAX_TYPE\": number,         //課稅屬性\n  \"ENV_ITEM_NAME\":boject,     //薪資袋輸出名稱\n  \"IS_ACT\": number,           //是否啟用\n  \"SORT_ORDER\": number,       //排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200,\n  data: [salary_item, salary_item, ...],\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得成本中心代碼檔

> \`\`\`\
> rccc = {\
> &#x20; "RCCC\_ID": number,        //成本中心\_ID\
> &#x20; "CO\_ID": number,          //公司\_ID\
> &#x20; "RCCC\_CODE":string,       //成本中心代碼\
> &#x20; "RCCC\_NAME":string,       //成本中心名稱\
> &#x20; "RCCC\_NAME\_JSON":string,  //成本中心名稱\_JSON\
> &#x20; "IS\_ACT": number,         //使用狀態\
> &#x20; "SORT\_ORDER": number,     //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"薪資參數","description":"查詢薪資相關的參數代碼，包括：薪資科目代碼查詢、成本中心代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/pb/rccc":{"post":{"tags":["薪資參數"],"summary":"取得成本中心代碼檔","description":"```\nrccc = {\n  \"RCCC_ID\": number,        //成本中心_ID\n  \"CO_ID\": number,          //公司_ID\n  \"RCCC_CODE\":string,       //成本中心代碼\n  \"RCCC_NAME\":string,       //成本中心名稱\n  \"RCCC_NAME_JSON\":string,  //成本中心名稱_JSON\n  \"IS_ACT\": number,         //使用狀態\n  \"SORT_ORDER\": number,     //排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200,\n  data: [rccc, rccc, ...],\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````

## 取得加扣項幣別

> \`\`\`\
> currency = {\
> &#x20; "CO\_ID": number,                //公司\_ID\
> &#x20; "CURRENCY\_CODE": string,        //幣別代碼\
> &#x20; "CURRENCY\_NAME": string,        //幣別名稱\
> &#x20; "CURRENCY\_NAME\_JSON": boject,   //幣別名稱\_JSON\
> &#x20; "SORT\_ORDER": number,					  //排序\
> },\
> \`\`\`<br>

````json
{"openapi":"3.0.0","tags":[{"name":"薪資參數","description":"查詢薪資相關的參數代碼，包括：薪資科目代碼查詢、成本中心代碼查詢等。"}],"servers":[{"url":"https://104demotest-api-server.hrmax.104.com.tw"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"responses":{"401":{"description":"認證失敗 (請更新 accessToken 再試一次)"},"403":{"description":"權限不足"},"440":{"description":"參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)"},"500":{"description":"系統異常 `{ code: 500, msg: string }`"}}},"paths":{"/api/pb/salary_item/currency":{"post":{"tags":["薪資參數"],"summary":"取得加扣項幣別","description":"```\ncurrency = {\n  \"CO_ID\": number,                //公司_ID\n  \"CURRENCY_CODE\": string,        //幣別代碼\n  \"CURRENCY_NAME\": string,        //幣別名稱\n  \"CURRENCY_NAME_JSON\": boject,   //幣別名稱_JSON\n  \"SORT_ORDER\": number,\t\t\t\t\t  //排序\n},\n```\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CO_ID"],"properties":{"CO_ID":{"type":"integer","description":"公司ID"}}}}}},"responses":{"200":{"description":"成功\n```\n{\n  code: 200, \n  data: [CURRENCY_CODE, CURRENCY_NAME, ...]\n}\n```\n"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"440":{"$ref":"#/components/responses/440"},"500":{"$ref":"#/components/responses/500"}}}}}}
````


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://104ha-docs.gitbook.io/104-ha-openapi/clients/104-hr-max/xin-zi-can-shu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
