> For the complete documentation index, see [llms.txt](https://kythuat.dtechvn.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kythuat.dtechvn.com/hoa-don-dien-t/tong-hop-loi-m-invoice.md).

# TỔNG HỢP LỖI M-INVOICE

## 1. View PDF báo lỗi

* Do api trả về kết quả lỗi: Do mạng internet hoặc ghi file hoặc hệ thống Minvoice lỗi
* Báo khách hàng đợi khoảng 5 phút thao tác lại hoặc lên web hoá đơn kiểm tra view pdf có lỗi không
* nếu view pdf trên web lỗi thì chắc chắn ở dưới lỗi

## 2. View pdf ở dtech khác với view pdf ở Minvoice

* Báo lại Minvoice check update hệ thống: do pdf của api khác với view pdf trên web

## 3. 01 chứng từ tạo được 02 hoá đơn

* lần 1: đẩy chứng từ lên hệ thống thành hoá đơn nháp 01
* bấm nút kiểm tra trên dtech, thì api trả về lỗi, dtech update chungtu về trạng thái hoá đơn mới ( thay vì giữ nguyên là chờ ký)
* khách hàng lại bấm tiếp "tạo hoá đơn", dẫn tới 01 chứng từ tạo được 02 hoá đơn
* Với bản shop:
  * Do không xoá được trên web hoá đơn nháp 2, nên ở lưới hoá đơn điện tử của bản shop, chuột phải vào hoá đơn và chọn xoá hoá đơn chờ ký
  * Sử dụng cấu lệnh update cho chứng từ các thông tin để nó hiểu là tương ứng với hoá đơn nháp 1
* Với bản kế toán
  * lên web xoá bỏ hoá đơn nháp số 2
  * Sử dụng cấu lệnh update cho chứng từ các thông tin để nó hiểu là tương ứng với hoá đơn nháp 1

## 4. "Có lỗi khi lấy thông tin cks đã đăng ký"

* Bấm "Ký phát hành" thì bật lỗi
* Do hệ thống web chưa khai báo thông tin "mặc định ký"&#x20;
* Đăng nhập web hoá đơn/ "hệ thống"/ "Đăng ký chứng thư số"/ "sửa chứng thư số"/ check vào "mặc định ký"&#x20;

## 5. Đẩy hoá đơn báo lỗi "token hết hạn hoặc không đúng, vui lòng kiểm tra lại"

* Khi bấm đẩy hoá đơn nháp thì báo lỗi
* nguyên nhân: Do thay đổi mật khẩu đăng nhập trang web. Hỏi lại khách hàng để vào cấu hình lại tham số kết nối

## 6. Đẩy chờ ký hoặc phát hành báo lỗi 401-Unauthorized

* do thay đổi mật khẩu. kiểm tra lại mật khẩu khai báo và mật khẩu đăng nhập web
* nếu mất khẩu đúng, thì khả năng do mạng kết nối hoặc api kết nối với minvoi chập chờn. đợi một lúc sau bấm đẩy lại&#x20;

  <figure><img src="/files/UodjFqRMBdPmbRwRVJEA" alt="" width="503"><figcaption></figcaption></figure>

## 7. Ký hóa đơn báo chưa cài đặt Plugin ký số

Khi ký hóa đơn trên web Minvoice thì báo chưa được cài đặt Plugin

<figure><img src="/files/2VNrmLA1INyEPpf37L88" alt=""><figcaption></figcaption></figure>

Nguyên nhấn:&#x20;

* Do sử dụng trình duyệt web nhân Chromium sẽ bị giới hạn quyền truy cập mạng nội bộ như: Google Chrome, Cốc Cốc, Microsoft Edge mới...

Cách sửa:

* Người sử dụng mở trình duyệt web lên, copy giá trị sau và Paste vào đường dẫn trình duyệt web nhấn Enter để chạy:

```
chrome://flags/#local-network-access-check
```

Đổi giá trị từ Default sang Disable và khởi động lại trình duyệt web, đăng nhập vào trang hóa đơn để ký lại xem.

<figure><img src="/files/13wsdnw4gAHOVUF9GVU3" alt=""><figcaption></figcaption></figure>


---

# 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://kythuat.dtechvn.com/hoa-don-dien-t/tong-hop-loi-m-invoice.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.
