GESMES (Generic Statistical Message) is a message format for exchanging statistical data and the metadata that describe them, built on the UN/EDIFACT standard for electronic data interchange. It was developed in the 1990s, with Eurostat playing a leading part, so that statistical offices, central banks and international organisations could exchange large data sets in one common structure. The European System of Central Banks used a profile of it, later called GESMES/TS, for much of the data flowing between national central banks and the ECB. Under that name, GESMES/TS identified each time series by a key of coded dimensions, such as frequency, country and indicator, and it was earlier known as GESMES/CB.
GESMES standardised how series are identified and coded, and how observations, status flags and descriptive metadata are packed into one file. Its time-series version fed directly into SDMX (Statistical Data and Metadata eXchange), the standard sponsored from the early 2000s by the BIS, the ECB, Eurostat, the IMF, the OECD and others, where it lived on as the SDMX-EDI format. Most exchanges now use SDMX formats based on XML and newer syntaxes.