Cash box having a receiving region in which several notes of value (10, 12) in the form of a stack of notes of value can be received, having a counterpressure unit which delimits the receiving region and which can be moved between a first position, in which the receiving region has a minimum volume, and a second position, in which the receiving region has a maximum volume, in a depositing direction and counter to the depositing direction, wherein a sensor unit is provided with at least one sensor element, wherein the sensor unit outputs a sensor signal, which is dependent on the position of the sensor element, wherein the counterpressure unit has a cutout for receiving at least a portion of the sensor element, wherein the sensor element and the cutout are arranged and designed in such a way that the sensor element is received in the cutout only when the counterpressure unit is in the first position and there are no notes of value (10, 12) between the sensor element and the cutout, wherein the cash box is provided with a control unit which, on the basis of the sensor signal from the sensor unit and the position of the counterpressure unit, determines whether the cash box is empty, wherein the sensor unit detects a first sensor element position of the sensor element when there is at least one note of value (10, 12) between the sensor element and the counterpressure unit, the front side or rear side of the note of value making contact with the sensor element, wherein the sensor element is moved counter to the depositing direction owing to the contact with the note of value (10, 12), wherein several notes of value (10, 12) that have been received in the receiving region form a stack of notes of value, wherein the notes of value (10, 12) in the stack of notes of value are arranged one above the other in an operating position of the cash box in such a way that the lowermost note of value (10, 12) rests by way of its front side or its rear side on the counterpressure unit, characterized in that the control unit, when notes of value (10, 12) are fed into the cash box based on the sensor signal that the sensor element is in the first sensor element position, actuates the counterpressure unit or a drive unit of the counterpressure unit in such a way that the counterpressure unit is moved in the depositing direction until the sensor element is no longer in the first sensor element position and the sensor unit outputs a corresponding sensor signal. having a receiving region in which several notes of value (10, 12) in the form of a stack of notes of value can be received, having a counterpressure unit which delimits the receiving region and which can be moved between a first position, in which the receiving region has a minimum volume, and a second position, in which the receiving region has a maximum volume, in a depositing direction and counter to the depositing direction, wherein a sensor unit is provided with at least one sensor element, wherein the sensor unit outputs a sensor signal, which is dependent on the position of the sensor element, wherein the counterpressure unit has a cutout for receiving at least a portion of the sensor element, wherein the sensor element and the cutout are arranged and designed in such a way that the sensor element is received in the cutout only when the counterpressure unit is in the first position and there are no notes of value (10, 12) between the sensor element and the cutout, wherein the cash box is provided with a control unit which, on the basis of the sensor signal from the sensor unit and the position of the counterpressure unit, determines whether the cash box is empty, wherein the sensor unit detects a first sensor element position of the sensor element when there is at least one note of value (10, 12) between the sensor element and the counterpressure unit, the front side or rear side of the note of value making contact with the sensor element, wherein the sensor element is moved counter to the depositing direction owing to the contact with the note of value (10, 12), wherein several notes of value (10, 12) that have been received in the receiving region form a stack of notes of value, wherein the notes of value (10, 12) in the stack of notes of value are arranged one above the other in an operating position of the cash box in such a way that the lowermost note of value (10, 12) rests by way of its front side or its rear side on the counterpressure unit, characterized in that the control unit, when notes of value (10, 12) are fed into the cash box based on the sensor signal that the sensor element is in the first sensor element position, actuates the counterpressure unit or a drive unit of the counterpressure unit in such a way that the counterpressure unit is moved in the depositing direction until the sensor element is no longer in the first sensor element position and the sensor unit outputs a corresponding sensor signal.