> For the complete documentation index, see [llms.txt](https://help.daak2.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.daak2.com/zh-tw/zhou-qi-ji-zhang/recurring.md).

# 週期記帳

固定日期重複發生的收支，可以建立週期記帳規則。

## 建立規則

1. 開啟 **週期記帳**，點一下 **+**。
2. 選擇帳單類型，填寫金額、帳戶、帳本和分類。
3. 設定開始日期、執行頻率和結束條件。
4. 儲存後，Daak 會依規則產生後續帳單。

| 規則設定     | 可選內容               |
| -------- | ------------------ |
| **執行頻率** | 按日、週、月等頻率執行        |
| **特殊日期** | 每月最後一天、最後一個工作日等日期  |
| **結束條件** | 持續執行、指定日期結束或達到設定次數 |

## 管理規則

| 操作       | 影響範圍                   |
| -------- | ---------------------- |
| **查看記錄** | 查看規則已經產生的帳單            |
| **修改規則** | 調整之後產生帳單使用的設定          |
| **停用規則** | 停止繼續產生，不刪除現有記錄         |
| **刪除規則** | 刪除規則並停止繼續產生；已經產生的帳單會保留 |

{% hint style="info" %}
修改週期規則不會自動改寫已經產生的歷史帳單。刪除規則後，現有帳單會解除與規則的關聯，並作為一般歷史帳單保留。
{% endhint %}

{% hint style="info" %}
只想快速填入常用內容，但不需要自動產生時，請使用[記帳範本](/zh-tw/ji-zhang/templates.md)。
{% endhint %}


---

# 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://help.daak2.com/zh-tw/zhou-qi-ji-zhang/recurring.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.
