Existing patient buys a 10-session laser package today, pays upfront. Returns next month to use the first session. End-to-end through accounting, inventory (none for service-only package), and the session flow.

Today. the package sale#

  1. Sales staff opens an invoice for the patient.
  2. Adds the "10-session laser" package from catalog. Line total auto-fills.
  3. Patient pays in full by card.
  4. Invoice → Paid. Accounting posts: debit card-clearing, credit Package Liability (deferred revenue), credit VAT Output. The posting is silent on failure — if the deferred-revenue account is not mapped on the branch, the invoice still flips to Paid with no journal entry. Verify the mapping during onboarding and reconcile via the accounting cycle.
  5. Loyalty cashback (per the package's product config) awarded.
  6. Patient has 10 unused credits visible in their drawer.

Next month. first session#

  1. Reception books a session for the patient. Service = laser (matches the package). Inside the booking form, the package eligibility check surfaces the available credit and reserves it on save. The calendar day-grid tile does not display a "credit available" hint today — the eligibility surface lives inside the session form.
  2. Patient arrives. Reception clicks Check in. 1 of 10 credits is reserved.
  3. Provider delivers. Submits the service report. Session → Done.
  4. Credit is officially consumed (1 of 10 → 9 of 10 remain).
  5. Accounting posts: debit Package Liability (per-credit share), credit Service Revenue. The deferred revenue moves to recognized.
  6. Commission accrues for the provider on the consumed-credit value.

Modules touched#

  • Sales packages
  • Invoices + Payments
  • Accounting (deferred → recognized revenue)
  • Booking + Check-in & flow
  • Service report
  • Commissions (on per-credit consumption)
  • Loyalty (cashback)