Liquidity facility means a legally binding written agreement to extend funds at a future date to a counterparty that is made for the purpose of refinancing the debt of the counterparty when it is unable to obtain a primary or anticipated source of funding. A liquidity facility includes an agreement to provide liquidity support to asset-backed commercial paper by lending to, or purchasing assets from, any structure, program or conduit in the event that funds are required to repay maturing asset-backed commercial paper. Liquidity facilities exclude facilities that are established solely for the purpose of general working capital, such as revolving credit facilities for general corporate or working capital purposes. If a facility has characteristics of both credit and liquidity facilities, the facility must be classified as a liquidity facility. See credit facility.