Generating invoice for customers