There are three things here to think about; connection, balancing, and level
Connection - going from TRS to XLR is absolutely fine. Both connectors can transmit fully balanced signals so if one end has TRS and the other XLR then no probs at all!
Balancing - as DHJ states, an unbalanced signal on TS puts signal on tip and ground on sleeve. Balances on TRS is signal + on tip, signal - on ring, and ground on sleeve. An unbalanced input will only have TS contacts - plugging a balanced TRS in to an unbalanced TS input wil simply ground the Ring (Signal -) and so the input ‘sees’ an unbalanced signal. So no issue with plugging balanced in to unbalanced input
Signal - here is the big one in terms of your question (I believe). 9/10 an interface will output signals at line level. However 9/10 a mixing desk will be expecting microphone level. As well as balancing a signal, a DI also drops the signal from line to microphone and ensures the output is at the correct impedance for what a mixer is expecting. This is really the main function of a DI, even though balancing is also a key part of it.
So, if your interface sends out line level and the equipment you are plugging in to can accept line level - whether the connector is TRS or XLR; it’s not important - then yes you can absolutely not use a DI and happy days.
If your interface sends out line level and the equipment you are plugging in to expects mic level/impedance then that’s when a DI is required, even if the output of the interface is balanced.
Generally speaking (as a musician and soundman) I would always put a DI on the output of an interface as will take the assumption that the output is line level and the mixer needs mic level/impedance. I’ve never had issues with this and as long as a decent DI is used then there will be zero signal degradation. If I’m 100% certain the interface is sending out mic level or the mixer can accept line then sometimes will not use a DI, but that is very rare.
Hope that helps ![]()