> 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-cn/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-cn/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.
