Cash surplus or deficit is revenue (including grants) minus expense, minus net acquisition of nonfinancial assets. In the 1986 GFS manual nonfinancial assets were included under revenue and expenditure in gross terms. This cash surplus or deficit is closest to the earlier overall budget balance (still missing is lending minus repayments, which are now a financing item under net acquisition of financial assets).
World Bank sources: International Monetary Fund, Government Finance Statistics Yearbook and data files, and World Bank and OECD GDP estimates.
Source Indicator: GC.BAL.CASH.GD.ZS
Source: World Bank
Release: World Development Indicators
World Bank, Cash surplus/deficit (% of GDP) for Senegal [CASHBLSNA188A], retrieved from FRED, Federal Reserve Bank of St. Louis https://research.stlouisfed.org/fred2/series/CASHBLSNA188A/, October 8, 2015.