How to create an invoice output based on user-selections ?