Product sales data processing device and control program
Patent Information
- Application Number
- JP2023207013
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-12-07
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2039-03-19
Smart Images

Figure 0007634636000001 
Figure 0007634636000002 
Figure 0007634636000003
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to a product sales data processing device and a control program for causing a computer to function as the device. [Background technology]
[0002] Regarding the tax system that levies tax on the consumption of goods, there is a so-called reduced tax rate system that sets a lower tax rate for goods that are directly related to daily life, such as beverages or food, than for other goods. Under the reduced tax rate system, the tax rate for goods that are subject to the reduced tax rate is lower than the normal tax rate for goods that are not subject to the reduced tax rate. However, even if a product is subject to the reduced tax rate, there may be cases where it is not subject to the reduced tax rate depending on the form of consumption. For example, if the product that is subject to the reduced tax rate is defined as "beverages or food excluding eating out," if the beverage or food purchased at a store is taken home, so-called take-out, it is subject to the reduced tax rate. However, if the beverage or food is eaten in a store, so-called eating in, it is treated as eating out, and is not subject to the reduced tax rate.
[0003] It is up to the consumer to decide whether to take away or eat in the store the purchased beverage or food item. For this reason, in stores where eating in is available, the cashier will verbally confirm with the consumer who purchased food or other items subject to the reduced tax rate whether they will take the item away or eat it in the store. If they will eat it in the store, they will need to operate a product sales data processing device such as a POS (Point Of Sales) so that the sales data for that product is processed at the normal tax rate rather than the reduced tax rate. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2017-215794 A Summary of the Invention [Problem to be solved by the invention]
[0005] The problem to be solved by the embodiments of the present invention is to provide a product sales data processing device that can handle, with simple operations, even when the tax rate imposed on a product varies depending on the form of consumption. [Means for solving the problem]
[0006] In one embodiment, the product sales data processing device includes an identification means, a first calculation means, a detection means, a second calculation means, and a processing means. The identification means identifies a product. The first calculation means calculates the tax amount of the product identified by the identification means at the tax rate of the tax levied on the product. The detection means detects a change in the tax rate. When the detection means detects a change in the tax rate, the second calculation means calculates the tax amount of the product identified by the identification means at the changed tax rate. The processing means processes the sales data of the product with the tax amount calculated by the first calculation means for a product for which a change in tax rate has not been detected, and processes the sales data of the product with the tax amount calculated by the second calculation means for a product for which a change in tax rate has been detected. [Brief description of the drawings]
[0007] [Figure 1] FIG. 2 is a block diagram showing a main circuit configuration of a POS terminal according to an embodiment. [Diagram 2] FIG. 2 is a schematic diagram showing the main data structure of a product record stored in a product master file in the present embodiment. [Diagram 3] FIG. 1 is a schematic diagram showing the layout of the main keys on a keyboard of a POS terminal. [Figure 4] FIG. 4 is a schematic diagram showing the main data structure of a tax rate table held by a POS terminal. [Diagram 5] FIG. 2 is a schematic diagram showing the main data structure of an SI table in a POS terminal. [Figure 6] FIG. 2 is a schematic diagram showing main work areas formed in a main memory of a POS terminal. [Figure 7]FIG. 2 is a schematic diagram showing the main data structure of transaction data stored in a transaction area. [Figure 8] 4 is a flowchart showing the procedure of a scanning process executed by a processor of the POS terminal. [Figure 9] 4 is a flowchart showing the procedure of SI key processing executed by a processor of the POS terminal. [Figure 10] 11 is a flowchart showing the procedure of eat-in key processing executed by a processor of the POS terminal. [Figure 11] 11 is a flowchart showing the procedure of a tax exemption change process executed by a processor of a POS terminal. [Figure 12] 11 is a flowchart showing the procedure of a tax-excluded price change process executed by a processor of the POS terminal. [Figure 13] 11 is a flowchart showing the steps of a tax-inclusive change process executed by a processor of a POS terminal. [Figure 14] 11 is a flowchart showing the procedure of a tax rate change process executed by a processor of the POS terminal. [Figure 15] FIG. 13 is a diagram showing an example of a registration screen displayed after completing registration of a second product. [Figure 16] FIG. 13 is a diagram showing an example of a registration screen displayed after completing registration of a third product. [Figure 17] FIG. 13 is a diagram showing an example of a registration screen displayed after the registration of a fourth product is completed. [Figure 18] FIG. 13 is a diagram showing an example of a registration screen displayed after a tax exemption change process. [Figure 19] FIG. 13 is a diagram showing an example of a registration screen displayed after the tax-inclusive change process. [Figure 20] FIG. 13 is a diagram showing an example of a registration screen displayed after a tax rate change process. [Figure 21] FIG. 13 shows an example of a total screen displayed after a subtotal key is input. [Figure 22] FIG. 13 shows an example of an issued receipt. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, an embodiment of a product sales data processing device that can handle cases where the tax rate on a product varies depending on the form of consumption with a simple operation will be described with reference to the drawings. In this embodiment, the normal tax rate on general products is 10%, and the tax rate on beverages and food products excluding eating out is a reduced tax rate of 8%. That is, the tax rate on beverages and food products is a reduced tax rate of 8% for takeaway, but a normal tax rate of 10% for in-store consumption. A POS (Point Of Sales) terminal installed at the checkout area of a retail store with an eat-in space where customers can eat and drink inside the store is exemplified as a product sales data processing device of one embodiment.
[0009] 1 is a block diagram showing the main circuit configuration of the POS terminal 10. The POS terminal 10 includes a processor 101, a main memory 102, an auxiliary storage device 103, a clock 104, a change machine interface 105, a communication interface 106, a keyboard 107, a scanner 108, a first display 109, a second display 110, a printer 111, and a system transmission path 112. The system transmission path 112 includes an address bus, a data bus, a control signal line, and the like. The system transmission path 112 mutually connects the processor 101 to the main memory 102, the auxiliary storage device 103, the clock 104, the change machine interface 105, the communication interface 106, the keyboard 107, the scanner 108, the first display 109, the second display 110, and the printer 111. The processor 101, the main memory 102, and the auxiliary storage device 103 are connected by the system transmission path 112 to form a computer of the POS terminal 10.
[0010] The processor 101 corresponds to the central part of the computer. The processor 101 controls each part to realize various functions of the POS terminal 10 according to an operating system or an application program. The processor 101 is, for example, a CPU (Central Processing Unit).
[0011] The main memory 102 corresponds to the main storage portion of the computer. The main memory 102 includes a nonvolatile memory area and a volatile memory area. The main memory 102 stores an operating system or an application program in the nonvolatile memory area. The main memory 102 may store data required for the processor 101 to execute processes for controlling each part in the nonvolatile or volatile memory area. The main memory 102 uses the volatile memory area as a work area where data is appropriately rewritten by the processor 101. The nonvolatile memory area is, for example, a ROM (Read Only Memory). The volatile memory area is, for example, a RAM (Random Access Memory).
[0012] The auxiliary storage device 103 corresponds to the auxiliary storage portion of the computer. For example, an EEPROM (Electric Erasable Programmable Read-Only Memory), an HDD (Hard Disk Drive), or an SSD (Solid State Drive) can be the auxiliary storage device 103. The auxiliary storage device 103 stores data used by the processor 101 when performing various processes, data created by the processes in the processor 101, etc. The auxiliary storage device 103 may also store the above-mentioned application programs.
[0013] The application programs stored in the main memory 102 or the auxiliary storage device 103 include a control program that describes information processing executed by the POS terminal 10. The method for installing the control program in the main memory 102 or the auxiliary storage device 103 is not particularly limited. The control program can be installed in the main memory 102 or the auxiliary storage device 103 by recording it on a removable recording medium, or by distributing the control program by communication via a network. The recording medium may be in any form, such as a CD-ROM or memory card, as long as it can store a program and is readable by the device.
[0014] The clock 104 functions as a time information source for the POS terminal 10. The processor 101 keeps track of the current date and time based on the time information kept by the clock 104.
[0015] The change machine interface 105 performs data communication with the automatic change machine. The change machine interface 105 receives data on the inserted amount, data on the number of stored coins, etc. from the automatic change machine. The change machine interface 105 transmits change data to the automatic change machine.
[0016] The communication interface 106 performs data communication with the store server 20 connected via a network such as a wired LAN (Local Area Network) or a wireless LAN. The store server 20 includes a product master file 21. The product master file 21 may be formed in a storage device built into the store server 20, or may be formed in a storage device connected to the outside of the store server 20.
[0017] The product master file 21 stores product records 21R (see Fig. 2). A product record 21R is created for each product. The main data structure of the product record 21R is shown in the schematic diagram of Fig. 2. As shown in Fig. 2, the product record 21R includes data items such as product code, product name, unit price, tax rate, tax type, attributes, etc.
[0018] The product code is a unique code set for each product to identify the product. Usually, each product is affixed with a barcode symbol obtained by converting the product code into a barcode or a two-dimensional data code symbol obtained by converting the product code into a two-dimensional data code. Alternatively, a radio frequency identification (RFID) tag that stores the product code may be affixed. The POS terminal 10 can register sales data of the product by reading the data of the barcode symbol, two-dimensional data code symbol, or RFID tag with a reading device.
[0019] The product name and unit price are the name and price per item of the product identified by the product code. Hereinafter, the product identified by the product code will be referred to as the product in question. The tax rate is the tax rate levied on the consumption of the product in question. If the product in question is not subject to the reduced tax rate, the tax rate is the regular tax rate of 10%. If the product in question is subject to the reduced tax rate, the tax rate is the reduced tax rate of 8%.
[0020] The tax type is information that identifies whether the tax is included in the price, that is, whether it is an exclusive tax that is not included in the price, or whether it is non-taxable. In this embodiment, the tax type for the inclusive tax is "3", the tax type for the exclusive tax is "2", and the tax type for the non-taxable tax is "1".
[0021] The attributes are information that identifies whether a product is subject to the reduced tax rate. In this embodiment, beverages and food products, excluding eating out, are subject to the reduced tax rate. Therefore, the attributes of beverages and food products are information that indicates that they are products subject to the reduced tax rate. The attributes of other products are not information that indicates that they are products subject to the reduced tax rate.
[0022] The keyboard 107 and the scanner 108 function as input devices for the POS terminal 10. The keyboard 107 is a keyboard dedicated to the POS terminal 10 and has a number of function keys, such as a numeric keypad K1, a clear key K2, a multiplication key K3, a subtotal key K4, a deposit / cash total key K5, an SI (Selective Itemize) key K6, and an eat-in key K7, as shown in Fig. 3. The uses of the SI key K6, which is a first function key, and the eat-in key K7, which is a second function key, will be described later.
[0023] The scanner 108 is an example of a reading device that reads code symbols such as bar codes, two-dimensional data codes, etc. The scanner 108 may be of a type that reads code symbols by scanning with laser light, or of a type that reads code symbols from images captured by an imaging device.
[0024] The first display 109 and the second display 110 function as display devices of the POS terminal 10. The first display 109 displays information to a store clerk who is an operator of the POS terminal 10. The second display 110 displays information to a customer who has registered an item to be purchased in the POS terminal 10. As this type of display device, for example, a liquid crystal display, an organic EL (Electroluminescence) display, etc. may be used. A touch panel may be used as the first display 109 or the second display 110.
[0025] The printer 111 issues receipts by printing various characters or images on receipt paper. This type of printer 111 may be, for example, a thermal printer or a dot matrix printer.
[0026] The POS terminal 10 having such a configuration includes a tax rate table 31 having a data structure shown in Fig. 4 and an SI table 32 having a data structure shown in Fig. 5. The tax rate table 31 and the SI table 32 are stored in the auxiliary storage device 103. The tax rate table 31 and the SI table 32 may be stored in a non-volatile area of the main memory 102. The tax rate table 31 stores a normal tax rate and a reduced tax rate. In this embodiment, 10% is stored as the normal tax rate, and 8% is stored as the reduced tax rate.
[0027] SI table 32 is a data table that describes tax rates, tax types, and display information by SI code. Specifically, a tax rate of "0", a tax type of "1", and display information of "tax exempt" are described in association with SI code "1". A tax rate of "10", a tax type of "2", and display information of "tax excluded" are described in association with SI code "2". A tax rate of "10", a tax type of "3", and display information of "tax included" are described in association with SI code "3". A tax rate of "10", a tax type of "-", and display information of "tax rate 10%" are described in association with SI code "4". The use of SI table 32 will be described later.
[0028] In addition, as shown in FIG. 6, the POS terminal 10 forms work areas in the volatile area of the main memory 102, including a transaction area 41, a billing amount area 42, a tax-exclusive total amount area 43, a tax-inclusive total amount area 44, and a changed tax rate area 45.
[0029] The transaction area 41 is an area for storing transaction data 41D (see FIG. 7) of a product sold in one transaction. When multiple products are sold in one transaction, transaction data 41D of each product is stored in the transaction area 41.
[0030] 7 is a schematic diagram showing the main data structure of the transaction data 41D. The transaction data 41D includes a product code, a product name, a unit price, a tax type, tax rate, Includes data items such as attributes, points, tax amount, first price, second price, change status, etc. Product code, product name, unit price, tax type ,tax rate The fields and attributes are data of the product record 21R. The number of items is the number of items sold. The tax amount is the amount of tax levied on the product. The uses of the first price, second price, and change status will be described later.
[0031] The transaction amount area 42 is an area for storing the amount paid by a customer for a transaction. The tax-exclusive total amount area 43 is an area for storing the tax-exclusive amount levied on the products sold in that transaction. The tax-inclusive total amount area 44 is an area for storing the tax-inclusive amount levied on the products sold in that transaction. The changed tax rate area 45 is an area for storing the changed tax rate when a product eligible for reduction becomes exempt from reduction. In this embodiment, the changed tax rate is 10%, which is equal to the normal tax rate. The changed tax rate does not necessarily have to match the normal tax rate.
[0032] Next, we will explain the main operations of the computer mainly composed of the processor 101 of the POS terminal 1. This explanation of the operations will clarify the uses of the SI key K6 and the eat-in key K7, the use of the SI table 32, the first price, the second price, and the change status.
[0033] 8 to 14 are flow charts showing the main information processing procedures executed by the processor 101. The processor 101 executes this information processing in accordance with a control program stored in the main memory 102 or the auxiliary storage device 103. Note that the information processing procedures are not limited to those described above. As long as similar results can be obtained, the information processing procedures can be modified in various ways.
[0034] 8 is a flow chart showing the procedure of the scanning process. When the processor 101 captures the data of the code symbol read by the scanner 108, the processor 101 starts the scanning process. First, the processor 101 checks in ACT1 whether or not the data of the code symbol includes a product code. If the data of the code symbol does not include a product code, the processor 101 judges NO in ACT1 and executes other processes. For example, if a barcode printed on a discount coupon is scanned by the scanner 108, the processor 101 executes the discount process.
[0035] If the data of the code symbol includes a product code, the processor 101 judges YES in ACT1 and proceeds to ACT2. The processor 101 acquires product data associated with the product code in order to identify the product specified by the product code in ACT2. Specifically, the processor 101 controls the communication interface 106 to inquire about the product data. This control causes the communication interface 106 to send a product data inquiry command to the store server 20. The inquiry command includes the product code. The inquiry command is transmitted to the store server 20 via the network. The store server 20 that receives the inquiry command searches the product master file 21 and reads out the product record 21R in which the product code included in the command is written. The store server 20 then transmits a response command including the data of the product record 21R to the POS terminal 10 that sent the inquiry command. The response command is received by the communication interface 106 of the POS terminal 10 via the network. Thus, the processor 101 identifies the product specified by the product code, and obtains the product name, unit price, tax rate, tax type, attributes, etc. as product data for that product.
[0036] Having acquired the product data, processor 101 detects the tax type of the product data in ACT3. If the tax type is "1", in other words, the product code of a non-taxable product is read, processor 101 proceeds from ACT3 to ACT4. Processor 101 sets the unit price of the product data as the first price in ACT4. Processor 101 then adds the first price to transaction amount area 42 in ACT5.
[0037] If the tax type is "2", that is, if the product code of a tax-exclusive product is read, the processor 101 proceeds from ACT3 to ACT6. In ACT6, the processor 101 calculates the tax-exclusive amount from the unit price and tax rate of the product data using the following formula (1). Tax-excluded amount = unit price × tax rate … (1) Once the tax-exclusive amount has been calculated, the processor 101 adds the tax-exclusive amount to the tax-exclusive total amount area 43 in ACT7. The processor 101 also sets the amount obtained by adding the tax-exclusive amount to the unit price as the first price in ACT8. The processor 101 then adds the first price to the billing amount area 42 in ACT9.
[0038] If the tax type is "3", that is, if the product code of a tax-inclusive product is scanned, the processor 101 proceeds from ACT3 to ACT10. In ACT10, the processor 101 calculates the tax-inclusive amount from the unit price and tax rate of the product data using the following formulas (2) and (3). Base price = unit price / (1 + tax rate) ... (2) Tax included amount = unit price - base price … (3) When the tax-inclusive amount has been calculated, processor 101 adds the tax-inclusive amount to tax-inclusive total amount area 44 in ACT11. Processor 101 also sets the unit price to the first price in ACT12. Processor 101 then adds the first price to bill amount area 42 in ACT13.
[0039] After completing the processing of ACT5, ACT9, or ACT13, the processor 101 creates the transaction data 41D in ACT14. That is, the processor 101 creates the transaction data 41D with the product code, product name, unit price, tax type, tax rate, and attributes included in the product data, as well as the points, tax amount, first price, second price, and change status. Here, the points are the multiplier if a multiplier was input using the numeric keypad K1 and multiplication key K3 immediately before the scanning input, and are "1" if no multiplier was input. The tax amount is "0" for non-taxable products, the tax-exclusive amount calculated in the processing of ACT6 for tax-exclusive products, and the tax-inclusive amount calculated in the processing of ACT10 for tax-inclusive products. The first price is the unit price for non-taxable products, and is the price including tax for tax-exclusive and tax-inclusive products. The second price is "0" at this point.
[0040] When the creation of the transaction data 41D is completed, the processor 101 sets the change status of the transaction data 41D to "0" in ACT15. Then, the processor 101 registers the transaction data 41D in the transaction area 41 in ACT16. Furthermore, the processor 101 controls the first display 109 and the second display 110 so that the product name, number of items, unit price, etc. of the transaction data 41D are displayed in ACT17. With this, the processor 101 ends the scanning process.
[0041] 15, 16, and 17 are examples of the display on the first display 109 after the scanning process has been completed. FIG. 15 shows the registration screen 50A when the product code of the first product "AAAAA" sold as one transaction is read, and then the product code of the second product "BBBBB" is read. Here, the product "AAAAA" is a tax-inclusive product with a unit price of 100 yen. The product "BBBBB" is a tax-exempt product with a unit price of 100 yen.
[0042] The registration screen 50A is divided into a details area 51 and a latest area 52. In the details area 51, information about the first item "AAAAA" is displayed, such as the item name "AAAAA", quantity "1", unit price "100", discount amount "0", amount "100", and tax type "included". The amount is calculated by multiplying the unit price by the quantity. The tax type "included" indicates that the item is tax-inclusive.
[0043] In the latest area 52, information about the second item "BBBBB" is displayed, including the item name "BBBBB", points "1", and unit price "100", as well as the total points "2" and total amount "200". The total points "2" is the sum of the points in the transaction data 41D registered in the transaction area 41. The total amount "200" is the amount stored in the transaction amount area 42. In addition, area 521 of the latest area 52 displays the information "tax free", indicating that the item "BBBBB" is a tax-exempt item.
[0044] The first product, "AAAAA," is a tax-inclusive product that is not subject to the reduced tax rate, so the regular tax rate of 10% is read out from tax rate table 31. Then, the tax-inclusive amount of 9 yen, which is the regular tax rate of 10% on a unit price of 100 yen, is added to tax-inclusive total amount area 44. The unit price of 100 yen, which is the tax-inclusive price, is added to billing amount area 42. The second product, "BBBBB," is a tax-exempt product, so the unit price of 100 yen is added directly to billing amount area 42. Thus, the total amount becomes 200 yen.
[0045] Fig. 16 shows registration screen 50B when the product code of the third product "CCCCC" is read while registration screen 50A of Fig. 15 is being displayed on first display 109. Here, product "CCCCC" is a tax-inclusive product with a unit price of 100 yen.
[0046] The details area 51 of the registration screen 50B displays information about the first item "AAAAA" and the second item "BBBBB." Incidentally, the tax type "Non" indicates that the item is non-taxable.
[0047] In the latest area 52, the product name "CCCCC", the number of items "1" and the unit price "100" are displayed as information about the third product "CCCCC", and further the total number of items "3" and the total amount "300" are displayed. Since the third product "CCCCC" is a tax-inclusive product, the normal tax rate of 10% is read out from the tax rate table 31. Then, the tax-inclusive amount of 9 yen, which is the normal tax rate of 10% for the unit price of 100 yen, is added to the tax-inclusive total amount area 44, making the tax-inclusive amount 18 yen. In addition, the unit price of 100 yen, which is the tax-inclusive price, is added to the billing amount area 42, making the total amount 300 yen. In addition, the information "tax-inclusive" is displayed in the area 521 of the latest area 52, indicating that the product "CCCCC" is a tax-inclusive product.
[0048] Fig. 17 shows registration screen 50C when the product code of the fourth product "DDDDD" is read while registration screen 50B of Fig. 16 is displayed on first display 109. Here, product "DDDDD" is a tax-inclusive product with a unit price of 100 yen. Product "DDDDD" is a product subject to a reduced tax rate, such as food.
[0049] In the details area 51 of the registration screen 50C, information about the first to third products, "AAAAA", "BBBBB", and "CCCCC", is displayed.
[0050] In the latest area 52, the product name "DDDDD", the number of items "1" and the unit price "100" are displayed as information about the fourth product "DDDDD", and further the total number of items "4" and the total amount "400" are displayed. Since the fourth product "DDDDD" is a tax-inclusive product subject to the reduced tax rate, the reduced tax rate of 8% is read out from the tax rate table 31. Then, the tax-inclusive amount of 7 yen, which is the reduced tax rate of 8% for the unit price of 100 yen, is added to the tax-inclusive total amount area 44, making the tax-inclusive amount 25 yen. In addition, the unit price of 100 yen, which is the tax-inclusive price, is added to the billing amount area 42, making the total amount 400 yen. In addition, the area 521 of the latest area 52 displays information "subject to reduced tax rate" indicating that the product "DDDDD" is a product subject to the reduced tax rate.
[0051] Returning to the explanation of the flow chart. 9 is a flow chart showing the procedure of the SI key processing. When the processor 101 detects that the SI key K6 of the keyboard 107 has been operated for input, the processor 101 starts the SI key processing. First, the processor 101 checks whether the transaction data 41D is registered in the transaction area 41 in ACT21. If it is not registered, the processor 101 judges NO in ACT21 and ends the SI key processing.
[0052] If the transaction data 41D is registered in the transaction area 41, the processor 101 judges YES in ACT21 and proceeds to ACT22. In ACT22, the processor 101 checks whether a number has been entered by an input operation of the numeric keypad K1 immediately before the input of the SI key K6. If a number has not been entered, the processor 101 judges NO in ACT22 and ends the SI key processing.
[0053] If a number was entered immediately before the input of the SI key K6, the processor 101 judges YES in ACT22 and proceeds to ACT23. The processor 101 checks whether or not "1" was entered in ACT23. If "1" was entered, the processor 101 judges YES in ACT23 and proceeds to ACT24. The processor 101 refers to the SI table 32 in ACT24 and obtains the tax rate, tax type, and display information associated with the SI code "1". The processor 101 then executes tax exemption change processing in ACT25.
[0054] If "1" has not been entered, the processor 101 judges NO in ACT23 and proceeds to ACT26. The processor 101 checks whether "2" has been entered in ACT26. If "2" has been entered, the processor 101 judges YES in ACT26 and proceeds to ACT27. The processor 101 refers to the SI table 32 in ACT27 and obtains the tax rate, tax type, and display information associated with the SI code "2". The processor 101 then executes tax-exclusive change processing in ACT28.
[0055] If "2" has not been entered, the processor 101 judges NO in ACT26 and proceeds to ACT29. The processor 101 checks whether "3" has been entered in ACT29. If "3" has been entered, the processor 101 judges YES in ACT29 and proceeds to ACT30. In ACT30, the processor 101 refers to the SI table 32 and obtains the tax rate, tax type, and display information associated with the SI code "3". The processor 101 then executes tax-inclusive change processing in ACT31.
[0056] If "3" has not been entered, the processor 101 judges NO in ACT29 and proceeds to ACT32. The processor 101 checks whether "4" has been entered in ACT32. If "4" has been entered, the processor 101 judges YES in ACT32 and proceeds to ACT33. In ACT33, the processor 101 refers to the SI table 32 and obtains the tax rate, tax type, and display information associated with the SI code "4". Then, the processor 101 executes tax rate change processing in ACT34.
[0057] If "4" has not been entered, the processor 101 judges NO in ACT32 and proceeds to ACT35. The processor 101 executes processing other than the above-mentioned tax-exempt change processing, tax-exclusive change processing, tax-inclusive change processing, or tax rate change processing in ACT35. The other processing is not particularly limited, so will not be mentioned here. Details of the tax-exempt change processing, tax-exclusive change processing, tax-inclusive change processing, or tax rate change processing will be described later.
[0058] 10 is a flow chart showing the procedure of the eat-in key processing. When the processor 101 detects that the eat-in key K7 of the keyboard 107 has been operated for input, the eat-in key processing is started. First, the processor 101 checks whether the transaction data 41D is registered in the transaction area 41 as ACT41. If it is not registered, the processor 101 judges NO in ACT41 and ends the eat-in key processing.
[0059] If the transaction data 41D is registered in the transaction area 41, the processor 101 judges YES in ACT41 and proceeds to ACT42. The processor 101 executes tax rate change processing in ACT42. The tax rate change processing is similar to the tax rate change processing executed in the SI key processing when the SI key K6 is operated to input after "4" is entered with the numeric keypad K1. That is, in the POS terminal 10, the tax rate change processing is executed when the combination operation of entering "4" with the numeric keypad K1 after registering the product and then operating the SI key K6 is performed, and when the eat-in key K7 is operated alone.
[0060] Next, the tax-exempt change process, the tax-exclusive change process, the tax-inclusive change process, and the tax rate change process will be described. 11 is a flow chart showing the procedure of the tax exemption change process. When the processor 101 enters the tax exemption change process, it checks whether the tax type of the transaction data 41D registered in the transaction area 41 immediately before in ACT51 is "1" indicating a tax exempt product. Hereinafter, the transaction data 41D registered in the transaction area 41 immediately before is referred to as transaction data 41Dx. In this embodiment, the product that is the target of the tax exemption change process is a tax-exclusive product or a tax-inclusive product. If the tax type of the transaction data 41Dx is "1", the processor 101 judges YES in ACT51 and ends the tax exemption change process.
[0061] If the tax type of the transaction data 41Dx is other than "1", the processor 101 judges NO in ACT 51 and proceeds to ACT 52. In ACT 52, the processor 101 checks whether the tax type is "2" indicating a tax-exclusive product or "3" indicating a tax-inclusive product.
[0062] If the tax type is "2", the processor 101 determines YES in ACT52 and proceeds to ACT53. In ACT53, the processor 101 calculates the tax-exclusive amount from the unit price and tax rate of the transaction data 41Dx using the above-mentioned formula (1). In addition, in ACT54, the processor 101 sets the unit price of the transaction data 41Dx as the second price of the transaction data 41Dx. In addition, in ACT54, the processor 101 subtracts the tax-exclusive amount calculated in the processing of ACT53 from the tax-exclusive total amount area 43. Similarly, the processor 101 subtracts the tax-exclusive amount from the billing amount area 42 in ACT55. After that, the processor 101 proceeds to ACT60. The processing of ACT60 will be described later.
[0063] If the tax type is "3" in ACT52, the processor 101 determines NO in ACT52 and proceeds to ACT57. In ACT57, the processor 101 calculates the base price and the inclusive tax amount from the unit price and tax rate of the transaction data 41Dx using the above-mentioned formulas (2) and (3). In addition, in ACT58, the processor 101 sets the base price calculated in the processing of ACT57 as the second price of the transaction data 41Dx. In addition, in ACT59, the processor 101 subtracts the inclusive tax amount calculated in the processing of ACT57 from the inclusive tax total amount area 44. After that, the processor 101 proceeds to ACT60.
[0064] The processor 101 changes the tax type of the transaction data 41Dx to the non-taxable tax type "1" and sets the tax amount to "0" (ACT60). The processor 101 also sets the change status of the transaction data 41Dx to "1" (ACT61). Then, the processor 101 changes the display on the first display 109 and the second display 110 in accordance with the change status "1" (ACT62).
[0065] In this way, when the operator enters "1" after registering the product and then operates the SI key K6, the POS terminal 10 executes the tax-exempt change process. That is, when the tax type of the transaction data 41Dx is "2", that is, when the tax-exempt change process is executed after registering the tax-exclusive product, the tax-exclusive amount of the tax-exclusive product is calculated. Then, the tax-exclusive amount is subtracted from the tax-exclusive total amount area 43 and the billing amount area 42. Also, the second price of the transaction data 41Dx becomes the unit price, the tax type becomes "1", and the tax amount becomes "0". Therefore, the transaction data 41Dx of the tax-exclusive product is changed to the transaction data 41Dx of the non-taxable product and registered. At this time, the change status becomes "1". That is, the change status "1" indicates that the tax type has been changed from tax-exclusive to non-taxable. Then, the display contents are changed on the first display 109 and the second display 110 so that it can be seen that the tax-exclusive product has been changed to the non-taxable product and registered.
[0066] On the other hand, if the tax type of the transaction data 41Dx is "3", that is, if the tax-exempt change process is executed after the registration of the tax-inclusive product, the base price and tax-inclusive amount of the tax-inclusive product are calculated. Then, the tax-inclusive amount is subtracted from the tax-inclusive total amount area 44. Also, the second price of the transaction data 41Dx becomes the base price, the tax type becomes "1", and the tax amount becomes "0". Therefore, the transaction data 41Dx of the tax-inclusive product is changed to the transaction data 41Dx of the non-taxable product and registered. At this time, the change status becomes "1". In other words, the change status "1" also indicates that the tax type has been changed from tax-inclusive to non-taxable. Then, the display contents are changed on the first display 109 and the second display 110 so that it can be seen that the tax-inclusive product has been changed to a non-taxable product and registered.
[0067] FIG. 18 shows a registration screen 50D when the tax-exempt change process is executed for the product "CCCCC" while the registration screen 50B shown in FIG. 16 is displayed. The unit price of the product "CCCCC" is 100 yen, which includes the tax-inclusive amount of 9 yen at the normal tax rate of 10%, so the base price is 91 yen. Therefore, when the tax-exempt change process is executed, the unit price of the product "CCCCC" becomes the base price of 91 yen stored as the second price. Then, in the latest area 52, information "tax-inclusive → tax-exempt" is displayed as an indication that the price has been changed from the tax-inclusive price of 100 yen, which is the first price, to the base price of 91 yen, which is the second price, along with information "100 → 91 yen" that indicates that the unit price has been changed from the tax-inclusive price of 100 yen, which is the first price, to the base price of 91 yen. Furthermore, in the area 521 of the latest area 52, the display information "tax-exempt" acquired from the SI table 32 in the process of ACT24 is displayed.
[0068] Returning to the explanation of the flow chart. 12 is a flow chart showing the procedure of the tax-excluded price change process. When the processor 101 enters the tax-excluded price change process, it checks in ACT71 whether the tax type of the transaction data 41Dx registered in the transaction area 41 immediately before is "1" indicating a tax-excluded product. In this embodiment, the product that is the target of the tax-excluded price change process is a tax-excluded product. If the tax type of the transaction data 41Dx is other than "1", the processor 101 judges NO in ACT71 and ends the tax-excluded price change process.
[0069] If the tax type of the transaction data 41Dx is "1", that is, if the product registered immediately before is a tax-exempt product, the processor 101 determines YES in ACT71 and proceeds to ACT72. In ACT72, the processor 101 calculates the tax amount using the unit price of the transaction data 41Dx and the normal tax rate of 10% using the above formula (1). The processor 101 also sets the unit price to the second price of the transaction data 41Dx in ACT73. The processor 101 then adds the tax amount to the tax-exclusive total amount area 43 in ACT74. The processor 101 also adds the tax amount to the bill amount area 42 in ACT75.
[0070] The processor 101 changes the tax type of the transaction data 41Dx to tax type "2" exclusive of tax in ACT76, and changes the tax amount to the amount calculated in the processing of ACT72. The processor 101 also sets the change status of the transaction data 41Dx to "2" in ACT77. Then, the processor 101 changes the display on the first display 109 and the second display 110 in accordance with the change status "2" in ACT78.
[0071] In this way, when the operator enters "2" after registering the product and then operates the SI key K6, the POS terminal 10 executes the tax-excluded change process. That is, when the tax type of the transaction data 41Dx is "1", that is, when the tax-excluded change process is executed after the registration of a non-taxable product, the non-taxable amount of the normal tax rate of 10% is calculated for the unit price of the product, and this non-taxable amount is added to the non-taxable total amount area 43 and the billing amount area 42. In addition, the second price of the transaction data 41Dx becomes the unit price, the tax type becomes "2", and the tax amount is changed from "0" to the tax amount calculated in the process of ACT72. Therefore, the transaction data 41Dx of the non-taxable product is changed to the transaction data 41Dx of the non-taxable product and registered. At this time, the change status becomes "2". That is, the change status "2" indicates that the tax type has been changed from non-taxable to non-taxable. Then, the display contents are changed on the first display 109 and the second display 110 so that it is clear that the non-taxable product has been changed to a non-taxable product and registered.
[0072] For example, the latest area 52 displays information "tax free -> tax exclusive" to indicate that the price has been changed from tax free to tax exclusive. The amount is the unit price of the second price. The area 521 of the latest area 52 displays the display information "tax exclusive" obtained from the SI table 32 in the processing of ACT27.
[0073] 13 is a flow chart showing the procedure of the tax-inclusive price change process. When the processor 101 enters the tax-inclusive price change process, it checks whether the tax type of the transaction data 41Dx registered in the transaction area 41 immediately before in ACT81 is "1" indicating a tax-exempt product. In this embodiment, the product that is the target of the tax-inclusive price change process is a tax-exempt product. If the tax type of the transaction data 41Dx is other than "1", the processor 101 judges NO in ACT81 and ends the tax-inclusive price change process.
[0074] If the tax type of the transaction data 41Dx is "1", that is, if the product registered immediately before is a non-taxable product, the processor 101 determines YES in ACT81 and proceeds to ACT82. In ACT82, the processor 101 calculates the tax amount using the unit price of the transaction data 41Dx and the normal tax rate of 10% using the above formula (1). In ACT83, the processor 101 sets the total amount of the unit price and the tax amount as the second price of the transaction data 41Dx. In ACT84, the processor 101 adds the tax amount to the tax-inclusive total amount area 44. In ACT85, the processor 101 adds the tax amount to the billing amount area 42.
[0075] The processor 101 changes the tax type of the transaction data 41Dx to tax type "3" including tax in ACT 86, and changes the tax amount to the amount calculated in the processing of ACT 82. The processor 101 also sets the change status of the transaction data 41Dx to "3" in ACT 87. Then, the processor 101 changes the display on the first display 109 and the second display 110 in accordance with the change status "3" in ACT 88.
[0076] In this way, when the operator enters "3" after registering the product and then operates the SI key K6, the POS terminal 10 executes the tax-inclusive change process. That is, when the tax type of the transaction data 41Dx is "1", that is, when the tax-inclusive change process is executed after registering a non-taxable product, the tax amount of the unit price of the product at the normal tax rate of 10% is calculated, and this tax amount is added to the tax-inclusive total amount area 44 and the billing amount area 42. Also, the second price of the transaction data 41Dx becomes the tax-inclusive price obtained by adding the unit price and the tax amount, the tax type becomes "3", and the tax amount is changed from "0" to the tax amount calculated by the process of ACT82. Therefore, the transaction data 41Dx of the non-taxable product is changed to the transaction data 41Dx of the tax-inclusive product and registered. At this time, the change status becomes "3". That is, the change status "3" indicates that the tax type has been changed from non-taxable to tax-inclusive. Then, the display content on the first display 109 and the second display 110 is changed so that it is clear that the tax-exempt item has been changed to a tax-inclusive item and registered.
[0077] For example, the latest area 52 displays information "tax free -> tax included" to indicate that the price has been changed from tax free to tax included. The amount is the second price including tax. The display information "tax included" obtained from the SI table 32 in the processing of ACT30 is displayed in an area 521 of the latest area 52.
[0078] FIG. 19 shows a registration screen 50E when the tax-inclusive price change process is executed for the tax-exempt product "BBBBB" while the registration screen 50A in FIG. 15 is displayed. By the tax-inclusive price change process described above, a tax amount of 10 yen is calculated from the unit price of the product "BBBBB" of 100 yen and the normal tax rate of 10%, and a tax-inclusive price of 110 yen is calculated, which becomes the second price. Then, in the immediately preceding area, information "tax-exempt → tax-inclusive" is displayed, along with information "100 → 110 yen" indicating that the first price of 100 yen has been changed to the second price of 110 yen. In addition, the total amount becomes 210 yen, and the display information "tax-inclusive" is displayed in the area 521.
[0079] Returning to the explanation of the flow chart. 14 is a flow chart showing the procedure of the tax rate change process. When the processor 101 enters the tax rate change process, it acquires the attribute of the transaction data 41Dx registered in the transaction area 41 immediately before as ACT91. The processor 101 then checks whether or not this attribute is information indicating that the product is subject to a reduced tax rate. In this embodiment, if the product registered immediately before is not a beverage or food product, it is not subject to a reduced tax rate. In this case, the processor 101 judges NO in ACT91 and ends the tax rate change process.
[0080] In this embodiment, if the product registered immediately before is a beverage or food product, it is a product subject to a reduced tax rate. In this case, the processor 101 determines YES in ACT92 and proceeds to ACT93. The processor 101 checks the tax type of the transaction data 41Dx in ACT93. In this embodiment, the beverage or food product is a tax-inclusive product or a tax-exclusive product. Therefore, the tax type of the transaction data 41Dx is "2" or "3".
[0081] If the tax type of the transaction data 41Dx is "2", that is, if the product is tax-exclusive, the processor 101 determines YES in ACT93 and proceeds to ACT94. In ACT94, the processor 101 calculates the pre-change tax amount A from the tax rate and unit price of the transaction data 41Dx using the above formula (1). Incidentally, the tax rate of the transaction data 41Dx is a reduced tax rate of 8%.
[0082] The processor 101 obtains the changed tax rate from the changed tax rate area 45 in ACT95. The changed tax rate is the normal tax rate of 10%. The processor 101 calculates the changed tax amount B from this changed tax rate of 10% and the unit price using the above formula (1) in ACT96. The processor 101 sets the second price in the transaction data 41Dx as the unit price in ACT97. The processor 101 also adds the difference obtained by subtracting the pre-change tax amount A from the changed tax amount B to the tax-exclusive total amount area 43 in ACT98. Similarly, the processor 101 adds the above difference to the billing amount area 42 in ACT99. The processor 101 then proceeds to ACT108. The processing of ACT108 will be described later.
[0083] On the other hand, if the tax type of the transaction data 41Dx is "3", that is, if the product is tax-inclusive, the processor 101 judges NO in ACT93 and proceeds to ACT100. In ACT100, the processor 101 calculates the base price and tax-inclusive amount included in the unit price from the tax rate and unit price of the transaction data 41Dx using the above formulas (2) and (3). Incidentally, the tax rate of the transaction data 41Dx is a reduced tax rate of 8%.
[0084] The processor 101 acquires the changed tax rate from the changed tax rate area 45 as ACT101. The changed tax rate is the normal tax rate of 10%. The processor 101 calculates the changed tax amount C from the changed tax rate of 10% and the unit price using the above formula (1) as ACT102. The processor 101 sets the second price of the transaction data 41Dx to the tax-inclusive amount obtained by adding the changed tax amount C to the unit price as ACT103.
[0085] The processor 101 subtracts the tax-inclusive amount from the tax-inclusive total amount area 44 in ACT 104. Then, the processor 101 adds the changed tax amount C to the tax-inclusive total amount area 44 in ACT 105. Similarly, the processor 101 subtracts the tax-inclusive amount from the billing amount area 42 in ACT 106. Then, the processor 101 adds the changed tax amount C to the billing amount area 42 in ACT 107. The processor 101 then proceeds to ACT 108.
[0086] The processor 101 changes the tax rate of the transaction data 41Dx to the changed tax rate as ACT108, and changes the tax amount to changed tax amount B or changed tax amount C. The processor 101 also updates the change status of the transaction data 41Dx to "4" as ACT109. Then, the processor 101 changes the display of the first display 109 and the second display 110 in accordance with the change status "4" as ACT110.
[0087] In this way, when the operator enters "4" after registering the product and then operates the SI key K6, the POS terminal 10 executes the tax rate change process. In addition, even if the eat-in key K7 is operated after registering the product, the POS terminal 10 executes the tax rate change process. In detail, when the attribute of the transaction data 41Dx is information indicating that the product belongs to a product subject to a reduced tax rate, the tax amount of the product is changed from the tax amount of the reduced tax rate of 8% to the tax amount of the modified tax rate of 10%. Therefore, the product subject to the reduced tax rate is changed to a product with a modified tax rate and registered. At this time, the change status becomes "4". That is, the change status "4" indicates that the tax rate has been changed from the reduced tax rate to the modified tax rate. Then, the display contents are changed on the first display 109 and the second display 110 so that it can be seen that the tax rate has been changed from the reduced tax rate to the modified tax rate and registered.
[0088] FIG. 20 shows the registration screen 50F after the tax rate change process is executed for the tax-inclusive product "DDDDD" subject to the reduced tax rate with the registration screen 50C of FIG. 17 displayed. The above-mentioned tax rate change process calculates the tax-inclusive amount of 7 yen at the reduced tax rate of 8% for the unit price of 100 yen of the product "DDDDD" and the base price of 93 yen. In addition, 9 yen is calculated as the changed tax amount C from the base price of 93 yen and the changed tax rate of 10%. Then, the second price becomes the tax-inclusive amount of 102 yen, which is the base price of 93 yen plus the changed tax amount of 9 yen. Thus, the information "tax rate change" is displayed in the previous area, along with the information "100 → 102 yen" indicating that the first price has been changed from 100 yen to the second price of 102 yen. In addition, the total amount becomes 402 yen, and the display information "tax rate 10%" is displayed in the area 521.
[0089] Now, when the subtotal key K4 is operated while the registration screen 50F in Fig. 20 is displayed, the screen of the first display 109 becomes a total screen 60, for example, the content of which is shown in Fig. 21. The total screen 60 consists of a details area 61 and a total area 62. The details area 61 displays the name, number, unit price, discount amount, amount, tax type, etc. of the products registered as one transaction. For the product "DDDDD" for which a tax rate change has been made, a mark M1 indicating that a tax rate change has been made is displayed to distinguish it from other products. The total area 62 displays the total number, total amount, and tax-inclusive amount.
[0090] When the deposit / cash key K5 is operated for a cash payment while the total screen 60 in FIG. 21 is displayed, a receipt 70 with a layout as shown in FIG. 22 is printed by the printer 111. As shown in FIG. 22, the receipt 70 prints the tax-inclusive price (¥100) and tax-inclusive amount (¥7) before the tax rate change for the product "DDDDD" and the tax-inclusive price (¥102) and tax-inclusive amount (¥9) based on the tax rate change. The tax-inclusive price and tax amount before the change are printed with a strikethrough. The mark "Light" indicates that the product "DDDDD" is subject to the reduced tax rate, and the subsequent printed information "Eat-in (8%→10%)" indicates that the tax rate has changed from the reduced tax rate of 8% to the revised tax rate of 10% due to eating and drinking in the store.
[0091] In the POS terminal 10 of this embodiment, a computer mainly composed of the processor 101 constitutes an identification means for identifying a commodity by executing the processes of ACT1 and ACT2 in Fig. 8 in cooperation with a reading device such as the scanner 108. The computer also constitutes a first calculation means by executing the process of ACT6 or ACT10 in Fig. 8. In other words, the computer calculates the tax-exclusive amount or tax-inclusive amount of the commodity identified by the identification means at the normal tax rate levied on the commodity.
[0092] The computer also constitutes a detection means by executing the processes of ACT21, ACT22, ACT32, and ACT33 in Fig. 9 or the process of ACT41 in Fig. 10 in cooperation with the keyboard 107. That is, the computer detects a change in the tax rate. More specifically, the computer detects a change in the tax rate when a predetermined key operation is performed on the keyboard 107, which is an input device equipped with a numeric keypad K1 and a plurality of function keys. Here, the predetermined key operation is a combination operation of the numeric keypad K1 and the SI key K6, which is the first function key, or a single operation of the eat-in key K7, which is the second function key.
[0093] The computer also configures a second calculation means by executing the processes of ACT93 to ACT96 and ACT100 to ACT102 in Fig. 14. That is, when the detection means detects a change in the tax rate, the computer calculates the tax amount of the product identified by the identification means at the changed tax rate.
[0094] The computer also constitutes a processing means by executing the processes of ACT7 to ACT9, ACT11 to ACT14 in Fig. 8, and ACT97 to ACT99 and ACT103 to ACT108 in Fig. 14. That is, the computer processes the sales data of a product with a tax amount calculated by the first calculation means for a product for which a change in tax rate has not been instructed, and processes the sales data of a product with a tax amount calculated by the second calculation means for a product for which a change in tax rate has been instructed.
[0095] With the POS terminal 10 having such a configuration, even if the tax rate on a product changes depending on the form of consumption, the operator can handle it with a simple operation. Specifically, the operator can handle the change in tax rate by operating a specific key on the keyboard 107. For example, the operator can enter "4" on the numeric keypad K1 and operate the SI key K6. Alternatively, the operator can operate the eat-in key K7.
[0096] Here, it is optional whether to handle the tax rate change by a combined operation of the numeric keypad K1 and the SI key K6, or by a single operation of the eat-in key K7. In the case of the combined operation, the operation procedure is the same as when changing the tax type from tax-exclusive or tax-inclusive to non-taxable, or from non-taxable to tax-exclusive or tax-inclusive. Therefore, for operators who are accustomed to the operation, the combined operation is considered to be more convenient. On the other hand, however, the combined operation is complicated in that two types of keys must be operated. For this reason, for operators who are not accustomed to the operation, the single operation of the eat-in key K7 is considered to be more convenient.
[0097] In this embodiment, the operator is assumed to be a store clerk, but the operator is not necessarily limited to a store clerk. In the case of a self-service POS terminal in which the customer performs the process from product registration to payment, the operator is the customer.
[0098] The POS terminal 10 includes a first display 109 as a display means. A computer mainly including the processor 101 controls the first display 109 so that a total screen 60 having the layout shown in FIG. 21 is displayed on the first display 109. Here, the computer constitutes the first control means. That is, the computer displays a mark M1 on the product for which the tax amount has been calculated by the second calculation means, thereby distinguishing the product for which the tax rate has been changed from the product for which the tax rate has not been changed. Therefore, the operator can easily identify the product for which the tax rate has been changed from the information on the total screen 60.
[0099] The POS terminal 10 also includes a printer 111 as a means for issuing receipts. A computer mainly including the processor 101 controls the printer 111 to issue a receipt 70 with the layout shown in FIG. 22. Here, the computer constitutes the second control means. That is, the computer distinguishes products for which the tax amount has been calculated by the second calculation means from products for which the tax rate has not been changed. Specifically, for products for which the tax amount has been calculated by the first calculation means, the computer prints the amount and tax amount before the tax rate change and the amount and tax amount after the tax rate change side by side, and prints a strikethrough line through the amount and tax amount before the tax rate change. Therefore, a customer who receives the receipt 70 can easily check the amount and tax amount before the change and the amount and tax amount after the change for products for which the tax rate has been changed from the information on the receipt 70.
[0100] The above describes an embodiment of a product sales data processing device that can handle cases where the tax rate on a product varies depending on the form of consumption with a simple operation, but the embodiment is not limited to this.
[0101] For example, in the above embodiment, the POS terminal 10 is provided with a first operation of combining the numeric keypad K1 and the SI key K6, and a second operation of operating the eat-in key K7 alone, as an operator operation for instructing a change in the tax rate. In this regard, the POS terminal 10 may be provided with only the first operation of combining multiple keys. Alternatively, the POS terminal 10 may be provided with only the second operation of a single key.
[0102] Furthermore, the operator's operation is not necessarily limited to key operation. For example, in the case of a POS terminal equipped with a touch panel as an input device, a computer mainly including the processor 101 may detect that a predetermined portion of the touch panel has been touched as an operator's operation to instruct a change in the tax rate when it detects that the touch has been made. Also, instead of the operator's operation, a change in the tax rate may be detected from, for example, the operator's gesture.
[0103] In the above embodiment, the first calculation means calculates the tax amount of a product at the tax rate of the tax levied on the product, and then when the detection means detects a change in the tax rate, the second calculation means calculates the tax amount of the product at the changed tax rate. In this regard, if the detection means detects a change in the tax rate before the first calculation means calculates the tax amount of a product at the tax rate of the tax levied on the product, the second calculation means may calculate the tax amount of the product at the changed tax rate.
[0104] For example, the operator confirms with the customer whether or not the customer is eating in the restaurant before reading the code symbol of the product subject to the reduced tax rate with the scanner 108. If the customer is eating in the restaurant, the operator presses the eat-in key K7, for example, and then reads the code symbol with the scanner 108. In response to such an operation, if the processor 101 confirms that the tax type is "2" in ACT3 of Fig. 8, it may execute the processes of ACT95 and ACT96 in Fig. 14, and then execute the processes of ACT7 to ACT9 and ACT14 to ACT17 in Fig. 8. If the processor 101 confirms that the tax type is "3" in ACT3 of Fig. 8, it may execute the processes of ACT101 to ACT102 in Fig. 14, and then execute the processes of ACT10 to ACT17 in Fig. 8.
[0105] In the above embodiment, in ACT22 of Fig. 9, it is confirmed whether or not a number is input by input operation of the numeric keypad K1 immediately before input of the SI key K6. In this regard, the processor 101 may wait for input operation of the numeric keypad K1 after input of the SI key K6. In this case, when "1" is input by the numeric keypad K1, the processor 101 proceeds to processing of ACT24, when "2" is input, the processor 101 proceeds to processing of ACT27, when "3" is input, the processor 101 proceeds to processing of ACT30, and when "4" is input, the processor 101 proceeds to processing of ACT33.
[0106] In the above embodiment, the first function key used in combination with the numeric keypad K1 is the SI key K6, but the first function key is not limited to the SI key K6. In short, it is sufficient if it is a function key that can be specified as an operator's operation to instruct a change in tax rate in combination with the numeric keypad K1. It goes without saying that the value of the number entered by the numeric keypad K1 is not limited to "4". In this regard, the same applies to the second function key, and it is not necessarily limited to the eat-in key K7. It is sufficient if the second function key is a function key that can be specified as an operator's operation to instruct a change in tax rate with a single operation.
[0107] In the above embodiment, an example was given of the case where the registration screens 50A-50F and the total screen 60 are displayed on the first display 109. In another embodiment, the registration screens 50A-50F and the total screen 60 may be displayed on the second display 110. Furthermore, the receipt 70 may be an electronic receipt.
[0108] Although several other embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included within the scope of the invention and the scope of the invention and its equivalents described in the claims. The invention as originally claimed in the present application is set forth below. [1] A product sales data processing device comprising: an identification means for identifying a product; a first calculation means for calculating a tax amount for a product identified by the identification means using a tax rate for the product; a detection means for detecting a change in the tax rate; a second calculation means for calculating a tax amount for a product identified by the identification means using the changed tax rate when a change in the tax rate is detected by the detection means; and a processing means for processing product sales data for products for which a change in the tax rate has not been detected using the tax amount calculated by the first calculation means, and for products for which a change in the tax rate has been detected using the tax amount calculated by the second calculation means. [2] A product sales data processing device as described in Appendix [1], further comprising an input device having a numeric keypad and a plurality of function keys, wherein the detection means detects a change in the tax rate when a predetermined key operation is performed on the input device. [3] A product sales data processing device as described in appendix [2], wherein the specified key operation is a combination operation of a numeric keypad and a first function key. [4] A product sales data processing device as described in appendix [2], wherein the specified key operation is a single operation of a second function key. [5] A product sales data processing device as described in any one of appendices [1] to [4], further comprising: a display means for displaying information about the product for which the sales data has been processed by the processing means; and a first control means for differentiating the display format of the information between products for which the tax amount has been calculated by the first calculation means and products for which the tax amount has been calculated by the second calculation means. [6] A product sales data processing device as described in any one of appendices [1] to [4], further comprising: an issuing means for issuing a receipt on which information about the product for which the sales data has been processed by the processing means is recorded; and a second control means for causing the information recorded on the receipt to differ between products for which the tax amount has been calculated by the first calculation means and products for which the tax amount has been calculated by the second calculation means. [7] A control program for causing a computer of a product sales data processing device to function as an identification means for identifying a product, a first calculation means for calculating the amount of tax on a product identified by the identification means at the tax rate of the tax levied on the product, a detection means for detecting a change in the tax rate, a second calculation means for calculating the amount of tax on a product identified by the identification means at the changed tax rate when the detection means detects a change in the tax rate, and a processing means for processing product sales data for products for which a change in tax rate has not been detected at the tax rate using the tax amount calculated by the first calculation means, and for products for which a change in tax rate has been detected at the tax rate using the tax amount calculated by the second calculation means. [Explanation of symbols]
[0109] 10...POS terminal, 101...processor, 102...main memory, 103...auxiliary storage device, 104...clock, 105...change machine interface, 106...communication interface, 107...keyboard, 108...scanner, 109...first display 109...second display, 111...printer, 112...system transmission path, 20...store server, 21...product master file, 31...tax rate table, 32...SI table, 41...transaction area, 42...accounting amount area, 43...tax-exclusive total amount area, 44...tax-inclusive total amount area, 45...changed tax rate area, K1...numeric keypad, K6...SI key, K7...eat-in key.
Claims
1. An input means for inputting a product code for identifying a product; a first calculation means for calculating a tax amount of a product whose product code has been inputted via the input means using a tax rate levied on the product; a creation means for creating transaction data including a product code, a tax rate, and a change status when a product code is input via the input means, the change status being a value indicating that the tax rate has not been changed; a detection means for detecting a change in a tax rate levied on the product for which the transaction data was generated; a second calculation means for calculating a tax amount of a commodity for which a change in tax rate has been detected by the detection means, using the changed tax rate; an update means for updating, when the detection means detects a change in a tax rate levied on a product for which the transaction data has been created, the tax rate included in the transaction data for the product to the changed tax rate and updating the change status to a value indicating that the tax rate has been changed; a processing means for processing the billing amount of a commodity for which a change in the tax rate has not been detected, using the tax amount calculated by the first calculation means, and for which a change in the tax rate has been detected, using the tax amount calculated by the second calculation means; A product sales data processing device comprising:
2. The tax rates include a reduced tax rate imposed on products subject to reduced tax rates and a normal tax rate imposed on products not subject to reduced tax rates.
2. The product sales data processing device according to claim 1, wherein said second calculation means calculates the tax amount of said product at a normal tax rate only if said product for which said tax rate change has been detected is a product subject to said reduced tax rate.
3. 3. A product sales data processing device as described in claim 2, wherein the creation means creates transaction data in which the tax rate is the reduced tax rate if the product whose product code is input via the input means is subject to the reduced tax rate, and in which the tax rate is the normal tax rate if the product is not subject to the reduced tax rate.
4. The transaction data further includes a first price and a second price; the creation means sets the first price to an amount specified by the unit price of the product whose product code is input via the input means, the tax type, and the tax rate, and sets the second price to zero; 2. A product sales data processing device as described in claim 1, wherein the update means includes means for changing the second price included in the transaction data for a product for which a change in the tax rate has been detected to a price determined from the tax amount calculated by the second calculation means and the unit price of the product, and for not changing the first price.
5. a price display means for displaying, for the commodity for which a change in the tax rate has been detected by the detection means, that the price has been changed from the first price to the second price due to the change in the tax rate; The product sales data processing device according to claim 4, further comprising:
6. a display means for displaying information about the product whose transaction amount has been processed by the processing means; a control means for changing a display form of information on a commodity for which a tax amount is calculated by the first calculation means and a display form of information on a commodity for which a tax amount is calculated by the second calculation means; The product sales data processing device according to any one of claims 1 to 5, further comprising:
7. A computer of a product sales data processing device having an input means for inputting a product code that identifies a product, a first calculation means for calculating a tax amount of a product whose product code has been input via the input means using a tax rate levied on the product; a creation means for creating transaction data including a product code, a tax rate, and a change status when a product code is input via the input means, the change status being a value indicating that the tax rate has not been changed; detection means for detecting a change in the rate of a tax levied on the product for which the transaction data was generated; a second calculation means for calculating a tax amount of a commodity for which a change in tax rate has been detected by said detection means, using the changed tax rate; an update means for updating, when the detection means detects a change in a tax rate levied on a product for which the transaction data has been created, the tax rate included in the transaction data for the product to the changed tax rate and updating the change status to a value indicating that the tax rate has been changed; a processing means for processing the billing amount of a commodity for which a change in the tax rate has not been detected, using the tax amount calculated by the first calculation means, and for processing the billing amount of a commodity for which a change in the tax rate has been detected, using the tax amount calculated by the second calculation means; A control program that functions as a
Citation Information
Patent Citations
Commodity sales data processor
JP1990309497A
Sales data processor and program
JP2017215794A
Commodity sales data processing system, commodity sales data processing device, and program
JP2019032606A