EU current account surplus €134.3 bn (2024)

Euro indicators 4 July 2024 Next release: 4 October 2024

First quarter of 2024

Skip to the content

Before printing

Printing can have negative environmental impacts due to paper waste. We encourage you to explore eco-friendly alternatives. Bookmarking this page in your browser allows you to access it anytime.

This publication can also be converted to PDF, if you have a PDF printer installed on your computer. PDF printers function as virtual printers, enabling you to create digital copies of web pages and access the content offline.

€38.4 bn surplus for trade in services

Overview

In the first quarter of 2024, the EU seasonally adjusted current account of the balance of payments recorded a surplus of €134.3 billion (+3.1% of GDP), compared with a surplus of €89.8 billion (+2.1% of GDP) in the fourth quarter of 2023 and a surplus of €55.2 billion (+1.3% of GDP) in the first quarter of 2023, according to estimates released by Eurostat, the statistical office of the European Union.

EU current and capital accounts

In the first quarter of 2024 compared with the fourth quarter of 2023, based on seasonally adjusted data

  • the surplus of the goods account increased (+€113.5 bn compared to +€66.5 bn),

  • the surplus of the services account decreased (+€38.4 bn compared to +€43.8 bn),

  • the surplus of the primary income account increased (+€5.5 bn compared to +€2.3 bn) and

  • the deficit of the secondary income account increased (-€23.0 bn compared to -€22.8 bn).

In addition, during the same period, the deficit of the capital account decreased (-€4.3 bn compared to -€11.4 bn).

EU current account surplus €134.3 bn (1)

EU current and capital accounts
– calendar and seasonally adjusted (bn euro) –

Current account

Goods

Services

Primary income

Secondary income

Current account as
% of GDP

Capital account

Q1 2023

Credit

1321.2

674.0

333.1

276.1

38.0

31.7%

19.9

Debit

1265.9

636.9

293.5

273.8

61.7

30.3%

31.7

Balance

55.2

37.1

39.6

2.2

-23.7

1.3%

-11.8

Q2 2023

Credit

1322.7

654.6

332.5

294.4

41.1

31.3%

13.9

Debit

1245.5

604.3

291.4

286.8

63.0

29.5%

21.8

Balance

77.2

50.3

41.2

7.6

-21.9

1.8%

-8.0

Q3 2023

Credit

1327.5

650.3

333.1

304.5

39.6

31.2%

17.8

Debit

1227.8

573.4

294.8

297.0

62.5

28.9%

18.8

Balance

99.7

76.9

38.3

7.4

-22.9

2.3%

-1.0

Q4 2023

Credit

1314.2

642.4

341.7

290.1

40.0

30.5%

30.4

Debit

1224.4

576.0

297.9

287.8

62.8

28.4%

41.8

Balance

89.8

66.5

43.8

2.3

-22.8

2.1%

-11.4

Q1 2024

Credit

1387.2

691.2

350.7

306.8

38.4

31.9%

14.1

Debit

1252.9

577.8

312.4

301.4

61.5

28.8%

18.5

Balance

134.3

113.5

38.4

5.5

-23.0

3.1%

-4.3

Source: Eurostat (dataset: bop_eu6_q)

EU current account surplus €134.3 bn (2)

Euro area current account
– calendar and seasonally adjusted (bn euro) –

Q1 2023

Q2 2023

Q3 2023

Q4 2023

Q1 2024

Current account balance

31.8

58.7

61.2

72.2

112.2

Balance of trade in goods

43.6

59.9

78.8

67.1

103.7

Balance of trade in services

23.5

31.6

33.1

31.4

31.7

Balance of primary income

2.8

11.4

-4.8

17.9

10.5

Balance of secondary income

-38.1

-44.2

-45.9

-44.1

-33.7

Current account balance as % of GDP

0.9%

1.6%

1.7%

2.0%

3.0%

Source: ECB

EU current account surplus €134.3 bn (3)

EU main partners

In the first quarter of 2024, based on non-seasonally adjusted data, the EU recorded current account surpluses with the United Kingdom (+€65.7 bn), Switzerland (+€25.6 bn), the USA (+€18.0 bn), Canada (+€9.6 bn), Hong Kong (+€8.9 bn), offshore financial centres (+€8.6 bn), Brazil (+€8.0 bn), Japan (+€2.2 bn) and Russia (+€1.4 bn). Deficits were registered with China (-€29.7 bn) and India (-€1.0 bn).

