Specification — Invoice list & filterĐặc tả — Danh sách & lọc hóa đơn· F1+F2 · Ring A · FSD Invoice v2.1.· F1+F2 · Vòng A · FSD Invoice v2.1.
1. Introduction1. Giới thiệu
1.1 Purpose1.1 Mục đích
Confirm the Invoices page: table, filter, pagination, entry points Create/Export/Detail.Xác nhận trang Invoices: bảng, lọc, phân trang, điểm vào Create/Export/Detail.
RoundVòng
ContentNội dung
OwnerThực hiện
A — business confirmation via UI (this document)A — xác nhận nghiệp vụ qua giao diện (tài liệu này)
UI journey: screens, buttons, fieldsHành trình trên giao diện: màn hình, nút, trường
Rules and user-visible error messagesQuy tắc, thông báo lỗi người dùng thấy
1.4 Glossary & abbreviations1.4 Thuật ngữ & viết tắt
Terms follow the CPG glossary: keep industry English terms; short meaning text (ND-03).Thuật ngữ theo Từ điển thuật ngữ CPG: giữ thuật ngữ ngành (tiếng Anh), giải thích ngắn bằng tiếng Việt (ND-03).
VietnameseTiếng Việt
English / UITiếng Anh / trên giao diện
MeaningNghĩa
StatusTrạng thái
hóa đơn
Invoice
Merchant crypto payment request document (code INV-…), linked to order/customer/line items.Chứng từ yêu cầu thanh toán crypto của merchant (mã INV-…), gắn order/khách/dòng hàng.
referencetham khảo
trạng thái hóa đơn
PENDING / PAID / OVERDUE / CANCELLED
Pending: awaiting payment. Paid: fully paid. Overdue: past due unpaid. Cancelled: cancelled. System-driven only.Pending: chờ thanh toán. Paid: đã thanh toán đủ. Overdue: quá hạn chưa thanh toán. Cancelled: đã hủy. Chỉ hệ thống đổi trạng thái.
referencetham khảo
tài sản
Asset
Token received / held: USDT, USDC (stablecoin).Đồng tiền nhận / giữ: USDT, USDC (stablecoin).
referencetham khảo
mã đơn
Order ID
Merchant order reference bound to the invoice.Tham chiếu đơn hàng phía merchant gắn với hóa đơn.
referencetham khảo
hạn thanh toán
Due Date / Expiry Time
Invoice payment deadline; past due may become Overdue.Thời điểm hết hạn thanh toán hóa đơn; quá hạn có thể chuyển Overdue.
referencetham khảo
nguồn tạo
source_type
Invoice origin: MANUAL (portal), QR_CODE, CHECKOUT_LINK, API_PAYMENT (SDK/API).Nguồn sinh hóa đơn: MANUAL (cổng), QR_CODE, CHECKOUT_LINK, API_PAYMENT (SDK/API).
referencetham khảo
(keep English)
Hot Wallet (HW)
CPG-managed transit wallet per merchant and network. Do not use the Vietnamese calque for 'hot wallet'.Ví trung chuyển do CPG quản lý, theo từng merchant và network. Không dịch 'ví nóng'.
referencetham khảo
(keep English)
Virtual Account (VA)
Per-customer deposit address bound to a Hot Wallet.Địa chỉ nhận tiền riêng của từng khách hàng, gắn với một Hot Wallet.
referencetham khảo
(keep English)
network
Blockchain the wallet runs on: TRON, BSC, Ethereum, Polygon (Mainnet / Testnet).Blockchain mà ví hoạt động: TRON, BSC, Ethereum, Polygon (Mainnet / Testnet).
referencetham khảo
xuất dữ liệu
Export
Download invoice list (CSV / Excel / PDF) under current filters.Tải danh sách hóa đơn (CSV / Excel / PDF) theo bộ lọc hiện tại.
Required — fail = not accepted (RFC 2119: SHALL)Bắt buộc — không đạt thì không nghiệm thu (RFC 2119: SHALL)
MUST NOT
Forbidden (SHALL NOT)Cấm (SHALL NOT)
SHOULD
Recommended — alternatives need a reason (SHOULD)Khuyến nghị — làm khác phải nêu lý do (SHOULD)
MAY
Optional (MAY)Tuỳ chọn (MAY)
Status labelNhãn trạng thái
MeaningNghĩa
Confirmed (source)Đã xác nhận (source)
Already in URD / RTM / FSD v2.2 or confirmed by FlyPay (cite source, date).Đã có trong URD / RTM / FSD v2.2 hoặc FlyPay đã xác nhận (ghi nguồn, ngày).
DHC proposalDHC đề xuất
DHC proposal with rationale; needs FlyPay agreement.DHC đề xuất kèm lý do; cần FlyPay đồng ý.
Awaiting decision QnChờ quyết định Qn
FlyPay must answer Qn in §12; each has a DHC recommendation.Cần FlyPay trả lời câu hỏi Qn ở Mục 12; mỗi câu có khuyến nghị DHC.
DHC added (v0.2)DHC bổ sung (bản 0.2)
DHC added in the version in parentheses (usually missing shot / description).DHC bổ sung ở phiên bản ghi trong ngoặc (thường là ảnh / mô tả còn thiếu).
referencetham khảo
Explanatory info, not a requirement.Thông tin giải thích, không phải yêu cầu.
Combined cellÔ ghép
Example: Confirmed (RL-05-01); length: Awaiting Q6. 'Confirmed' applies only to the cited part.Ví dụ: Đã xác nhận (RL-05-01); độ dài: Chờ quyết định Q6.
SymbolKý hiệu
MeaningNghĩa
S1, S2, S2-N…
Screen ids; suffix = variantMã màn hình; hậu tố là biến thể
B1…Bn
User-flow step ids (§5)Mã bước trong luồng người dùng (Mục 5)
123…
Callout numbers on shots; explained in the table below the image.Số chú thích trên ảnh; giải thích ở bảng ngay dưới ảnh.
BR, RL, TC, E-*, AC, Q, L
Requirement, rule, test case, error, acceptance, question, referenceYêu cầu, quy tắc, kịch bản kiểm thử, thông báo lỗi, tiêu chí nghiệm thu, câu hỏi, tài liệu tham chiếu
(new id)(mã mới)
DHC-proposed id; FlyPay assigns official RTM ids (ND-08)Mã DHC đề xuất; FlyPay cấp mã chính thức khi cập nhật RTM (ND-08)
dd/mm/yyyy
Date formatĐịnh dạng ngày
2. Overview2. Tổng quan
List only current merchant invoices; sort by Date DESC (Section 3).List chỉ invoice merchant hiện tại; sort Date DESC (Mục 3).
Filter AND including HW/network/VA/IDs/email/product/amount/date/status (Section 6.2).Filter AND gồm HW/network/VA/IDs/email/product/amount/date/status (Mục 6.2).
DHC added (v0.2)DHC bổ sung (bản 0.2) — no screenshot for this screen yet.chưa có ảnh cho màn hình này.
Figure 1Hình 1— Overview: Invoices Page: header Export/Create, table, advanced filters (F1+F2).— Toàn cảnh: Trang Invoices: header Export/Create, bảng, bộ lọc nâng cao (F1+F2).
3. Business rules3. Nghiệp vụ
3.1 Section target list3.1 Mục đích danh sách
Merchant views their invoice, advanced filtering, opens details, exports file, and creates a new invoice. Only current merchant data (Merchant xem hóa đơn của mình, lọc nâng cao, mở chi tiết, xuất file và tạo hóa đơn mới. Chỉ dữ liệu merchant hiện tại (INV-LIST-01).
3.2 Business Requirements3.2 Yêu cầu nghiệp vụ
BR IDMã BR
Original wording (URD / RTM / FSD)Nguyên văn (URD / RTM / FSD)
Figure 4 — List + Filter Invoice — Column = actor lane; blue ellipse = Start; red ellipse = End; diamond = condition (Hình 4 — List + Filter Invoice — Cột = làn actor; elip xanh = Bắt đầu; elip đỏ = Kết thúc; hình thoi = điều kiện (Achieve/HaveĐạt/Có↓ next step,↓ bước sau,Not pass/NoKhông đạt/Không→ go back to the step indicated by the red arrow); dotted line = option / step outside the function. Text in the block is not cut off.→ quay về bước ghi trên mũi tên đỏ); nét đứt = phương án / bước ngoài tính năng. Chữ trong block không bị cắt.
Each step: screenshot first, then a table explaining each orange callout number (HA-02, HA-03). Keep UI copy in English as on DEV. DEV shots are wireframes; missing variants are marked DHC added (v0.2)DHC added (version 0.2) in the Figure column.Mỗi bước: ảnh màn hình trước, bảng ngay dưới giải thích từng số tròn cam (HA-02, HA-03). Chữ trên giao diện để tiếng Anh như DEV hiện tại. Ảnh DEV là wireframe; biến thể chưa có ảnh ghi DHC added (v0.2)DHC bổ sung (bản 0.2) ở cột Hình.
Each rule uses keywords from §1.6 and a verification method: Test = test against AC in §11.1; Inspection = verify directly on the UI.Mỗi quy tắc dùng từ khoá theo Mục 1.6 và có cách kiểm chứng: Test = kiểm thử theo AC ở Mục 11.1; Inspection = kiểm tra trực tiếp trên giao diện.
12. Questions for FlyPay12. Câu hỏi cần FlyPay quyết định
Each question includes a DHC recommendation (ND-07). FlyPay only needs to accept the recommendation or choose another option.Mỗi câu kèm khuyến nghị DHC (ND-07). FlyPay chỉ cần chọn: đồng ý khuyến nghị, hoặc chọn phương án khác.
IDMã
QuestionCâu hỏi
SectionMục
DHC proposalĐề xuất DHC
Q1
Default page size?Page size mặc định?
S1
20; maximum 100 (like Account).20; tối đa 100 (giống Account).
Q2
Clicking Order ID opens the order module or just the invoice detail?Order ID click mở order module hay chỉ detail invoice?
13.2 Items moved to FSD (Round B)13.2 Phần chuyển sang FSD (vòng B)
Round A MUST NOT contain APIs, data tables, or system error codes (ND-02). The following belong in Round B FSD:Vòng A KHÔNG ĐƯỢC chứa API, bảng dữ liệu, mã lỗi hệ thống (ND-02). Các nội dung sau thuộc FSD vòng B:
Query perf, index DB
GET /search selectable cho QR
14. Feedback & approval14. Phản hồi & phê duyệt
14.1 How to respond14.1 Cách phản hồi
FlyPay records each Q1–Q3 decision in the 'FlyPay decision' column of §12.FlyPay ghi quyết định từng câu Q1–Q3 vào cột 'FlyPay quyết định' ở Mục 12.
Other feedback: Word comments anchored to the exact paragraph / figure.Góp ý khác: ghi comment trong file Word, mỗi comment gắn đúng đoạn / ảnh.
Reply on the same email thread used to send the document.Gửi lại theo thread email đã gửi tài liệu.
DHC updates the next revision, updates Version history, and marks changed items.DHC cập nhật bản kế tiếp, ghi Lịch sử phiên bản và đánh dấu mục đã sửa.
14.2 Approval14.2 Phê duyệt
RoleVai trò
NameHọ tên
DateNgày
DecisionKết luận
DHC — BA authorDHC — BA soạn
—
FlyPay — BusinessFlyPay — Nghiệp vụ
Approve / Approve with conditions / RejectDuyệt / Duyệt có điều kiện / Không duyệt
FlyPay — PM
Approve / Approve with conditions / RejectDuyệt / Duyệt có điều kiện / Không duyệt
Related code & document linksMã liên quan & liên kết tài liệu
Missing code log / out of scopeNhật ký mã thiếu / ngoài scope
The codes areCác mã đượcyellow highlighthighlight vàngbecause there is no (or external) target document. Changelog version 0.3.vì chưa có (hoặc ngoài) tài liệu đích. Changelog bản 0.3.
CodeMã
CategoryLoại
MarkGhi chú
UC-INV-LIST
uc_anchor_missing
Add anchor / stub on RTM or TC; highlight in yellow until FlyPay issues the official code.Bổ sung anchor / stub trên RTM hoặc TC; highlight vàng đến khi FlyPay cấp mã chính thức.
UC-INV-CREATE
uc_anchor_missing
Add anchor / stub on RTM or TC; highlight in yellow until FlyPay issues the official code.Bổ sung anchor / stub trên RTM hoặc TC; highlight vàng đến khi FlyPay cấp mã chính thức.
Generated for CPG documentation suite · CPG-SPEC-INV-LIST · v0.2