Skip to content

Work in Progress

Feature details in this document may change during investigation, discussion, design, and implementation phases.

Tax & Invoice / Thuế & Hóa đơn

Tax compliance and electronic invoicing.

Overview

AttributeValue
Module IDCORE-11
PhasePhase 1
PriorityCRITICAL
DependenciesOrders, Transaction

The Tax & Invoice module ensures your business complies with Vietnam's tax regulations, specifically Decree 70/2025/NĐ-CP (effective 01/01/2026). It handles electronic invoicing, tax calculations, real-time connection with Tax Authorities (CQT), and tax declaration support.

┌─────────────────────────────────────────────────────────────────┐
│                   TAX COMPLIANCE FLOW                           │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│    ┌─────────┐    ┌─────────────┐    ┌─────────────┐           │
│    │  ORDER  │───▶│  E-INVOICE  │───▶│     CQT     │           │
│    │Complete │    │  Generation │    │  (Real-time)│           │
│    └─────────┘    └──────┬──────┘    └─────────────┘           │
│                          │                                      │
│                          ▼                                      │
│    ┌────────────────────────────────────────────────┐          │
│    │              CA PROVIDER                        │          │
│    │  (Certificate Authority for E-Invoice)          │          │
│    │                                                 │          │
│    │  ├── Generate invoice number                    │          │
│    │  ├── Digital signature                          │          │
│    │  ├── Submit to Tax Authority                    │          │
│    │  └── Return signed invoice                      │          │
│    └────────────────────────────────────────────────┘          │
│                          │                                      │
│                          ▼                                      │
│    ┌─────────────┐    ┌─────────────┐                          │
│    │   RECEIPT   │    │ E-INVOICE   │                          │
│    │   (Print)   │    │ (PDF/Email) │                          │
│    └─────────────┘    └─────────────┘                          │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Regulatory Context

Decree 70/2025/NĐ-CP

┌─────────────────────────────────────────────────────────────────┐
│                    NĐ 70/2025/NĐ-CP                             │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Effective Date: 01/01/2026                                     │
│                                                                 │
│  Requirement: POS systems must connect directly to              │
│               Tax Authority (CQT) in real-time                  │
│                                                                 │
│  Revenue Tiers:                                                 │
│  ┌───────────────┬─────────────────┬────────────────────────┐  │
│  │   < 200M      │  200M - 3B      │      > 3B              │  │
│  │  (Tax exempt) │ (Direct tax)    │   (Full VAT)           │  │
│  ├───────────────┼─────────────────┼────────────────────────┤  │
│  │  Encouraged   │   MANDATORY     │    MANDATORY           │  │
│  │  to use       │   CQT connect   │    CQT connect         │  │
│  └───────────────┴─────────────────┴────────────────────────┘  │
│                                                                 │
│  Industries Affected:                                           │
│  Retail, F&B, Services, Hotels, Pharmacy                        │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

User Stories

Phase 1 - Core Tax Compliance

IDAs a...I want to...So that...
US-01Business ownerConfigure tax settingsMy business is registered
US-02Business ownerConnect to Tax AuthorityI comply with regulations
US-03Business ownerIssue e-invoicesCustomers get valid invoices
US-04CashierInclude customer info on orderE-invoice has correct details
US-05Business ownerSet VAT rates per productTax is calculated correctly
US-06Business ownerView tax summaryI see tax collected
US-07Business ownerExport tax reportsI can file declarations
US-08CustomerReceive e-invoice by emailI have proof for expenses

Phase 2 - Advanced Tax Features

IDAs a...I want to...So that...
US-09Business ownerIssue adjustment invoicesErrors can be corrected
US-10Business ownerIssue replacement invoicesCancelled invoices are replaced
US-11AccountantPrepare tax declarationFiling is easier
US-12Business ownerTrack invoice statusI know if invoices are signed

Feature Matrix

FeatureP1P2P3Description
Tax ID (MST) configurationBusiness tax registration
VAT rate management0%, 5%, 8%, 10% rates
E-invoice generationElectronic invoice creation
CA Provider integrationDigital signature & submission
CQT real-time connectionTax Authority sync
Receipt printingCustomer receipts
Email invoice deliverySend PDF to customer
Tax summary reportsTax collected overview
Adjustment invoicesCorrect errors
Replacement invoicesReplace cancelled
Declaration supportForm preparation
Multi-tax scenariosComplex tax situations

Tax Rates

