Set  the status of an Invoice.