שולחן ערוך, אורח חיים תצ״א

Shulchan Arukh, Orach Chayim 491

סדר הבדלה במוצאי יום טוב. ובו ב סעיפים:
במוצאי יום טוב בין במוצאי י"ט לחול בין במוצאי יום טוב לחולו של מועד מבדיל בתפלה כמו במוצאי שבת ומבדיל על הכוס כמו במוצאי שבת אלא שאינו מברך לא על הנר ולא על הבשמים:
The Havdalah service on the conclusion of a festival contains two parts. On the conclusion of a festival, whether it is the conclusion of a festival to a weekday or to an intermediate day, one recites the Havdalah prayer in the same way as one does at the conclusion of Shabbat, and recites the Havdalah blessing over a cup, but without reciting the blessings over the candle and the spices.
יום טוב שחל להיות במוצאי שבת אומר באתה בחרתנו ותודיענו:
When a holiday falls on Saturday night, one adds "and You made known to us" in [the blessing of] "You have chosen us"

Maginei Eretz: Shulchan Aruch Orach Chaim, Lemberg, 1893 (Public Domain) · Sefaria Community Translation (CC0) · 2 se'ifim