code: def status(self):
  		
  
  		if self.paid:
  			return self.STATUS_PAID
  		if self.forgiven:
  			return self.STATUS_FORGIVEN
  		if self.closed:
  			return self.STATUS_CLOSED
  		return self.STATUS_OPEN
docs: Attempts to label this invoice with a status. Note that an invoice can be more than one of the choices.
  			We just set a priority on which status appears.