The ONS said government borrowing stood at £1.8 billion in July, £700 million more than a year ago.