The trade, announced on Monday, saw lefty Reiver Sanmartin sent to the Yankees in return.
The Yankees entered the day with just three open 40-man spots and with a handful of players worthy of those spots, so trading Herrera to Texas vacates one of those spots and allows for another player to be protected to the Rule 5 Draft.
Texas entered the day with 10 spots on their 40-man roster.
All teams have a deadline to meet tonight to set their rosters.
Herrera has performed well in the minors, posting a 1.91 ERA with 6.8 K/9 against 1.8 BB/9 in 75 1/3 innings.