China's total goods imports and exports expanded 6 percent year on year in yuan terms in the first eight months of this year, according to official data released on Monday.