A currency receiving/dispensing machine comprising: a currency receiving opening, identifying means for taking in currency set into the currency receiving opening and for identifying the currency, currency storing sections for storing the currency in a predetermined section based on a currency receiving approving instruction and a result of identification of the identifying means, a currency dispensing opening through which the currency taken out from the currency storing section is dispensed based on a currency dispensing instruction, wherein the currency receiving/dispensing machine has a plurality of maintenance modes, first maintenance mode designating means for designating a first maintenance mode in which currency can not be taken out from the currency storing section, second maintenance mode designating means for designating a second maintenance mode in which currency can be taken out from the currency storing section by input having higher security level than the first maintenance mode designating means, control means which permits maintenance and inspection other than the currency storing section and prohibits a currency dispensing command for transferring currency at least from the currency storing section when the first maintenance mode is designated by the first maintenance mode designating means, and which permits all of maintenance and inspections including the currency storing section and permits the currency dispensing command for transferring currency from the currency storing section when the second maintenance mode is designated by the second maintenance mode designating means; characterized in that the currency receiving/dispensing machine further comprises a remaining value memory means for storing and managing a remaining value of currency in the currency storing section, wherein when the first maintenance mode is designated, the control means prohibits the remaining value in the remaining value memory means from being erased, and when the second maintenance mode is designated, the control means permit to erase the remaining value in the remaining value memory means. a currency receiving opening, identifying means for taking in currency set into the currency receiving opening and for identifying the currency, currency storing sections for storing the currency in a predetermined section based on a currency receiving approving instruction and a result of identification of the identifying means, a currency dispensing opening through which the currency taken out from the currency storing section is dispensed based on a currency dispensing instruction, wherein the currency receiving/dispensing machine has a plurality of maintenance modes, first maintenance mode designating means for designating a first maintenance mode in which currency can not be taken out from the currency storing section, second maintenance mode designating means for designating a second maintenance mode in which currency can be taken out from the currency storing section by input having higher security level than the first maintenance mode designating means, control means which permits maintenance and inspection other than the currency storing section and prohibits a currency dispensing command for transferring currency at least from the currency storing section when the first maintenance mode is designated by the first maintenance mode designating means, and which permits all of maintenance and inspections including the currency storing section and permits the currency dispensing command for transferring currency from the currency storing section when the second maintenance mode is designated by the second maintenance mode designating means; characterized in that the currency receiving/dispensing machine further comprises a remaining value memory means for storing and managing a remaining value of currency in the currency storing section, wherein when the first maintenance mode is designated, the control means prohibits the remaining value in the remaining value memory means from being erased, and when the second maintenance mode is designated, the control means permit to erase the remaining value in the remaining value memory means.