The present invention relates to a detergent box (2) that is opened by being pulled forward, having a front compartment (3) wherein cleaning agents are placed, at least one rear compartment (4) situated behind the front compartment (3) in the direction of pulling, wherein cleaning agents are placed and an intermediate wall (5) separating the front compartment (3) and the rear compartment (4) from each other and a flushing device (6) disposed over the detergent box (2) that provides water to be directed into the appropriate compartments (3, 4) in the detergent box (2).