# THANH TOÁN CÔNG NỢ THEO HOÁ ĐƠN

## Đặt vấn đề

* Tại bút toán nhận nợ, Người dùng đã phản ánh thông tin số hoá đơn và đối tượng công nợ
* Tại bút toán thanh toán, Người dùng mong muốn hiển thị các hoá đơn còn phải thanh toán của đối tượng công nợ

## Hướng dẫn thao tác

*Ví dụ:*

* Nhập mua hàng của công ty "*CÔNG TY TNHH THƯƠNG MẠI TÂM NAM PHÁT*":
  * **Ngày** 28/06/2023, **Seri** C23TNP, **Số hoá đơn** 927, **Giá trị** hoá đơn 1 996 500 đ
  * **Ngày** 29/06/2023, **Seri** C23TNP, **Số hoá đơn** 951, **Giá trị** hoá đơn 1 584 000 đ
* Ngày 30/06/2023, **Thanh toán** 2 500 000 cho công ty Nam phát

### B1. Ghi nhận công nợ

* Ghi nhận nghiệp vụ phát sinh ngày 28/06/2023&#x20;

  <figure><img src="/files/GyTX0rBhPlqhKiuTN8vr" alt=""><figcaption><p>Ghi nhận công nợ phát sinh hoá đơn 927</p></figcaption></figure>
* Ghi nhận nghiệp vụ phát sinh ngày 29/06/2023&#x20;

  <figure><img src="/files/PcNB8GXxKPuEeLk0Ia4W" alt=""><figcaption><p>Ghi nhận công nợ phát sinh hoá đơn 951</p></figcaption></figure>

### B2. Thanh toán công nợ

* Thanh toán công nợ theo hoá đơn&#x20;

  <figure><img src="/files/dargXTHdj1wn3CcIbeUK" alt=""><figcaption><p>Thanh toán công nợ theo chức năng tự động</p></figcaption></figure>

* Kiểm tra lại kết quả sau khi xử lý&#x20;

  <figure><img src="/files/GgWWYtR9nzEoVpL1SyVI" alt=""><figcaption><p>Kiểm tra và lưu phiếu sau khi xử lý</p></figcaption></figure>

* Kiểm tra bằng báo cáo "*Báo cáo công nợ phải trả - tuổi nợ theo hoá đơn*"

  <figure><img src="/files/PWhmVxZ54UfbA0RjaeaL" alt=""><figcaption><p>Kiểm tra báo cáo công nợ theo hoá đơn</p></figcaption></figure>

#### *<mark style="color:red;">Lưu ý</mark>*

* Hướng dẫn áp dụng cho các tài khoản công nợ phải thu, phải trả
* Người dùng cần chọn thông tin đối tượng, tài khoản kế toán trước khi thực hiện chức năng "***CNHD***"


---

# 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://huongdanketoan.dtechvn.com/nghiep-vu-phat-sinh/tinh-nang-tien-ich/thanh-toan-cong-no-theo-hoa-don.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.
