> For the complete documentation index, see [llms.txt](https://document.o2skin.asia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://document.o2skin.asia/quan-ly-kho-hang/quan-ly-ma-vach/tao-ma-vach.md).

# Tạo mã vạch

Chức năng tạo mã vạch giúp bạn dễ dàng quản lý và theo dõi sản phẩm trong kho. Dưới đây là các bước hướng dẫn cụ thể:

### **Bước 1: Truy cập màn hình Mã vạch**

* Truy cập vào mục **Quản lý kho** trên thanh điều hướng bên trái.
* Chọn **Mã vạch**.

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

### **Bước 2: Tạo mã vạch mới**

* Tại màn hình Mã vạch, nhấn vào nút **Tạo mã vạch**.

<figure><img src="/files/6iIH5As2S7XiFQTdakWj" alt=""><figcaption></figcaption></figure>

### **Bước 3: Điền thông tin mã vạch**

<table><thead><tr><th width="178">Trường thông tin</th><th width="241">Mô tả</th><th data-type="checkbox">Bắt buộc</th></tr></thead><tbody><tr><td>Sản phẩm</td><td>Tìm kiếm mã SKU hoặc tên sản phẩm từ dropdown menu.</td><td>true</td></tr><tr><td>Số lô</td><td>Nhập số lô được in trên sản phẩm.</td><td>true</td></tr><tr><td>Ngày sản xuất</td><td>Chọn ngày sản xuất của sản phẩm.</td><td>false</td></tr><tr><td>Ngày hết hạn</td><td>Chọn ngày hết hạn của sản phẩm.</td><td>false</td></tr></tbody></table>

<figure><img src="/files/UUYTQKWZ6AB3Yll2VNxA" alt="" width="229"><figcaption></figcaption></figure>

**Sau khi nhập số lô, mã vạch sẽ tự động được tính bằng mã SKU + số lô**

### **Bước 4: Lưu thông tin và in mã vạch**

* Sau khi điền đầy đủ thông tin, bạn có thể chọn **Lưu** để lưu mã vạch hoặc **Lưu và in mã vạch** để lưu và in mã vạch ngay lập tức.

Sau khi tạo, mã vạch sẽ hiển thị trong danh sách mã vạch. Bạn có thể kiểm tra, chỉnh sửa hoặc in lại mã vạch nếu cần từ màn Danh sách mã vạch bằng cách nhấn vào biểu tượng bút chì (để chỉnh sửa) hoặc biểu tượng máy in (để in)

Bằng cách làm theo các bước trên, bạn có thể dễ dàng tạo và quản lý mã vạch cho các sản phẩm trong kho, giúp tối ưu hóa quy trình quản lý kho 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://document.o2skin.asia/quan-ly-kho-hang/quan-ly-ma-vach/tao-ma-vach.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.
