<?xml version="1.0" encoding="utf-8"?><wb:data page="1" pages="2" per_page="50" total="66" sourceid="2" lastupdated="2026-11-11" xmlns:wb="http://www.worldbank.org"><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2025</wb:date><wb:value>28605385349.2998</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2024</wb:date><wb:value>42778827261.0579</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2023</wb:date><wb:value>46961991977.1583</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2022</wb:date><wb:value>67459796903.6798</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2021</wb:date><wb:value>64626902393.5776</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2020</wb:date><wb:value>37683095972.4205</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2019</wb:date><wb:value>30322872791.4496</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2018</wb:date><wb:value>63958429156.7585</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2017</wb:date><wb:value>33577736758.6064</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2016</wb:date><wb:value>44962670965.5697</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2015</wb:date><wb:value>23777330434.0906</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2014</wb:date><wb:value>31972292815.4555</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2013</wb:date><wb:value>47143326585.2815</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2012</wb:date><wb:value>19250404232.1962</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2011</wb:date><wb:value>25874478945.7384</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2010</wb:date><wb:value>35969020812.8424</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2009</wb:date><wb:value>7562359636.56542</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2008</wb:date><wb:value>71347116196.2984</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2007</wb:date><wb:value>70291846189.2949</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2006</wb:date><wb:value>35455663078.3571</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2005</wb:date><wb:value>28282647905.3934</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2004</wb:date><wb:value>25642926665.1153</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2003</wb:date><wb:value>31005892770.6414</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2002</wb:date><wb:value>39314607366.2039</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2001</wb:date><wb:value>29016725788.2085</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>2000</wb:date><wb:value>40723543114.0509</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1999</wb:date><wb:value>19806975250.9892</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1998</wb:date><wb:value>15714658309.1109</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1997</wb:date><wb:value>9433660064.59713</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1996</wb:date><wb:value>9801379213.11597</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1995</wb:date><wb:value>8281607344.6532</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1994</wb:date><wb:value>8772628136.87355</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1993</wb:date><wb:value>10808165172.6316</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1992</wb:date><wb:value>13275723087.2105</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1991</wb:date><wb:value>12492782828.6164</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1990</wb:date><wb:value>13983611812.0264</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1989</wb:date><wb:value>8428379548.62269</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1988</wb:date><wb:value>7020568173.67176</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1987</wb:date><wb:value>4570700793.28043</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1986</wb:date><wb:value>3450598177.34751</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1985</wb:date><wb:value>1967804468.48446</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1984</wb:date><wb:value>1771829759.76171</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1983</wb:date><wb:value>1622388936.13354</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1982</wb:date><wb:value>1782685065.75119</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1981</wb:date><wb:value>1706766879.37235</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1980</wb:date><wb:value>1492697189.6098</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1979</wb:date><wb:value>1396810448.79965</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1978</wb:date><wb:value>1178156262.29804</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1977</wb:date><wb:value>607674770.017613</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data><wb:data><wb:indicator id="BX.KLT.DINV.CD.WD">Foreign direct investment, net inflows (BoP, current US$)</wb:indicator><wb:country id="ES">Spain</wb:country><wb:countryiso3code>ESP</wb:countryiso3code><wb:date>1976</wb:date><wb:value>477622019.881708</wb:value><wb:unit /><wb:obs_status /><wb:decimal>0</wb:decimal></wb:data></wb:data>