> 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/ja/shiri/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/ja/shiri/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.
