Create an invoice from appointments