Testing and closing system for a hinged security document, comprising: a device for electrically testing and closing a hinged security document, in particular a passport book, comprising - an electrical detection device for detecting electrically detectable information, in particular one or more electrically detectable features, which is set up to electrically test a carrier of electrically detectable information, in particular an RFID transponder, in a security document, in particular to electrically test or read out the electrically detectable information stored on the carrier, and - a mechanical device, in particular a pivot lever, which is designed to fold an opened security document, characterized in that the device comprises an optical detection device for detecting optically perceptible information, in particular one or more optically perceptible features, the optical detection device comprising in particular a camera or a camera system; and wherein the testing and closing system further comprises a receiving means for receiving a security document, wherein the receiving means comprises at least one blocking means which is configured to position at least one element of the security document in an open position with respect to a further element of the security document, wherein the blocking means is configured to position the element with respect to the further element in a first angular position of 20° to 70°, in particular in a first angular position of 45°. a device for electrically testing and closing a hinged security document, in particular a passport book, comprising - an electrical detection device for detecting electrically detectable information, in particular one or more electrically detectable features, which is set up to electrically test a carrier of electrically detectable information, in particular an RFID transponder, in a security document, in particular to electrically test or read out the electrically detectable information stored on the carrier, and - a mechanical device, in particular a pivot lever, which is designed to fold an opened security document, - an electrical detection device for detecting electrically detectable information, in particular one or more electrically detectable features, which is set up to electrically test a carrier of electrically detectable information, in particular an RFID transponder, in a security document, in particular to electrically test or read out the electrically detectable information stored on the carrier, and - a mechanical device, in particular a pivot lever, which is designed to fold an opened security document, characterized in that the device comprises an optical detection device for detecting optically perceptible information, in particular one or more optically perceptible features, the optical detection device comprising in particular a camera or a camera system; and wherein the testing and closing system further comprises a receiving means for receiving a security document, wherein the receiving means comprises at least one blocking means which is configured to position at least one element of the security document in an open position with respect to a further element of the security document, wherein the blocking means is configured to position the element with respect to the further element in a first angular position of 20° to 70°, in particular in a first angular position of 45°.