1. Append-Only Double-Entry General Ledger with Integer Minor-Unit Precision
Floating-point arithmetic in amateur POS tools creates penny rounding leaks across thousands of tax and discount calculations. Syed POS handles all currency amounts exclusively in integer minor units (paisa, halala, fils, cents) and enforces an append-only ledger invariant: finalized journal entries can never be silently deleted or overwritten — returns and voids post explicit reversal journal entries with full staff attribution.
- Automatic two-leg posting on every sale: Revenue + Tax liability on one side, and immediate COGS + Inventory asset reduction on the other.
- Built-in Petty Cash & Operating Expense vouchers (rent, electricity, tea, packaging, transport) deduct directly from net operating profit.
Leg 1 (Revenue): Dr. Cash / Card / Khata 1,150.00 | Cr. Sales Revenue 1,000.00 + Cr. Output VAT/Tax 150.00
Leg 2 (COGS): Dr. Cost of Goods Sold 720.00 | Cr. Inventory Asset 720.00 ==> Instant Gross Profit = 280.00Every journal entry asserts sum(debits) === sum(credits) before committing to SQLite WAL.

