Device for handling bills (28, 48, 50), having a dispensing compartment for retrieving bills which comprises a depositing element that delimits the dispensing compartment on a first side, and a delimiting element that delimits the dispensing compartment on a second side, having a closure element which in a closed position delimits the dispensing compartment on a third side, and which in an opened position enables access to bills provided in the dispensing compartment, wherein the closure element for opening the dispensing compartment is pivotable from the closed position to an opened position, and for closing the dispensing compartment is pivotable from the opened position to the closed position, having a control unit, wherein the delimiting element for feeding the bills into the dispensing compartment is disposed in a first delimiting position, wherein the control unit is configured to actuate a first drive unit for moving the depositing element in the direction of the delimiting element, wherein the delimiting element is disposed in such a manner that it, in the event of a movement of the depositing element in the direction of the delimiting element, is moved from the first delimiting position to a second delimiting position, and wherein the control unit is configured, for opening the dispensing compartment, to actuate a second drive unit so as to move the closure element from the closed position to the opened position, characterized in that an engagement element (102, 103) of the delimiting element comes to engage with an engagement region of the closure element when the closure element is moved, or in the opened position of the closure element, when the delimiting element is in the second delimiting position, and in that the delimiting element is movable with the aid of the closure element from the second delimiting position to a third delimiting position. having a dispensing compartment for retrieving bills which comprises a depositing element that delimits the dispensing compartment on a first side, and a delimiting element that delimits the dispensing compartment on a second side, having a closure element which in a closed position delimits the dispensing compartment on a third side, and which in an opened position enables access to bills provided in the dispensing compartment, wherein the closure element for opening the dispensing compartment is pivotable from the closed position to an opened position, and for closing the dispensing compartment is pivotable from the opened position to the closed position, having a control unit, wherein the delimiting element for feeding the bills into the dispensing compartment is disposed in a first delimiting position, wherein the control unit is configured to actuate a first drive unit for moving the depositing element in the direction of the delimiting element, wherein the delimiting element is disposed in such a manner that it, in the event of a movement of the depositing element in the direction of the delimiting element, is moved from the first delimiting position to a second delimiting position, and wherein the control unit is configured, for opening the dispensing compartment, to actuate a second drive unit so as to move the closure element from the closed position to the opened position, characterized in that an engagement element (102, 103) of the delimiting element comes to engage with an engagement region of the closure element when the closure element is moved, or in the opened position of the closure element, when the delimiting element is in the second delimiting position, and in that the delimiting element is movable with the aid of the closure element from the second delimiting position to a third delimiting position.