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
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 /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-reconciliationsPOST /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)
npm install
npx wrangler whoami
npx wrangler d1 execute openclaw_pos --remote --file data-model/migrations/0001_init.sql
npx wrangler devDeploy:
npx wrangler deployStart 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.
Latest delivered progress:
- Core module APIs now live for customers, inventory, pricing, tax, and payments
- Offline sync baseline added with outbox + conflict queues
- Pakistan-first config baseline added (
tax.default_mode,currency.operational=PKR,currency.reporting=USD) - Demo seed endpoint included for a Karachi branch + till setup (
/v1/seed/demo-branch)
Foundations are live, docs are expanding rapidly, and country packs are being generated in parallel.