Japan logged a goods trade deficit of ¥1.64 trillion ($14.95 billion) in 2019, marking a second straight year of red ink amid slowing demand in China, government data showed Thursday.

Exports fell 5.6 percent from a year earlier to ¥76.93 trillion, outpacing a 5.0 percent decrease in imports to ¥78.57 trillion, according to a preliminary report by the Finance Ministry.

By region, Japan saw a deficit of ¥3.76 trillion with China, its largest trading partner in terms of the total sum of imports and exports.