EU financial account

Based on non-seasonally adjusted data, in the first quarter of 2024

  • direct investment assets of the EU increased by €118.2 bn and

  • direct investment liabilities increased by €35.0 bn.

As a result, the EU was a net direct investor to the rest of the world with net outflows of €83.2 bn.

At the same time,

  • portfolio investment recorded a net inflow of €48.7 bn, while

  • other investment recorded a net outflow of €34.4 bn.

EU financial account
– neither calendar nor seasonally adjusted (bn euro) –

Q1 2023

Q2 2023

Q3 2023

Q4 2023

Q1 2024

Net financial account

109.8

93.9

70.3

53.4

102.9

Net acquisition of assets

465.1

55.7

126.0

-398.2

554.1

Net incurrence of liabilities

355.2

-38.2

55.7

-451.6

451.2

Net direct investment

89.0

7.1

-21.5

-9.1

83.2

Net acquisition of assets

80.3

-88.4

-3.7

-365.0

118.2

Net incurrence of liabilities

-8.7

-95.5

17.8

-355.8

35.0

Net portfolio investment

-144.1

40.9

-14.1

-65.7

-48.7

Net acquisition of assets

42.8

186.9

83.8

24.3

147.5

Net incurrence of liabilities

186.9

146.0

97.9

90.0

196.2

Net other investment

161.0

16.4

106.8

98.0

34.4

Net acquisition of assets

338.0

-72.3

46.9

-87.7

254.4

Net incurrence of liabilities

177.1

-88.8

-60.0

-185.8

220.0

Net financial derivatives and employee stock options

16.8

-1.8

3.8

20.3

9.8

Reserve assets

-12.8

31.3

-4.8

9.9

24.1

Source: Eurostat (dataset: bop_eu6_q)

EU current account surplus €134.3 bn (4)

Current account of Member States (including intra-EU flows)

As concerns the total (intra-EU plus extra-EU) current account balances of the EU Member States, based on available non-seasonally adjusted data, eighteen Member States recorded surpluses, seven recorded deficits and one Member State had its current account in balance in the first quarter of 2024 (data for France not available). The highest surpluses were observed in Germany (+€83.6 bn), the Netherlands (+€28.3 bn), Ireland (+€22.6 bn), Spain (+€12.0 bn), Sweden (+€10.3 bn), Austria (+€9.0 bn) and Denmark (+€7.2 bn). The largest deficits were recorded for Greece (‑€4.1 bn), Romania (-€4.0 bn) and Croatia (-€2.7 bn).

Tables

EU current account, breakdown by main partner countries
– neither calendar nor seasonally adjusted (bn euro) –

Partner

Period

Credit

Debit

Balance

Total

Q1 2023

1275.7

1239.7

35.9

Q1 2024

1309.8

1191.6

118.2

United Kingdom

Q1 2023

218.1

159.2

58.8

Q1 2024

225.6

159.9

65.7

USA

Q1 2023

269.8

262.8

7.0

Q1 2024

289.6

271.5

18.0

Switzerland

Q1 2023

110.4

90.0

20.4

Q1 2024

113.4

87.8

25.6

China*

Q1 2023

84.5

130.1

-45.6

Q1 2024

86.4

116.1

-29.7

Russia

Q1 2023

18.8

20.9

-2.2

Q1 2024

14.7

13.3

1.4

Japan

Q1 2023

34.5

32.7

1.8

Q1 2024

34.3

32.2

2.2

Canada

Q1 2023

22.2

14.9

7.3

Q1 2024

24.7

15.2

9.6

Hong Kong

Q1 2023

17.6

10.5

7.1

Q1 2024

19.9

11.1

8.9

India

Q1 2023

20.1

23.0

-2.9

Q1 2024

21.6

22.6

-1.0

Brazil

Q1 2023

22.4

14.7

7.7

Q1 2024

22.2

14.2

8.0

Offshore financial centres

Q1 2023

79.2

78.1

1.1

Q1 2024

83.1

74.4

8.6

Other countries

Q1 2023

395.9

413.4

-17.5

Q1 2024

394.3

384.4

9.8

* Excluding Hong Kong

Source: Eurostat (dataset: bop_eu6_q)

EU current account surplus €134.3 bn (5)

EU goods account, breakdown by main partner countries
– neither calendar nor seasonally adjusted (bn euro) –

Partner

Period

