> For the complete documentation index, see [llms.txt](https://help.arito.vn/ban-hang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.arito.vn/ban-hang/cong-no-phai-thu/khai-bao-quan-ly-cong-no-theo-han-thanh-toan-va-khach-hang.md).

# Khai báo quản lý công nợ theo hạn thanh toán và khách hàng

## Khai báo hệ thống

Đường dẫn: ***Hệ thống/ Các tham số tùy chọn và khóa số liệu/ Khai báo tham số***

Chọn tham số Xử lý treo đơn hàng, nhấn Sửa và chọn Giá trị *Khi vượt giới hạn công nợ hoặc treo cả hai.*

<figure><img src="/files/TK8AW16n9PBKZu1UoLHg" alt=""><figcaption><p>Khai báo tham số hệ thống</p></figcaption></figure>

## Khai báo quy trình duyệt

**Bước 1**: Khai báo người có quyền duyệt những đơn hàng có khách hàng vượt giới hạn công nợ.

Đường dẫn: ***Ký duyệt/ Quy trình***

<figure><img src="/files/P7ivHJmWxdiTkhPcDfJY" alt=""><figcaption><p>Cập nhật quy trình ký duyệt</p></figcaption></figure>

Các thông tin cần lưu ý:

* Mã quy trình
* Tên quy trình
* Trường hợp muốn duyệt qua mail thì tick vào Mail
* Trường hợp muốn duyệt nhiều cấp thì nhấn nút Thêm cấp duyệt

**Bước 2**: Khai báo đơn từ và điều kiện duyệt một đơn hàng bị treo

Đường dẫn: ***Ký duyệt/ Phân loại đơn từ***

<figure><img src="/files/YmISyGnVAiUyPNYVQRNW" alt=""><figcaption><p>Áp dụng điều kiện và quy trình duyệt cho đơn hàng bán</p></figcaption></figure>

Chọn sửa đơn bán hàng, thêm quy trình duyệt đã khai báo và chọn ô điều kiện áp dụng.

Ở cửa sổ Điều kiện áp dụng, chọn:

* Trạng thái treo
* Xử lý Bằng
* Vượt quá công nợ giới hạn hoặc Vượt quá công nợ giới hạn và hóa đơn quá hạn thanh toán.

Sau khi hoàn thành các khai báo trên, khi lập đơn hàng các trường hợp sau sẽ bị xét treo

Trường hợp 1: Công nợ tức thời của khách hàng + Giá trị đơn hàng > Giới hạn nợ của khách hàng

Trường hợp 2: Khách hàng có hóa đơn bán hàng quá hạn thanh toán


---

# 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.arito.vn/ban-hang/cong-no-phai-thu/khai-bao-quan-ly-cong-no-theo-han-thanh-toan-va-khach-hang.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.
