By default, in Meddbase, an invoice is automatically generated when an appointment is arrived.
This setting can be changed to one of two other options.
The invoice generation setting can be found under Admin > Configuration > Accountancy:
If invoice generation is set to 'On arrival', clicking 'Patient has arrived' will generate an invoice for the services:
If invoice generation is set to 'On discharge', clicking 'Patient has been discharged / left the building' on the above screen will trigger the invoice generation instead.
If invoice generation is set to 'Manual', the option to 'Generate invoices' becomes available: