Vietnam’s trade deficit for June shrank to USD400 million from a combination of a surge in exports and declining imports.