> For the complete documentation index, see [llms.txt](https://hotro-effe.gitbook.io/library/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hotro-effe.gitbook.io/library/quy-trinh-hach-toan-chung/nhap-du-lieu-va-cac-tien-ich/hoa-don-ban-ra.md).

# Hóa đơn bán ra

## 1. Hóa đơn bán hàng nội địa

Sử dụng để hạch toán các nghiệp vụ xuất bán hàng hóa, thành phẩm, vật tư. Khi nhập dữ liệu ở loại chứng từ Hóa đơn bán hàng nội địa thì mỗi mặt hàng sẽ tự sinh ra các bút toán sau:

{% stepper %}
{% step %}

### Ghi nhận doanh thu

Nợ TK 131, Có TK 511.
{% endstep %}

{% step %}

### Thuế GTGT

Nợ TK 131, Có TK 33311 (Nếu ô phần % thuế suất được điền là 5, hoặc 10).
{% endstep %}

{% step %}

### Xuất kho

Nợ TK 632, Có TK 152,153,155,156,157.
{% endstep %}

{% step %}

### Chiết khấu theo mặt hàng

Nợ TK 521, Có TK 131 (Nếu % CK điền giá trị).
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Lưu ý**: Nếu Ô Tiền CKC được điền giá trị, phần mềm sẽ sinh thêm 1 bút toán chiết khấu cho đơn hàng.
{% endhint %}

## 2. Hóa đơn dịch vụ \<bán ra>

Sử dụng để hạch toán các nghiệp vụ xuất hóa đơn cung cấp dịch vụ, công trình, không liên quan tới hàng hóa, vật tư, thành phẩm như:

* Ghi nhận doanh thu dịch vụ gia công hàng hóa, sản phẩm cho khách hàng.
* Ghi nhận doanh thu cho thuê.
* Doanh thu vận chuyển hàng hóa cho khách hàng…


---

# 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://hotro-effe.gitbook.io/library/quy-trinh-hach-toan-chung/nhap-du-lieu-va-cac-tien-ich/hoa-don-ban-ra.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.
