Germany's foreign trade surplus narrowed to €15.8 billion in July from €19.3 billion in June, after calendar and seasonal adjustments, provisional data from the Federal Statistical Office showed.
On an adjusted basis, exports slid 0.9% to €110.3 billion in July from the prior month, while imports rose 2.8% to €94.5 billion.
Germany's unadjusted trade surplus decreased to €16.5 billion in July from €21.8 billion in June, as exports increased by 7.6% on a yearly basis to €111.0 billion while imports jumped 12.0% to €94.5 billion.
In the first seven months of 2018, the unadjusted trade surplus stood at €138.3 billion, down from €140.1 billion in same period in 2017.
In July, the country's exports to European Union member states rose 8.0% from the year-ago period to €64.5 billion, while imports climbed 10.9% to €53.7 billion. July exports to countries outside the EU were up by 7.1% from the prior-year period to €46.5 billion, while imports increased by 13.6% to €40.8 billion.
Germany's current account surplus amounted to €15.3 billion in July, down from €26.6 billion the previous month and €18.7 billion in July 2017, according to provisional data from the Deutsche Bundesbank.