How to generate a bill fter a product got closed an issue

My products are machines how can i generate bill for services or issue clearance
example
Suppose one of my customer has changed display i want to give a bill how can i produce that