To avoid exceptions if value is null...

InvoiceId = value != null ? value.ToString() : null;