Ideal POS & ERP Solution
An enterprise-grade, offline-first Point of Sale & ERP mobile platform designed for retail, restaurants, and quick service chains. Engineered with Clean Architecture, bank-grade SQLCipher AES-256 encryption, contactless SoftPOS (NFC Tap-on-Phone), POS hardware thermal printing, and an intelligent AI HR Assistant.
Sustained UI Rate
Dart Isolates for PDF & PrintingOffline-First
Zero Transaction LossMath Errors
Arbitrary Precision DecimalBank-Grade Crypto
SQLCipher & KeystoreNFC Tap-to-Pay
NearPay SoftPOS SDKPhase 1 & 2 Ready
Base64 TLV QR CodesRedefining Edge Retail & QSR Operations
The Operational Challenge
Traditional retail and food & beverage enterprises suffer from severe point-of-sale friction during peak hours:
- Network Fragility: Slow or dropped internet connections halt checkout lines and corrupt cart records.
- Hardware Clutter: Separate standalone card payment terminals, external receipt printers, and desktop PCs cause clutter and maintenance overhead.
- Tax Compliance Hurdles: Stricter regulatory mandates (such as Saudi ZATCA e-invoicing) require cryptographic QR generation with zero arithmetic tolerance.
- Fragmented Staff Management: Cashiers lack visibility into their shifts, leaves, and commissions, burdening store managers with administrative queries.
The Ideal POS Solution
A unified, high-performance Flutter mobile application deployed directly onto handheld smart POS devices and tablets:
- Autonomous Offline-First: Local SQLite with Drift ORM stores every catalog item and cart mutation locally, syncing transparently with Odoo ERP when online.
- All-In-One SoftPOS Terminal: NearPay SDK integration allows customers to tap contactless bank cards (Mada, Visa, Mastercard, Apple Pay) directly on the device.
- ZATCA Certified Invoicing: Native generation of compliant PDF tax invoices and ESC/POS thermal receipts with Base64 TLV QR codes.
- AI HR Intelligence: An embedded conversational AI assistant allows cashiers to check leave balances and submit advance requests conversationally.
Clean Architecture & Domain-Driven Design (DDD)
Built from the ground up on modular Clean Architecture principles, ensuring complete decoupling between enterprise business rules, external ERP communication, and UI rendering.
Domain Layer
The heart of the application containing pure business logic:
- Entities & Value Objects
- UseCases (Interactors)
- Repository Interfaces
Data & Infrastructure
Implements repository abstractions and coordinates data persistence:
- Drift Type-Safe SQLite ORM
- Custom In-House Odoo RPC
- DTOs & Bi-Directional Mappers
package/odoo supporting JSON-RPC and XML-RPC.
Presentation Layer
Manages deterministic UI states and user interactions:
- Flutter BLoC & Cubit
- Unidirectional Data Flow
- Responsive Adaptive Layouts
System Architecture & Data Pipeline
Applied Engineering Design Patterns
Dependency Injection & IoC (GetIt)
Each module defines a dedicated FeatureInjector that registers datasources, repositories, and usecases. This enforces loose coupling, accelerates compilation, and enables mock injection for unit tests.
Repository Pattern with Dynamic Failover
Abstracts storage mechanics from the domain layer. The repository transparently decides whether to serve product queries directly from the local SQLite cache or pull live stock quanta from Odoo ERP.
Idempotent Transactions via UUID v4
Every checkout, split payment, and invoice is tagged with a globally unique UUID v4. When network connections drop and retry queues fire, Odoo recognizes duplicate transmissions and prevents double-billing.
High-Precision Financial Math (Decimal)
Floating-point arithmetic (IEEE 754) is notoriously error-prone in finance. All monetary amounts, 15% ZATCA VAT calculations, and line discounts use package:decimal, guaranteeing 0.00% rounding error.
Multi-Threading via Dart Isolates (Background Rendering)
Heavy compute workloads—such as generating multi-page PDF tax invoices, rendering Base64 TLV QR matrices, and rasterizing bitmaps for 80mm ESC/POS thermal printers—are offloaded to separate background Dart Isolates. The main UI thread never drops below 60 FPS, ensuring zero cashier stuttering.
Five Core Engineering Pillars
Architectural solutions built to withstand high-traffic enterprise demands, intermittent connections, and strict bank security standards.
Intelligent Offline-First & Autonomous Odoo Sync
Cashiers cannot wait for a server handshake during rush hours. Ideal POS runs a comprehensive local replica of products, price lists, customer accounts, and stock quotas using Drift ORM (type-safe SQLite).
connectivity_plus. Automatically queues offline mutations and flushes when bandwidth restores.
Bank-Grade Security & On-Device Encryption
Since transactional and customer data is stored locally, POS terminals are hardened with defense-in-depth enterprise security:
-
Full-Database Encryption: All SQLite files on flash memory are encrypted at rest using
SQLCipher AES-256(sqlcipher_flutter_libs). -
Hardware Keystore Integration: Encryption keys are never written to disk in plain text; they are stored in the hardware security module via
FlutterSecureStorage(Android Keystore / TEE). - SSL Certificate Pinning (TOFU): Protects RPC payloads from Man-In-The-Middle (MITM) inspection on compromised local Wi-Fi networks.
-
Tamper & Root Detection: Checks for jailbreaks, rooted binaries, and debugger attachment using
safe_device. -
Rapid Teller Lock Screen: PIN-authenticated cashier handover (
flutter_screen_lock) with supervisor authorization for refunds and discounts.
SoftPOS Contactless Card Payments (NFC Tap-on-Phone)
Eliminates costly external credit card terminals by embedding direct bank-certified SoftPOS payment processing directly inside the Flutter app via the NearPay SDK.
Smart POS Thermal Printer Hardware Integration
Built-in hardware abstraction drivers interface seamlessly with smart POS terminals and external thermal receipt printers across restaurant kitchens and retail checkouts:
sunmi_printer_plus), Newland devices, and Ethernet/Wi-Fi ESC/POS printers.
Integrated HR Management & Conversational AI Agent
Bridges employee operations with cashiering. Instead of switching apps, employees manage their shifts, view performance metrics, and consult an intelligent conversational HR bot right on the POS terminal.
fl_chart.
Operational Modules Breakdown
A granular look at the end-to-end operational capabilities delivered inside Ideal POS & ERP.
Sales & Cart Engine
Sub-second cashier checkout interface. Features fast camera & laser barcode scanning, line-item discounts, invoice-level coupons, cart hold/suspend, and custom product price overrides with manager approval.
POS Sessions & Cash Float
Full lifecycle session management. Supports opening cash floats, mid-shift cash in/out, blind cash counts during shift close, and automated drawer discrepancy reporting synced to Odoo cash registers.
Inventory & Warehouse
Real-time on-hand stock lookups (stock.quant), goods dispatch receipts (stock.picking), multi-warehouse transfers, and automated store replenishment requisitions.
ZATCA Tax Invoicing
Strict 15% VAT tax engine compliant with Saudi ZATCA Fatoora regulations. Automatically calculates tax breakdowns and encodes Base64 TLV electronic QR codes for both simplified and standard tax invoices.
Customer CRM & Credit
Partner management (res.partner) with corporate tax ID validation, customer loyalty points, store credit balances, and deferred payment terms with credit limits.
Bilingual & Adaptive UI
Full bidirectional layout support with native Arabic (RTL) and English (LTR). Responsive typography that dynamically scales across 5.5" handheld POS terminals, 10" tablets, and 15.6" dual-display registers.
Device Licensing & Cloud Tenant Binding
Hardware fingerprinting service (MobileLicenseService) that binds specific smart POS serial numbers to enterprise tenant licenses, validating subscription status, remote lockouts, and feature access permissions.
Comprehensive Technology Matrix
A curated selection of modern, battle-tested tools and frameworks selected for extreme resilience and performance.
High-performance AOT compiled native mobile code running at 60/120 FPS.
Domain-Driven Design with 3 isolated layers and modular package structure.
Reactive, predictable, unidirectional state flows with clear separation of concerns.
Type-safe SQLite persistence with full-database AES-256 encryption at rest.
Direct contactless card payments over NFC (Mada, Visa, Mastercard, Apple Pay).
In-house RPC client (package/odoo) communicating over JSON-RPC with Dio & HTTP.
Native driver integration with Sunmi, Newland POS, and Network thermal printers.
Flutter Secure Storage, Root/Jailbreak detection, and SSL certificate pinning.
Zero floating-point calculation errors for ZATCA VAT and financial transactions.
Curated Experience Bullets
Formatted and optimized for hiring managers, technical leads, and ATS screeners.
Recommended Video & Interactive Walkthrough Flow
For recruiter presentations and portfolio screencasts, highlight these five moments to capture the full scope of engineering: