I believe you may be referring to the Revenue Act of 1924.
As part of that act, Senate Republicans accepted a House provision to make income tax returns available for public inspection. In conference, however, party leaders managed to limit inspection to congressional committees and state officials, with full public disclosure only upon order of the president. The provision still rankled most Republicans, as well as their wealthy supporters. While full disclosure was rejected, a publicity provision directed the Bureau of Internal Revenue to publish annual lists of taxes paid by all income tax filers. Such lists became a popular feature in newspapers across the country.
If this answer has been helpful, please press the "Accept" button. Positive feedback is also greatly appreciated. Thanks for the question.
Public disclosure is currently only mandatory for certain public charities. This mandate was issued as part of the Taxpayer Bill of Rights in 1996. The president can by executive order still mandate the public disclosure of a tax return, however, it would only be used in very limited and extreme circumstances.
If this answer has been helpful, please press the "Accept" button. Positive feedback is also greatly appreciated. Thanks again.