The domain engine of the posOpen platform.
This repository contains the pure business logic for point-of-sale operations: products, pricing, transactions, inventory, tax, and receipts.
It is intentionally boring.
- Product & pricing models
- Sales transactions
- Tax / VAT calculation (region-aware)
- Inventory adjustments
- Refunds and voids
- Receipt data structures (not rendering)
- UI code
- Database code
- HTTP APIs
- Payment provider logic
- Framework-specific glue
- Deterministic behavior
- Side-effect free where possible
- Explicit state transitions
- Testability over cleverness
This package is consumed by:
posopen-apiposopen-sync- Client applications via adapters
Breaking changes here are major version events.
If in doubt: make it smaller.