Adding new feature "state" for invoices.