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#
- Sales staff opens an invoice for the patient.
- Adds the "10-session laser" package from catalog. Line total auto-fills.
- Patient pays in full by card.
- 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.
- Loyalty cashback (per the package's product config) awarded.
- Patient has 10 unused credits visible in their drawer.
Next month. first session#
- 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.
- Patient arrives. Reception clicks Check in. 1 of 10 credits is reserved.
- Provider delivers. Submits the service report. Session → Done.
- Credit is officially consumed (1 of 10 → 9 of 10 remain).
- Accounting posts: debit Package Liability (per-credit share), credit Service Revenue. The deferred revenue moves to recognized.
- 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)
