This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2014-052883, filed Mar. 17, 2014, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a merchandise sales data processing device such as a Point of Sales (POS) terminal, an electronic cash register, or the like, and a program thereof.
There is a tax which is imposed on consumables such as merchandise, service, or the like. Usually, there is a taxation method of imposing a uniform tax rate with respect to all consumables, and a taxation method of changing a tax rate with respect to a specific merchandise or service. As a merchandise sales data processing device corresponding to the latter taxation method, in the related art, a device which includes a database in which a tax rate is set for each piece of merchandise is known. In such a processing device, when sales of merchandise are registered, the tax rate of the merchandise is detected from the database. In addition, the processing device calculates a tax amount based on the tax rate, further calculates a tax-included sale amount of money, and performs processing of merchandise sales data.
Meanwhile, in recent years, related to the topic of health measures, there is a movement to impose tax on foodstuff according to the harmfulness to health thereof. When such a taxation system is introduced, it is predicted that even in foodstuffs of the same price, the tax amounts become different depending on the amount of specific ingredients which are contained in the foodstuffs. The development of a merchandise sales data processing device which can also handle such a taxation method is expected.
JP-A-2012-181752 is an example of the related art.
A problem to be solved by one embodiment is to provide a merchandise sales data processing device which can cope with a taxation method in which, when prices of merchandise are the same, the tax amount changes depending on the amounts of specific ingredients which are contained in the merchandise.
According to one embodiment, a merchandise sales data processing device includes a specification unit, a detection unit, a calculation unit, and a processing unit. The specification unit specifies merchandise. The detection unit detects information related to ingredients which are contained in specified merchandise. The calculation unit calculates a tax amount which is imposed on merchandise based on the detected ingredient information. The processing unit processes sales data of merchandise using the calculated tax amount.
Hereinafter, an embodiment of a merchandise sales data processing device which can cope with a taxation method in which a tax is imposed on a foodstuff according to harmfulness to health will be described with reference to drawings.
In addition, in the embodiment, as the method of determining harmfulness to health, calorie C is suggested. The calorie C which is contained in a merchandise (foodstuff) is calculated by multiplying calorie density D of the merchandise by a weight W of the merchandise. The calorie density D is determined in advance in each piece of merchandise based on ingredients, or the like, of the merchandise. Therefore, in the embodiment, a tax amount T is calculated using the following arithmetic expression (1).
T=C×(D/1000) (1)
Here, a coefficient (D/1000) denotes a tax rate. That is, in the embodiment, 1/1000 of the calorie density D is set to a tax rate. For example, the tax rate may be 1/500 of the calorie density D. The tax rate may be 1/100 of the calorie density D. The determination method of the tax rate is arbitrary.
In addition, in the embodiment, a case in which a barcode 2 of in-store marking as illustrated in
The processing device 1 includes a keyboard 113 as an input-output unit, a display for operator 114, a display for customer 115, a printer 116, and a scanner 117. It may be a configuration in which the display for operator 114 is set as a touch panel, and the touch panel is used as a substitute for a portion of operation keys of the keyboard 113.
In the keyboard 113, numeric keys, a section key, a subtotal key, a total key (deposit-current total, current total, credit, or the like), a discount key, and the like, are arranged as keys related to a merchandise sales data process. The display for operator 114 displays merchandise sale data for a cashier who is an operator of the processing device 1. The display for customer 115 displays merchandise sale data with respect to a shopper. The printer 116 prints a receipt, and issues the receipt. The scanner 117 optically reads the barcode 2 which is attached to merchandise.
The keyboard controller 107 controls the keyboard 113, and takes in a key signal corresponding to the operation key. The display controller 108 controls screen display with respect to the display for operator 114. The display controller 109 controls screen display with respect to the display for customer 115. The printer controller 110 outputs receipt data to the printer 116, and controls driving of the printer 116. The scanner controller 111 controls the scanner 117, and takes in barcode data which is read using the scanner 117.
The CPU 101 corresponds to a brain portion of a computer. The CPU 101 controls each unit in order to execute various functions as the processing device 1, according to an operating system or an application program.
The ROM 102 corresponds to a main storage portion of the above described computer. The ROM 102 stores the above described operating system or the application program. There also is a case in which the ROM 102 stores data which is necessary when the CPU 101 executes processes for controlling each unit.
The RAM 103 corresponds to a main storage portion of the above described computer. The RAM 103 stores data which is necessary when the CPU 101 executes processes. In addition, the RAM 103 is also used as a work area in which information is appropriately rewritten by the CPU 101.
The auxiliary storage unit 104 corresponds to an auxiliary storage portion of the above described computer. The auxiliary storage unit 104 is, for example, an Electric Erasable Programmable Read-Only Memory (EEPROM), a Hard Disc Drive (HDD), a Solid State Drive (SSD), or the like. The auxiliary storage unit 104 keeps data which is used when the CPU 101 performs various processes, or data which is generated due to a process in the CPU 101. There also is a case in which the auxiliary storage unit 104 stores the above described application program.
The clock unit 105 counts the present date and time.
The communication controller 106 controls data communication with a store server which is connected through a network such as a Local Area Network (LAN).
In the processing device 1 which is configured in this manner, a program for processing merchandise sale data in the procedure which is illustrated in the flowchart in
The CPU 101 receives input of a merchandise code (Act 1: specification unit). A merchandise code is input when a barcode which is attached to merchandise is read using the scanner 117. It is also possible to input a merchandise code using a key operation of the keyboard 113. The CPU 101 repeats the process in Act 1 until a merchandise code is input.
When a customer asks for a settlement of a commercial transaction, an operator who operates the processing device 1, that is, a cashier first inputs a merchandise code of merchandise which the customer buys to the processing device 1. That is, when a barcode is attached to merchandise, the cashier causes the scanner 117 to read the barcode. When a barcode is not attached to merchandise, the cashier manually inputs a merchandise code by operating the keyboard 113.
When a merchandise code is input (Yes in Act 1), the CPU 101 confirms whether or not the merchandise is merchandise on which a tax is imposed due to an ingredient, that is, a so-called foodstuff (Act 2). In a merchandise code of a foodstuff, the first two digits become a header which specifies a foodstuff. Accordingly, the CPU 101 checks the first two digits of a merchandise code.
When the first two digits of the merchandise code are not the header which specifies a foodstuff, the merchandise which is specified by the input merchandise code is not a foodstuff. In this case (No in Act 2), the CPU 101 detects a unit price of merchandise based on the merchandise code. For example, the CPU 101 retrieves a merchandise file in which merchandise data such as a product name, and a unit price are preset in association with a merchandise code of each merchandise, and detects a product name and a unit price of the merchandise. The merchandise file is stored in the auxiliary storage unit 104. It may be a configuration in which a store server manages the merchandise file, the CPU 101 makes an inquiry about merchandise data with respect to the store server through a network, and a product name, a unit price, or the like, is detected.
When the unit price is detected, the CPU 101 calculates a tax amount by multiplying the unit price by a tax rate which is set in advance (Act 4). In addition, the CPU 101 sends notification of the fact that the tax rate of the merchandise is fixed (Act 5). A notification operation will be described later. Processing procedures of Act 4 and Act 5 may be reversed.
When the first two digits of a merchandise code are a header which specifies a foodstuff, the merchandise which is specified by the input merchandise code is a foodstuff (Yes in Act 2). In this case (Yes in Act 2), the CPU 101 detects calorie density D from the merchandise code from ingredient information of the foodstuff (Act 6). In addition, the CPU 101 detects weight W from the merchandise code as taxation target information of the foodstuff (Act 7). In addition, the CPU 101 detects a product name and a unit price A of the foodstuff (Act 8). As described in
When the calorie density D, the weight W, and the like, are detected, the CPU 101 calculates a tax rate R (Act 9). In the embodiment, the tax rate R is 1/1000 of the calorie density D. When the tax rate R is calculated, the CPU 101 calculates a tax amount based on the tax rate. That is, the CPU 101 calculates the total calorie C by multiplying the weight W by the calorie density D, and calculates a tax amount T by multiplying the total calorie C by the tax rate R (Act 10: calculation unit). In addition, the CPU 101 notifies of the fact that a tax rate of the merchandise is variable (Act 11). Also the notification operation will be described later. Processing procedures of Act 10 and Act 11 may be reversed.
When the fixed tax rate is notified in the process in Act 5, or when the variable tax rate is notified in the process in Act 11, the CPU 101 generates merchandise sale data. In addition, the CPU 101 registers the merchandise sale data in a transaction memory of the RAM 103 (Act 12: processing unit).
When merchandise is merchandise other than a foodstuff, amount of tax which is imposed on consumption of merchandise of which a tax rate is a preset fixed tax rate is calculated. Accordingly, the flag for distinguishing denotes a value which is a fixed tax rate, for example, “0”.
When merchandise is a foodstuff, a tax rate R is calculated from ingredient information of the merchandise (calorie density D in the embodiment). The ingredient information varies depending on the foodstuffs. That is, the tax rate R changes depending on the foodstuffs. Accordingly, the flag for distinguishing denotes a value which is a variable tax rate, for example, “1”. Incidentally, the amount of money including tax is an amount of money in which a tax amount is added to a unit price, the number of articles is the number of articles sold, and the amount of money is a sales amount which is calculated by multiplying the amount of money including tax by the number of articles sold.
When the merchandise sale data is registered, the CPU 101 ends processes with respect to the merchandise code which is input. The CPU 101 executes each process in Act 2 to Act 12 every time a merchandise code is input.
When a cashier ends an input of a merchandise code of merchandise which one customer buys, the cashier declares a registration close by operating a closing key of the keyboard 113. When the registration close is declared, the CPU 101 generates receipt data based on the merchandise sale data stored in the transaction memory. In addition, the CPU 101 outputs the receipt data to the printer 116, and causes the printer to print and issue a receipt. In this manner, the settlement of a commercial transaction with respect to one customer ends.
When a product name and a unit price are detected in the process in Act 3 or Act 8, the CPU 101 causes the product name and the unit price to be displayed on the display columns 51 and 54. In addition, when the tax amount is calculated based on a tax rate in the process in Act 4 or Act 10, the CPU 101 causes the tax rate and the tax amount to be displayed on the display columns 52 and 54. At this time, the CPU 101 causes a fixing lamp 57 to be turned on, or to blink as the process in Act 5. Alternatively, as the process in Act 11, the CPU 101 causes a variable lamp 58 to be turned on. In addition, in the process in Act 12, the CPU 101 causes the number of articles and the amount of money for the merchandise sale data to be displayed on the display columns 55 and 56.
In this manner, when merchandise as a registration target is not merchandise on which a tax is imposed depending on an ingredient, the processing device 1 notifies a cashier and a customer of the fact that the tax rate is fixed by causing the fixing lamp 57 to be turned on, or to blink. In contrast to this, when merchandise as a registration target is merchandise (foodstuff) on which a tax is imposed depending on the ingredients, the processing device 1 notifies a cashier and a customer of the fact that a tax rate is variable by causing the variable lamp 58 to be turned on, or to blink. Accordingly, the cashier and the customer can easily distinguish whether or not the registered merchandise is merchandise on which a tax is imposed depending on the ingredients with the fixing lamp 57 and the variable lamp 58.
In addition, the merchandise registration screen 5 is not limited to the layout which is illustrated in
In this manner, in the processing device 1 according to the embodiment, it is possible to easily understand a taxation method in which a tax amount is changed according to an amount of a specific ingredient contained in merchandise even when prices are the same.
In addition, the exemplary embodiment is not limited to the above described embodiment.
For example, in the above described embodiment, the barcode 2 with the data structure illustrated in
In addition, in the embodiment, ingredient information is set regarding calorie density; however, the ingredient information is not limited to the calorie density. For example, it may be density of any one of saturated fatty acid, sugar, and salt. Alternatively, a tax rate may be calculated based on at least two items of saturated fatty acid, sugar, salt, and calories.
In addition, in the embodiment, the weight of merchandise is exemplified as taxation target information in which a tax amount is calculated by being multiplied by a tax rate; however, also the taxation target information is not limited to the weight of merchandise. For example, a tax amount may be calculated by multiplying the volume of merchandise by a tax rate. In this case, the taxation target information is defined as the volume of merchandise.
In addition, in the embodiment, a processing device which is centrally managed by a store server, a so-called POS terminal is exemplified; however, it is also possible to apply the same embodiment to an electronic cash register of a single body. In addition, it is also possible to apply the embodiment to a measurement-type label printer which measures a weight of merchandise and issues a pricing label by calculating a price based on the weight.
In addition, in general, transfer of a processing device is performed in a state in which a program is stored in a ROM. However, there is no limitation to using this method, and a program, or the like, which is transferred separately from a computer device may be written into a writable storage unit which is included in the computer device according to an operation of a user, or the like. Transfer of a program, or the like, can be performed by recording the program in a removable recording medium, or using communication through a network. The form of the recording medium is not particularly limited when the recording medium can store a program such as a CD-ROM, and a memory card, and can be read using a device. In addition, functions which are obtained by installing or downloading a program may be executed in cooperation with an operating system (OS), or the like, in the device.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2014-052883 | Mar 2014 | JP | national |