A sensor device for spectrally resolved capture of optical detection radiation which emanates from a value document transported through a capture area of the sensor device (24; 24") in a predefined transport direction, comprising - a detection device for spectrally resolved detection of the detection radiation in at least one predefined spectral detection range and emission of detection signals which represent at least one spectral property of the detected detection radiation, - an illumination device for illuminating at least a part of the capture area and for exiting the optical detection radiation, - a light barrier (78, 80, 40) or a light scanner by means of which a motion and/or a position of the value document relative to the capture area is detectable, - at least one reference radiation device (46; 46") which emits optical reference radiation which is coupled at least into one detection beam path of the detection device and which has a spectrum with a structure which is within the predefined spectral detection range, with at least one narrow band which is within the predefined spectral detection range, and/or with at least one edge which is within the predefined spectral detection range, and which has a radiation source (46; 78) which emits the reference radiation or whose radiation is employed for generating the reference radiation and which acts as the transmitter of the light barrier or of the light scanner, and - a control-evaluation device (42; 42'; 42") which is configured to receive detection signals from the detection device, evaluate them and emit evaluation signals in dependence on the result of the evaluation, and which is further configured to employ detection signals which represent the property of the reference radiation, for checking and/or for adjusting the detection device and/or for making available correction data which are employable in the evaluation of detection signals which represent the at least one property of detection radiation emanating from the value document. - a detection device for spectrally resolved detection of the detection radiation in at least one predefined spectral detection range and emission of detection signals which represent at least one spectral property of the detected detection radiation, - an illumination device for illuminating at least a part of the capture area and for exiting the optical detection radiation, - a light barrier (78, 80, 40) or a light scanner by means of which a motion and/or a position of the value document relative to the capture area is detectable, - at least one reference radiation device (46; 46") which emits optical reference radiation which is coupled at least into one detection beam path of the detection device and which has a spectrum with a structure which is within the predefined spectral detection range, with at least one narrow band which is within the predefined spectral detection range, and/or with at least one edge which is within the predefined spectral detection range, and which has a radiation source (46; 78) which emits the reference radiation or whose radiation is employed for generating the reference radiation and which acts as the transmitter of the light barrier or of the light scanner, and - a control-evaluation device (42; 42'; 42") which is configured to receive detection signals from the detection device, evaluate them and emit evaluation signals in dependence on the result of the evaluation, and which is further configured to employ detection signals which represent the property of the reference radiation, for checking and/or for adjusting the detection device and/or for making available correction data which are employable in the evaluation of detection signals which represent the at least one property of detection radiation emanating from the value document.