> 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/jie-kuan/loan.md).

# 借款

## 記錄借出或借入

1. 開啟 **借款**，點一下右上角 **+**。
2. 選擇 **借出**或**借入**。
3. 輸入金額、對象名稱、帳本、帳戶和日期。
4. 儲存後，借款頁面會依對象彙總待收或待還金額。

## 記錄收回或歸還

1. 點一下對象或借款記錄進入詳細資料。
2. 選擇 **收回**或**歸還**。
3. 輸入本次金額並選擇入帳或付款帳戶。
4. 儲存後，剩餘金額會自動更新。

| 操作            | 結果                      |
| ------------- | ----------------------- |
| **部分收回 / 歸還** | 更新本次金額並保留剩餘待處理餘額        |
| **全部收回 / 歸還** | 將對應借款餘額結清               |
| **查看帳單**      | 點一下詳細資料中的帳單資料列，查看對應借款記錄 |

## 修改與刪除

從借款帳單詳細資料可以編輯金額、日期、帳戶或對象。

{% hint style="warning" %}
刪除借款記錄會同步撤銷對應餘額變動；刪除前請檢查是否已有後續收回或歸還記錄。
{% 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/jie-kuan/loan.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.
