JP7634636B2 - Product sales data processing device and control program - Google Patents
Product sales data processing device and control program Download PDFInfo
- Publication number
- JP7634636B2 JP7634636B2 JP2023207013A JP2023207013A JP7634636B2 JP 7634636 B2 JP7634636 B2 JP 7634636B2 JP 2023207013 A JP2023207013 A JP 2023207013A JP 2023207013 A JP2023207013 A JP 2023207013A JP 7634636 B2 JP7634636 B2 JP 7634636B2
- Authority
- JP
- Japan
- Prior art keywords
- tax
- product
- tax rate
- amount
- change
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/123—Tax preparation or submission
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Engineering & Computer Science (AREA)
- Marketing (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Cash Registers Or Receiving Machines (AREA)
Description
本発明の実施形態は、商品販売データ処理装置及びコンピュータを当該装置として機能させるための制御プログラムに関する。 Embodiments of the present invention relate to a product sales data processing device and a control program for causing a computer to function as said device.
商品の消費に対して税が課せられる税制に関しては、飲料品又は食料品等のように生活に直接関与する商品の税率を他の商品よりも低く抑える、いわゆる軽減税率制度がある。軽減税率制度では、軽減税率の対象となる商品に対する税率は、対象とならない商品に対する通常税率よりも低くなる。ただし、軽減税率の対象となる商品であっても、消費の形態によっては対象とならないケースがあり得る。例えば、軽減税率の対象となる商品が「外食を除く飲料品又は食料品」と定義されていた場合、店舗で購入した飲料品又は食料品を持ち帰る、いわゆる持ち帰りであれば、軽減税率の対象となる。しかし、店舗内で飲料品又は食料品を飲食する、いわゆる店内飲食又はイートインの場合には外食扱いとなるため、軽減税率の対象とはならない。 In the tax system where taxes are levied on the consumption of goods, there is a so-called reduced tax rate system in which the tax rate for goods that are directly related to daily life, such as beverages or foodstuffs, is lower than that 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 subject to the reduced tax rate is defined as "beverages or foodstuffs excluding eating out," if the beverage or foodstuff purchased at a store is taken home, so-called take-out, it is subject to the reduced tax rate. However, if the beverage or foodstuff is eaten in a store, so-called eating in, it is treated as eating out, and is not subject to the reduced tax rate.
購入した飲料品又は食料品を持ち帰るのか店舗内で飲食するのかは、消費者が決める事項である。このため、店内飲食が可能な店舗では、会計担当の店員が、軽減税率の対象となる食料品等を購入した消費者に対して持ち帰りなのか店内飲食なのかを口頭で確認する。そして店内飲食であれば、軽減税率ではなく通常税率でその商品の販売データが処理されるように、POS(Point Of Sales)等の商品販売データ処理装置を操作する必要がある。 It is up to the consumer to decide whether to take home the beverage or food item they have purchased or eat it in the store. For this reason, in stores where eating in is available, the cashier will verbally confirm with consumers who have purchased food items that are subject to the reduced tax rate whether they are taking the item home or eating it in the store. If the item is to be eaten in the store, the cashier must 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.
本発明の実施形態が解決しようとする課題は、商品に課せられる税の税率が消費の形態によって変化する場合でも簡単な操作で対処できる商品販売データ処理装置を提供しようとするものである。 The problem that the embodiments of the present invention aim to solve is to provide a product sales data processing device that can handle cases where the tax rate levied on a product varies depending on the form of consumption with simple operations.
一実施形態において、商品販売データ処理装置は、識別手段と、第1演算手段と、検出手段と、第2演算手段と、処理手段とを備える。識別手段は、商品を識別する。第1演算手段は、識別手段により識別された商品の税額を当該商品に対して課せられる税の税率で算出する。検出手段は、税率の変更を検出する。第2演算手段は、検出手段により税率の変更が検出されると、識別手段により識別された商品の税額を変更後の税率で算出する。処理手段は、税率の変更が検出されていない商品については、第1演算手段で算出された税額で商品の販売データを処理し、税率の変更が検出された商品については、第2演算手段で算出された税額で商品の販売データを処理する。 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 product sales data with the tax amount calculated by the first calculation means for products for which a change in tax rate has not been detected, and processes the product sales data with the tax amount calculated by the second calculation means for products for which a change in tax rate has been detected.
以下、商品に課せられる税の税率が消費の形態によって変化する場合でも簡単な操作で対処できる商品販売データ処理装置の実施形態について、図面を用いて説明する。
なお、この実施形態では、一般の商品に課せられる税の通常税率を10%とし、外食を除く飲料品又は食料品に課せられる税の税率を軽減税率8%とする。すなわち、飲料品又は食料品に課せられる税の税率は、持ち帰りの場合には軽減税率8%となるが、店内飲食の場合には通常税率10%となる。そして、店内飲食が可能なイートインスペースを備えた小売店舗の会計場所に設置されるPOS(Point Of Sales)端末を、一実施形態の商品販売データ処理装置として例示する。
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 in the store is exemplified as a product sales data processing device of one embodiment.
図1は、POS端末10の要部回路構成を示すブロック図である。POS端末10は、プロセッサ101、メインメモリ102、補助記憶デバイス103、時計104、釣銭機インターフェース105、通信インターフェース106、キーボード107、スキャナ108、第1ディスプレイ109、第2ディスプレイ110、プリンタ111及びシステム伝送路112を備える。システム伝送路112は、アドレスバス、データバス、制御信号線等を含む。システム伝送路112は、プロセッサ101と、メインメモリ102、補助記憶デバイス103、時計104、釣銭機インターフェース105、通信インターフェース106、キーボード107、スキャナ108、第1ディスプレイ109、第2ディスプレイ110及びプリンタ111とを相互に接続する。プロセッサ101、メインメモリ102及び補助記憶デバイス103がシステム伝送路112で接続されることにより、POS端末10のコンピュータが構成される。 Figure 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 interconnects the processor 101 with 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 the computer of the POS terminal 10.
プロセッサ101は、上記コンピュータの中枢部分に相当する。プロセッサ101は、オペレーティングシステム又はアプリケーションプログラムに従って、POS端末10としての各種の機能を実現するべく各部を制御する。プロセッサ101は、例えばCPU(Central Processing Unit)である。 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 application programs. The processor 101 is, for example, a CPU (Central Processing Unit).
メインメモリ102は、上記コンピュータの主記憶部分に相当する。メインメモリ102は、不揮発性のメモリ領域と揮発性のメモリ領域とを含む。メインメモリ102は、不揮発性のメモリ領域ではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ102は、プロセッサ101が各部を制御するための処理を実行する上で必要なデータを不揮発性又は揮発性のメモリ領域で記憶する場合もある。メインメモリ102は、揮発性のメモリ領域を、プロセッサ101によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリ領域は、例えばROM(Read Only Memory)である。揮発性のメモリ領域は、例えばRAM(Random Access Memory)である。 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 application programs in the nonvolatile memory area. The main memory 102 may also store data required for the processor 101 to execute processes for controlling each part in a 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).
補助記憶デバイス103は、上記コンピュータの補助記憶部分に相当する。例えばEEPROM(Electric Erasable Programmable Read-Only Memory)、HDD(Hard Disk Drive)、あるいはSSD(Solid State Drive)等が補助記憶デバイス103となり得る。補助記憶デバイス103は、プロセッサ101が各種の処理を行う上で使用するデータ、プロセッサ101での処理によって作成されたデータ等を保存する。補助記憶デバイス103は、上記のアプリケーションプログラムを記憶する場合もある。 The auxiliary storage device 103 corresponds to the auxiliary storage portion of the computer. For example, the auxiliary storage device 103 may be an Electric Erasable Programmable Read-Only Memory (EEPROM), a Hard Disk Drive (HDD), or a Solid State Drive (SSD). 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 application programs described above.
メインメモリ102又は補助記憶デバイス103に記憶されるアプリケーションプログラムには、POS端末10で実行される情報処理に関して記述した制御プログラムが含まれる。制御プログラムをメインメモリ102又は補助記憶デバイス103にインストールする方法は特に限定されるものではない。リムーバブルな記録媒体に制御プログラムを記録して、あるいはネットワークを介した通信により制御プログラムを配信して、メインメモリ102又は補助記憶デバイス103にインストールすることができる。記録媒体は、CD-ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。 The application programs stored in the main memory 102 or the auxiliary storage device 103 include control programs that describe the information processing executed by the POS terminal 10. There are no particular limitations on the method for installing the control programs in the main memory 102 or the auxiliary storage device 103. The control programs can be installed in the main memory 102 or the auxiliary storage device 103 by recording them on a removable recording medium, or by distributing the control programs by communication via a network. The recording medium can be in any form, such as a CD-ROM or memory card, as long as it can store the programs and is readable by the device.
時計104は、POS端末10の時刻情報源として機能する。プロセッサ101は、時計104によって計時される時刻情報を基に、現在の日付及び時間を計時する。 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.
釣銭機インターフェース105は、自動釣銭機との間でデータ通信を行う。釣銭機インターフェース105は、自動釣銭機から投入金額のデータ、貨幣収納枚数のデータ等を受信する。釣銭機インターフェース105は、釣銭データを自動釣銭機へと送信する。 The change machine interface 105 communicates data with the automatic change machine. The change machine interface 105 receives data on the amount inserted, the number of stored coins, etc. from the automatic change machine. The change machine interface 105 transmits the change data to the automatic change machine.
通信インターフェース106は、有線LAN(Local Area Network)又は無線LAN等のネットワークを介して接続されるストアサーバ20との間でデータ通信を行う。ストアサーバ20は、商品マスタファイル21を備える。商品マスタファイル21は、ストアサーバ20が内蔵する記憶装置に形成されていてもよいし、ストアサーバ20の外部に接続された記憶装置に形成されていてもよい。 The communication interface 106 communicates data 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 externally to the store server 20.
商品マスタファイル21は、商品レコード21R(図2を参照)を保存する。商品レコード21Rは、商品毎に作成される。商品レコード21Rの主要なデータ構造を図2の模式図で表す。図2に示すように、商品レコード21Rは、商品コード、商品名、単価、税率、税種、属性等のデータ項目を含む。 The product master file 21 stores product records 21R (see Figure 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 Figure 2. As shown in Figure 2, the product record 21R includes data items such as product code, product name, unit price, tax rate, tax type, attributes, etc.
商品コードは、各商品を識別するために商品毎に設定された固有のコードである。通常、各商品には、商品コードをバーコード化したバーコードシンボル、若しくは二次元データコード化した2次元データコードシンボルが付されている。あるいは、商品コードを記憶したRFID(Radio Frequency Identification)タグが付されていてもよい。POS端末10は、上記のバーコードシンボル、2次元データコードシンボル又はRFIDタグのデータを読取装置で読み取ることで、商品の販売データを登録処理することができる。 The product code is a unique code assigned to each product to identify it. Typically, each product is affixed with a barcode symbol in which the product code has been barcoded, or a two-dimensional data code symbol in which the product code has been coded into two-dimensional data. Alternatively, an RFID (Radio Frequency Identification) tag in which the product code is stored may be affixed. The POS terminal 10 can register product sales data by reading the data from the barcode symbol, two-dimensional data code symbol, or RFID tag with a reading device.
商品名及び単価は、商品コードで識別される商品の名称及び1点当たりの価格である。以下、商品コードで識別される商品を当該商品と表す。税率は、当該商品の消費に課せられる税の税率である。当該商品が軽減税率対象でない場合、税率は通常税率10%である。当該商品が軽減税率対象の場合、税率は軽減税率8%である。 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%.
税種は、上記税の税金分が価格に含まれている内税なのか、価格に含まれていない外税なのか、あるいは税が課せられない非課税なのかを識別する情報である。本実施形態では、内税の税種を“3”とし、外税の税種を“2”とし、非課税の税種を“1”とする。 The tax type is information that identifies whether the tax is included in the price (inclusive tax), whether it is exclusive (not included in the price), or whether no tax is levied (exclusive tax). In this embodiment, the tax type for inclusive tax is "3", the tax type for exclusive tax is "2", and the tax type for exempt tax is "1".
属性は、軽減税率対象の商品なのか否かを識別する情報である。本実施形態の場合、外食を除く飲料品又は食料品が軽減税率対象となる。このため、飲料品又は食料品の属性は、軽減税率対象の商品に属することを示す情報となる。その他の商品の属性は、軽減税率対象の商品に属することを示す情報ではない。 The attributes are information that identifies whether or not 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 that are subject to the reduced tax rate. The attributes of other products are not information that indicates that they are products that are subject to the reduced tax rate.
キーボード107及びスキャナ108は、POS端末10の入力デバイスとして機能する。キーボード107は、図3に示すように、テンキーK1と、クリアキーK2、乗算キーK3、小計キーK4、預/現計キーK5、SI(Selective Itemize)キーK6、イートインキーK7等の複数のファンクションキーとを配置したPOS端末10専用のキーボードである。第1のファンクションキーであるSIキーK6と、第2のファンクションキーであるイートインキーK7との用途については、後述する。 The keyboard 107 and scanner 108 function as input devices for the POS terminal 10. As shown in FIG. 3, the keyboard 107 is a dedicated keyboard for 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. The uses of the SI key K6, which is the first function key, and the eat-in key K7, which is the second function key, will be described later.
スキャナ108は、バーコード、二次元データコード等のコードシンボルを読み取る読取装置の一例である。スキャナ108は、レーザ光の走査によりコードシンボルを読み取るタイプであってもよいし、撮像デバイスで撮像した画像からコードシンボルを読み取るタイプであってもよい。 Scanner 108 is an example of a reading device that reads code symbols such as barcodes and two-dimensional data codes. Scanner 108 may be a type that reads code symbols by scanning with laser light, or a type that reads code symbols from images captured by an imaging device.
第1ディスプレイ109及び第2ディスプレイ110は、POS端末10の表示デバイスとして機能する。第1ディスプレイ109は、POS端末10のオペレータである店員に対して情報の表示を行う。第2ディスプレイ110は、POS端末10において購入する商品の登録が行われている客に対して情報の表示を行う。この種の表示デバイスとしては、例えば液晶ディスプレイ、有機EL(Electroluminescence)ディスプレイ等を利用できる。第1ディスプレイ109又は第2ディスプレイ110としてタッチパネルを用いてもよい。 The first display 109 and the second display 110 function as display devices for the POS terminal 10. The first display 109 displays information to the store clerk who operates the POS terminal 10. The second display 110 displays information to customers who have registered products to be purchased on the POS terminal 10. Examples of this type of display device that can be used include a liquid crystal display and an organic EL (Electroluminescence) display. A touch panel may be used as the first display 109 or the second display 110.
プリンタ111は、レシート用紙に対して各種の文字列又は画像等を印刷することにより、レシートを発行する。この種のプリンタ111としては、例えばサーマルプリンタ又はドットインパクトプリンタ等を利用できる。 The printer 111 issues receipts by printing various characters or images on receipt paper. This type of printer 111 can be, for example, a thermal printer or a dot matrix printer.
かかる構成のPOS端末10は、図4に示すデータ構造の税率テーブル31と、図5に示すデータ構造のSIテーブル32とを備えている。税率テーブル31とSIテーブル32とは、補助記憶デバイス103で記憶されている。税率テーブル31とSIテーブル32とは、メインメモリ102の不揮発性領域に記憶されていてもよい。
税率テーブル31は、通常税率と軽減税率とを記憶する。本実施形態では、通常税率として10%を記憶し、軽減税率として8%を記憶している。
The POS terminal 10 thus configured includes a tax rate table 31 having the data structure shown in Fig. 4 and an SI table 32 having the 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.
SIテーブル32は、SIコード別に、税率、税種及び表示情報を記述したデータテーブルである。具体的には、SIコード“1”と関連付けて、税率“0”、税種“1”及び表示情報「非課税」が記述されている。SIコード“2”と関連付けて、税率“10”、税種“2”及び表示情報「外税」が記述されている。SIコード“3”と関連付けて、税率“10”、税種“3”及び表示情報「内税」が記述されている。SIコード“4”と関連付けて、税率“10”、税種“-”及び表示情報「税率10%」が記述されている。SIテーブル32の用途については、後述する。 SI table 32 is a data table that describes the tax rate, tax type, and display information for each 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.
またPOS端末10は、図6に示すように、メインメモリ102の揮発性領域に、トランザクションエリア41、会計金額エリア42、外税合計額エリア43、内税合計額エリア44及び変更税率エリア45のワークエリアを形成している。 As shown in FIG. 6, the POS terminal 10 also creates work areas in the volatile area of the main memory 102, including a transaction area 41, a transaction amount area 42, a tax-exclusive total amount area 43, a tax-inclusive total amount area 44, and a changed tax rate area 45.
トランザクションエリア41は、1取引として販売される商品のトランザクションデータ41D(図7を参照)を記憶するためのエリアである。1取引として複数の商品が販売される場合、各商品のトランザクションデータ41Dがトランザクションエリア41に記憶される。 The transaction area 41 is an area for storing transaction data 41D (see FIG. 7) for a product sold in one transaction. When multiple products are sold in one transaction, the transaction data 41D for each product is stored in the transaction area 41.
図7は、トランザクションデータ41Dの主要なデータ構造を示す模式図である。トランザクションデータ41Dは、商品コード、商品名、単価、税種、税率、属性、点数、税額、第1価格、第2価格、変更ステータス等のデータ項目を含む。商品コード、商品名、単価、税種、税率及び属性は、商品レコード21Rのデータである。点数は、販売点数である。税額は、商品に課せられる税の金額である。第1価格、第2価格及び変更ステータスの用途については、後述する。 7 is a schematic diagram showing the main data structure of the transaction data 41D. The transaction data 41D includes data items such as product code, product name, unit price, tax type, tax rate, attributes, points, tax amount, first price, second price, change status, etc. The product code, product name, unit price, tax type , tax rate , and attributes are data of the product record 21R. The points are 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.
会計金額エリア42は、1取引の会計のために客が支払う支払金額を記憶するためのエリアである。外税合計額エリア43は、その1取引で販売される商品に課せられる税の外税額を記憶するためのエリアである。内税合計額エリア44は、その1取引で販売される商品に課せられる税の内税額を記憶するためのエリアである。変更税率エリア45には、軽減対象の商品が軽減対象外となったときの変更税率を記憶するためのエリアである。本実施形態では、変更税率は通常税率と等しい10%である。変更税率は、必ずしも通常税率と一致していなくてもよい。 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 is no longer eligible for 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.
次に、POS端末1のプロセッサ101を主体とするコンピュータの主要な動作について説明する。そして、この動作説明により、SIキーK6及びイートインキーK7の用途、SIテーブル32の用途、第1価格、第2価格及び変更ステータスの用途を明らかにする。 Next, the main operations of the computer, which is mainly the processor 101 of the POS terminal 1, will be explained. This explanation of the operations will clarify the uses of the SI key K6 and eat-in key K7, the use of the SI table 32, and the uses of the first price, second price, and change status.
図8乃至図14は、プロセッサ101が実行する主要な情報処理の手順を示す流れ図である。プロセッサ101は、メインメモリ102または補助記憶デバイス103で記憶されている制御プログラムに従い、この情報処理を実行する。なお、情報処理の手順はこれに限定されるものではない。同様な結果を得ることが可能であれば、情報処理の手順は種々変形して実施することができる。 Figures 8 to 14 are flow charts showing the main information processing procedures executed by the processor 101. The processor 101 executes this information processing according to 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 these. As long as similar results can be obtained, the information processing procedures can be implemented in various modified forms.
図8は、スキャニング処理の手順を示す流れ図である。プロセッサ101は、スキャナ108のスキャニングによりで読み取られたコードシンボルのデータを取り込むと、スキャニング処理を開始する。先ず、プロセッサ101は、ACT1としてコードシンボルのデータに商品コードが含まれているか否かを確認する。コードシンボルのデータに商品コードが含まれていない場合、プロセッサ101は、ACT1においてNOと判定し、他の処理を実行する。例えば、割引券に印刷されているバーコードがスキャナ108でスキャニングされた場合、プロセッサ101は、割引処理を実行する。 Figure 8 is a flow chart showing the procedure of the scanning process. When the processor 101 imports the data of the code symbol read by the scanner 108, the processor 101 starts the scanning process. First, in ACT 1, the processor 101 checks 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 ACT 1 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.
コードシンボルのデータに商品コードが含まれている場合、プロセッサ101は、ACT1においてYESと判定し、ACT2へと進む。プロセッサ101は、ACT2においてその商品コードで特定される商品を識別するために、当該商品コードで関連付けられた商品データを取得する。具体的には、プロセッサ101は、商品データの問合せを行うように通信インターフェース106を制御する。この制御により、通信インターフェース106からストアサーバ20に対して商品データの問合せコマンドが発信される。問合せコマンドには、商品コードが含まれる。問合せコマンドは、ネットワークを介してストアサーバ20へと送信される。問合せコマンドを受信したストアサーバ20は、商品マスタファイル21を検索して、当該コマンドに含まれる商品コードが記述された商品レコード21Rを読み出す。そしてストアサーバ20は、この商品レコード21Rのデータを含む応答コマンドを、問合せコマンド送信元のPOS端末10に宛てて送信する。応答コマンドは、ネットワークを介してPOS端末10の通信インターフェース106で受信される。かくしてプロセッサ101は、商品コードで特定される商品を識別し、その商品の商品データとして商品名、単価、税率、税種、属性等を取得する。 If the code symbol data includes a product code, the processor 101 determines YES in ACT1 and proceeds to ACT2. The processor 101 acquires product data associated with the product code in ACT2 to identify the product specified by the product code. Specifically, the processor 101 controls the communication interface 106 to query the product data. This control causes the communication interface 106 to send a product data query command to the store server 20. The query command includes the product code. The query command is sent to the store server 20 via the network. The store server 20 that receives the query 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 query 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 data for that product, such as the product name, unit price, tax rate, tax type, attributes, etc.
商品データを取得したプロセッサ101は、ACT3としてその商品データの税種を検出する。ここで、税種が“1”、つまり非課税商品の商品コードが読み取られた場合には、プロセッサ101は、ACT3からACT4へと進む。プロセッサ101は、ACT4として商品データの単価を第1価格とする。そしてプロセッサ101は、ACT5として第1価格を会計金額エリア42に加算する。 After acquiring the product data, the processor 101 detects the tax type of the product data in ACT 3. If the tax type is "1", meaning that the product code of a non-taxable product has been read, the processor 101 proceeds from ACT 3 to ACT 4. The processor 101 sets the unit price of the product data as the first price in ACT 4. The processor 101 then adds the first price to the billing amount area 42 in ACT 5.
税種が“2”、つまり外税商品の商品コードが読み取られた場合には、プロセッサ101は、ACT3からACT6へと進む。プロセッサ101は、ACT6として商品データの単価と税率とから、以下の(1)式により外税額を算出する。
外税額=単価×税率 …(1)
外税額を算出し終えたならば、プロセッサ101は、ACT7として外税額を外税合計額エリア43に加算する。またプロセッサ101は、ACT8として単価に外税額を加算した金額を第1価格とする。そしてプロセッサ101は、ACT9として第1価格を会計金額エリア42に加算する。
If the tax type is "2", that is, if the product code of a tax-exclusive product is read, the processor 101 proceeds from ACT 3 to ACT 6. In ACT 6, 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)
After the calculation of the tax-exclusive amount has been completed, the processor 101 adds the tax-exclusive amount to the tax-exclusive total amount area 43 in ACT 7. The processor 101 then determines the amount obtained by adding the tax-exclusive amount to the unit price as the first price in ACT 8. The processor 101 then adds the first price to the billing amount area 42 in ACT 9.
税種が“3”、つまり内税商品の商品コードがスキャニングされた場合には、プロセッサ101は、ACT3からACT10へと進む。プロセッサ101は、ACT10として商品データの単価と税率とから、以下の(2)、(3)式により内税額を算出する。 本体価格=単価/(1+税率) …(2)
内税額=単価-本体価格 …(3)
内税額を算出し終えたならば、プロセッサ101は、ACT11として内税額を内税合計額エリア44に加算する。またプロセッサ101は、ACT12として単価を第1価格とする。そしてプロセッサ101は、ACT13として第1価格を会計金額エリア42に加算する。
If the tax type is "3", that is, if the product code of a tax-inclusive product is scanned, the processor 101 proceeds from ACT 3 to ACT 10. In ACT 10, 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 - unit price … (3)
When the tax-inclusive amount has been calculated, the processor 101 adds the tax-inclusive amount to the tax-inclusive total amount area 44 in ACT 11. The processor 101 also sets the unit price as the first price in ACT 12. The processor 101 then adds the first price to the billing amount area 42 in ACT 13.
ACT5、ACT9又はACT13の処理を終えると、プロセッサ101は、ACT14としてトランザクションデータ41Dを作成する。すなわちプロセッサ101は、商品データに含まれる商品コード、商品名、単価、税種、税率及び属性と、点数、税額、第1価格、第2価格及び変更ステータスとで、トランザクションデータ41Dを作成する。ここで、点数は、スキャニング入力の直前にテンキーK1と乗算キーK3とにより乗数が入力されていた場合にはその乗数となり、乗数が入力されていない場合には“1”となる。税額は、非課税商品の場合には“0”であり、外税商品の場合には、ACT6の処理で算出された外税額であり、内税商品の場合には、ACT10の処理で算出された内税額である。第1価格は、非課税商品の場合には単価となり、外税商品及び内税商品の場合には税込み価格となる。第2価格は、この時点では“0”である。 After completing the processing of ACT5, ACT9 or ACT13, the processor 101 creates transaction data 41D in ACT14. That is, the processor 101 creates transaction data 41D with the product code, product name, unit price, tax type, tax rate and attributes contained 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 entered using the numeric keypad K1 and multiplication key K3 immediately before the scanning input, and are "1" if no multiplier was entered. 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.
トランザクションデータ41Dを作成し終えると、プロセッサ101は、ACT15としてそのトランザクションデータ41Dの変更ステータスを“0”とする。そしてプロセッサ101は、ACT16としてトランザクションデータ41Dをトランザクションエリア41に登録する。さらにプロセッサ101は、ACT17として第1ディスプレイ109及び第2ディスプレイ110に対して、トランザクションデータ41Dの商品名、点数、単価等が表示されるように制御する。以上で、プロセッサ101は、スキャニング処理を終了する。 When the creation of the transaction data 41D is finished, the processor 101 sets the change status of the transaction data 41D to "0" in ACT 15. Then, the processor 101 registers the transaction data 41D in the transaction area 41 in ACT 16. 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 ACT 17. With this, the processor 101 ends the scanning process.
図15、図16及び図17は、スキャニング処理を終えた後の第1ディスプレイ109の表示例である。図15は、1取引として販売される1点目の商品「AAAAA」の商品コードが読み取られ、続いて2点目の商品「BBBBB」の商品コードが読み取られたときの登録画面50Aを示している。ここで、商品「AAAAA」は、単価100円の内税商品である。商品「BBBBB」は、単価100円の非課税商品である。 Figures 15, 16, and 17 are examples of the display on the first display 109 after the scanning process has been completed. Figure 15 shows the registration screen 50A when the product code of the first product "AAAAAA" sold as one transaction is read, followed by the product code of the second product "BBBBB". Here, the product "AAAAAA" is a tax-inclusive product with a unit price of 100 yen. The product "BBBBB" is a non-taxable product with a unit price of 100 yen.
登録画面50Aは、明細エリア51と最新エリア52とに区分されている。明細エリア51には、1点目の商品「AAAAA」に関する情報として、商品名「AAAAA」、点数「1」、単価「100」、値割引金額「0」、金額「100」、税種「内」等が表示されている。金額は、単価に点数を乗算して算出された金額である。税種「内」は、内税商品であることを示している。 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 product "AAAAA" is displayed, including the product name "AAAAA", points "1", unit price "100", discount amount "0", amount "100", and tax type "included". The amount is calculated by multiplying the unit price by the points. The tax type "included" indicates that the product is tax-inclusive.
最新エリア52には、2点目の商品「BBBBB」に関する情報として、商品名「BBBBB」、点数「1」及び単価「100」が表示され、さらに合計点数「2」及び合計金額「200」が表示されている。合計点数「2」は、トランザクションエリア41に登録されたトランザクションデータ41Dの点数を合計した値である。合計金額「200」は、会計金額エリア42に記憶されている金額である。この他、最新エリア52の領域521には、商品「BBBBB」が非課税商品であることを表す情報「非課税」が表示されている。 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 billing amount area 42. In addition, area 521 of the latest area 52 displays the information "Non-taxable", indicating that the item "BBBBB" is a non-taxable item.
1点目の商品「AAAAA」は軽減税率対象外の内税商品であるので、税率テーブル31から通常税率10%が読み出される。そして、単価100円に対する通常税率10%の内税額9円が内税合計額エリア44に加算される。また、会計金額エリア42には、税込み価格である単価100円が加算される。2点目の商品「BBBBB」は非課税商品であるので、単価100円がそのまま会計金額エリア42に加算される。かくして、合計金額は200円となる。 The first item, "AAAAAA," is a tax-inclusive item that is not subject to the reduced tax rate, so the regular tax rate of 10% is read from the tax rate table 31. Then, the tax-inclusive amount of 9 yen, which is the regular tax rate of 10% for a unit price of 100 yen, is added to the tax-inclusive total amount area 44. The unit price of 100 yen, which is the tax-inclusive price, is added to the billing amount area 42. The second item, "BBBBB," is a tax-exempt item, so the unit price of 100 yen is added directly to the billing amount area 42. Thus, the total amount is 200 yen.
図16は、図15の登録画面50Aが第1ディスプレイ109に表示されている状態で、さらに3点目の商品「CCCCC」の商品コードが読み取られたときの登録画面50Bを示している。ここで、商品「CCCCC」は、単価100円の内税商品である。 Figure 16 shows registration screen 50B when the product code of the third product "CCCCC" is read while registration screen 50A of Figure 15 is being displayed on first display 109. Here, product "CCCCC" is a tax-inclusive product with a unit price of 100 yen.
登録画面50Bの明細エリア51には、1点目の商品「AAAAA」及び2点目の商品「BBBBB」に関する情報が表示されている。因みに、税種「非」は、非課税商品であることを示している。 In the details area 51 of the registration screen 50B, information about the first product "AAAAAA" and the second product "BBBBB" is displayed. Incidentally, the tax type "Non" indicates that the product is non-taxable.
最新エリア52には、3点目の商品「CCCCC」に関する情報として、商品名「CCCCC」、点数「1」及び単価「100」が表示され、さらに合計点数「3」及び合計金額「300」が表示されている。3点目の商品「CCCCC」は内税商品であるので、税率テーブル31から通常税率10%が読み出される。そして、単価100円に対する通常税率10%の内税額9円が内税合計額エリア44に加算されて、内税額が18円となる。また、会計金額エリア42には、税込み価格である単価100円が加算されて、合計金額は300円となる。この他、最新エリア52の領域521には、商品「CCCCC」が内税商品であることを表す情報「内税」が表示されている。 In the latest area 52, the product name "CCCCC", points "1" and unit price "100" are displayed as information about the third product "CCCCC", as well as the total points "3" and total amount "300". Since the third product "CCCCC" is a tax-inclusive product, the normal tax rate of 10% is read from the tax rate table 31. Then, the tax-inclusive amount of 9 yen, which is the normal tax rate of 10% for a 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, area 521 of the latest area 52 displays the information "tax-inclusive" indicating that the product "CCCCC" is a tax-inclusive product.
図17は、図16の登録画面50Bが第1ディスプレイ109に表示されている状態で、さらに4点目の商品「DDDDD」の商品コードが読み取られたときの登録画面50Cを示している。ここで、商品「DDDDD」は、単価100円の内税商品である。商品「DDDDD」は、軽減税率対象の商品、例えば食料品である。 Figure 17 shows registration screen 50C when registration screen 50B in Figure 16 is displayed on first display 109 and the product code of the fourth product, "DDDDD", is read. 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 foodstuffs.
登録画面50Cの明細エリア51には、1点目から3点目までの商品「AAAAA」、「BBBBB」及び「CCCCC」に関する情報が表示されている。 Information about the first to third products, "AAAA," "BBBBB," and "CCCCC," is displayed in the details area 51 of the registration screen 50C.
最新エリア52には、4点目の商品「DDDDD」に関する情報として、商品名「DDDDD」、点数「1」及び単価「100」が表示され、さらに合計点数「4」及び合計金額「400」が表示されている。4点目の商品「DDDDD」は軽減税率対象の内税商品であるので、税率テーブル31から軽減税率8%が読み出される。そして、単価100円に対する軽減税率8%の内税額7円が内税合計額エリア44に加算されて、内税額が25円となる。また、会計金額エリア42には、税込み価格である単価100円が加算されて、合計金額は400円となる。その他、最新エリア52の領域521には、商品「DDDDD」が軽減税率対象の商品であることを表す情報「軽減税率対象」が表示されている。 In the latest area 52, the product name "DDDDD", points "1" and unit price "100" are displayed as information about the fourth product "DDDDD", and further the total points "4" and 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 from the tax rate table 31. Then, the tax-inclusive amount of 7 yen, which is the reduced tax rate of 8% for a 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 "reduced tax rate subject" indicating that the product "DDDDD" is a product subject to the reduced tax rate.
流れ図の説明に戻る。
図9は、SIキー処理の手順を示す流れ図である。プロセッサ101は、キーボード107のSIキーK6が入力操作されたことを検知すると、SIキー処理を開始する。先ず、プロセッサ101は、ACT21としてトランザクションデータ41Dがトランザクションエリア41に登録されているか否かを確認する。登録されていない場合、プロセッサ101は、ACT21においてNOと判定し、SIキー処理を終了する。
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, in ACT 21, the processor 101 checks whether the transaction data 41D is registered in the transaction area 41. If it is not registered, the processor 101 judges NO in ACT 21 and ends the SI key processing.
トランザクションデータ41Dがトランザクションエリア41に登録されている場合には、プロセッサ101は、ACT21においてYESと判定し、ACT22へと進む。プロセッサ101は、ACT22としてSIキーK6の入力直前にテンキーK1の入力操作により置数されているか否かを確認する。置数されていない場合、プロセッサ101は、ACT22においてNOと判定し、SIキー処理を終了する。 If the transaction data 41D is registered in the transaction area 41, the processor 101 judges YES in ACT 21 and proceeds to ACT 22. In ACT 22, 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 ACT 22 and ends the SI key processing.
SIキーK6の入力直前に置数されている場合には、プロセッサ101は、ACT22においてYESと判定し、ACT23へと進む。プロセッサ101は、ACT23として“1”が置数されていたか否かを確認する。“1”が置数されていた場合、プロセッサ101は、ACT23においてYESと判定し、ACT24へと進む。プロセッサ101は、ACT24としてSIテーブル32を参照し、SIコード“1”に関連付けられた税率、税種及び表示情報を取得する。そしてプロセッサ101は、ACT25として非課税変更処理を実行する。 If a number was entered immediately before the input of the SI key K6, the processor 101 judges as YES in ACT 22 and proceeds to ACT 23. The processor 101 checks whether or not "1" was entered in ACT 23. If "1" was entered, the processor 101 judges as YES in ACT 23 and proceeds to ACT 24. The processor 101 refers to the SI table 32 in ACT 24 and obtains the tax rate, tax type, and display information associated with the SI code "1". Then, the processor 101 executes the tax exemption change process in ACT 25.
“1”が置数されていなかった場合には、プロセッサ101は、ACT23においてNOと判定し、ACT26へと進む。プロセッサ101は、ACT26として“2”が置数されていたか否かを確認する。“2”が置数されていた場合、プロセッサ101は、ACT26においてYESと判定し、ACT27へと進む。プロセッサ101は、ACT27としてSIテーブル32を参照し、SIコード“2”に関連付けられた税率、税種及び表示情報を取得する。そしてプロセッサ101は、ACT28として外税変更処理を実行する。 If "1" has not been entered, the processor 101 judges NO in ACT 23 and proceeds to ACT 26. The processor 101 checks whether "2" has been entered in ACT 26. If "2" has been entered, the processor 101 judges YES in ACT 26 and proceeds to ACT 27. The processor 101 refers to the SI table 32 in ACT 27 and obtains the tax rate, tax type, and display information associated with the SI code "2". Then, the processor 101 executes the tax exclusive change process in ACT 28.
“2”が置数されていなかった場合、プロセッサ101は、ACT26おいてNOと判定し、ACT29へと進む。プロセッサ101は、ACT29として“3”が置数されていたか否かを確認する。“3”が置数されていた場合、プロセッサ101は、ACT29においてYESと判定し、ACT30へと進む。プロセッサ101は、ACT30として、SIテーブル32を参照し、SIコード“3”に関連付けられた税率、税種及び表示情報を取得する。そしてプロセッサ101は、ACT31として内税変更処理を実行する。 If "2" has not been entered, the processor 101 judges NO in ACT 26 and proceeds to ACT 29. The processor 101 checks whether "3" has been entered in ACT 29. If "3" has been entered, the processor 101 judges YES in ACT 29 and proceeds to ACT 30. In ACT 30, 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". Then, the processor 101 executes the tax-inclusive change process in ACT 31.
“3”が置数されていなかった場合、プロセッサ101は、ACT29においてNOと判定し、ACT32へと進む。プロセッサ101は、ACT32として“4”が置数されていたか否かを確認する。“4”が置数されていた場合、プロセッサ101は、ACT32においてYESと判定し、ACT33へと進む。プロセッサ101は、ACT33として、SIテーブル32を参照し、SIコード“4”に関連付けられた税率、税種及び表示情報を取得する。そしてプロセッサ101は、ACT34として税率変更処理を実行する。 If "3" has not been entered, the processor 101 judges NO in ACT 29 and proceeds to ACT 32. The processor 101 checks whether "4" has been entered in ACT 32. If "4" has been entered, the processor 101 judges YES in ACT 32 and proceeds to ACT 33. In ACT 33, 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 a tax rate change process in ACT 34.
“4”が置数されていなかった場合、プロセッサ101は、ACT32においてNOと判定し、ACT35へと進む。プロセッサ101は、ACT35として上述した非課税変更処理、外税変更処理、内税変更処理または税率変更処理以外の他の処理を実行する。他の処理については、特に限定されるものではないので、ここでは言及しない。非課税変更処理、外税変更処理、内税変更処理または税率変更処理の詳細については、後述する。 If "4" has not been entered, the processor 101 judges NO in ACT 32 and proceeds to ACT 35. The processor 101 executes processing other than the tax-exempt change processing, tax-exclusive change processing, tax-inclusive change processing, or tax rate change processing described above in ACT 35. 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.
図10は、イートインキー処理の手順を示す流れ図である。プロセッサ101は、キーボード107のイートインキーK7が入力操作されたことを検知すると、イートインキー処理を開始する。先ず、プロセッサ101は、ACT41としてトランザクションデータ41Dがトランザクションエリア41に登録されているか否かを確認する。登録されていない場合、プロセッサ101は、ACT41においてNOと判定し、イートインキー処理を終了する。 Figure 10 is a flow diagram showing the procedure for eat-in key processing. When the processor 101 detects that the eat-in key K7 on the keyboard 107 has been operated for input, the processor 101 starts the eat-in key processing. First, the processor 101 checks in ACT 41 whether the transaction data 41D is registered in the transaction area 41. If it is not registered, the processor 101 judges NO in ACT 41 and ends the eat-in key processing.
トランザクションデータ41Dがトランザクションエリア41に登録されている場合には、プロセッサ101は、ACT41においてYESと判定し、ACT42へと進む。プロセッサ101は、ACT42として税率変更処理を実行する。税率変更処理は、テンキーK1で“4”が置数された後にSIキーK6が入力操作された場合のSIキー処理で実行される税率変更処理と同様である。すなわちPOS端末10では、商品登録後にテンキーK1で“4”を置数し、続いてSIキーK6を入力操作する、という組み合わせ操作をした場合と、イートインキーK7の単一操作をした場合とにおいて、税率変更処理が実行される。 If the transaction data 41D is registered in the transaction area 41, the processor 101 determines YES in ACT 41 and proceeds to ACT 42. The processor 101 executes tax rate change processing in ACT 42. 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 on 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" on the numeric keypad K1 after registering a product and then operating the SI key K6 is performed, and when the eat-in key K7 is operated alone.
次に、非課税変更処理、外税変更処理、内税変更処理及び税率変更処理について説明する。
図11は非課税変更処理の手順を示す流れ図である。プロセッサ101は、非課税変更処理に入ると、ACT51として直前にトランザクションエリア41に登録されたトランザクションデータ41Dの税種が、非課税商品を示す“1”であるか否かを確認する。以下、直前にトランザクションエリア41に登録されたトランザクションデータ41Dをトランザクションデータ41Dxと表す。本実施形態において、非課税変更処理の対象となる商品は、外税商品又は内税商品である。プロセッサ101は、トランザクションデータ41Dxの税種が“1”である場合、ACT51においてYESと判定し、非課税変更処理を終了する。
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, in ACT 51, it checks whether the tax type of the transaction data 41D registered in the transaction area 41 immediately before is "1", which indicates 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 ACT 51 and ends the tax exemption change process.
トランザクションデータ41Dxの税種が“1”以外である場合、プロセッサ101は、ACT51においてNOと判定し、ACT52へと進む。プロセッサ101は、ACT52としてその税種が外税商品を示す“2”であるのか、内税商品を示す“3”であるのかを確認する。 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", which indicates a tax-exclusive product, or "3", which indicates a tax-inclusive product.
税種が“2”である場合、プロセッサ101は、ACT52においてYESと判定し、ACT53へと進む。プロセッサ101は、ACT53としてトランザクションデータ41Dxの単価と税率とから、前述した(1)式により外税額を算出する。またプロセッサ101は、ACT54としてトランザクションデータ41Dxの単価を、当該トランザクションデータ41Dxの第2価格とする。さらにプロセッサ101は、ACT54として外税合計額エリア43から、ACT53の処理で算出した外税額を減算する。同様に、プロセッサ101は、ACT55として会計金額エリア42から外税額を減算する。その後、プロセッサ101は、ACT60へと進む。ACT60の処理については後述する。 If the tax type is "2", the processor 101 judges YES in ACT 52 and proceeds to ACT 53. In ACT 53, 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, the processor 101 sets the unit price of the transaction data 41Dx as the second price of the transaction data 41Dx in ACT 54. In addition, the processor 101 subtracts the tax-exclusive amount calculated in the processing of ACT 53 from the tax-exclusive total amount area 43 in ACT 54. Similarly, the processor 101 subtracts the tax-exclusive amount from the billing amount area 42 in ACT 55. After that, the processor 101 proceeds to ACT 60. The processing of ACT 60 will be described later.
ACT52において、税種が“3”であった場合には、プロセッサ101は、ACT52においてNOと判定し、ACT57へと進む。プロセッサ101は、ACT57としてトランザクションデータ41Dxの単価と税率とから、前述した(2),(3)式により本体価格と内税額とを算出する。またプロセッサ101は、ACT58として、ACT57の処理で算出した本体価格を、当該トランザクションデータ41Dxの第2価格とする。さらにプロセッサ101は、ACT59として内税合計額エリア44から、ACT57の処理で算出した内税額を減算する。その後、プロセッサ101は、ACT60へと進む。 In ACT 52, if the tax type is "3", the processor 101 judges NO in ACT 52 and proceeds to ACT 57. In ACT 57, 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 ACT 58, the processor 101 sets the base price calculated in the processing of ACT 57 as the second price of the transaction data 41Dx. In ACT 59, the processor 101 subtracts the inclusive tax amount calculated in the processing of ACT 57 from the inclusive tax total amount area 44. After that, the processor 101 proceeds to ACT 60.
プロセッサ101は、ACT60としてトランザクションデータ41Dxの税種を非課税の税種“1”に変更し、税額を“0”とする。またプロセッサ101は、ACT61としてトランザクションデータ41Dxの変更ステータスを“1”とする。そしてプロセッサ101は、ACT62として変更ステータス“1”に従い、第1ディスプレイ109及び第2ディスプレイ110の表示を変更する。 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" in ACT 60. The processor 101 also sets the change status of the transaction data 41Dx to "1" in ACT 61. The processor 101 then changes the display on the first display 109 and the second display 110 in accordance with the change status "1" in ACT 62.
このようにオペレータが、商品登録後に“1”を置数し、続いてSIキーK6を操作すると、POS端末10では非課税変更処理が実行される。すなわち、トランザクションデータ41Dxの税種が“2”、つまり外税商品の登録後に非課税変更処理が実行されると、その外税商品の外税額が算出される。そして、外税合計額エリア43及び会計金額エリア42から外税額が減算される。また、トランザクションデータ41Dxの第2価格が単価となり、税種が“1”となり、税額が“0”となる。したがって、外税商品のトランザクションデータ41Dxが非課税商品のトランザクションデータ41Dxに変更されて登録されたこととなる。そしてこのとき、変更ステータスが“1”となる。すなわち変更ステータスの“1”は、税種が外税から非課税に変更されたことを示す。そして、第1ディスプレイ109及び第2ディスプレイ110には、外税商品が非課税商品に変更されて登録されたことがわかるように、表示内容が変更される。 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 a tax-exclusive product, the tax-exclusive amount of that tax-exclusive product is calculated. The tax-exclusive amount is then subtracted from the tax-exclusive total amount area 43 and the billing amount area 42. 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 a 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. The display content is then 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 a non-taxable product and registered.
一方、トランザクションデータ41Dxの税種が“3”、つまり内税商品の登録後に非課税変更処理が実行された場合には、その内税商品の本体価格と内税額とが算出される。そして、内税合計額エリア44から内税額が減算される。また、トランザクションデータ41Dxの第2価格が本体価格となり、税種が“1”となり、税額が“0”となる。したがって、内税商品のトランザクションデータ41Dxが非課税商品のトランザクションデータ41Dxに変更されて登録されたこととなる。そしてこのとき、変更ステータスが“1”となる。すなわち変更ステータスの“1”は、税種が内税から非課税に変更されたことをも示す。そして、第1ディスプレイ109及び第2ディスプレイ110には、内税商品が非課税商品に変更されて登録されたことがわかるように、表示内容が変更される。 On the other hand, if the tax type of transaction data 41Dx is "3", that is, if the tax-exempt change process is executed after the registration of a tax-inclusive product, the base price and tax-inclusive amount of the tax-inclusive product are calculated. The tax-inclusive amount is then subtracted from the tax-inclusive total amount area 44. The second price of transaction data 41Dx becomes the base price, the tax type becomes "1", and the tax amount becomes "0". Therefore, the transaction data 41Dx of a tax-inclusive product is changed to transaction data 41Dx of a non-taxable product and registered. At this time, the change status becomes "1". In other words, the change status of "1" also indicates that the tax type has been changed from tax-inclusive to non-taxable. The display content is then changed on the first display 109 and the second display 110 to show that the tax-inclusive product has been changed to a non-taxable product and registered.
図18は、図16に示した登録画面50Bが表示された状態で、商品「CCCCC」に対して非課税変更処理が実行された場合の登録画面50Dである。商品「CCCCC」の単価100円は、通常税率10%の内税額9円が含まれているので、本体価格は91円である。したがって、非課税変更処理が実行された場合には、商品「CCCCC」の単価は第2価格として保存された本体価格91円となる。そして、最新エリア52には、内税から非課税に変更されたことを示す表示として、情報「内税→非課税」とともに、単価が、第1価格の税込み価格100円から第2価格の本体価格91円に変更されたことを示す情報「100→91円」が表示される。さらに最新エリア52の領域521には、ACT24の処理においてSIテーブル32から取得した表示情報「非課税」が表示される。 Figure 18 shows a registration screen 50D when the tax-exempt change process is executed for the product "CCCCCC" while the registration screen 50B shown in Figure 16 is displayed. The unit price of the product "CCCCCC" 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 "CCCCCC" becomes the base price of 91 yen saved 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 the first price to the base price of 91 yen, along with information "100 → 91 yen" indicating that the unit price has been changed from the tax-inclusive price of 100 yen of the first price to the base price of 91 yen of the second price. Furthermore, in the area 521 of the latest area 52, the display information "tax-exempt" obtained from the SI table 32 in the process of ACT24 is displayed.
流れ図の説明に戻る。
図12は、外税変更処理の手順を示す流れ図である。プロセッサ101は、外税変更処理に入ると、ACT71として直前にトランザクションエリア41に登録されたトランザクションデータ41Dxの税種が、非課税商品を示す“1”であるか否かを確認する。本実施形態において、外税変更処理の対象となる商品は、非課税商品である。プロセッサ101は、トランザクションデータ41Dxの税種が“1”以外である場合、ACT71においてNOと判定し、外税変更処理を終了する。
Returning to the explanation of the flow chart.
12 is a flow chart showing the procedure of the tax-exclusive price change process. When the processor 101 starts the tax-exclusive price change process, it checks in ACT 71 whether the tax type of the transaction data 41Dx registered in the transaction area 41 immediately before is "1" indicating a tax-exclusive product. In this embodiment, the product that is the target of the tax-exclusive price change process is a tax-exclusive product. If the tax type of the transaction data 41Dx is other than "1", the processor 101 judges NO in ACT 71 and ends the tax-exclusive price change process.
トランザクションデータ41Dxの税種が“1”、つまりは直前に登録された商品が非課税商品の場合、プロセッサ101は、ACT71においてYESと判定し、ACT72へと進む。プロセッサ101は、ACT72としてトランザクションデータ41Dxの単価と通常税率10%とから前記(1)式により税額を算出する。またプロセッサ101は、ACT73として単価をトランザクションデータ41Dxの第2価格にセットする。そしてプロセッサ101は、ACT74として税額を外税合計額エリア43に加算する。また、プロセッサ101は、ACT75として税額を会計金額エリア42に加算する。 If the tax type in the transaction data 41Dx is "1", meaning that the product registered immediately before is a non-taxable product, the processor 101 judges YES in ACT 71 and proceeds to ACT 72. In ACT 72, the processor 101 calculates the tax amount using the unit price in the transaction data 41Dx and the normal tax rate of 10% using the above formula (1). In ACT 73, the processor 101 sets the unit price to the second price in the transaction data 41Dx. In ACT 74, the processor 101 adds the tax amount to the tax-exclusive total amount area 43. In ACT 75, the processor 101 adds the tax amount to the billing amount area 42.
プロセッサ101は、ACT76としてトランザクションデータ41Dxの税種を外税の税種“2”に変更し、税額をACT72の処理で算出された金額に変更する。またプロセッサ101は、ACT77としてトランザクションデータ41Dxの変更ステータスを“2”とする。そしてプロセッサ101は、ACT78として変更ステータス“2”に従い、第1ディスプレイ109及び第2ディスプレイ110の表示を変更する。 The processor 101 changes the tax type of the transaction data 41Dx to tax type "2" exclusive of tax in ACT 76, and changes the tax amount to the amount calculated in the processing in ACT 72. The processor 101 also sets the change status of the transaction data 41Dx to "2" in ACT 77. The processor 101 then changes the display on the first display 109 and the second display 110 in accordance with the change status "2" in ACT 78.
このようにオペレータが、商品登録後に“2”を置数し、続いてSIキーK6を操作すると、POS端末10では外税変更処理が実行される。すなわちトランザクションデータ41Dxの税種が“1”、つまり非課税商品の登録後に外税変更処理が実行されると、その商品の単価に対して通常税率10%の外税額が算出され、この外税額が外税合計額エリア43及び会計金額エリア42に加算される。また、トランザクションデータ41Dxの第2価格が単価となり、税種が“2”となり、税額が“0”からACT72の処理で算出した税額に変更される。したがって、非課税商品のトランザクションデータ41Dxが外税商品のトランザクションデータ41Dxに変更されて登録されたこととなる。そしてこのとき、変更ステータスが“2”となる。すなわち変更ステータスの“2”は、税種が非課税から外税に変更されたことを示す。そして、第1ディスプレイ109及び第2ディスプレイ110には、非課税商品が外税商品に変更されて登録されたことがわかるように、表示内容が変更される。 In this way, when the operator enters "2" after registering a product and then operates the SI key K6, the POS terminal 10 executes the tax-exclusive change process. That is, when the tax type in transaction data 41Dx is "1", that is, when the tax-exclusive change process is executed after registering a non-taxable product, the tax-exclusive amount, which is the normal tax rate of 10%, is calculated for the unit price of that product, and this tax-exclusive amount is added to the tax-exclusive total amount area 43 and the billing amount area 42. In addition, the second price in 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 a non-taxable product is changed to the transaction data 41Dx of a tax-exclusive 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 tax-exclusive. The display content on the first display 109 and the second display 110 will then change to indicate that the tax-exempt item has been changed and registered as a tax-exclusive item.
例えば最新エリア52には、非課税から外税に変更されたことを示す表示として、情報「非課税→外税」が表示される。金額は、第2価格の単価である。最新エリア52の領域521には、ACT27の処理においてSIテーブル32から取得した表示情報「外税」が表示される。 For example, the latest area 52 displays the 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. Area 521 of the latest area 52 displays the display information "Tax-exclusive" obtained from the SI table 32 in the processing of ACT27.
図13は、内税変更処理の手順を示す流れ図である。プロセッサ101は、内税変更処理に入ると、ACT81として直前にトランザクションエリア41に登録されたトランザクションデータ41Dxの税種が、非課税商品を示す“1”であるか否かを確認する。本実施形態において、内税変更処理の対象となる商品は、非課税商品である。プロセッサ101は、トランザクションデータ41Dxの税種が“1”以外である場合、ACT81においてNOと判定し、内税変更処理を終了する。 Figure 13 is a flow chart showing the steps of the tax-inclusive change process. When the processor 101 enters the tax-inclusive change process, it checks in ACT 81 whether the tax type of the transaction data 41Dx registered in the transaction area 41 immediately before is "1", indicating a tax-exempt product. In this embodiment, the product that is the subject of the tax-inclusive 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 ACT 81 and ends the tax-inclusive change process.
トランザクションデータ41Dxの税種が“1”、つまりは直前に登録された商品が非課税商品の場合、プロセッサ101は、ACT81においてYESと判定し、ACT82へと進む。プロセッサ101は、ACT82としてトランザクションデータ41Dxの単価と通常税率10%とから前記(1)式により税額を算出する。またプロセッサ101は、ACT83として単価と税額とを合算した金額をトランザクションデータ41Dxの第2価格にセットする。そしてプロセッサ101は、ACT84として税額を内税合計額エリア44に加算する。また、プロセッサ101は、ACT85として税額を会計金額エリア42に加算する。 If the tax type in the transaction data 41Dx is "1", meaning that the product registered immediately before is a non-taxable product, the processor 101 judges YES in ACT 81 and proceeds to ACT 82. In ACT 82, the processor 101 calculates the tax amount using the unit price in the transaction data 41Dx and the normal tax rate of 10% using the above formula (1). In ACT 83, the processor 101 sets the total amount of the unit price and the tax amount as the second price in the transaction data 41Dx. In ACT 84, the processor 101 adds the tax amount to the tax-inclusive total amount area 44. In ACT 85, the processor 101 adds the tax amount to the billing amount area 42.
プロセッサ101は、ACT86としてトランザクションデータ41Dxの税種を内税の税種“3”に変更し、税額をACT82の処理で算出された金額に変更する。またプロセッサ101は、ACT87としてトランザクションデータ41Dxの変更ステータスを“3”とする。そしてプロセッサ101は、ACT88として変更ステータス“3”に従い、第1ディスプレイ109及び第2ディスプレイ110の表示を変更する。 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. The processor 101 then changes the display on the first display 109 and the second display 110 in accordance with the change status "3" in ACT 88.
このようにオペレータが、商品登録後に“3”を置数し、続いてSIキーK6を操作すると、POS端末10では内税変更処理が実行される。すなわちトランザクションデータ41Dxの税種が“1”、つまり非課税商品の登録後に内税変更処理が実行されると、その商品の単価に対して通常税率10%の税額が算出され、この税額が内税合計額エリア44及び会計金額エリア42に加算される。また、トランザクションデータ41Dxの第2価格が単価と税額とを加算した税込み価格となり、税種が“3”となり、税額が“0”からACT82の処理で算出した税額に変更される。したがって、非課税商品のトランザクションデータ41Dxが内税商品のトランザクションデータ41Dxに変更されて登録されたこととなる。そしてこのとき、変更ステータスが“3”となる。すなわち変更ステータスの“3”は、税種が非課税から内税に変更されたことを示す。そして、第1ディスプレイ109及び第2ディスプレイ110には、非課税商品が内税商品に変更されて登録されたことがわかるように、表示内容が変更される。 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 at the normal tax rate of 10% is calculated for the unit price of the product, 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 in 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. The display content on the first display 109 and the second display 110 will then change to indicate that the tax-exempt item has been changed and registered as a tax-inclusive item.
例えば最新エリア52には、非課税から内税に変更されたことを示す表示として、情報「非課税→内税」が表示される。金額は、第2価格の税込み価格である。最新エリア52の領域521には、ACT30の処理においてSIテーブル32から取得した表示情報「内税」が表示される。 For example, the latest area 52 displays the 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 ACT 30 is displayed in area 521 of the latest area 52.
図19は、図15の登録画面50Aが表示された状態で、非課税商品「BBBBB」に対して内税変更処理が実行された場合の登録画面50Eである。上述した内税変更処理により、商品「BBBBB」の単価100円と通常税率10%とから税額10円が算出され、税込み価格110円が算出されて、第2価格となる。そして、直前エリアには情報「非課税→内税」とともに、第1価格100円から第2価格110円に変更されたことを示す情報「100→110円」が表示される。また、合計金額が210円になるとともに、領域521に表示情報「内税」が表示される。 Figure 19 shows registration screen 50E when tax-inclusive price change processing is executed for tax-exempt product "BBBBB" with registration screen 50A in Figure 15 displayed. Through the tax-inclusive price change processing described above, a tax amount of 10 yen is calculated from the unit price of 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", which indicates that the first price of 100 yen has been changed to the second price of 110 yen. Furthermore, the total amount becomes 210 yen, and the display information "tax-inclusive" is displayed in area 521.
流れ図の説明に戻る。
図14は、税率変更処理の手順を示す流れ図である。プロセッサ101は、税率変更処理に入ると、ACT91として直前にトランザクションエリア41に登録されたトランザクションデータ41Dxの属性を取得する。そしてプロセッサ101は、この属性が軽減税率対象の商品に属することを示す情報であるか否かを確認する。本実施形態では、直前に登録された商品が飲料品又は食料品ではない場合、軽減税率対象の商品ではない。この場合、プロセッサ101は、ACT91においてNOと判定し、税率変更処理を終了する。
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 in ACT 91. 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 ACT 91 and ends the tax rate change process.
本実施形態では、直前に登録された商品が飲料品又は食料品である場合、軽減税率対象の商品である。この場合、プロセッサ101は、ACT92においてYESと判定し、ACT93へと進む。プロセッサ101は、ACT93としてトランザクションデータ41Dxの税種を調べる。本実施形態では、飲料品又は食料品は、内税商品又は外税商品である。したがって、トランザクションデータ41Dxの税種は、“2”又は“3”である。 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 ACT 92 and proceeds to ACT 93. In ACT 93, the processor 101 checks the tax type of the transaction data 41Dx. In this embodiment, beverages or food products are tax-inclusive or tax-exclusive products. Therefore, the tax type of the transaction data 41Dx is "2" or "3".
プロセッサ101は、トランザクションデータ41Dxの税種が“2”である場合、つまり外税商品の場合には、ACT93においてYESと判定し、ACT94へと進む。プロセッサ101は、ACT94としてトランザクションデータ41Dxの税率と単価とから、前記(1)式により変更前税額Aを算出する。因みに、トランザクションデータ41Dxの税率は、軽減税率8%である。 If the tax type in the transaction data 41Dx is "2", i.e., if the product is tax-exclusive, the processor 101 determines YES in ACT 93 and proceeds to ACT 94. In ACT 94, the processor 101 calculates the pre-change tax amount A from the tax rate and unit price in the transaction data 41Dx using the above formula (1). Incidentally, the tax rate in the transaction data 41Dx is a reduced tax rate of 8%.
プロセッサ101は、ACT95として変更税率エリア45から変更税率を取得する。変更税率は、通常税率10%である。プロセッサ101は、ACT96としてこの変更税率10%と単価とから、前記(1)式により変更後税額Bを算出する。プロセッサ101は、ACT97としてトランザクションデータ41Dxの第2価格を単価とする。またプロセッサ101は、ACT98として変更後税額Bから変更前税額Aを減じた差分値を外税合計額エリア43に加算する。同様に、プロセッサ101は、ACT99として上記差分値を会計金額エリア42に加算する。その後、プロセッサ101は、ACT108へと進む。ACT108の処理については後述する。 In ACT 95, the processor 101 obtains the changed tax rate from the changed tax rate area 45. The changed tax rate is the normal tax rate of 10%. In ACT 96, 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 ACT 97, the processor 101 sets the second price in the transaction data 41Dx as the unit price. In ACT 98, the processor 101 adds the difference value obtained by subtracting the pre-change tax amount A from the changed tax amount B to the tax-exclusive total amount area 43. Similarly, in ACT 99, the processor 101 adds the difference value to the billing amount area 42. After that, the processor 101 proceeds to ACT 108. The processing in ACT 108 will be described later.
一方、プロセッサ101は、トランザクションデータ41Dxの税種が“3”である場合、つまり内税商品の場合には、ACT93においてNOと判定し、ACT100へと進む。プロセッサ101は、ACT100としてトランザクションデータ41Dxの税率と単価とから、前記(2)、(3)式により単価に含まれる本体価格と内税額とを算出する。因みに、トランザクションデータ41Dxの税率は、軽減税率8%である。 On the other hand, if the tax type in the transaction data 41Dx is "3", that is, if the product is tax-inclusive, the processor 101 judges NO in ACT 93 and proceeds to ACT 100. In ACT 100, the processor 101 calculates the base price and tax-inclusive amount included in the unit price from the tax rate and unit price in the transaction data 41Dx using the above formulas (2) and (3). Incidentally, the tax rate in the transaction data 41Dx is a reduced tax rate of 8%.
プロセッサ101は、ACT101として変更税率エリア45から変更税率を取得する。変更税率は、通常税率10%である。プロセッサ101は、ACT102としてこの変更税率10%と単価とから、前記(1)式により変更後税額Cを算出する。プロセッサ101は、ACT103としてトランザクションデータ41Dxの第2価格を、単価に変更後税額Cを加算した内税の金額とする。 The processor 101 obtains 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 this 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.
プロセッサ101は、ACT104として内税合計額エリア44から内税額を減算する。そしてプロセッサ101は、ACT105として変更後税額Cを内税合計額エリア44に加算する。同様に、プロセッサ101は、ACT106として会計金額エリア42から内税額を減算する。そしてプロセッサ101は、ACT107として変更後税額Cを会計金額エリア42に加算する。その後、プロセッサ101は、ACT108へと進む。 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.
プロセッサ101は、ACT108としてトランザクションデータ41Dxの税率を変更税率に変更し、税額を変更後税額B又は変更後税額Cに変更する。またプロセッサ101は、ACT109としてトランザクションデータ41Dxの変更ステータスを“4”に更新する。そしてプロセッサ101は、ACT110として変更ステータス“4”に従い、第1ディスプレイ109及び第2ディスプレイ110の表示を変更する。 The processor 101 changes the tax rate of the transaction data 41Dx to the changed tax rate in ACT 108, 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" in ACT 109. The processor 101 then changes the display on the first display 109 and the second display 110 in accordance with the change status "4" in ACT 110.
このようにオペレータが、商品の登録後に“4”を置数し、続いてSIキーK6を操作すると、POS端末10では税率変更処理が実行される。また、商品の登録後にイートインキーK7が操作された場合においても、POS端末10では税率変更処理が実行される。詳しくは、トランザクションデータ41Dxの属性が軽減税率対象の商品に属することを示す情報であるときに税率変更処理が実行されると、その商品の税額が、軽減税率8%の税額から変更税率10%の税額に変更される。したがって、軽減税率対象の商品が変更税率の商品に変更されて登録されたこととなる。そしてこのとき、変更ステータスが“4”となる。すなわち変更ステータスの“4”は、税率が軽減税率から変更税率に変更されたことを示す。そして、第1ディスプレイ109及び第2ディスプレイ110には、税率が軽減税率から変更税率に変更されて登録されたことがわかるように、表示内容が変更される。 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, when the eat-in key K7 is operated after registering the product, the POS terminal 10 also executes the tax rate change process. In detail, when the tax rate change process is executed when the attribute of the transaction data 41Dx is information indicating that the product belongs to a reduced tax rate, the tax amount of the product is changed from the reduced tax rate of 8% to the modified tax rate of 10%. Therefore, the product subject to the reduced tax rate is changed to a product with the modified tax rate and registered. At this time, the change status becomes "4". In other words, the change status "4" indicates that the tax rate has been changed from the reduced tax rate to the modified tax rate. The display content is then 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.
図20は、図17の登録画面50Cが表示された状態で、軽減税率対象の内税商品「DDDDD」に対して税率変更処理が実行された後の登録画面50Fである。上述した税率変更処理により、商品「DDDDD」の単価100円に対する軽減税率8%の内税額7円と本体価格93円とが算出される。また、本体価格93円と変更税率10%とから変更後税額Cとして9円が算出される。そして第2価格が本体価格93円に変更後税額9円を加算した内税の金額102円となる。かくして、直前エリアには情報「税率変更」とともに、第1価格100円から第2価格102円に変更されたことを示す情報「100→102円」が表示される。また、合計金額が402円になるとともに、領域521に表示情報「税率10%」が表示される。 Figure 20 shows the registration screen 50F after the tax rate change process is executed for the tax-inclusive product "DDDDDD" subject to the reduced tax rate with the registration screen 50C of Figure 17 displayed. The tax rate change process described above calculates the tax-inclusive amount of 7 yen for the reduced tax rate of 8% for the unit price of 100 yen of the product "DDDDDD" and the base price of 93 yen. In addition, the base price of 93 yen and the changed tax rate of 10% calculate a changed tax amount C of 9 yen. The second price is the base price of 93 yen plus the changed tax amount of 9 yen, resulting in a tax-inclusive amount of 102 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.
さて、図20の登録画面50Fが表示された状態で、小計キーK4が操作されると、第1ディスプレイ109の画面は、例えば図21に示す内容の合計画面60となる。合計画面60は、明細エリア61と合計エリア62とからなる。明細エリア61には1取引として登録された商品の品名、点数、単価、値割引金額、金額、税種等が表示される。そして、税率変更が行われた商品「DDDDD」については、税率変更が行われたことを示すマークM1が表示されて、他の商品と区別される。合計エリア62には、合計点数及び合計金額と内税額とが表示されている。 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 the total screen 60 shown in FIG. 21, for example. 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. And 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.
図21の合計画面60が表示された状態で、現金支払いにより預/現計キーK5が操作されると、例えば図22に示すレイアウトのレシート70がプリンタ111によって印刷される。図22に示すように、レシート70には、税率変更された商品「DDDDD」に関して、変更前の税込み価格(¥100)及び内税額(¥7)と、変更後の税率による税込み価格(¥102)及び内税額(¥9)とが印字される。そして、変更前の税込み価格及び税額には、取消線が重ねて印字される。また、商品「DDDDD」は、マーク「軽」によって軽減税率対象の商品であることを示すとともに、その後の印字情報「イートイン(8%→10%)」により、店内飲食により税率が軽減税率8%から変更税率10%に変更されたことが示されている。 When the deposit/cash key K5 is operated to make a cash payment while the total screen 60 in FIG. 21 is displayed, a receipt 70 with a layout as shown in FIG. 22, for example, 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 new tax rate. 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 new tax rate of 10% due to eating and drinking in the store.
ここに、本実施形態のPOS端末10において、プロセッサ101を主体とするコンピュータは、スキャナ108等の読取装置と協働して図8のACT1及びACT2の処理を実行することにより、商品を識別する識別手段を構成する。また、同コンピュータは、図8のACT6又はACT10の処理を実行することにより、第1演算手段を構成する。すなわち同コンピュータは、識別手段により識別された商品の外税額または内税額を、当該商品に対して課せられる税の通常税率で算出する。 In the POS terminal 10 of this embodiment, the computer mainly composed of the processor 101 constitutes an identification means for identifying a product 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 processes of ACT6 or ACT10 in FIG. 8. In other words, the computer calculates the tax-exclusive or tax-inclusive amount of the product identified by the identification means at the normal tax rate levied on the product.
また、同コンピュータは、キーボード107と協働して図9のACT21、ACT22、ACT32、ACT33の処理、又は、図10のACT41の処理を実行することにより、検出手段を構成する。すなわち同コンピュータは、税率の変更を検出する。詳しくは、同コンピュータは、テンキーK1と複数のファンクションキーとを備えた入力デバイスであるキーボード107に対して所定のキー操作があると、税率の変更を検出する。ここで、所定のキー操作とは、テンキーK1と第1のファンクションキーであるSIキーK6との組み合わせ操作、または第2のファンクションキーであるイートインキーK7の単一操作である。 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. In detail, the computer detects a change in the tax rate when a specific key operation is performed on the keyboard 107, which is an input device equipped with a numeric keypad K1 and multiple function keys. Here, the specific 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.
また、同コンピュータは、図14のACT93乃至ACT96及びACT100乃至ACT102の処理を実行することにより、第2演算手段を構成する。すなわち同コンピュータは、検出手段により税率の変更が検出されると、識別手段により識別された商品の税額を変更後の税率で算出する。 The computer also constitutes a second calculation means by executing the processes of ACT 93 to ACT 96 and ACT 100 to ACT 102 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.
また、同コンピュータは、図8のACT7乃至ACT9、ACT11乃至ACT14、図14のACT97乃至ACT99及びACT103乃至ACT108の処理を実行することにより、処理手段を構成する。すなわち同コンピュータは、税率の変更が指示されていない商品については、第1演算手段で算出された税額で商品の販売データを処理し、税率の変更が指示された商品については、第2演算手段で算出された税額で商品の販売データを処理する。 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 products for which a change in tax rate has not been instructed, using the tax amount calculated by the first calculation means, and processes the sales data of products for which a change in tax rate has been instructed, using the tax amount calculated by the second calculation means.
このような構成を有したPOS端末10によれば、商品に課せられる税の税率が消費の形態によって変化する場合でも、オペレータは、簡単な操作で対処することができる。具体的にはオペレータは、キーボード107に対する所定のキー操作によって、税率の変更に対処することができる。例えばオペレータは、テンキーK1で“4”を置数し、SIキーK6を操作すればよい。あるいはオペレータは、イートインキーK7を操作すればよい。 With a POS terminal 10 configured in this way, even when the tax rate levied on a product changes depending on the form of consumption, the operator can handle the change with simple operations. 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.
ここで、テンキーK1とSIキーK6との組み合わせ操作によって税率変更に対処するか、イートインキーK7の単一操作によって税率変更に対処するのかは任意である。組み合わせ操作の場合、外税又は内税から非課税、あるいは非課税から外税又は内税に税種を変更する場合と操作手順が共通する。したがって、操作に慣れたオペレータの場合には、組み合わせ操作の方が使い勝手がよいと考えられる。しかしその一方で、組み合わせ操作の場合には2種類のキーを操作しなければならない煩雑さがある。このため、操作に不慣れなオペレータの場合には、イートインキーK7の単一操作の方が使い勝手がよいと考えられる。 Here, it is up to the operator to decide whether to handle the tax rate change by a combined operation of the numeric keypad K1 and SI key K6, or by a single operation of the eat-in key K7. In the case of a combined operation, the operating 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 easier to use. 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 easier to use.
なお、本実施形態においてオペレータは店員を想定しているが、オペレータは必ずしも店員に限定されるものではない。商品の登録から会計までを客自身が行うようにしたセルフ式のPOS端末の場合には、オペレータは客となる。 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 where the customer performs the process from registering the product to paying, the operator is the customer.
POS端末10は、表示手段として第1ディスプレイ109を備えている。そしてプロセッサ101を主体とするコンピュータは、第1ディスプレイ109に、図21に示すレイアウトの合計画面60が表示されるように、第1ディスプレイ109を制御している。ここに、同コンピュータは、第1制御手段を構成する。すなわち同コンピュータは、第2演算手段により税額が算出された商品にマークM1を表示することで、税率が変更された商品を、税率が変更されていない商品と区別するようにしている。したがって、オペレータは、合計画面60の情報から、税率が変更された商品を容易に特定することができる。 The POS terminal 10 is equipped with a first display 109 as a display means. A computer mainly composed of a processor 101 controls the first display 109 so that a total screen 60 with 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 products for which the tax amount has been calculated by the second calculation means, thereby distinguishing products for which the tax rate has been changed from products for which the tax rate has not been changed. Therefore, the operator can easily identify products for which the tax rate has been changed from the information on the total screen 60.
またPOS端末10は、レシートの発行手段としてプリンタ111を備えている。そしてプロセッサ101を主体とするコンピュータは、図22に示すレイアウトのレシート70を発行するようにプリンタ111を制御している。ここに、同コンピュータは、第2制御手段を構成する。すなわち同コンピュータは、第2演算手段により税額が算出された商品を、税率が変更されていない商品と区別するようにしている。具体的には、同コンピュータは、第1演算手段により税額が算出された商品については、税率変更前の金額及び税額と、税率変更後の金額及び税額とを併記し、税率変更前の金額及び税額については取消線を印字するようにしている。したがって、レシート70を受け取った客は、そのレシート70の情報から、税率が変更された商品の変更前の金額及び税額と変更後の金額及び税額とを容易に確認することができる。 The POS terminal 10 also includes a printer 111 as a means for issuing receipts. A computer mainly composed of a 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 through the amount and tax amount before the tax rate change. Therefore, a customer who receives a receipt 70 can easily confirm 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.
以上、商品に課せられる税の税率が消費の形態によって変化する場合でも簡単な操作で対処できる商品販売データ処理装置の実施形態について説明したが、かかる実施形態はこれに限定されるものではない。 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 simple operations, but the embodiment is not limited to this.
たとえは前記実施形態では、税率の変更を指示するオペレータの操作として、テンキーK1とSIキーK6とを組み合わせる第1の操作と、イートインキーK7を単一で操作する第2の操作とを備えたPOS端末10を例示した。この点に関しては、複数のキーを組み合わせる第1の操作だけを備えたPOS端末10であってもよい。あるいは、単一キーによる第2の操作だけを備えたPOS端末10であってもよい。 For example, in the above embodiment, a POS terminal 10 was exemplified that includes a first operation 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 equipped only with the first operation combining multiple keys. Alternatively, the POS terminal 10 may be equipped only with the second operation using a single key.
また、オペレータの操作は、必ずしもキー操作に限定されるものではない。例えば、入力デバイスとしてタッチパネルを備えたPOS端末の場合には、タッチパネルの所定の部位がタッチされたことを検出したことにより、プロセッサ101を主体とするコンピュータが税率の変更を指示するオペレータの操作として検出してもよい。また、オペレータの操作ではなく、例えばオペレータのジェスチャーから税率の変更を検出してもよい。 Furthermore, the operator's operation is not necessarily limited to key operations. For example, in the case of a POS terminal equipped with a touch panel as an input device, a computer based on the processor 101 may detect that a specific portion of the touch panel has been touched as an operator's operation instructing a change in the tax rate when it detects this. Also, instead of an operator's operation, a change in the tax rate may be detected, for example, from the operator's gesture.
前記実施形態では、第1演算手段により商品の税額を当該商品に対して課せられる税の税率で算出した後、検出手段により税率の変更が検出されると、第2演算手段により商品の税額を変更後の税率で算出するようにした。この点に関しては、第1演算手段により商品の税額を当該商品に対して課せられる税の税率で算出する前に、検出手段により税率の変更が検出された場合には、第2演算手段により商品の税額を変更後の税率で算出するようにしてもよい。 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.
例えばオペレータは、軽減税率対象商品のコードシンボルをスキャナ108で読み取り操作する前に、客に店内飲食であるか否かを確認する。そして、店内飲食である場合には、例えばイートインキーK7を押下してからコードシンボルをスキャナ108で読み取り操作する。このような操作に対し、プロセッサ101は、図8のACT3において税種が“2”であることを確認した場合には、図14のACT95及びACT96の処理を実行し、続いて図8のACT7乃至ACT9及びACT14乃至ACT17の処理を実行すればよい。プロセッサ101は、図8のACT3において税種が“3”であることを確認した場合には、図14のACT101乃至ACT102の処理を実行し、続いて図8のACT10乃至ACT17の処理を実行すればよい。 For example, before using the scanner 108 to read the code symbol of a product subject to the reduced tax rate, the operator confirms with the customer whether or not the customer is eating in the restaurant. If the customer is eating in the restaurant, the operator presses the eat-in key K7, for example, and then uses the scanner 108 to read the code symbol. In response to such an operation, if the processor 101 confirms that the tax type is "2" in ACT 3 of FIG. 8, it may execute the processing of ACT 95 and ACT 96 in FIG. 14, and then execute the processing of ACT 7 to ACT 9 and ACT 14 to ACT 17 in FIG. 8. If the processor 101 confirms that the tax type is "3" in ACT 3 of FIG. 8, it may execute the processing of ACT 101 to ACT 102 in FIG. 14, and then execute the processing of ACT 10 to ACT 17 in FIG. 8.
前記実施形態では、図9のACT22において、SIキーK6の入力直前にテンキーK1の入力操作により置数されているか否かを確認した。この点に関しては、SIキーK6の入力後にテンキーK1の入力操作を待ち受けてもよい。この場合、プロセッサ101は、テンキーK1により例えば“1”が置数されるとACT24の処理へと移行し、“2” が置数されるとACT27の処理へと移行し、“3”が置数されるとACT30の処理へと移行し、“4” が置数されるとACT33の処理へと移行することとなる。 In the above embodiment, in ACT 22 of FIG. 9, it was confirmed whether or not a number had been entered by input operation of the numeric keypad K1 immediately before input of the SI key K6. In this regard, it is also possible to wait for input operation of the numeric keypad K1 after input of the SI key K6. In this case, the processor 101 transitions to processing in ACT 24 when, for example, "1" is entered by the numeric keypad K1, transitions to processing in ACT 27 when "2" is entered, transitions to processing in ACT 30 when "3" is entered, and transitions to processing in ACT 33 when "4" is entered.
前記実施形態では、テンキーK1との組み合わせ操作で用いる第1のファンクションキーをSIキーK6としたが、第1のファンクションキーはSIキーK6に限定されるものではない。要は、テンキーK1との組み合わせで、税率の変更を指示するオペレータの操作であることを特定できるファンクションキーであればよい。また、テンキーK1による置数の値も“4”に限定されないのは言うまでもないことである。この点に関しては、第2のファンクションキーについても同様であり、必ずしもイートインキーK7に限定されるものではない。第2のファンクションキーは、単一の操作で税率の変更を指示するオペレータの操作であることを特定できるファンクションキーであればよい。 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 identified 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 with the numeric keypad K1 is not limited to "4". In this regard, the same is true for 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 identified as an operator's operation to instruct a change in tax rate with a single operation.
前記実施形態では、第1ディスプレイ109に登録画面50A~50F及び合計画面60を表示する場合を例示した。他の実施形態としては、これらの登録画面50A~50F及び合計画面60を第2ディスプレイ110に表示してもよい。また、レシート70は、電子レシートであってもよい。 In the above embodiment, an example is shown in which 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. The receipt 70 may also be an electronic receipt.
この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態及びその変形は、発明の範囲に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
[1]商品を識別する識別手段と、前記識別手段により識別された商品の税額を当該商品に対して課せられる税の税率で算出する第1演算手段と、前記税率の変更を検出する検出手段と、前記検出手段により前記税率の変更が検出されると、前記識別手段により識別された商品の税額を変更後の税率で算出する第2演算手段と、前記税率の変更が検出されていない商品については、前記第1演算手段で算出された税額で商品の販売データを処理し、前記税率の変更が検出された商品については、前記第2演算手段で算出された税額で商品の販売データを処理する処理手段と、を具備する商品販売データ処理装置。
[2]テンキーと複数のファンクションキーとを備えた入力デバイス、をさらに具備し、前記検出手段は、前記入力デバイスに対して所定のキー操作があると、前記税率の変更を検出する付記[1]記載の商品販売データ処理装置。
[3]前記所定のキー操作は、テンキーと第1のファンクションキーとの組み合わせ操作である、付記[2]記載の商品販売データ処理装置。
[4]前記所定のキー操作は、第2のファンクションキーの単一操作である、付記[2]記載の商品販売データ処理装置。
[5]前記処理手段により前記販売データが処理された前記商品の情報を表示する表示手段と、前記第1演算手段により税額が算出された商品と前記第2演算手段により税額が算出された商品とで、前記情報の表示形態を異ならせる第1制御手段と、をさらに具備する付記[1]乃至[4]のうちいずれか1項に記載の商品販売データ処理装置。
[6]前記処理手段により前記販売データが処理された前記商品の情報が記録されたレシートを発行する発行手段と、前記第1演算手段により税額が算出された商品と前記第2演算手段により税額が算出された商品とで、前記レシートに記録される情報を異ならせる第2制御手段と、をさらに具備する付記[1]乃至[4]のうちいずれか1項に記載の商品販売データ処理装置。
[7]商品販売データ処理装置のコンピュータを、商品を識別する識別手段、前記識別手段により識別された商品の税額を当該商品に対して課せられる税の税率で算出する第1演算手段、前記税率の変更を検出する検出手段、前記検出手段により前記税率の変更が検出されると、前記識別手段により識別された商品の税額を変更後の税率で算出する第2演算手段、及び、前記税率の変更が検出されていない商品については、前記第1演算手段で算出された税額で商品の販売データを処理し、前記税率の変更が検出された商品については、前記第2演算手段で算出された税額で商品の販売データを処理する処理手段、として機能させるための制御プログラム。
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 the amount of tax on a product identified by the identification means using 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 the product identified by the identification means using 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 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] The product sales data processing device according to appendix [2], wherein the predetermined 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 predetermined key operation is a single operation of a second function key.
[5] A product sales data processing device 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 form 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 the 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 the tax rate has been detected at the tax rate using the tax amount calculated by the second calculation means.
10…POS端末、101…プロセッサ、102…メインメモリ、103…補助記憶デバイス、104…時計、105…釣銭機インターフェース、106…通信インターフェース、107…キーボード、108…スキャナ、109…第1ディスプレイ109…第2ディスプレイ、111…プリンタ、112…システム伝送路、20…ストアサーバ、21…商品マスタファイル、31…税率テーブル、32…SIテーブル、41…トランザクションエリア、42…会計金額エリア、43…外税合計額エリア、44…内税合計額エリア、45…変更税率エリア、K1…テンキー、K6…SIキー、K7…イートインキー。 10... POS terminal, 101... processor, 102... main memory, 103... auxiliary storage device, 104... clock, 105... change machine interface, 106... communications 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... billing 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 (7)
前記入力手段を介して商品コードが入力された商品の税額を当該商品に対して課せられる税の税率で算出する第1演算手段と、
前記入力手段を介して商品コードが入力されると、その商品コードと、税率と、変更ステータスとを含み、前記変更ステータスは、前記税率が変更されていないことを示す値としたトランザクションデータを作成する作成手段と、
前記トランザクションデータが作成された商品に対して課せられる税の税率の変更を検出する検出手段と、
前記検出手段により前記税率の変更が検出された商品の税額を変更後の税率で算出する第2演算手段と、
前記検出手段により前記トランザクションデータが作成された商品に対して課せられる税の税率の変更が検出されると、前記商品の前記トランザクションデータに含まれる前記税率を変更後の税率に更新するとともに、前記変更ステータスを、税率が変更されたことを示す値に更新する更新手段と、
前記税率の変更が検出されていない商品については、前記第1演算手段で算出された税額で商品の会計金額を処理し、前記税率の変更が検出された商品については、前記第2演算手段で算出された税額で商品の会計金額を処理する処理手段と、
を具備する商品販売データ処理装置。 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演算手段は、前記税率の変更が検出された商品が前記軽減税率対象の商品である場合に限り当該商品の税額を通常税率で算出する、請求項1記載の商品販売データ処理装置。 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.
前記作成手段は、前記第1価格を、前記入力手段を介して商品コードが入力された商品の単価と税種と税率とで特定される金額とし、前記第2価格をゼロとし、
前記更新手段は、前記税率の変更が検出された商品の前記トランザクションデータに含まれる前記第2価格を、前記第2演算手段により算出された税額と当該商品の単価とから特定される価格に変更し、前記第1価格は変更しない手段を含む、請求項1記載の商品販売データ処理装置。 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.
をさらに具備する、請求項4記載の商品販売データ処理装置。 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:
前記第1演算手段により税額が算出された商品と前記第2演算手段により税額が算出された商品とで、前記商品の情報の表示形態を異ならせる制御手段と、
をさらに具備する請求項1乃至5のうちいずれか1項に記載の商品販売データ処理装置。 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:
前記入力手段を介して商品コードが入力された商品の税額を当該商品に対して課せられる税の税率で算出する第1演算手段、
前記入力手段を介して商品コードが入力されると、その商品コードと、税率と、変更ステータスとを含み、前記変更ステータスは、前記税率が変更されていないことを示す値としたトランザクションデータを作成する作成手段、
前記トランザクションデータが作成された商品に対して課せられる税の税率の変更を検出する検出手段、
前記検出手段により前記税率の変更が検出された商品の税額を変更後の税率で算出する第2演算手段、
前記検出手段により前記トランザクションデータが作成された商品に対して課せられる税の税率の変更が検出されると、前記商品の前記トランザクションデータに含まれる前記税率を変更後の税率に更新するとともに、前記変更ステータスを、税率が変更されたことを示す値に更新する更新手段、及び、
前記税率の変更が検出されていない商品については、前記第1演算手段で算出された税額で商品の会計金額を処理し、前記税率の変更が検出された商品については、前記第2演算手段で算出された税額で商品の会計金額を処理する処理手段、
として機能させるための制御プログラム。 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
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023207013A JP7634636B2 (en) | 2019-03-19 | 2023-12-07 | Product sales data processing device and control program |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019051618A JP7401188B2 (en) | 2019-03-19 | 2019-03-19 | Product sales data processing device and control program |
| JP2023207013A JP7634636B2 (en) | 2019-03-19 | 2023-12-07 | Product sales data processing device and control program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019051618A Division JP7401188B2 (en) | 2019-03-19 | 2019-03-19 | Product sales data processing device and control program |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2024015275A JP2024015275A (en) | 2024-02-01 |
| JP2024015275A5 JP2024015275A5 (en) | 2024-03-25 |
| JP7634636B2 true JP7634636B2 (en) | 2025-02-21 |
Family
ID=72559091
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019051618A Active JP7401188B2 (en) | 2019-03-19 | 2019-03-19 | Product sales data processing device and control program |
| JP2023207013A Active JP7634636B2 (en) | 2019-03-19 | 2023-12-07 | Product sales data processing device and control program |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019051618A Active JP7401188B2 (en) | 2019-03-19 | 2019-03-19 | Product sales data processing device and control program |
Country Status (2)
| Country | Link |
|---|---|
| JP (2) | JP7401188B2 (en) |
| CN (2) | CN119599820A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019032606A (en) | 2017-08-04 | 2019-02-28 | 株式会社寺岡精工 | Commodity sales data processing system, commodity sales data processing device, and program |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02271494A (en) * | 1989-04-13 | 1990-11-06 | Tokyo Electric Co Ltd | Commodity sales data processor |
| JPH02300998A (en) * | 1989-05-16 | 1990-12-13 | Tokyo Electric Co Ltd | Commodity sale data processor |
| JPH02309497A (en) * | 1989-05-24 | 1990-12-25 | Tokyo Electric Co Ltd | Commodity sales data processor |
| JP2015176394A (en) | 2014-03-17 | 2015-10-05 | 東芝テック株式会社 | Product sales data processing apparatus and program |
| JP6763697B2 (en) | 2016-05-31 | 2020-09-30 | 東芝テック株式会社 | Sales data processing equipment and programs |
| JP6737082B2 (en) | 2016-09-05 | 2020-08-05 | カシオ計算機株式会社 | Sales data processing device, program, and display method |
-
2019
- 2019-03-19 JP JP2019051618A patent/JP7401188B2/en active Active
- 2019-11-20 CN CN202411764594.3A patent/CN119599820A/en active Pending
- 2019-11-20 CN CN201911142195.2A patent/CN111798295A/en active Pending
-
2023
- 2023-12-07 JP JP2023207013A patent/JP7634636B2/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019032606A (en) | 2017-08-04 | 2019-02-28 | 株式会社寺岡精工 | Commodity sales data processing system, commodity sales data processing device, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7401188B2 (en) | 2023-12-19 |
| CN119599820A (en) | 2025-03-11 |
| CN111798295A (en) | 2020-10-20 |
| JP2024015275A (en) | 2024-02-01 |
| JP2020154613A (en) | 2020-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7500823B2 (en) | Product sales data processing system, settlement device and control program thereof | |
| JP7678180B2 (en) | Sales data processing device and program | |
| JP2019040442A (en) | Sales data processing apparatus and program | |
| CN111652608A (en) | Commodity sales data processing device and control method, storage medium, and electronic device | |
| US20150262159A1 (en) | Merchandise sales data processing device and program | |
| JP2021099851A (en) | Sales data processing device and program | |
| JP5523432B2 (en) | Product sales data processing apparatus and program | |
| JP6390250B2 (en) | Product sales data processing system, product data processing device and program | |
| JP7634636B2 (en) | Product sales data processing device and control program | |
| JP7288030B2 (en) | Sales data processor and program | |
| JP7206354B2 (en) | Merchandise sales data processor and program | |
| JP7522264B2 (en) | Product sales data processing device and control program | |
| JP5497848B2 (en) | Product registration device and program | |
| JP2019109593A (en) | Commodity registration device and commodity registration program | |
| JP2013030095A (en) | Commodity sales data processor and receipt details retrieval program | |
| US20200387882A1 (en) | Commodity sales data processing apparatus, control method therefor, and display control method thereof | |
| JP2021131712A (en) | Commodity sale data processing device and program | |
| JP7595634B2 (en) | Sales data processing device, receipt issuing method and program | |
| JP7574359B2 (en) | Sales data processing device and program | |
| JP7534195B2 (en) | Information processing device, information processing method, and program | |
| JP7326049B2 (en) | Coupon issuing system, coupon management device and its control program | |
| US20210065205A1 (en) | Certificate issuing apparatus, commodity sales data processing apparatus, and non-transitory computer readable medium | |
| JP2025050116A (en) | Article sales data processor and program | |
| JP6138198B2 (en) | Commerce processing apparatus and receipt details search program | |
| JP2022019865A (en) | Commodity sales data processing apparatus and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240105 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240314 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241029 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241211 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250128 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250210 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7634636 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |