how to create an invoice generator in python for beginners