Credit

Debit

Balance

Total

Q1 2023

667.7

629.1

38.7

Q1 2024

649.8

547.9

101.9

United Kingdom

Q1 2023

92.9

52.9

40.0

Q1 2024

93.8

45.8

48.0

USA

Q1 2023

128.1

75.5

52.6

Q1 2024

132.7

73.9

58.8

Switzerland

Q1 2023

44.9

37.2

7.7

Q1 2024

41.3

33.3

8.0

China*

Q1 2023

62.6

116.9

-54.2

Q1 2024

62.4

102.5

-40.2

Russia

Q1 2023

11.9

17.3

-5.4

Q1 2024

8.7

8.8

-0.1

Japan

Q1 2023

18.5

17.3

1.2

Q1 2024

17.5

15.5

2.0

Canada

Q1 2023

10.8

6.0

4.8

Q1 2024

12.0

6.0

6.0

Hong Kong

Q1 2023

8.2

4.0

4.2

Q1 2024

8.6

4.1

4.6

India

Q1 2023

12.3

14.9

-2.6

Q1 2024

12.5

13.4

-0.8

Brazil

Q1 2023

8.2

10.3

-2.1

Q1 2024

8.0

9.3

-1.3

Offshore financial centres

Q1 2023

27.0

15.1

11.8

Q1 2024

20.5

13.8

6.7

Other countries

Q1 2023

250.5

265.6

-15.1

Q1 2024

240.5

225.7

14.8

* Excluding Hong Kong

Source: Eurostat (dataset: bop_eu6_q)

EU current account surplus €134.3 bn (6)

EU services account, breakdown by main partner countries
– neither calendar nor seasonally adjusted (bn euro) –

Partner

Period

Credit

Debit

Balance

Total

Q1 2023

318.8

297.8

21.0

Q1 2024

340.2

315.1

25.1

United Kingdom

Q1 2023

62.3

53.0

9.3

Q1 2024

65.7

57.8

7.9

USA

Q1 2023

68.5

96.6

-28.1

Q1 2024

70.9

107.0

-36.2

Switzerland

Q1 2023

34.6

23.0

11.6

Q1 2024

37.8

23.1

14.7

China*

Q1 2023

13.1

10.0

3.2

Q1 2024

15.3

10.0

5.3

Russia

Q1 2023

3.2

1.3

1.9

Q1 2024

2.3

1.0

1.3

Japan

Q1 2023

9.7

4.9

4.7

Q1 2024

9.3

4.7

4.6

Canada

Q1 2023

5.4

4.3

1.1

Q1 2024

5.9

4.4

1.5

Hong Kong

Q1 2023

5.7

3.6

2.0

Q1 2024

7.6

3.4

4.2

India

Q1 2023

5.3

7.1

-1.7

Q1 2024

6.3

8.1

-1.8

Brazil

Q1 2023

5.3

2.4

2.9

Q1 2024

5.9

2.3

3.6

Offshore financial centres

Q1 2023

22.2

30.2

-8.0

Q1 2024

26.5

28.3

-1.8

Other countries

Q1 2023

89.3

65.1

24.2

Q1 2024

94.4

68.3

26.0

* Excluding Hong Kong

Source: Eurostat (dataset: bop_eu6_q)

EU current account surplus €134.3 bn (7)

EU direct investment, breakdown by main partner countries
– neither calendar nor seasonally adjusted (bn euro) –

Partner

Period

Net acquisition of
Assets

Net incurrence of
Liabilities

Net

Total

Q1 2023

80.3

-8.7

89.0

Q1 2024

118.2

35.0

83.2

United Kingdom

Q1 2023

38.0

20.8

17.1

Q1 2024

28.1

33.3

-5.3

USA

Q1 2023

9.2

-2.3

11.5

Q1 2024

28.1

5.6

22.5

Switzerland

Q1 2023

-4.9

26.7

-31.6

Q1 2024

12.5

18.4

-5.9

China*

Q1 2023

6.1

3.0

3.1

Q1 2024

6.1

0.5

5.6

Russia

Q1 2023

-4.7

-14.4

9.7

Q1 2024

-1.6

1.0

-2.5

Japan

Q1 2023

-0.4

1.4

-1.8

Q1 2024

2.1

-1.1

3.2

Canada

Q1 2023

3.4

2.7

0.7

Q1 2024

0.7

-8.2

8.8

Hong Kong

Q1 2023

