In a banknote handling device (1), a memory (12) included in a thickness sensor module (10) stores a plurality of pieces of reference data indicating association between a detection value of a thickness sensor (11) and a measurement value of the thickness of a banknote. A processor (21) included in a control board (20) reads the pieces of reference data stored in the memory (12) from the memory (12), creates a conversion table for converting the detection value into the measurement value based on the pieces of read reference data, and writes the created conversion table into the memory (12).