# Thông tin hóa đơn điện tử

## I. Web Admin

Khi tạo mới đơn hàng sẽ hiển thi thêm 2 trường thông tin:

* Email: chỉ lưu thông tin theo đơn hàng để gửi hoá đơn, không lưu vào thông tin của user.
* Mã số thuế: mã số thuế của user cung cấp.

Nếu user đã có 1 đơn hàng điển thông tin email và mã số thuế thì khi tạo đơn hàng mới sẽ lấy lại thông tin email và mã số thuế của đơn hàng gần nhất đã có.

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

Ngoài danh sách đơn hàng cũng sẽ hiển thị thêm 2 trường thông tin này

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

## II. App Mobile

* Khi user đặt đơn hàng ->  tại màn thông tin sẽ có thêm 1 mục "**Lấy hoá đơn điện tử**".&#x20;
* User sẽ chọn vào nếu có mong muốn xuất hoá đơn điện tử

<figure><img src="https://t3777165.p.clickup-attachments.com/t3777165/f8d68fdd-457b-45c7-90be-7a155aa364cf/image.png" alt="" width="375"><figcaption></figcaption></figure>

* Khi chọn "**Lấy hoá đơn điện tử** " màn hình sẽ hiển thị 1 popup để user điền thông tin Email và Mã số thuế để lấy hoá đơn

<figure><img src="https://t3777165.p.clickup-attachments.com/t3777165/01fc05aa-b773-4536-a36f-6a515f351217/image.png" alt="" width="375"><figcaption></figcaption></figure>

* User chọn mục "Thay đổi thông tin nhận hóa đơn"  để thay đổi/sửa thông tin đã điền.
* Nếu user đã từng điền thông tin trước đó, hệ thống sẽ tự động lấy thông tin từ đơn hàng gần nhất để điền vào cho user.

<figure><img src="https://t3777165.p.clickup-attachments.com/t3777165/aecf2545-7c01-4c68-ad90-352997035874/image.png" alt="" width="375"><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://tailieu.abaha.vn/quan-ly-modules/ban-hang/thong-tin-hoa-don-dien-tu.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.
