Washing machine comprising - a suds container for receiving water, - a drum, which is rotatably mounted in the suds container, for receiving laundry, - a device for letting liquid into the suds container, which a flushing tank having a first chamber in which a water inlet for supplying water and a discharge for discharging the supplied water are formed, and a further chamber in which a further discharge for discharging the water is formed, - a double valve having a valve and a further valve for controlling the water supply to the suds container, - an inlet line for supplying water from an external water supply to the suds container, in which line the double valve is integrated, so that the inlet line is connected via the valve of the double valve to the suds container via an inlet line part and via the further valve of the double valve to the first chamber via a further inlet line part, and - a control device for controlling the double valve, which device is designed to control the double valve in such a way that the valve and the further valve can be switched independently of one another, so that the water can be supplied to the suds container exclusively via the inlet line part, exclusively via the further inlet line part or simultaneously via the inlet line part and the further inlet line part - characterised in that - an overflow is formed between the first and further chamber (1, 4) for filling the further chamber with water from the first chamber, and - in that the first chamber has a compartment which is connected to the further chamber via the overflow and a further compartment which is connected downstream of the compartment and which can be filled with detergent. - a suds container for receiving water, - a drum, which is rotatably mounted in the suds container, for receiving laundry, - a device for letting liquid into the suds container, which a flushing tank having a first chamber in which a water inlet for supplying water and a discharge for discharging the supplied water are formed, and a further chamber in which a further discharge for discharging the water is formed, - a double valve having a valve and a further valve for controlling the water supply to the suds container, - an inlet line for supplying water from an external water supply to the suds container, in which line the double valve is integrated, so that the inlet line is connected via the valve of the double valve to the suds container via an inlet line part and via the further valve of the double valve to the first chamber via a further inlet line part, and - a control device for controlling the double valve, which device is designed to control the double valve in such a way that the valve and the further valve can be switched independently of one another, so that the water can be supplied to the suds container exclusively via the inlet line part, exclusively via the further inlet line part or simultaneously via the inlet line part and the further inlet line part - characterised in that - an overflow is formed between the first and further chamber (1, 4) for filling the further chamber with water from the first chamber, and - in that the first chamber has a compartment which is connected to the further chamber via the overflow and a further compartment which is connected downstream of the compartment and which can be filled with detergent.