Yes, a smart meter is necessary to measure your consumption and injection separately and to ensure correct billing.