> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/yoov-work/zh-hk/faq/salary-management/long-service-payment-calculation.md).

# 遣散費及長期服務金計算方法

遣散費及長期服務金官方文檔示例，詳細内容可進入官方文檔查看

<https://www.labour.gov.hk/tc/public/pdf/wcp/ConciseGuide/11.pdf>

<figure><img src="/files/KialZgptNbIMv57nZTl0" alt=""><figcaption></figcaption></figure>

YOOV WORK遣散費及長期服務金計算示例

薪酬管理-薪酬設置-基本設置找到遣散費及長期服務金工資項，可編輯工資項設定自定義公式，根據官方文檔的示例配置自定義公式，配置完成后可以試算

月薪雇員計算公式：\
（最後一個全月全月工資 × 2/3） × 可追溯的服務年資

服務年資：\
工作了 5年8個月 → 服務年資 = 5 + 8/12 = 5.67年\
工作了 3年4個月 → 服務年資 = 3 + 4/12 = 3.33年

遣散費 = (最後一個月工資 × 2/3) × 服務年資\
\= ($30,000 × 2/3) × 4.25\
\= $20,000 × 4.25 = $85,000\
服務年資 = 4 + 3/12 = 4.25年

**以下是示例計算方式：**

```
(#固定工資#*2/3)*(ROUND((DATEDIF(#入職日期#, #離職日期#, 'M'))/12, 2))
```

<figure><img src="/files/0UDXBKJ9rBBR86S5ahZL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/6niGYhMhW8XHxnxqJIv5" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/S5rQUAE3cuI8476uBHO7" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.coreway.com/yoov-work/zh-hk/faq/salary-management/long-service-payment-calculation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
