implemented invoice status, implementing invoice creation