> 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/th/undefined-7/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/th/undefined-7/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.
