Enterprise Architecture

Comprehensive Retail & Distribution Capabilities

Explore the complete suite of nine production-grade modules engineered for high-throughput retail counters, multi-branch warehouses, and B2B dealer distribution.

Module 01

Point of Sale (POS)

Keyboard-First, Blazing-Fast Checkout with Zero-Downtime Offline Queue

Designed for high-traffic retail counters. Complete sales in seconds with instant barcode lookup, split payments, multi-held carts, and full offline resilience.

High-Speed Counter POS

Core Module

Cashiers can scan barcodes, search products by SKU or name, adjust quantities with number keys, apply item or cart discounts, and finalize invoices without touching the mouse.

Multiple Held Carts

Park unfinished customer orders when a customer needs to pick more items, and resume instantly.

Split & Partial Payments

Accept combinations of Cash, Card, bKash, Nagad, Rocket, and record remaining balance as Customer Due.

Instant Thermal Receipts

Generate 80mm clean thermal receipts with shop branding, VAT breakdown, and custom receipt notes.

SMS & WhatsApp Receipt Links

Send digital receipt vouchers directly to customer mobile numbers via integrated SMS gateway.

Technical Architecture & Safeguards
  • Idempotency keys prevent double billing during network drops
  • Sub-150ms product search indexing across thousands of SKUs
Key Functional Highlights
Barcode scanner (EAN-13, custom SKU, numeric search)
Line-level & overall cart discounts (flat ৳ or percentage)
Tax & VAT calculation with configurable receipt breakdown
Multiple held carts to serve parallel customers without losing cart state
Ready for immediate production useTry now

Offline Sale Resilience

PWA Tech

Built on Progressive Web App (PWA) architecture and IndexedDB. Sales are securely stored on the local device and automatically synced to the cloud server with idempotency verification as soon as connectivity resumes.

Register Session Management

Open daily register with opening float amount; close with cash drawer reconciliation and over/short variance calculation.

Sales Returns & Restocking

Process line-item or full invoice returns against original receipt with automatic inventory restock and refund options.

Key Functional Highlights
Seamless offline checkout without UI disruption
IndexedDB encrypted local sale buffer
Automatic background sync when connection restores
Zero duplicate sales guaranteed by UUID idempotency keys
Ready for immediate production useTry now
Module 02

Inventory & Stock Ledger

Append-Only Movement Ledger, Variants & Multi-Location Stock Control

Maintain 100% accurate stock records across all branches, warehouses, and product variations with verifiable audit trails.

Append-Only Stock Movement Ledger

Immutable Audit

Unlike systems that overwrite inventory counts, Dokan maintains an immutable ledger. Current stock level is mathematically verifiable at any point in history, eliminating unexplainable stock discrepancies.

Variant Matrices (Size / Color / Spec)

Create parent products with configurable option sets producing discrete SKUs and barcodes.

Multi-Unit Conversion

Purchase in bulk (e.g. cartons, sacks, boxes) and sell in units (e.g. pcs, kg, litre) with automated conversions.

Barcode Label Sheet Printing

Generate print-ready standard barcode sticker sheets with shop price, product name, and EAN-13 barcodes.

CSV Bulk Import & Export

Upload thousands of catalog items in seconds with automated validation reports.

Technical Architecture & Safeguards
  • PostgreSQL row-level locks serialize stock deductions safely during concurrent checkouts
  • CHECK (qty >= 0) database constraints guarantee zero overselling
Key Functional Highlights
Every sale, purchase, transfer, and return logged with timestamp and actor
Stock adjustments with mandatory reason codes (damage, theft, count recount)
Low-stock alert thresholds with automated in-app notifications
Batch & Expiry date management for grocery, FMCG, and pharmaceuticals
Ready for immediate production useTry now

Multi-Branch & Warehouse Transfers

Transfer goods between branches with an in-transit workflow. Stock leaves the source branch immediately and is verified upon arrival at the destination store before clearing into available inventory.

Branch Requisitions

Branch managers can request stock replenishment from central warehouse.

Stock Movement Verification

Recipient branch verifies received counts against dispatch manifest before accepting.

Key Functional Highlights
Branch-wise inventory visibility and valuation
Inter-store transfer requisitions and approvals
In-transit inventory accounting
Location-specific minimum stock threshold alerts
Ready for immediate production useTry now
Module 03

