Symmetry with "opening a new branch". Branch B has been losing money for 6 months; the owner decides to close. The flow covers open packages, future bookings, staff transfers, stock liquidation, vendor closeouts, and final accounting. No close_branch service exists today — closure is a manual cascade. End-to-end.

Coming soon. The behaviour described below is on the roadmap. Today: no close_branch service automates the cascade. Each module step below is operated manually by the relevant role.

Phase 1, decision and announcement (4 weeks out)#

  1. Owner makes the closure decision with the accountant and HR lead.
  2. Set the closure date.
  3. Communicate internally to all staff at the affected branch.
  4. Communicate externally to patients with active packages and future bookings via WhatsApp template, with at least 4 weeks notice.

Phase 2, patient continuity (3 weeks out)#

  1. Pull the list of patients with active packages at branch B from Reports → Packages by branch.
  2. For each patient, contact and offer: transfer remaining credits to another branch (see cross-branch transfer), refund the unused portion (see partial-package refund), or extend validity to use up at branch B before the close.
  3. Pull the list of future bookings at branch B. For each session: reassign to another branch, reschedule, or cancel with refund. There is no bulk-move action today — reception clicks through each row.

Phase 3, staff transitions (2 weeks out)#

  1. HR lead reviews each employee at branch B: transfer to another branch (update primary branch on the employee record and reassign working hours), redundancy (process per local labour law and document on the employee record), or transition to remote / central role.
  2. Provider credentials are reassigned to the receiving branches.
  3. Final payroll for the closing branch is scheduled.

Phase 4, stock liquidation (2 weeks out)#

  1. Pull Inventory → Stock at branch B. Categorise each line: transfer to another branch (Stock transfer), return to vendor where the supplier accepts returns, write off near-expiry / damaged stock (Inventory adjustment with audit reason).
  2. Execute the transfers, returns, and write-offs through the closure date.
  3. Final physical count at branch B confirms zero on-hand.

Phase 5, vendor and tax closeouts (1 week out)#

  1. Accountant confirms all branch B vendor invoices are settled.
  2. Cancel any branch-specific subscriptions (e.g. courier accounts, utility accounts).
  3. Notify the regulator of the branch closure per local rules (UAE: DHA / DOH notification and license cancellation).

Phase 6, final accounting (closure day)#

  1. Final per-branch period close for branch B.
  2. Confirm no journal entries dated after the closure day reference branch B.
  3. Set the branch to inactive in Settings → Branches. The branch remains visible for historical records but cannot be booked, cannot be selected for new sessions, cannot receive stock.
  4. Pull the final closure report: total revenue lifetime, total expense lifetime, net P&L for branch B over its operating period.

Modules touched#

  • Branches (set inactive)
  • Patients (continuity decisions, branch M2M cleanup)
  • Sales packages (transfer or refund)
  • Booking (reassign or cancel future sessions)
  • HR (employee transitions, final payroll)
  • Inventory (transfer, return, write-off)
  • Vendors (closeouts)
  • Accounting (final close, lifetime P&L)
  • Compliance (regulator notification)

What is Coming Soon#

  • A close_branch service that orchestrates the cascade with a checklist UI, marking each step done as you complete it.
  • Bulk-move action for future sessions and active packages from one branch to another.
  • Lifetime P&L per branch as a one-click report at closure time.