\documentclass[tikz, convert]{standalone}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}[circuit ee IEC]
 	\draw (0,0) to [voltage source={direction info={<-},info={$U$}}] (0,2) to [resistor={info={$R$}}] (1.5,2) to [current direction={info={$I$}}] (2,2) to [diode={info={$D$}}] (2,0) to (0,0);
 \end{tikzpicture}
\end{document}