Let $X$ and $Y$ be smooth scheme over a Dedekind domain (or over a field if you prefer). Let $f \colon X \to Y$ be a finite and flat morphism and let $D$ be a divisor on $X$. Since $f$ is finite flat, we have a divisor $f_\ast D$ on $Y$ and moreover the sheaf $f_\ast \mathcal O_X(D)$ is invertible (this is not true, see below).
Is it true that $f_\ast \mathcal O_X(D)$ is the invertible sheaf associated to $f_\ast D$?
Edit The question doesn't make sense, since $f_\ast \mathcal O_X(D)$ is locally free but not invertible, as Bruno Joyal pointed out. Indeed its rank is the degree of $f$, let me say $n$. So the new question is the following:
is it true that $\bigwedge^n \left ( f_\ast \mathcal O_X(D) \right )$ is the invertible sheaf associated to $f_\ast D$?