When your solar system generates more electricity than you consume, the excess flows to the grid. Your meter records the exported units, which are then deducted from your bill.