0.2

-0.6

0.8

Q1 2024

19.0

0.5

18.5

India

Q1 2023

11.5

0.7

10.8

Q1 2024

2.1

0.0

2.1

Brazil

Q1 2023

8.4

-1.1

9.5

Q1 2024

6.7

1.7

5.0

Offshore financial centres

Q1 2023

-28.6

-31.0

2.4

Q1 2024

23.6

-9.7

33.3

Other countries

Q1 2023

42.3

-15.3

57.6

Q1 2024

9.7

-6.7

16.5

* Excluding Hong Kong

Source: Eurostat (dataset: bop_eu6_q)

EU current account surplus €134.3 bn (8)

Current accounts balances – national data (intra-EU + extra-EU)
– neither calendar nor seasonally adjusted (bn euro) –

Countries

Q1 2023

Q2 2023

Q3 2023

Q4 2023

Q1 2024

Belgium

0.2

-5.0

-3.1

2.2

3.1

Bulgaria

-0.4

0.6

0.4

-0.8

0.3

Czechia

1.5

-0.8

0.0

0.5

4.2

Denmark

6.7

11.2

8.4

10.7

7.2

Germany

68.6

49.6

68.3

71.1

83.6

Estonia

0.0

-0.3

-0.4

0.2

-0.1

Ireland

13.6

15.8

20.8

-0.4

22.6

Greece

-3.9

-4.2

1.0

-6.8

-4.1

Spain

10.5

8.6

10.5

8.2

12.0

France (1)

:

:

:

:

:

Croatia

-2.6

-0.7

5.2

-1.1

-2.7

Italy

-8.5

-0.4

11.0

9.2

4.4

Cyprus

-1.9

-0.3

-0.5

-0.9

-0.9

Latvia

-0.5

-0.4

-0.6

-0.2

-0.2

Lithuania

0.2

0.2

0.2

0.8

0.9

Luxembourg

0.4

1.7

1.8

1.5

1.7

Hungary

0.0

1.0

0.4

-0.9

2.1

Malta

-0.1

0.0

0.2

0.0

0.0

Netherlands

25.5

24.2

22.3

33.2

28.3

Austria

7.3

-1.2

2.0

4.7

9.0

Poland

4.7

1.5

1.8

3.6

4.7

Portugal

0.0

0.6

3.4

-0.3

1.5

Romania

-4.0

-5.1

-6.6

-6.9

-4.0

Slovenia

0.5

1.1

0.6

0.6

0.7

Slovakia

-0.6

0.3

-0.4

-1.2

0.1

Finland

-0.2

-4.1

0.3

0.9

-1.1

Sweden

9.3

8.0

8.7

8.9

10.3

Iceland

-0.1

0.0

0.5

-0.2

-0.3

Norway

27.4

14.6

16.9

19.5

21.8

Switzerland

11.3

16.6

18.6

14.4

17.0

Bosnia and Herzegovina

-0.2

-0.2

-0.1

-0.2

-0.5

Montenegro

-0.3

-0.3

0.2

-0.4

-0.4

North Macedonia

0.1

-0.1

0.2

-0.1

-0.2

Albania

-0.1

-0.2

0.4

-0.2

-0.4

Serbia

-0.2

-0.4

-0.2

-1.0

-0.4

Türkiye

-22.9

-11.1

-2.5

-5.3

-10.0

Kosovo*

-0.2

-0.3

0.2

-0.4

-0.3

c Confidential

(1) Data for France will be released on 11 July 2024.

* Kosovo, under United Nations Security Council Resolution 1244/99.

Source: Eurostat (dataset: bop_c6_q)

EU current account surplus €134.3 bn (9)

Services accounts balances – national data (intra-EU + extra-EU)
– neither calendar nor seasonally adjusted (bn euro) –

Countries

Q1 2023

Q2 2023

Q3 2023

Q4 2023

Q1 2024

Belgium

-0.9

-1.4

-3.6

-0.3

-1.4

Bulgaria

1.2

1.5

2.6

1.4

1.4

Czechia

1.1

1.1

1.1

0.7

1.1

Denmark

1.5

1.0

0.7

-0.5

-0.3

Germany

-10.0

-17.6

-23.4

-12.0

-12.5

Estonia

0.6

0.8

0.6

0.7

0.6

Ireland

-0.8

7.4

8.6

-7.7

7.8

Greece

1.1

5.6

12.4