┌─────────────────────────────────────────────────────────────────┐
│                    VIETNAM VAT RATES                            │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  RATE        CATEGORY              EXAMPLES                     │
│  ─────────────────────────────────────────────────────────────  │
│  │                                                              │
│  ├── 10%     Standard rate         Most goods and services     │
│  │                                 Retail, F&B, Services        │
│  │                                                              │
│  ├── 8%      Reduced rate          Certain goods (temporary)   │
│  │           (2024-2025)           Per government policy        │
│  │                                                              │
│  ├── 5%      Essential goods       Basic necessities            │
│  │                                 Education, healthcare        │
│  │                                                              │
│  ├── 0%      Zero-rated            Exported goods/services      │
│  │                                 International transport      │
│  │                                                              │
│  └── Exempt  Non-taxable           Insurance, finance           │
│                                    Education (non-profit)       │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Invoice Types

TypeVietnameseUse CaseRequirements
E-InvoiceHóa đơn điện tửAll salesMST, Digital signature
ReceiptPhiếu thuQuick salesBasic info
AdjustmentHóa đơn điều chỉnhCorrect errorsReference original
ReplacementHóa đơn thay thếReplace cancelledReference original

Key Flows

E-Invoice Generation Flow

Tax Calculation Flow

Customer Invoice Request Flow

CQT Real-time Sync Flow


Business Rules

Rule IDRuleDescription
BR-01MST requiredBusiness must have valid MST
BR-02MST format10 digits (individual) or 13 digits (company)
BR-03Invoice sequentialInvoice numbers are sequential
BR-04Invoice immutableSigned invoices cannot be modified
BR-05Adjustment allowedErrors corrected via adjustment invoice
BR-06VAT calculationVAT = Price × Rate / (100 + Rate)
BR-07Real-time syncTransactions sync to CQT within 5 seconds
BR-0810-year retentionAll invoices stored for 10 years
BR-09Digital signatureAll e-invoices must be signed
BR-10Customer optionalCustomer info optional for B2C < threshold
BR-11Email deliveryE-invoice sent if email provided
BR-12Void windowInvoices can be voided within 24 hours

Acceptance Criteria

AC-01: E-Invoice Generation

GIVEN   a completed order with customer info
WHEN    order is finalized
THEN    - E-invoice is generated automatically
        - Invoice has unique number
        - Invoice is digitally signed
        - Invoice is submitted to CQT
        - Customer receives invoice (if email provided)

AC-02: Tax Calculation

GIVEN   products with different VAT rates
WHEN    added to an order
THEN    - Each product's tax calculated correctly
        - Tax breakdown shown
        - Total tax matches sum of line items
        - Rounding follows regulations

AC-03: MST Validation

GIVEN   a customer providing MST
WHEN    cashier enters the MST
THEN    - Format is validated (10 or 13 digits)
        - Invalid format shows error
        - Valid MST is accepted
        - MST appears on invoice

AC-04: CQT Sync

GIVEN   a transaction completed
WHEN    e-invoice is generated
THEN    - Data sent to CQT in real-time
        - Sync status is tracked
        - Failures are retried
        - Admin notified of sync issues

AC-05: Tax Reports

GIVEN   a date range selected
WHEN    user generates tax report
THEN    - All invoices in range included
        - Tax by rate shown
        - Total tax collected calculated
        - Report matches declaration format

Dependencies

Tax & Invoice
├── Requires: Orders, Transaction
├── Required by: Reports
└── Integrates: CA Provider, Tax Authority (CQT)
ModuleRelationship
OrdersOrders generate invoices
TransactionTransactions linked to invoices
OrganizationTax settings from org
ReportsTax reports

Integration Points

CA Provider Integration

┌─────────────────────────────────────────────────────────────────┐
│                 CA PROVIDER INTEGRATION                         │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Supported Providers:                                           │
│  ├── VNPT-CA                                                    │
│  ├── Viettel-CA                                                 │
│  ├── FPT-CA                                                     │
│  └── BKAV-CA                                                    │
│                                                                 │
│  Services:                                                      │
│  ├── Invoice number generation                                  │
│  ├── Digital signature                                          │
│  ├── CQT submission                                             │
│  ├── Invoice lookup                                             │
│  └── Adjustment/replacement processing                          │
│                                                                 │
│  Data Flow:                                                     │
│  PMBH → CA Provider → CQT (Tax Authority)                    │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Tax Declaration Support

┌─────────────────────────────────────────────────────────────────┐
│                 DECLARATION SCHEDULE                            │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Revenue Tier          Declaration Period    Forms              │
│  ─────────────────────────────────────────────────────────────  │
│  │                                                              │
│  ├── < 200M/year       2x per year          Simplified          │
│  │                                                              │
│  ├── 200M - 50B/year   Quarterly            01/GTGT             │
│  │                                                              │
│  └── > 50B/year        Monthly              01/GTGT + appendix  │
│                                                                 │
│  System Provides:                                               │
│  ├── Tax summary by period                                      │
│  ├── Invoice register                                           │
│  ├── Form data export                                           │
│  └── Reconciliation reports                                     │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Screenshots

Screenshots

Screenshots will be added after UI implementation.


Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.