Offline-first, multi-tier POS/ERP for real-world operations where connectivity is unreliable and controls still matter.
Hierarchy: Global HO → Country HO → Regional → Branch → Till
- Project homepage (primary): rmak78.github.io/openclaw-pos
- Hosted demo URL: bixitech.com/openclaw-pos
- Repository: github.com/rmak78/openclaw-pos
Most POS tools assume stable internet. Most ERPs assume perfect process discipline. Real operations have neither.
OpenClaw POS + ERP is built for:
- intermittent internet,
- multi-country operations,
- finance/compliance-grade controls,
- and practical branch/till workflows.
- API runtime: Cloudflare Workers
- Database: Cloudflare D1 (SQLite)
- Language: TypeScript
- Repository: Public GitHub (auditable workflow)
- Live API base:
https://pos-api.bixisoft.com/v1
Fallback path for higher control/capacity:
- Hostinger VPS + Docker + Postgres
- Offline-first by default
- Sales should continue when internet fails.
- Deterministic sync + idempotency
- No duplicate posting surprises.
- Accounting and compliance discipline
- Event traceability, reconciliation, period controls.
- Configurable country policy model
- No hardcoded legal constants in business logic.
- Open, auditable development
- Public commits, clear docs, explicit decisions.
- 10 branches
- 3 warehouses
- 2–7 tills per branch
- Pakistan first, expansion-ready for:
- UAE, Qatar, Oman, Malaysia, Singapore, Germany, UK, Canada, USA
Priority order:
- Offline resilience
- Speed
- Accounting depth
- POS sales & till operations
- Sync/event pipeline
- FinOps (journals, posting rules, reconciliation)
- HRIS (employee lifecycle, attendance, roster)
- Payroll + legal policy packs
- Management reporting (middle + upper management)
- Country packs (tax/payroll/compliance templates)
- i18n/l10n plan (Arabic RTL + German)
Also planned/expanding:
- Customer service workflows
- Returns/RMA lifecycle
- Vendor/supply management
GET /v1GET /v1/healthGET /v1/db-checkGET /v1/metaGET /v1/modulesGET/POST /v1/org-unitsGET/POST /v1/employeesGET/POST /v1/channelsGET/POST /v1/channel-accountsGET/POST /v1/ordersGET/POST /v1/shipmentsGET/POST /v1/customersGET/POST /v1/inventory-itemsGET/POST /v1/pricesGET/POST /v1/tax-rulesGET/POST /v1/payment-methodsGET/POST /v1/sync-outboxGET/POST /v1/sync-conflictsGET/POST /v1/app-configGET/POST /v1/sales-receiptsGET/POST /v1/sales-receipt-linesGET/POST /v1/sales-receipt-paymentsGET/POST /v1/sales-returnsGET/POST /v1/sales-return-linesGET/POST /v1/sales-refundsGET /v1/day-close-summary?branch_id=<id>&business_date=YYYY-MM-DDGET/POST /v1/till-sessionsPOST /v1/till-sessions/closeGET/POST /v1/cash-dropsGET/POST /v1/variance-reasonsGET/POST /v1/inventory-movementsGET/POST /v1/branch-reconciliationsGET/POST /v1/suppliersGET/POST /v1/purchase-ordersGET/POST /v1/goods-receiptsGET/POST /v1/pay-cyclesGET/POST /v1/pay-componentsGET/POST /v1/payroll-runsPOST /v1/seed/demo-branchPOST /v1/connectors/shopify/order-webhookPOST /v1/connectors/amazon/order-webhook
src/→ Worker APIdata-model/migrations/→ D1 migrationsdocs/architecture/→ architecture + sprint plansdocs/operations/→ SOPs, pilot playbooks, compliance operationsdocs/country-packs/→ country-specific rollout packsdocs/reference/→ report catalog, glossary, i18n plans.github/workflows/→ CI, security, pagesweb/→ project landing page (GitHub Pages)web/demos/→ separate role-based demo experiences (till, branch, warehouse, regional, country, global HQ)
npm install
npx wrangler whoami
npx wrangler d1 execute openclaw_pos --remote --file data-model/migrations/0001_init.sql
npx wrangler devDeploy:
npx wrangler deployA demo-ready clickable frontend prototype is available at:
web/index.html
Includes wired navigation flows for:
- POS checkout
- Returns/refunds
- Till close
- Day-close dashboard
- Procurement PO
- Payroll run
Preview locally (no build step required):
cd web
python3 -m http.server 8080Then open:
http://localhost:8080
Start here:
docs/README.md
Key packs:
docs/architecture/sprint-plan-v1.mddocs/operations/finops-sprint-v1.mddocs/operations/hris-sprint-v1.mddocs/reference/management-report-catalog-v1.mddocs/reference/i18n-ar-de-plan.mddocs/country-packs/*.md
- Protected
mainbranch - PR-driven workflow
- CI + hygiene checks
- Security workflow (CodeQL/Trivy baseline)
- Config-first legal/statutory placeholders pending country confirmation
This repo is execution-driven. If you contribute, please include:
- clear scope,
- migration impact,
- API contract impact,
- rollout/ops notes,
- and test/reconciliation implications.
We are actively preparing support channels for:
- pilot hardware (tills, scanners, printers),
- hosting + observability,
- legal/compliance validation across countries.
Follow project updates on the repo and website for sponsorship options.
Active build phase (implementation + demo hardening).
Latest delivered progress:
- Core APIs are live across operations, finance, returns, procurement, and payroll tracks
- Offline sync baseline is in place (outbox/conflict queues)
- Pakistan-first defaults are wired (
PKRoperational currency, configurable tax mode) - Clickable frontend prototype is live and now being visually upgraded
- UI/UX architecture docs, design system foundation, and API contract docs are added
- Demo seeding scenarios for Pakistan rollout are available for repeatable walkthroughs
Current focus:
- Raise demo UI quality to production-style standards
- Consolidate and merge canonical payroll path
- Keep hosted preview continuously updated at bixitech.com/openclaw-pos