2.8

1.3

Spain

16.9

24.8

30.0

21.2

20.4

France (1)

:

:

:

:

:

Croatia

1.1

3.5

9.4

1.8

0.9

Italy

-5.8

-1.2

3.2

-3.6

-5.2

Cyprus

1.2

1.9

2.1

1.6

1.4

Latvia

0.4

0.6

0.7

0.5

0.4

Lithuania

1.7

2.1

2.1

1.8

2.1

Luxembourg

6.3

7.2

6.6

7.2

7.4

Hungary

2.0

2.4

3.0

2.4

2.1

Malta

1.2

1.5

1.7

1.3

1.2

Netherlands

5.9

10.7

7.0

10.5

7.8

Austria

5.0

-0.3

0.8

2.2

5.8

Poland

9.4

10.4

10.1

9.7

9.3

Portugal

5.2

7.1

9.8

5.9

6.1

Romania

3.8

3.4

3.1

3.2

3.2

Slovenia

0.8

1.0

1.0

1.0

0.8

Slovakia

0.2

0.2

0.1

0.0

0.1

Finland

-2.2

-2.8

-2.2

-2.8

-2.0

Sweden

-2.5

-1.8

-0.7

-2.6

-1.2

Iceland

0.2

0.6

1.0

0.2

0.1

Norway

-1.6

-2.5

-2.0

-2.3

-1.2

Switzerland

-2.9

-6.2

-5.8

-9.1

-3.9

Bosnia and Herzegovina

0.4

0.5

0.6

0.5

0.4

Montenegro

0.1

0.4

1.0

0.2

0.1

North Macedonia

0.3

0.0

0.3

0.2

0.3

Albania

0.6

0.8

1.3

0.8

0.6

Serbia

0.8

0.8

0.6

0.9

0.7

Türkiye

7.0

11.5

19.8

10.3

6.6

Kosovo*

0.3

0.3

0.9

0.2

0.3

c Confidential

(1) Data for France will be released on 11 July 2024.

* Kosovo, under United Nations Security Council Resolution 1244/99.

Source: Eurostat (dataset: bop_c6_q)

EU current account surplus €134.3 bn (10)

Notes for users

Revisions and timetable

The EU balance of payments estimates for the reference quarter are based on figures provided by the Member States to Eurostat 82 days (euro area Member States) or 85 days (non-euro area Member States) after the end of the reference quarter and should be considered as provisional. Figures may be subject to revision when data for later quarters are transmitted by the Member States.

A more limited set of monthly data is available in the Eurostat on-line database approximately 51 days after the end of the reference month. The publication timetable of balance of payments statistics for 2024 is available here.

Methods and definitions

The current account covers all transactions occurring between resident and non-resident entities, and refers to international trade in goods and services, as well as primary and secondary income. The capital account comprises capital transfers and the acquisition and disposal of non-produced, non-financial assets. The financial account records transactions that involve financial assets and liabilities, and take place between residents and non-residents and is further subdivided into direct investment, portfolio investment, other investment, financial derivatives and employee stock options and reserve assets. Further details of the statistical concepts and definitions used can be found on the Eurostat website here.

In line with the agreed allocation of responsibility, the European Central Bank (ECB) is in charge of compiling and disseminating monthly and quarterly balance of payments and quarterly international investment position statistics for the euro area, while the European Commission (Eurostat) is responsible for monthly, quarterly and annual aggregates of the EU. The aggregates for the euro area and the EU are compiled consistently on the basis of Member States' transactions with residents of countries outside the euro area and the European Union respectively.

Geographical information

The European Union (EU27) includes Belgium, Bulgaria, Czechia, Denmark, Germany, Estonia, Ireland, Greece, Spain, France, Croatia, Italy, Cyprus, Latvia, Lithuania, Luxembourg, Hungary, Malta, the Netherlands, Austria, Poland, Portugal, Romania, Slovenia, Slovakia, Finland and Sweden.

The euro area (EA20) includes Belgium, Germany, Estonia, Ireland, Greece, Spain, France, Croatia, Italy, Cyprus, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Austria, Portugal, Slovenia, Slovakia and Finland.

Offshore Financial Centres (OFC) is an aggregate that includes 40 countries. As example, the aggregate contains financial centres such as Liechtenstein, Guernsey, Jersey, the Isle of Man, Andorra, Gibraltar, Panama, Bermuda, the Bahamas, the Cayman Islands, British Virgin Islands, Bahrain, Hong Kong, Singapore and the Philippines.

