The device has a container (1) with an opening, where an identification unit (2) is arranged in the area of the opening, by which the objects, which are provided with one or multiple data carriers, are detected. The identification unit is provided with a reading head (3,4.1,4.2), which is used to detect the data carrier and to readout the data of the data carrier. The reading head is a bar code reader or a Radio frequency identificationreader.