Skip to content

Reports Phase A In-progress

Reports turns transaction data into the numbers an owner runs the business on: end-of-shift cash reconciliation (X/Z reports), daily sales summaries, what is selling, and how categories and suppliers compare. It is read-only - it aggregates over completed orders and closed sessions rather than changing anything.

1. Identity

PropertyValue
Module IDCORE-11
TierCore
StatusIn-progress
PhaseP1 (daily sales summary) · P2 (shift X/Z reports, product / category / purchase analysis) · P3 (advanced analytics)
PriorityMEDIUM
Primary usersOwner · Manager · Cashier

2. Purpose & Scope

IncludedExcluded
Cashier shift reports - X (interim) and Z (closing)Profit & loss analytics (Planned)
Cash reconciliation: float, sales, pay-in/out, expected vs. actualInventory valuation reports (Planned)
Daily sales summary by date rangeCustomer / retention analytics (Planned)
Product sales (top sellers by revenue & quantity)Export to PDF / CSV / Excel (Planned)
Category sales + single-category drill-downScheduled auto-generated reports (Planned)
Purchase summary (supplier / PO spending)Tax declaration reports (Tax & Invoice)
Merchant-scoped, date-ranged queriesTechnical API specifications (see developer docs)

3. Capabilities

CapabilityWhat the user can do
Daily sales summaryView gross, tax, discount, net totals and order count per day across a date range
Periodic revenue reportGroup and filter sales totals (gross, discount, tax, net, order count) by day/month/year
Product salesSee top-selling products ranked by revenue and quantity
Category salesBreak down sales by product category
Category drill-downInspect a single category's performance
Purchase summaryReview purchase-order / supplier spending for cost comparison
Shift reconciliation (Z report)Close a shift and get expected-vs-actual cash plus a locked session snapshot
X report (interim)Pull a mid-shift summary while the session is still open
Payment-method breakdownSee totals split by cash / card / e-wallet
Profit analyticsCompare cost vs. revenue (margin)
Inventory valuationValue stock on hand (AVCO / FIFO)
Customer analyticsRetention, lifetime value, segmentation
Export & schedulingPDF / CSV / Excel export and auto-generated reports

4. Module Dependencies

Depends onWhy
OrdersCompleted sale orders and POS sessions are the source of every sales and shift figure
ProductProduct and category names drive the product / category breakdowns
PaymentPayment records back the cash reconciliation and payment-method split
InventoryPurchase orders feed the purchase summary (cost comparison)

5. Backend Packages

Implementation detail lives in the developer docs - this section only maps the module to the services that power it.

PackageRoleDeveloper docs
@nx/saleSales aggregation (SalesReportService) and shift X/Z reporting (ShiftService, PosSessionReport)sale

Engineering Mapping (Feature ⇄ Package)

The horizontal axis of the Feature Spine - each business feature (<AREA> in the URD) maps to its engineering home. Reciprocal: the package docs link back here.

FeatureDev packageStatus
SLS Sales Reports@nx/saleBuilt
ACC Access & Scoping@nx/saleBuilt
SHF Shift Reports@nx/saleIn-progress
ADV Advanced Analytics@nx/salePlanned

6. Key User Flows

Daily sales report

Shift X / Z reports

7. Roles & Permissions

RoleCanCannot
CashierPull the X report for their own open shift; close their shift to produce the Z reportView cross-merchant or business-wide sales analytics
ManagerView all sales / product / category / purchase reports for their merchant; review any shiftSee other merchants' data
OwnerAll manager reporting across their merchants-

Reports are always scoped to the user's merchant access; a user can never see another merchant's figures.

8. Status & Roadmap

PhaseCapabilities
P1Daily sales summary by date range (gross, net, tax, discount, count)
P2Shift X/Z reports with cash reconciliation, product sales, category sales + drill-down, purchase summary, payment-method breakdown
P3Profit analytics, inventory valuation, customer analytics, PDF/CSV/Excel export, scheduled reports, dashboard KPI widgets

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.