> For the complete documentation index, see [llms.txt](https://docs.chuoicanho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chuoicanho.com/quan-ly-hop-dong/hop-dong.md).

# Hợp đồng

Để truy cập vào chức năng Hợp đồng, người dùng đăng nhập vào hệ thống sau đó từ tính năng Quản lý hợp đồng, kích chọn chức năng Hợp đồng.&#x20;

Đầu tiên, trên thanh thao tác là danh sách hợp đồng lọc theo tòa nhà và danh sách các thao tác có trong chức năng Hợp đồng (thêm mới, chỉnh sửa, gia hạn, trả phòng, hoa hồng, xóa). Tiếp đến là tab lọc hóa đơn theo chủng loại (tất cả, hợp đồng thuê, hợp đồng đặt cọc) và theo trạng thái hiệu lực (hiệu lực, hết hiệu lực). Quý anh (chị) thực hiện lọc và chọn tab phù hợp với mục đích tìm kiếm và sử dụng thông tin.

Trong bảng danh sách các hợp đồng chứa các thông tin cơ bản gồm có: mã, loại hợp đồng (cho thuê/đặt cọc giữ chỗ), căn hộ (căn hộ được cho thuê hoặc đặt cọc), khách hàng, số điện thoại, số hợp đồng, thời gian bắt đầu, thời gian kết thúc, thời hạn hợp đồng, thời gian còn lại, trạng thái, thao tác.

![Danh sách hợp đồng](/files/YNTYYvVdNvHCDXewwGjk)

{% hint style="success" %}
**Ghi chú:**

* Trạng thái: có 2 trạng thái của hợp đồng là hiệu lực và hết hiệu lực. 1 hợp đồng được chuyển sang trạng thái hết hiệu lực khi khách đã thực hiện trả phòng. &#x20;
* Thao tác: tải xuống hợp đồng của căn hộ.
  {% 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://docs.chuoicanho.com/quan-ly-hop-dong/hop-dong.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.