For more information

  • Website section on balance of payments

  • Metadata on balance of payments statistics

  • Database section on balance of payments

  • Statistics Explained article on balance of payments and Statistics Explained article on the quarterly data

  • ECB statistics on balance of payments data

  • Euro indicators dashboard

  • Release calendar for Euro indicators

  • European Statistics Code of Practice

Get in touch

Media requests

Eurostat Media Support

Phone: (+352) 4301 33 408

E-mail: eurostat-mediasupport@ec.europa.eu

Further information on data

Peter POSPISIL

Phone: (+352) 4301 34 324

Matthias LUDWIG

Phone: (+352) 4301 38 380

E-mail: ESTAT-BOP@ec.europa.eu

Share component will be rendered here.

'; /** Retrieve the order from the tooltip option */ var sortOrder = option.tooltip.order; /** Sort the 'params' array based on the 'sortOrder' parameter. */ switch (sortOrder) { /** Sort by series name in ascending order. */ case 'seriesAsc': params = params.sort((a, b) => a.seriesName.localeCompare(b.seriesName)); break; /** Sort by series name in descending order. */ case 'seriesDesc': params = params.sort((a, b) => b.seriesName.localeCompare(a.seriesName)); break; /** Sort by numerical value in ascending order. */ case 'valueAsc': params = params.sort((a, b) => parseFloat(a.value) - parseFloat(b.value)); break; /** Sort by numerical value in descending order. */ case 'valueDesc': params = params.sort((a, b) => parseFloat(b.value) - parseFloat(a.value)); break; /** Reverse the current order. */ case 'reverse': params.reverse(); break; default: break; } /** Iterate over each series in the tooltip parameters */ for (var i = 0; i < params.length; i++) { /** Retrieve the name and value of the current series */ var seriesName = params[i].seriesName; var value = params[i].value; /** Replace every specific apostrphe by simple one. */ seriesName = seriesName.replaceAll("’", "'"); /** Convert the numeric value to its string representation. */ var strValue = String(value); /** Retrieve the axis used as value */ var axis = option.yAxis.type === 'value' ? option.yAxis : option.xAxis; /** Initialize the number of decimal places */ var decimals = option.tooltip.decimals; /** Check if decimals configuration is set to default and the value contains decimal places */ if (!decimals && strValue.indexOf('.') > -1) { /** Calculate the number of decimal places */ decimals = strValue.substring(strValue.indexOf('.'), strValue.length - 1).length; } else { /** If there are no decimal places, format the value with 1 decimal place */ decimals = decimals ? decimals : 1; /** Convert the value to a fixed-point notation string with a specified number of decimal places. */ value = Number(value).toFixed(decimals); } /** Convert -0 value to 0 with the specified or calculated number of decimal places.*/ if (Number(value) == -0) { value = (Number(value) + 0).toFixed(decimals); } /** Extract the unit from within the axis label */ var unit = axis.axisLabel.unit ? axis.axisLabel.unit : ''; /** Format the value using the appropriate number of decimal places */ value = isNaN(value) ? 'N/A' : Number(value).toLocaleString(option.lang ? option.lang : 'en', { minimumFractionDigits: decimals }) + unit; /** Retrieve the color of the current series */ const color = params[i].color; /** * Add the series name and value to the tooltip content * Use a circle icon with the series color */ tooltipContent += '

' + '' + '' + '' + seriesName + '' + '' + '' + value + '' + '

'; } /** Close the tooltip content container */ tooltipContent += '

