Accounting — Release Notes v1.0.0
Accounting — Release Notes
Release date: 30 April 2026
Version: 1.0.0
Status: Live in production
What this release is
Ailaaj One now includes a full Accounting module inside the hub POS app — chart of accounts, journal vouchers, fiscal years, opening balances, customer and supplier payments, and financial reporting.
In simple terms:
| Piece | What it is | Where staff use it |
|---|---|---|
| Accounting setup | First-time tenant configuration — fiscal year, default COA, voucher types | Hub → Accounting → Setup |
| Chart of accounts | Hierarchical ledger accounts for the pharmacy | Hub → Accounting → COA |
| Vouchers | Draft and post journal entries; print voucher documents | Hub → Accounting → Vouchers |
| Invoice payments | Pay supplier GRNs and customer invoices; bulk payment runs | Hub → Accounting → Invoice payments |
| Reports | Trial balance, general ledger, financial statement designer | Hub → Accounting → Reports |
Accounting posts tie into sales, GRNs, and billing so day-to-day pharmacy operations flow into the books without duplicate entry.
What pharmacy staff can do now
| Feature | Staff experience |
|---|---|
| Set up accounting | Run guided setup for fiscal year, chart of accounts, and voucher types per tenant |
| Manage chart of accounts | Create, edit, and organise accounts in a parent/child tree |
| Record opening balances | Enter opening balances per account; bulk import from spreadsheet |
| Create vouchers | Add multi-line journal vouchers, save as draft, post when approved |
| View voucher history | Search and open posted or draft vouchers; print voucher layout |
| Pay supplier invoices | Select pending GRNs, allocate payments, post accounting vouchers |
| Pay customer invoices | Record customer receipt against outstanding sales |
| Bulk payments | Process multiple customer or supplier payments in one run |
| Book expenses | Dedicated expense booking entry linked to COA |
| Run general ledger | Filter by account, date range, and store; export/print |
| Trial balance | Hierarchical trial balance with roll-up totals |
| Financial statements | Map accounts to P&L and balance sheet lines via the statement designer |
| Configure integrations | Map POS/WMS events to ledger accounts (sales, GRN, payments) |
Billing and compliance (live with accounting)
| Feature | What it means |
|---|---|
| Billing page v2 | Redesigned invoice and payment screens used with accounting vouchers |
| COD on invoice payment | Cash on delivery supported when recording customer payments |
| Customer NTN & CNIC | Tax identity fields on customer profiles for compliant invoicing |
| FBR posting | Sales can be fiscalised through the existing FBR integration where configured |
How it fits in the hub
flowchart LR subgraph ops ["Day-to-day operations"] POS["Smart Counter / sales"] WMS["GRN & supplier receipts"] BILL["Billing & invoice payment"] end
subgraph acct ["Accounting module"] COA["Chart of accounts"] VCH["Vouchers"] PAY["Invoice payments"] RPT["GL & financial reports"] end
subgraph db ["Ledger"] DB[(Supabase — vouchers, COA, fiscal years)] end
POS -->|"auto posting triggers"| DB WMS -->|"auto posting triggers"| DB BILL --> PAY PAY --> VCH COA --> VCH VCH --> DB DB --> RPTTypical flow
- Tenant completes Accounting setup and opens a fiscal year.
- Staff enter opening balances (or import in bulk).
- Daily sales and GRN activity posts to the ledger via configured mappings.
- Invoice payments create vouchers when staff settle supplier or customer balances.
- Finance users run trial balance, general ledger, and financial statements for the period.
What shipped in code
| Area | Location |
|---|---|
| UI pages & hooks | src/modules/accounting/ |
| Routes | /app/accounting/* (setup, dashboard, vouchers, COA, reports, config, invoice payments, expense booking, general ledger) |
| Database | supabase/migrations/*accounting*, voucher posting triggers, ledger RPCs |
Permissions
Accounting screens respect hub RBAC. Users need the appropriate accounting permissions for setup, voucher entry, payments, and reports (configured per tenant role).
What is not in v1.0.0
- Multi-currency ledger (single tenant currency assumed)
- Automated bank reconciliation feeds
- Standalone accounting export to third-party ERPs
These may ship in future minor releases with feat(accounting): commits.
Further reading
- Accounting setup & operations guide
- Accounting module overview
- Commit message guide — for the next accounting release
- Documentation home