A terminal unit for machine verification of a security document, wherein the terminal unit includes: - an infeed opening; - infeed means (518, 522) for automatically drawing the security document in an unfolded state into the infeed opening, wherein the infeed means are designed to draw in the unfolded security document such that, in so doing, the wide edge of the top or the wide edge (k1') of the rear wall of the security document is drawn in first in the direction of the infeed opening; - an RFID card reader, which is designed to read data from an RFID chip of the drawn-in security document, provided the RFID card reader and the RFID chip are each arranged in a reading position (LP1, LP2) inside the terminal unit; - a type identification module for automatically identifying a document type of the security document and for automatically determining a document type-specific position of the RFID chip within the unfolded security document on the basis of the identified document type, wherein the RFID chip can be situated within or on the top, within or on the rear wall, or within or on an inner side (P3, P4, P5, P6) of the security document; - a drive (518, 522), which is designed to move the RFID card reader and the drawn-in, unfolded security document relative to one another automatically on the basis of the determined position of the RFID chip, such that both the RFID card reader and the RFID chip are in their respective reading positions; - a verification module, which is designed, after the movement of the RFID card reader and/or the security document so as to achieve the respective reading positions (LP1, LP2), to read data from the RFID chip of the security document by means of the RFID card reader and to verify the security document on the basis of the read data. - an infeed opening; - infeed means (518, 522) for automatically drawing the security document in an unfolded state into the infeed opening, wherein the infeed means are designed to draw in the unfolded security document such that, in so doing, the wide edge of the top or the wide edge (k1') of the rear wall of the security document is drawn in first in the direction of the infeed opening; - an RFID card reader, which is designed to read data from an RFID chip of the drawn-in security document, provided the RFID card reader and the RFID chip are each arranged in a reading position (LP1, LP2) inside the terminal unit; - a type identification module for automatically identifying a document type of the security document and for automatically determining a document type-specific position of the RFID chip within the unfolded security document on the basis of the identified document type, wherein the RFID chip can be situated within or on the top, within or on the rear wall, or within or on an inner side (P3, P4, P5, P6) of the security document; - a drive (518, 522), which is designed to move the RFID card reader and the drawn-in, unfolded security document relative to one another automatically on the basis of the determined position of the RFID chip, such that both the RFID card reader and the RFID chip are in their respective reading positions; - a verification module, which is designed, after the movement of the RFID card reader and/or the security document so as to achieve the respective reading positions (LP1, LP2), to read data from the RFID chip of the security document by means of the RFID card reader and to verify the security document on the basis of the read data.