'; /** Return the formatted tooltip content */ return tooltipContent; }}/* * This content is licensed according to the W3C Software License at * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * * File: sortable-table.js * * Desc: Adds sorting to a HTML data table that implements ARIA Authoring Practices */'use strict';class SortableTable { constructor(tableNode) { this.tableNode = tableNode; this.columnHeaders = tableNode.querySelectorAll('thead th.sortable'); this.sortColumns = []; for (var i = 0; i < this.columnHeaders.length; i++) { var ch = this.columnHeaders[i]; var buttonNode = ch.querySelector('button'); if (buttonNode) { this.sortColumns.push(i); // buttonNode.setAttribute('data-column-index', i); // buttonNode.addEventListener('click', this.handleClick.bind(this)); ch.setAttribute('data-column-index', i); ch.addEventListener('click', this.handleClick.bind(this)); } } this.optionCheckbox = document.querySelector( 'input[type="checkbox"][value="show-unsorted-icon"]' ); if (this.optionCheckbox) { this.optionCheckbox.addEventListener( 'change', this.handleOptionChange.bind(this) ); if (this.optionCheckbox.checked) { this.tableNode.classList.add('show-unsorted-icon'); } } } setColumnHeaderSort(columnIndex) { if (typeof columnIndex === 'string') { columnIndex = parseInt(columnIndex); } for (var i = 0; i < this.columnHeaders.length; i++) { var ch = this.columnHeaders[i]; var buttonNode = ch.querySelector('button'); if (i === columnIndex) { var value = ch.getAttribute('aria-sort'); if (value === 'ascending') { ch.setAttribute('aria-sort', 'descending'); this.sortColumn( columnIndex, 'descending', ch.classList.contains('num')); } else if (value === 'descending') { ch.removeAttribute('aria-sort'); this.sortColumn( columnIndex, 'initial', true ); } else { ch.setAttribute('aria-sort', 'ascending'); this.sortColumn( columnIndex, 'ascending', ch.classList.contains('num') ); } } else { if (ch.hasAttribute('aria-sort') && buttonNode) { ch.removeAttribute('aria-sort'); } } } } sortColumn(columnIndex, sortValue, isNumber) { function compareValues(a, b) { if (a.value === b.value) return 0; if (sortValue === 'descending') { return isNumber ? b.value - a.value : (a.value > b.value ? -1 : 1); } else { return isNumber ? a.value - b.value : (a.value < b.value ? -1 : 1); } } if (typeof isNumber !== 'boolean') { isNumber = false; } var tbodyNode = this.tableNode.querySelector('tbody'); var rowNodes = []; var dataCells = []; var rowNode = tbodyNode.firstElementChild; var index = 0; while (rowNode) { rowNodes.push(rowNode); var rowCells = rowNode.querySelectorAll('th, td'); var dataCell = rowCells[columnIndex]; var data = {}; data.index = index; if (sortValue !== 'initial') { data.value = dataCell.textContent.toLowerCase().trim(); } else { data.value = rowNode.getAttribute('initial-position').toLowerCase().trim(); } if (isNumber) { data.value = parseFloat(data.value); } dataCells.push(data); rowNode = rowNode.nextElementSibling; index += 1; } dataCells.sort(compareValues); // remove rows while (tbodyNode.firstChild) { tbodyNode.removeChild(tbodyNode.lastChild); } // add sorted rows for (var i = 0; i < dataCells.length; i += 1) { let pos = [dataCells[i].index]; if (sortValue === "initial") { rowNodes[pos].classList.remove("sorted"); } else { rowNodes[pos].classList.add("sorted"); } tbodyNode.appendChild(rowNodes[pos]); } } /* EVENT HANDLERS */ handleClick(event) { var tgt = event.currentTarget; this.setColumnHeaderSort(tgt.getAttribute('data-column-index')); } handleOptionChange(event) { var tgt = event.currentTarget; if (tgt.checked) { this.tableNode.classList.add('show-unsorted-icon'); } else { this.tableNode.classList.remove('show-unsorted-icon'); } }}$(document).ready(function() { load(); });;}());

Subscribe to receive the latest Eurostat Euro indicators releases

Subscribe
EU current account surplus €134.3 bn (2024)

FAQs

EU current account surplus €134.3 bn? ›

In the first quarter of 2024, the EU seasonally adjusted current account of the balance of payments recorded a surplus of €134.3 billion (+3.1% of GDP), compared with a surplus of €89.8 billion (+2.1% of GDP) in the fourth quarter of 2023 and a surplus of €55.2 billion (+1.3% of GDP) in the first quarter of 2023, ...

What does a current account surplus mean? ›

A current account surplus means that a country has more exports and incoming payments than imports and outgoing payments to other countries. It is generally deemed a positive because the current account surplus adds to a country's reserves.

What is the ECB current account? ›

The current account shows flows of goods, services, primary income and secondary income between residents and non-residents.

What is the current account of the EU? ›

Current account. The current account of the EU, (EU vis-à-vis extra-EU), showed a surplus of €329.2 billion in 2023 (see Figure 1), corresponding to 1.9 % of gross domestic product (GDP). By comparison, in 2022 the current account exhibited a deficit of -€56.1 billion.