Sales, Invoicing & Due Management

Digitize Baki Khata (বাকি খাতা) with Aging Analysis & SMS Reminders

Manage customer credit safely. Track who owes what, see aging buckets, collect dues in installments, and send instant payment reminders.

Customer Due & Credit Tracking

Essential for Retail

Eliminate lost paper credit books. Dokan maintains a full customer ledger detailing every credit invoice, partial cash collection, returned items, and remaining balance.

Quotation to Invoice Conversion

Draft formal quotations for corporate/wholesale buyers and convert to invoice with 1 click.

Money Receipt (Rosid) Vouchers

Print professional Bangla/English money receipts for collections, advance bookings, or institutional donations.

Customer Purchase History

Look up repeat buyers by phone number at POS to see lifetime value, frequent items, and credit status.

Yearly Custom Invoice Prefixes

Set tenant-specific invoice numbering patterns (e.g. INV-2026-0001) with optional yearly resets.

Key Functional Highlights
Credit limit enforcement per customer profile
Aging buckets breakdown (0–30, 31–60, 61–90, 90+ days)
Installment payment collection with instant money receipts (Rosid)
Automated SMS due reminder notifications to customers
Ready for immediate production useTry now
Module 04

Purchasing & Supplier Accounting

Purchase Orders, Landed Costs & Weighted-Average COGS

Track supplier payables, receive goods with partial shipment reconciliation, and compute true unit cost with shipping/duty allocation.

Weighted-Average Cost (WAC) & Landed Cost

Financial Precision

When purchasing inventory, shipping fees, customs duties, and unloading charges are distributed across line items to establish true landed unit cost. Dokan re-averages cost on every Goods Received Note (GRN).

Supplier Due Management

Keep track of pending supplier bills and schedule upcoming payouts without cash flow surprises.

Purchase Returns

Return damaged goods to vendors with debit note generation and automatic balance adjustments.

Key Functional Highlights
Purchase Orders (PO) → Goods Received Notes (GRN) → Purchase Invoices
Support for partial shipments across multiple supplier deliveries
Landed cost distribution proportionally across purchase line values
Supplier ledger tracking payables, advances, and payment vouchers
Ready for immediate production useTry now
Module 05

B2B Dealer & Distribution Network

Multi-Tier B2B Channels, Territories, Custom Price Tiers & Commission Tracking

Scale from a single shop to a regional distributor. Manage authorized dealers, custom price sheets, order approvals, warranty claims, and territory quotas.

Comprehensive Dealer Management

Enterprise Feature

Authorized dealers get dedicated portal access with territory scoping, custom wholesale price tiers, B2B purchase orders, shipment tracking, warranty claim handling, and monthly commission calculation.

Dealer Scoped RBAC

Dealer administrators, sales agents, and accounts staff operate within their assigned dealer organization.

Dealer Invoicing & Credit

Track dealer credit limits, invoice settlements, and bank/bKash payment vouchers.

Territory Performance Ranking

Analyze top-performing dealer partners, sales volume by division, and commission payouts.

Dealer Document & Agreement Vault

Store trade licenses, dealer contracts, and security cheques securely in the cloud.

Key Functional Highlights
Territory management and geo-scoped dealer assignments
Multi-tier dealer price sheets with bulk quantity discounts
B2B order state transitions: Draft → Submitted → Approved → Dispatched → Delivered
Dealer inventory tracking & warranty claim processing
Automated commission rule engine and dealer ranking analytics
Ready for immediate production useTry now
Module 06

Cash Flow, Accounts & Expenses

Track Cash Drawers, Bank Accounts, Mobile Banking & Daily Overhead

Gain total control over cash flow. Track money across physical cash registers, commercial bank accounts, and mobile wallets like bKash and Nagad.

Multi-Account Cash Management

Maintain clear visibility over where your money lives. Transfer funds between registers and bank accounts with full transaction logs and expense categorization.

Recurring Expense Templates

Automate monthly shop rent, internet bills, and staff wages.

Daily Cash Flow Reconciliation

Verify physical cash against system totals at the end of every business shift.

Key Functional Highlights
Cash Drawer, Bank Accounts (Brac, City, Dutch-Bangla, etc.), and Mobile Wallets (bKash/Nagad)
Inter-account fund transfers with verification logs
Categorized expense tracking (rent, utilities, salaries, maintenance)
Cloud receipt photo attachments stored securely via S3/R2
Ready for immediate production useTry now
Module 07

