We consider the discrepancy of the integer lattice with respect to the collection of all translated copies of a dilated convex body having a finite number of flat, possibly non-smooth, points in its boundary. We estimate the L p norm of the discrepancy with respect to the translation variable as the dilation parameter goes to infinity. If there is a single flat point with normal in a rational direction we obtain an asymptotic expansion for this norm. Anomalies may appear when two flat points have opposite normals. When all the flat points have normals in generic irrational directions, we obtain a smaller discrepancy. Our proofs depend on careful estimates for the Fourier transform of the characteristic function of the convex body.(3)1991 Mathematics Subject Classification. 11H06, 42B05.