# Tạo đơn lẻ có tính phí VAT

Phải có cấu hình đơn hàng VAT theo đơn hàng hoặc VAT theo sản phẩm

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FjYfnwgGSNSmL0JCKZ3u1%2Fimage.png?alt=media&#x26;token=d2fce98c-5732-4385-939c-cf38bdb5c5a0" alt=""><figcaption></figcaption></figure>

## A- Tính phí VAT theo đơn hàng

**Bước 1**: Phải cấu hình "**Tính phí VAT theo đơn hàng**". Vào trang Tạo đơn hàng, chọn checkbox **Bán hàng có khầu trừ tồn kho**

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FQmvBH7Tgmc9Kl65RTPlr%2Fimage.png?alt=media&#x26;token=29d37926-c7c7-4446-a0f9-a074df9134e0" alt=""><figcaption></figcaption></figure>

**Bước 2**: **Chọn sản phẩm** cho đơn hàng và xem cách tính Phí VAT

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FGQRwNlJxUW5f3PSXA6cD%2Fimage.png?alt=media&#x26;token=2ad4f7d6-e9ca-4813-9d1d-70245c47bd08" alt=""><figcaption></figcaption></figure>

Như hình là chọn 2 sản phẩm với tổng đơn là 100,000 + 50,000 = 150,000 đ. Và Phí VAT là 10%

Do đó VAT =  150,000 \* 10% = 15,000đ

Và Tổng tiền đơn hàng = 150,000 + 15,000 = 165,000 đ

## B- Tính phí VAT theo sản phẩm

**Bước 1**: Phải cấu hình "**Tính phí VAT theo sản phẩm**". Vào trang Tạo đơn hàng, chọn checkbox **Bán hàng có khầu trừ tồn kho**

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FcB5a7mKK25IgNYize8WV%2Fimage.png?alt=media&#x26;token=3471bd0c-e425-482c-997f-f1160136aa17" alt=""><figcaption></figcaption></figure>

**Bước 2**: **Chọn sản phẩm** cho đơn hàng và xem cách tính Phí VAT

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FYP0rjxsFLLa9uLORJeci%2Fimage.png?alt=media&#x26;token=c673d19c-c60e-4541-ab3a-43b5769bfa31" alt=""><figcaption></figcaption></figure>

Sản phẩm Kẹo có VAT là 8% = 100,000 \* 8% = 8,000 đ

Sản phẩm Micro có VAT là 10% = 50,000 \* 10% = 5,000 đ

**Tổng phí VAT** = 8,000 + 5,000 = 13,000 đ

**Tổng tiền đơn hàng**: (1 \* 100,000) + (1 \* 50,000)  + 13,000 = 163,000 đ

## C- Các nâng cấp trên Quản lý đơn hàng

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FmkyRC5hnfUmzGz8hEVbq%2Fimage.png?alt=media&#x26;token=aff31cfa-e75f-4441-89bd-70c9c61836c6" alt=""><figcaption></figcaption></figure>

**Lưu ý với các từ ngữ sau**:

* **Doanh thu**: Tổng giá trị đơn hàng không tính VAT

Có thể hiểu là: Tổng giá trị đơn hàng - Phí VAT - Phí dịch vụ chịu VAT

* **Phí VAT**: Tổng VAT của đơn hàng, có thể là VAT đơn hàng hoặc VAT theo từng sản phẩm
* **Phí dịch vụ**: Bao gồm Phí dịch vụ CHƯA chịu VAT và Phí dịch vụ CÓ chịu VAT&#x20;

### **Các nâng cấp dính đền Phí VAT và phí dịch vụ**

* Tùy chỉnh cột: Có thêm 3 cột Doanh thu, Phí VAT, Phí dịch vụ

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FRpOazWCPSUheopgLP9mb%2Fimage.png?alt=media&#x26;token=2856c7d4-7e8c-421b-984f-b875c6bcd828" alt=""><figcaption></figcaption></figure>

* Trong chi tiết đơn hàng, có thêm Phí VAT nếu đơn hàng có cấu hình VAT theo sản phẩm. Và 2 cái Tổng phí VAT và Phí dịch vụ

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2Ft0IkFCXJKRpa0e4Ytkj0%2Fimage.png?alt=media&#x26;token=3c3f255c-d871-4ea6-a75b-da4113796bd1" alt=""><figcaption></figcaption></figure>

* Xuất excel chi tiết đơn hàng: thêm cột Phí VAT của sản phẩm và Phí VAT cho đơn hàng và Phí dịch vụ

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FE0qtrVS0msuK2yzNnQWz%2Fimage.png?alt=media&#x26;token=0ace8d1f-db0a-473c-bee2-995e2f43fdda" alt=""><figcaption></figcaption></figure>

* Xuất excel mặc định: Cũng có thêm 3 cột Doanh thu, Phí VAT, Phí dịch vụ

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FPO5lj22051OiYquasCKN%2Fimage.png?alt=media&#x26;token=0bb3048b-7e6a-4bf2-9cdf-dd71223b3d14" alt=""><figcaption></figcaption></figure>

* Xuất excel tùy chọn: Thêm 3 chọn lựa như các phần trên

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FG8tc7OMu34DAdlXKtEgl%2Fimage.png?alt=media&#x26;token=890eec1d-e8c3-4766-9c5a-ee8a3c1685fe" alt=""><figcaption></figcaption></figure>

* In chi tiết đơn hàng (A4): Thêm 2 dòng Phí dịch vụ và Tổng phí VAT

<figure><img src="https://2080883526-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVeX7mGqaQHmBkg2FCdWT%2Fuploads%2FKmKUolfUlAJZIXxxFK1k%2Fimage.png?alt=media&#x26;token=0a0956c6-2abe-4723-a610-75500b0f0224" alt=""><figcaption></figcaption></figure>


---

# 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://help.upos.vn/don-hang-va-san-pham/don-hang/phi-vat-va-phi-dich-vu/tao-don-le-co-tinh-phi-vat.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.
