Casein and caseinates sales rose 6.8 percent to $95 million, for a 9.2 per cent annual increase.
Exports in the month of July were bolstered by sales of meat and edible offal, the country's second-biggest export commodity, which rose to $505 million in July from $406 million a year earlier, and were up an annual 15 per cent.
Fruit exports climbed to $311 million in July from $206 million a year earlier, led by the country's record kiwifruit crop.
Imports of cars, autoparts and accessories, were down 12 percent in July to $573 million, slowing the annual gain to 5.6 per cent.
Imported petrol and products sank 27 per cent to $513 million in the month, for an annual drop of 22 per cent as globally low oil prices hold down fuel costs.
Exports to China, the country's biggest trading partner, rose 14 per cent in July to $695 million, underpinned by sales of frozen beef.
Sales to China fell 28 per cent on an annual basis as the world's most populous nation scaled back its purchases of New Zealand dairy products.
Imports from China climbed 28 per cent to $898 million in July, for a 15 per cent annual increase.
Trade with the US increased in July, with exports up 30 per cent to $479 million, largely on increased beef sales, and imports rising 8.9 per cent to $665 million.
On an annual basis, exports to the US climbed 31 per cent, and imports gained 20 per cent.
See the full report here: