Germany’s factory orders declined unexpectedly in June on weak foreign demand especially from the euro area, official data revealed Friday.