> 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/salary-management/payroll-template.md).

# 工資單模板

支援自定義模板，企業可自由組合系統內建的「員工基礎變量」（如姓名、部門、工號）與「薪資項目變量」（如基本工資、績效獎金等），快速生成專屬工資單格式。發送電子工資單直接選用已設定好的任一模板，無需重複編輯，大幅提升作業效率。

#### 1. 新增工資單模板 <a href="#id-1-add-payslip-template" id="id-1-add-payslip-template"></a>

新增工資單模板-下載系統提供的模板文件

<figure><img src="/files/3fhlSPQdkWjqCImUIWrq" alt=""><figcaption></figcaption></figure>

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

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

#### 2. 修改模板文件並保存 <a href="#id-2-modify-and-save-template-file" id="id-2-modify-and-save-template-file"></a>

查看和導出系統提供的變量和常量，打開模板文件，修改其中定義的常量和變量

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

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

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

#### 3. 新增工資單并選擇電子工資單模版 <a href="#id-3-create-payslip-and-select-electronic-payslip-template" id="id-3-create-payslip-and-select-electronic-payslip-template"></a>

新增工資單-選擇自定義的電子工資單下載模版，確認發送並下載PDF

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

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

<figure><img src="/files/iHzbRVR2OzyiaZBwvMqI" 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/salary-management/payroll-template.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.
