POS system development for offline-first cashier software: local sync without duplicate invoices, serialized stock conflicts, and Mobile CRM vs custom build.
- Egyptian software company since 2010
- Technical support on WhatsApp
POS System Development: Offline-First Cashier Software
How an offline-first cashier app stores and syncs sales without duplicate invoices, what cannot run without a connection, and when to use a ready system vs custom build.

In short: practical POS system development builds cashier software that keeps selling and printing receipts on the shop device when the internet drops, then uploads each invoice once without duplicates when the connection returns. True offline-first behavior requires local queueing, clear conflict rules for serialized stock, and an explicit time limit since the last sync. For serialized retail like mobile or electronics shops, PRMAGLY offers a ready offline POS (up to 72 hours offline, from 499 EGP or 9 USD per month); for custom workflows, planning starts from 50 USD.
Three architectures behind “offline POS” claims
When comparing point of sale system development options, notice that three very different designs are often marketed under the same “works offline” label, as detailed in our offline POS guide:
| Architecture | How it behaves when internet drops | Trade-off |
|---|---|---|
| Browser-only web POS | Needs a live connection for every sale; stops or buffers briefly in browser memory | Cannot reliably hold a full shift or handle restarts |
| Offline-first mobile/tablet app with sync | Stores invoices in a local queue on the device, prints locally, syncs later | Requires duplicate protection and serialized conflict handling |
| Local PC database | Runs on one shop computer with no network dependency | Hard to monitor from outside the shop or share across branches |
How offline-first POS system development works step by step
In an offline-first offline POS system built around an Android device and a cloud dashboard, every sale moves through six concrete steps:
- Sale on device. The cashier searches an item or scans its barcode with the phone or tablet camera and records payment.
- Local queue storage. The invoice saves inside the device’s local queue, and the item’s status changes from available to sold on that device.
- Local thermal printing. The receipt prints over Bluetooth to a small thermal printer (58 mm or 80 mm), which requires no internet connection.
- Waiting for connectivity. Pending operations remain ordered by timestamp in the queue, surviving app restarts until the network returns.
- Sequential upload with deduplication. Once online, the app uploads queued invoices one by one, and the server checks each unique invoice record so no sale is posted twice.
- Inventory and report updates. The owner sees synced sales, updated stock, and branch totals from any browser.
While disconnected, the device relies on the catalog and prices cached during its last sync. That means price changes entered in the back office minutes before an outage do not appear on the offline terminal until it reconnects, and stock shown on the device reflects the last sync rather than live multi-branch stock.
What cannot work offline in any POS
Honest POS system development separates what belongs on the local device from actions that physically require an external network:
- Electronic card or wallet payment verification. Authorizing a card or wallet transaction requires a live third-party check at the moment of payment.
- Sending PDF invoices to a customer’s WhatsApp. The thermal receipt prints immediately offline, while WhatsApp PDF delivery waits until connectivity returns.
- Live cross-branch stock checks and consolidated reports. Multi-branch totals become complete only once every disconnected terminal uploads its queue.
Solving the hardest edge case: two offline devices selling the same item
The one edge case that local queueing alone cannot prevent is simultaneous offline sales of the exact same unique item. Imagine two cashiers in one shop during an outage, and both terminals sell the same serialized phone (IMEI) before either device syncs.
Because disconnected devices cannot see each other, ask any developer or vendor how the backend behaves on sync: does it alert the owner, keep both invoices intact instead of silently deleting one, and log the conflict in a dedicated review report? Hiding the conflict creates invisible stock gaps.
Twelve features specialized shops need beyond basic billing
A generic cashier screen counts identical boxes, whereas shops selling phones, electronics, or repaired equipment need item-level history. From our 12-feature POS checklist and business modules case study, specialized shops require:
- IMEI or serial-number tracking across statuses (available, sold, in maintenance, returned) so the same device cannot be sold twice.
- Offline selling with a stated maximum window and duplicate prevention.
- Branded thermal receipts and WhatsApp PDF invoices showing shop name, price, and warranty terms.
- Net profit reports that subtract purchase cost and transfer or wallet fees from the sale price, distinguishing expected profit from collected cash on installments.
- Installment and customer credit ledgers with down payments, schedules, guarantors, printed contracts, and WhatsApp due reminders.
- Maintenance tracking with intake condition, repair status, tracking numbers, and automatic spare-part stock deduction.
- Separate e-wallet ledgers apart from the cash drawer, recording sends, receipts, commissions, and shift-closing reconciliation.
- Role permissions, branch transfers, backups, Excel export, and live trial access.
PRMAGLY Mobile CRM vs custom POS system development
Before paying for custom software, check whether a ready-made system already fits your shop. On our PRMAGLY Mobile CRM page, we publish a ready system built specifically for mobile phone shops, coffee machine maintenance centers, and security camera and computer shops.
It runs on standard Android phones or tablets with Bluetooth receipt printers and a browser dashboard, continues selling offline for up to 72 hours from the last sync, tracks IMEI and serial numbers, manages up to 60 installments, separates e-wallet ledgers from the cash drawer, and includes QR online payment collection (PRMAGLY Pay). Per our published pricing, it includes a 3-day free trial without a credit card, followed by the Standard plan at 499 EGP/month (9 USD/month outside Egypt, 35 SAR/month in Saudi Arabia; up to 2 branches and 6 staff) or the Big Shops plan at 999 EGP/month (19 USD/month outside Egypt, 70 SAR/month in Saudi Arabia; unlimited branches and staff).
To keep expectations clear: the Android app (v1.0.28, 112.4 MB) is downloaded directly from our site rather than Google Play, so Android displays a standard sideload warning, and cashiers must always sync pending sales before updating or removing the app.
When your workflow sits outside those shop types, PRMAGLY builds custom offline-capable systems starting with a free requirements session and written scope from 50 USD before quoting the full build.
A 10-minute offline test before buying or accepting delivery
Never rely on a recorded demo. Use our 10-minute offline test during any trial or handover:
- Record one normal sale online and verify it appears on the web dashboard.
- Switch the device to airplane mode, record two or three different sales, and print a thermal receipt.
- Force-close and reopen the app while still offline to confirm queued invoices remain intact.
- Reconnect the internet and verify each invoice appears exactly once in the dashboard and stock decreased accurately.
Also see: systems we built at PRMAGLY (real travel, shipping, POS, and document systems).
Sources
- PRMAGLY: Offline POS system without internet
- PRMAGLY: 12 features for mobile shop POS software
- PRMAGLY: Mobile CRM (cashier, inventory, maintenance, installments)
- PRMAGLY: Business management modules case study
- PRMAGLY published pricing and llms.txt
Testing an offline POS or scoping custom cashier software?
PRMAGLY builds business software from Giza since 2010 for clients worldwide. Start a 3-day free trial on PRMAGLY Mobile CRM for mobile, camera, or coffee-machine repair shops, or message us on WhatsApp at +20 100 693 7070 to scope custom POS system development (written requirements analysis from 50 USD).
Related services
- تصميم مواقع الشركات في مصر
- إنشاء متجر إلكتروني
- برمجة مواقع وأنظمة خاصة
- ايميل رسمي للشركات
- أتمتة واتساب للشركات
- نظام شركات السياحة
