We are building a Point of Sale (POS) + ERP-style iOS application using Flutter (iOS-first). The app will support:
- User management (admins, employees, customers)
- Product and stock management
- Orders, tickets, and receipts
- Hardware integration (printers, scanners, card machines)
- WooCommerce synchronization (products, stock, orders, VAT rules, refunds)
- Payment handling and reporting
- VAT validation (EU + Georgia rules)
- Security and offline support
The system will integrate with WooCommerce (core sync), Supabase (auth, database, real-time sync), and hardware devices (Star printers, SumUp, SocketMobile).
Xero integration is not required (plugins already handle invoice generation). Instead, the focus is on ensuring compatibility with the WooCommerce “PDF Invoice” and “EU VAT Number” plugins.
- Frontend: Flutter (iOS-first).
- Backend & Database: Supabase (auth, real-time sync, local storage for offline mode).
- WooCommerce: Sync products, stock, orders, VAT, refunds.
- Supabase for authentication, user management, stock, and order sync.
- Local storage layer for offline mode (orders, tickets).
-
Products & stock synchronization (bi-directional):
- Changes in POS → reflect in WooCommerce.
- Changes in WooCommerce → reflect in POS.
-
Orders & refunds:
- POS order creation → new WooCommerce order with customer, VAT, and product details.
- POS refund → WooCommerce order note (
refunded).
-
VAT handling:
- Books = reduced VAT (4% in EU, VAT-exempt in Georgia).
- Other products = 21% VAT.
- Plugin support: EU VAT Number.
-
Webhooks or periodic jobs for synchronization.
- Printers: ESC/POS + Star printers (docs).
- Card machines: SumUp (API).
- Scanners: Socket Mobile (docs).
-
EU VAT validation via VIES API.
-
Georgia VAT rules:
- Standard VAT = 18%.
- Printed books = VAT-exempt (Article 172, Georgian Tax Code).
The app will follow standard POS design flows, with inspiration from Loyverse POS.
Key screens:
- Login & User Management
- Dashboard
- POS screen (add to cart, save ticket, print receipt)
- Orders & Refunds
- Inventory & Stock Management
- Customers & Employees
- Reports & VAT breakdown
- Design UI/UX, database schema, wireframes.
- Implement user management & login.
- Stock, customer, and employee modules.
- Item management (with VAT classes).
- WooCommerce integration.
- Reporting system.
- Security hardening.
- Payment feature.
- Hardware integration (printers, scanners, SumUp).
- Ticket management (save orders, print receipts in Loyverse style).
- Staging testing.
- Live testing & deployment.
- Hardware integration is critical. Without proper printer, scanner, and card machine support, the project cannot be considered complete.
- Xero integration is not required (WooCommerce plugin already generates invoices).
- Refunds and VAT rules must strictly follow WooCommerce plugin behavior.
- Multi-VAT handling must reflect both EU and Georgian requirements.
- Orders must only sync to WooCommerce after successful payment in POS.
- URL:
https://staging2.archidemia.com/wp-json/wc/v3 - Consumer Key:
ck_eda7c07cdfc69d68d469329e4af901833fa745aa - Secret Key:
cs_fe5d57e6a17335c1463aa9790fb9dc08e271e2a3 - Switching logic: Only one WooCommerce API (staging/live) can be active at a time.
static const supabaseUrl = 'https://tccdogfoljnyliwkcgwn.supabase.co';
static const supabaseAnonKey =
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InRjY2RvZ2ZvbGpueWxpd2tjZ3duIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTU2OTU1MzAsImV4cCI6MjA3MTI3MTUzMH0.c1CN9rimUwgG__p2FvW3Ng1ncs27A7YHoIBNMrX1Qbw';