The Shulchan Aruch · Orach Chayim
אורח חיים תר״זOrach Chayim 607
Siman 607 of 697 in Orach Chayim — 6 se'ifim
הלכות יום הכיפוריםLaws of Yom Kippur· siman 607
Se’if 1א׳
צָרִיךְ לְהִתְוַדּוֹת בְּמִנְחָה קֹדֶם סְעֻדָּה הַמַּפְסֶקֶת. הַגָּה: וְיָחִיד אוֹמְרוֹ אַחַר שֶׁגָּמַר תְּפִלָּתוֹ, וּשְׁלִיחַ צִבּוּר אוֹמְרוֹ בְּיוֹם כִּפּוּר בְּתוֹךְ הַתְּפִלָּה (טוּר).
The Order of Vidui (Confessing) at Minchah of Erev Yom Kippur, 6 Seifim: One must say vidui at minchah prior to the final meal before the fast. Rema: Someone by himself says it after he finishes his prayer (i.e. the amidah) and the chazan says it on Yom Kippur during his prayer (amidah)(Tur).
Se’if 2ב׳
אֵין צָרִיךְ לְפָרֵט הַחֵטְא; וְאִם רָצָה לְפָרֵט, הָרְשׁוּת בְּיָדוֹ; וְאִם מִתְוַדֶּה בְּלַחַשׁ, נָכוֹן לְפָרֵט הַחֵטְא. הַגָּה: אֲבָל כְּשֶׁמִּתְפַּלֵּל בְּקוֹל רָם, אוֹ שְׁלִיחַ צִבּוּר כְּשֶׁחוֹזֵר הַתְּפִלָּה, אֵין לְפָרֵט הַחֵטְא; וּמַה שֶּׁאוֹמְרִים עַל חֵטְא בְּסֵדֶר א' ב' לֹא מִקְרֵי פּוֹרֵט, הוֹאִיל וְהַכֹּל אוֹמְרִים בְּשָׁוֶה אֵינוֹ אֶלָּא כְּנֻסַּח הַתְּפִלָּה (דִּבְרֵי עַצְמוֹ).
One need not specifically detail his sin. But if one wants to specify, he may decide to do so. Silent confession is appropriate for specifying the sin. Rema: However, when he prays out loud, or for the chazan when he repeats the amidah, the sin is not specified. That which we say, the Al Chet prayer, does not specify the person's specific sin. Everyone says it equally according to the nusach of the prayer.
Se’if 3ג׳
צָרִיךְ לְהִתְוַדּוֹת מְעֻמָּד; וַאֲפִלּוּ כִּי שָׁמַע לֵיהּ מִשְּׁלִיחַ צִבּוּר וְהוּא הִתְוַדָּה כְּבָר, צָרִיךְ לַעֲמֹד. הַגָּה: וְיַחֲזֹר וְיִתְוַדֶּה עִם הַשְּׁלִיחַ צִבּוּר (רַ"ן פ"ב דְּרֹאשׁ הַשָּׁנָה). וְעִקַּר הַוִּדּוּי הוּא אֲבָל אֲנַחְנוּ חָטָאנוּ (טוּר).
One must confess while standing. Even when he hears it from the chazan and he already confessed, he must stand. Rema: And he must go back and confess again with the chazan (Ra"n). The essence of the vidui is "but we have sinned". (Tur)
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0