A device for producing a data card for a book-like identification, value or security document, wherein the identification, value or security document has a cover and a passport book block comprising a data card, a plurality of double pages, an endsheet and a spine tape, wherein the data card has a flexible tab connected to the data card along an edge, wherein the data card with the flexible tab, the double pages, the endsheet and the spine tape are sewn together by means of a stitching, and wherein an inner side of the cover is bonded flat to an outer side of the endsheet, wherein the device has the following: - a processing unit, wherein the processing unit has a holder for the data card and means for connecting the tab and the data card in a form-fitting and/or integrally bonded manner in an overlap region so that the tab applied to the data card protrudes beyond the surface of the data card, and - a provisioning unit for the tab, wherein the provisioning unit has a ∘ feed arrangement for an endless strip for the tab, ∘ a cutting arrangement for the endless strip, and ∘ a holding and transporting device for the tab, wherein the holding and transporting device is designed to hold a longitudinal edge of the tab and to transport the tab to the holder for the data card, characterised in that the device also comprises: ∘ means for sealing the edges of the tab, wherein the means for sealing the edges comprise, in particular, a sonotrode for an ultrasonic welding process, wherein the cutting arrangement, in the production flow, is arranged after the means for sealing the edges of the tab. - a processing unit, wherein the processing unit has a holder for the data card and means for connecting the tab and the data card in a form-fitting and/or integrally bonded manner in an overlap region so that the tab applied to the data card protrudes beyond the surface of the data card, and - a provisioning unit for the tab, wherein the provisioning unit has a ∘ feed arrangement for an endless strip for the tab, ∘ a cutting arrangement for the endless strip, and ∘ a holding and transporting device for the tab, wherein the holding and transporting device is designed to hold a longitudinal edge of the tab and to transport the tab to the holder for the data card, characterised in that the device also comprises: ∘ means for sealing the edges of the tab, wherein the means for sealing the edges comprise, in particular, a sonotrode for an ultrasonic welding process, wherein the cutting arrangement, in the production flow, is arranged after the means for sealing the edges of the tab. ∘ feed arrangement for an endless strip for the tab, ∘ a cutting arrangement for the endless strip, and ∘ a holding and transporting device for the tab, wherein the holding and transporting device is designed to hold a longitudinal edge of the tab and to transport the tab to the holder for the data card, characterised in that the device also comprises: ∘ means for sealing the edges of the tab, wherein the means for sealing the edges comprise, in particular, a sonotrode for an ultrasonic welding process, wherein the cutting arrangement, in the production flow, is arranged after the means for sealing the edges of the tab.