§ 7612. Special procedures for summonses for computer software
(a)
General rule
For purposes of this title—
(1)
except as provided in subsection (b), no summons may be issued under this title, and the Secretary may not begin any action under section
7604 to enforce any summons to produce or analyze any tax-related computer software source code; and
(b)
Circumstances under which computer software source code may be provided
(1)
In general
Subsection (a)(1) shall not apply to any portion, item, or component of tax-related computer software source code if—
(A)
the Secretary is unable to otherwise reasonably ascertain the correctness of any item on a return from—
(2)
Exceptions
Subsection (a)(1) shall not apply to—
(A)
any inquiry into any offense connected with the administration or enforcement of the internal revenue laws;
(B)
any tax-related computer software source code acquired or developed by the taxpayer or a related person primarily for internal use by the taxpayer or such person rather than for commercial distribution;
(3)
Cooperation required
For purposes of paragraph (1), the Secretary shall be treated as meeting the requirements of subparagraphs (A) and (B) of such paragraph if—
(A)
the Secretary determines that it is not feasible to determine the correctness of an item without access to the computer software executable code and associated data described in paragraph (1)(A)(ii);
(4)
Right to contest summons
In any proceeding brought under section
7604 to enforce a summons issued under the authority of this subsection, the court shall, at the request of any party, hold a hearing to determine whether the applicable requirements of this subsection have been met.
(c)
Safeguards to ensure protection of trade secrets and other confidential information
(1)
Entry of protective order
In any court proceeding to enforce a summons for any portion of software, the court may receive evidence and issue any order necessary to prevent the disclosure of trade secrets or other confidential information with respect to such software, including requiring that any information be placed under seal to be opened only as directed by the court.
(2)
Protection of software
Notwithstanding any other provision of this section, and in addition to any protections ordered pursuant to paragraph (1), in the case of software that comes into the possession or control of the Secretary in the course of any examination with respect to any taxpayer—
(A)
the software may be used only in connection with the examination of such taxpayer’s return, any appeal by the taxpayer to the Internal Revenue Service Office of Appeals, any judicial proceeding (and any appeals therefrom), and any inquiry into any offense connected with the administration or enforcement of the internal revenue laws;
(B)
the Secretary shall provide, in advance, to the taxpayer and the owner of the software a written list of the names of all individuals who will analyze or otherwise have access to the software;
(C)
the software shall be maintained in a secure area or place, and, in the case of computer software source code, shall not be removed from the owner’s place of business unless the owner permits, or a court orders, such removal;
(D)
the software may not be copied except as necessary to perform such analysis, and the Secretary shall number all copies made and certify in writing that no other copies have been (or will be) made;
(E)
at the end of the period during which the software may be used under subparagraph (A)—
(G)
the Secretary shall provide to the taxpayer and the owner of any interest in such software, as the case may be, a written agreement, between the Secretary and any person who is not an officer or employee of the United States and who will analyze or otherwise have access to such software, which provides that such person agrees not to—
(i)
disclose such software to any person other than persons to whom such information could be disclosed for tax administration purposes under section
6103; or
For purposes of subparagraph (C), the owner shall make available any necessary equipment or materials for analysis of computer software source code required to be conducted on the owner’s premises. The owner of any interest in the software shall be considered a party to any agreement described in subparagraph (G).
(d)
Definitions
For purposes of this section—
(1)
Software
The term “software” includes computer software source code and computer software executable code.
(2)
Computer software source code
The term “computer software source code” means—
(3)
Computer software executable code
The term “computer software executable code” means—
(4)
Owner
The term “owner” shall, with respect to any software, include the developer of the software.