Added invoice generation