1. Short title This Act may be cited as the Agency Accountability Act of 2017 . 2. Appropriation of funds required (a) In general Notwithstanding any other provision of law, and consistent with subsection (c), an agency that receives a fee, fine, penalty, or proceeds from a settlement shall deposit such amount in the general fund of the Treasury. (b) Use of amounts (1) Subject to appropriation Consistent with paragraph (2), any amounts deposited pursuant to subsection (a) shall only be available to the extent, and in such amounts, as are provided in advance in appropriation Acts. (2) Obligation limitation; deficit reduction Of the amounts so deposited during the fiscal year in which this section is enacted, such amounts— (A) may not be available for obligation during such fiscal year; and (B) shall be used for purposes of deficit reduction. (c) Exception This section shall not apply to any amounts to be paid to an individual entitled to such amounts as a whistleblower, including any amounts received as a percentage of amounts received by the Government pursuant to a judgment or settlement agreement. (d) USPTO Report to Congress required Not later than March 1 of each year, the Under Secretary of Commerce for Intellectual Property and Director of the United States Patent and Trademark Office shall submit to Congress a report that describes any fee, fine, penalty, or proceeds from a settlement collected by the United States Patent and Trademark Office for the previous fiscal year. (e) Agency defined The term agency has the meaning given that term in section 551 of title 5, United States Code, but does not include the United States Postal Service or the United States Patent and Trademark Office. 3. Offsetting collections and receipts as revenue (a) In general The Congressional Budget Act of 1974 ( 2 U.S.C. 621 et seq.) is amended— (1) in section 3(2)(A)(iv), by inserting except as provided in section 316, before offsetting receipts