Why is Germany in a current account surplus? ›

German leaders attribute their country's surplus primarily to the competitiveness of its manufacturing sector, domestic saving rates, and exogenous factors such as European monetary policy and the value of the euro, the currency that Germany shares with 18 other member states of the European Union.

How to fix current account surplus? ›

There are three main policies:
  1. Devalue the exchange rate – cheaper exports and more expensive imports should improve the current account. ...
  2. Reduce consumer spending – Tight fiscal/monetary policy will lead to a slowdown in consumer spending – reducing imports and improving the current account.

What does it mean when your account is in surplus? ›

The Relationship Between the Accounts

Consequently, when the balance of one account is in surplus (i.e. has a positive value, representing a credit), the balance of the other account must be in deficit (i.e. has a negative value, representing a debit).

What is ECB payment? ›

External Commercial Borrowings (ECB) in India. External Commercial Borrowings are commercial loans widely used by eligible resident entities who raise ECBs from recognised non-resident entities.

What is a basic current account in the EU? ›

Right to a basic bank account

If you are legally resident in an EU country you are entitled to open a "basic payment account". Banks cannot refuse your application for a basic payment account just because you don't live in the country where the bank is established.

Why is a current account surplus equivalent to foreign investment? ›

A current account surplus is equivalent to foreign investment because surplus in current account means increment in national savings.

What is the EU account balance? ›

In the first quarter of 2024, the EU seasonally adjusted current account of the balance of payments recorded a surplus of €134.3 billion (+3.1% of GDP), compared with a surplus of €89.8 billion (+2.1% of GDP) in the fourth quarter of 2023 and a surplus of €55.2 billion (+1.3% of GDP) in the first quarter of 2023, ...

What are the disadvantages of a current account? ›

No interest or low interest: Traditionally, current accounts do not offer interest, and even if they do, the interest rates might not be as attractive as savings accounts. Minimum balance requirements: Some types of current accounts do have minimum balance requirements, failing which there could be penalties.

What is the difference between current account surplus and current account deficit? ›

In simple words, Current Account Deficit (CAD) arises when the value of exports of goods and services is less than the value of imports of goods and services. Current Account surplus (CAS) is a situation that arises when the receipts on current account is more than the payments on current account.

Does the US have a current account surplus? ›

Advanced economies, such as the United States (see chart), run current account deficits, whereas developing and emerging market economies often run surpluses or near surpluses.

Which country has the biggest current account surplus? ›

Breakdown of the current account balances of G20 countries 2022 and 2027. China had the highest positive current account balance of the 19 countries that are members of the G20, reaching over 400 billion U.S. dollars in 2022.

What are the benefits of a current account surplus for a country? ›

How does a Current Account Surplus impact the national economy? A current account surplus embodies an economy is exporting more than it is importing, leading to an inflow of foreign currency. It strengthens the country's currency, reduces dependency on external borrowing, and stabilises the economy.

Is it better to have a current account surplus or deficit? ›

The truth is, current account deficits are not always bad, and nor are current account surpluses always good. The difference between a country's national income (Y) and private plus government consumption (C+G) is national savings (S) (i.e., private and government savings).

What does a current account surplus generally result from? ›

A current account surplus is generally a result of e. exports exceeding imports. Current account records the transaction related to imports and exports of the country. Imports are debited in the current account whereas exports are credited in the current account.

Why is a large current account surplus bad? ›

A country may have a large current account surplus because of relatively weak domestic demand. This weak demand leads to lower consumer spending and lower spending on imports. Therefore, in this case, domestic employment will suffer from a weak economy.

What happens if the financial account is in surplus? ›

A surplus on the financial account means that there are more investment funds flowing into the country than flowing out. These inflows may be to fund a deficit on the current account of the balance of payments. Inward investment may help create jobs and boost growth, but anyone investing in an economy expects a return.

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Lilliana Bartoletti

Last Updated:

Views: 5955

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Lilliana Bartoletti

Birthday: 1999-11-18

Address: 58866 Tricia Spurs, North Melvinberg, HI 91346-3774

Phone: +50616620367928

Job: Real-Estate Liaison

Hobby: Graffiti, Astronomy, Handball, Magic, Origami, Fashion, Foreign language learning

Introduction: My name is Lilliana Bartoletti, I am a adventurous, pleasant, shiny, beautiful, handsome, zealous, tasty person who loves writing and wants to share my knowledge and understanding with you.