South Africa’s trade balance swung to a deficit of 4.66 billion rand ($317 million) in July from a revised 11.89 billion rand surplus in June, data from the revenue agency showed on Friday.

Exports fell by 2.7 percent on a month-on-month basis to 107.07 billion rand in July, while imports increased by 13.8 percent to 111.72 billion rand, the South African Revenue Service said in a statement. ($1 = 14.7243 rand).