Live Analytics & Real-Time Reports

Real-Time Gross & Net Profit, Stock Valuation, Tax/VAT & SSE Live Feeds

Make data-backed decisions with live dashboards powered by Server-Sent Events (SSE). Export any report to CSV/Excel in one click.

Live Dashboard & Profit Intelligence

Live SSE Updates

Know your exact profit every minute. Historical gross profit is locked per invoice at the weighted unit cost snapshot, ensuring reports remain 100% accurate even as wholesale prices fluctuate.

Strict Role-Based Profit Masking

Cashiers and sales clerks are restricted from seeing product purchase costs and profit margins at the API level.

One-Click CSV / Spreadsheet Exports

Download any summary or line-level ledger into CSV format compatible with Microsoft Excel and Google Sheets.

Key Functional Highlights
Today's Sales, Net Profit, Average Ticket Size, and Due Collections
Stock Valuation Reports (at purchase cost and retail value)
Product-wise profit margin ranking to identify top earners vs dead stock
Tax & VAT reports ready for filing and audit compliance
Ready for immediate production useTry now
Module 08

Security, Multi-Tenancy & RBAC

3-Layer PostgreSQL Row-Level Security, Subdomain Isolation & Immutable Logs

Enterprise security architecture protecting every merchant. Your shop data is completely isolated and never exposed to other tenants.

3-Layer Tenant Isolation

Bank-Grade Security

Every database query runs under PostgreSQL Row-Level Security (`SET LOCAL app.current_tenant`), verified by backend middleware and fail-closed repository drivers. Cross-tenant data leakage is structurally impossible.

Full Data Ownership & Export

Download your entire shop data as a complete ZIP archive of CSVs at any time.

Granular Staff Permissions

Control exactly who can view purchase costs, open registers, apply discounts, or void invoices.

Key Functional Highlights
PostgreSQL RLS policies enforced on every tenant table
Subdomain-based routing ({shop-slug}.dokan.app)
Role-Based Access Control (Owner, Manager, Cashier, Stock Keeper, Accountant)
Append-only audit logs capturing every user mutation with before/after diffs
Ready for immediate production useTry now
Module 09

Localization & Multi-Language

Native English, Bengali (বাংলা) & Arabic (العربية RTL) with Local Payments

Built from day one for local business realities. Switch between English and Bengali with full thermal receipt formatting in native script.

Trilingual Interface (EN, BN, AR)

Empower your cashiers and store staff with a UI in their preferred language. Dokan supports English, Bengali (বাংলা), and Arabic (العربية with full RTL layout support).

Bangla Thermal Receipts

Print clear Bangla product titles and amount descriptions on standard 58mm / 80mm thermal printers.

Local Bulk SMS Gateway

Pre-integrated adapter for Bangladeshi SMS gateways to dispatch notifications reliably.

Key Functional Highlights
English, Bengali (বাংলা), and Arabic (العربية RTL)
Native amount-in-words converter for receipts (টাকা ও পয়সা কথায়)
Local payment options: Cash, Card, bKash, Nagad, Rocket
Configurable timezones (Asia/Dhaka default) and custom fiscal years
Ready for immediate production useTry now
Architectural Comparison

Why Dokan Outperforms Legacy Retail Systems

See how Dokan's modern tech stack compares to legacy desktop POS and generic cloud software.

Capability / ArchitectureDokan Cloud OSLegacy Desktop POSGeneric Web SaaS
Offline Sale Queue & Auto-Sync100% (IndexedDB + UUID idempotency)Local only (No cloud backup)Freezes upon connection drop
Multi-Tenant Data Isolation3-Layer PostgreSQL Row-Level SecuritySingle PC (High risk of hard drive loss)Application-level WHERE clauses only
Cost of Goods Sold (COGS)Weighted-Average Cost + Landed Freight AllocationStatic purchase price onlyBasic margin estimates
B2B Dealer Distribution NetworkBuilt-in (Territories, tiers, commissions)Not supportedRequires expensive 3rd-party plugins
Bangla Script & Local MFSNative Bangla digits, thermal receipts & bKash/NagadClunky font encoding issuesEnglish only, Stripe/PayPal focus

Ready to experience these capabilities in your shop?

Get started with our 14-day full feature trial or start free with up to 200 products.