# Nghĩa vụ thanh toán cuối ngày

Sau khi chạy xong dữ liệu cuối ngày, hệ thống sẽ gửi thông báo phái sinh cuối ngày tại mục **Tin nhắn Giao dịch tiền.**

### **Trường hợp 1:** Tài khoản cơ sở có số dư tiền mặt lớn hơn nghĩa vụ thanh toán cuối ngày

Hệ thống sẽ tự động hạch toán số tiền từ tài khoản cơ sở sang tài khoản phái sinh và thực hiện thanh toán nghĩa vụ.

<figure><img src="/files/FxWAzwe2gIHENcPnevNK" alt=""><figcaption></figcaption></figure>

* Nghĩa vụ thanh toán cuối ngày bao gồm phí, thuế và lỗ. \
  Tài khoản cơ sở có đủ số dư, hệ thống hạch toán sang tài khoản phái sinh đủ số tiền để thanh toán nghĩa vụ.

<figure><img src="/files/Sizf1NKgNxAR1a9Mjeq5" alt="" width="375"><figcaption></figcaption></figure>

* Nghĩa vụ thanh toán cuối ngày bao gồm phí, thuế. \
  Lãi trong ngày được trả về tài khoản cơ sở, đủ số dư tiền mặt để hạch toán sang tài khoản phái sinh thanh toán nghĩa vụ.

<figure><img src="/files/8BDTfIMbM0kRYWLKU3iJ" alt="" width="373"><figcaption></figcaption></figure>

### **Trường hợp 2:** Tài khoản cơ sở có số dư tiền mặt nhỏ hơn nghĩa vụ thanh toán cuối ngày&#x20;

* Nghĩa vụ thanh toán cuối ngày bao gồm phí, thuế và lỗ. \
  Tài khoản cơ sở không đủ số dư, hệ thống giải ngân khoản tạm ứng để thanh toán nghĩa vụ.

<figure><img src="/files/0sGHBmwMcdcTXmtLNtHl" alt="" width="375"><figcaption></figcaption></figure>

KH có thể chọn xem **Danh sách ứng trước**

<figure><img src="/files/MAVZilGNRzZf19cq7RBT" alt="" width="375"><figcaption></figcaption></figure>

Chi tiết về khoản tạm ứng cuối ngày, KH có thể xem [tại đây.](https://hdsd.dnse.com.vn/huong-dan-giao-dich-tien/huong-dan-giao-dich-tien-phai-sinh/khoan-ung-tien-phai-sinh)

***Lưu ý:** Với các tài khoản đang có khoản tạm ứng chưa hoàn, khi rút cọc hệ thống sẽ tự động giữ lại 1 phần cọc để thanh toán khoản này.*


---

# Agent Instructions: 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:

```
GET https://hdsd.dnse.com.vn/san-pham-dich-vu/sp-giao-dich-chung-khoan-phai-sinh/nghia-vu-thanh-toan-cuoi-ngay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
