JP7744879B2 - Sales data processing device and program - Google Patents
Sales data processing device and programInfo
- Publication number
- JP7744879B2 JP7744879B2 JP2022098274A JP2022098274A JP7744879B2 JP 7744879 B2 JP7744879 B2 JP 7744879B2 JP 2022098274 A JP2022098274 A JP 2022098274A JP 2022098274 A JP2022098274 A JP 2022098274A JP 7744879 B2 JP7744879 B2 JP 7744879B2
- Authority
- JP
- Japan
- Prior art keywords
- tax
- transaction
- free
- conditions
- identification information
- 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
Landscapes
- Cash Registers Or Receiving Machines (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明の実施形態は、販売データ処理装置及びプログラムに関する。 Embodiments of the present invention relate to a sales data processing device and program.
従来、輸出物品販売場(免税店)を経営する事業者が外国人旅行者等の非居住者に対して商品や役務等の販売対象を販売する場合に、販売対象に係る消費税等の税金を免除するいわゆる免税制度が存在する。免税は、同一日に同一店舗で同一の非居住者が購入する商品が対象となる。免税の対象は、一般物品及び消耗品の何れか一方又は両方の合計額が5000円以上となることを条件としている。 Traditionally, there has been a so-called tax exemption system in place where businesses operating export goods sales outlets (duty-free shops) exempt sales items such as goods and services from consumption tax and other taxes on the items they sell to non-residents such as foreign tourists. The tax exemption applies to items purchased by the same non-resident at the same store on the same day. To be eligible for tax exemption, the total amount of either general goods or consumables, or both, must be 5,000 yen or more.
免税に係る取引は、免税電子化機能が導入されたPOS端末等の販売データ処理装置で行われており、取引の内訳を示す取引データが販売データ処理装置に保持される。また、販売データ処理装置では、取引の取り消しや商品の返品を行うことも可能となっており、処理内容に応じて取引データの削除やレジマイナス等の取り消し処理が行われる。 Tax-free transactions are carried out using sales data processing devices such as POS terminals equipped with electronic tax-free functionality, and transaction data showing the details of the transaction is stored in the sales data processing device. The sales data processing device also makes it possible to cancel transactions and return products, and performs cancellation processes such as deleting transaction data or subtracting cash registers depending on the transaction content.
また、免税店によっては、販売データ処理装置を複数備える免税店も存在する。この場合、販売データ処理装置の各々は、自機の販売データ処理装置で行われた免税に係る取引の取引データをローカルに記憶するとともに、ネットワーク接続されたサーバに記憶することも行われている。係る構成では、販売データ処理装置の各々は、免税に係る取引を行う場合に、当該取引の合計額と、サーバに記憶された同一の非居住者に係る他の取引の合計額とに基づき、当該取引が免税条件を満たすか否かを判定することができる。 Some duty-free shops are equipped with multiple sales data processing devices. In these cases, each sales data processing device stores transaction data for tax-exempt transactions made on its own sales data processing device locally, and also stores the transaction data on a network-connected server. In this configuration, when a tax-exempt transaction is made, each sales data processing device can determine whether the transaction meets the tax-exempt conditions based on the total amount of the transaction and the total amounts of other transactions involving the same non-resident stored on the server.
ところで、免税に係る取引の取り消しや商品の返品等が行われた場合には、合計額も変化することになる。例えば、同一の非居住者が同一店舗の異なる販売データ処理装置で行った複数の取引のうち、一の取引の取り消しにより合計額が5000円未満となった場合、他の取引は免税条件から外れることになる。 However, if a tax-exempt transaction is canceled or the product is returned, the total amount will also change. For example, if the same non-resident makes multiple transactions at the same store using different sales data processing devices, and the cancellation of one transaction causes the total amount to fall below 5,000 yen, the other transactions will no longer meet the tax-exempt conditions.
この場合、オペレータは、免税条件から外れた他の取引の取引データを免税対象から外す等の操作を行う必要があるが、取り消し処理を行う販売データ処理装置では、免税条件から外れた他の取引を容易に確認することができず、利便性の上で更なる改善の余地がある。 In this case, the operator must perform operations such as removing the transaction data of other transactions that do not meet the tax-exemption conditions from the tax-exempt scope, but the sales data processing device that performs the cancellation process does not make it easy to check other transactions that do not meet the tax-exemption conditions, so there is room for further improvement in terms of convenience.
例えば、販売データ処理装置で行われた取り消し処理により、他の販売データ処理装置に記憶された他の取引の取引データが免税条件から外れた場合、その取引データを操作することになるが、オペレータは免税条件から外れた取引を容易に確認できず、対応が遅れる可能性がある。そのため、販売データ処理装置に記憶された取引データと、サーバに記憶された取引データとの間で取引内容に差異が発生する可能性があった。 For example, if a cancellation process performed on a sales data processing device causes transaction data stored on another sales data processing device to no longer meet the tax-exempt conditions, that transaction data will have to be manipulated, but the operator may not be able to easily confirm that the transaction no longer meets the tax-exempt conditions, which could delay response. This could result in discrepancies in the transaction details between the transaction data stored on the sales data processing device and the transaction data stored on the server.
本発明が解決しようとする課題は、免税条件から外れた取引を容易に確認することが可能な販売データ処理装置及びプログラムを提供することである。 The problem that this invention aims to solve is to provide a sales data processing device and program that can easily identify transactions that do not meet the tax-exemption conditions.
実施形態の販売データ処理装置は、複数の販売データ処理装置の各々で行われた免税取引の内訳を示す取引データと、免税取引を識別可能な取引識別情報と、免税取引を行ったユーザを識別可能なユーザ識別情報とを関連付けて記憶するサーバ装置に、ネットワークを介して接続される販売データ処理装置であって、商品を識別可能な商品識別情報を取得する第1取得手段と、ユーザを識別可能なユーザ識別情報を取得する第2取得手段と、免税取引の宣言を行う免税宣言手段と、前記免税宣言手段による免税取引の宣言があった場合に、前記第1取得手段が取得した前記商品識別情報の各々に対応する商品の合計額と、前記サーバ装置に記憶された、前記第2取得手段が取得した前記ユーザ識別情報に係る他の免税取引の合計額とに基づき、当該免税取引が税金を免除する免税制度の条件を満たすか否かを判定する判定手段と、前記判定手段の判定結果に応じて、税金を免除した税抜き価格又は税金を含んだ税込み価格で、前記商品識別情報の各々に対応する商品の決済処理を実行する決済手段と、前記決済手段で決済された免税取引の取引データを、当該免税取引の取引識別情報と、前記第2取得手段が取得した前記ユーザ識別情報と関連付けて前記サーバ装置に記憶する記憶手段と、前記免税取引又は前記免税取引で決済された商品の取り消し指示を受け付け、前記取り消し指示に応じた取り消し処理を、処理対象の取引データに実行する取消手段と、前記取消手段が実行する前記取り消し処理により、前記免税制度の条件から外れる他の免税取引が前記サーバ装置に存在する場合に、当該他の免税取引に関する情報を出力する第1出力制御手段と、を備える。 The sales data processing device of the embodiment is a sales data processing device connected via a network to a server device that associates and stores transaction data indicating a breakdown of tax-free transactions performed on each of a plurality of sales data processing devices, transaction identification information that can identify the tax-free transactions, and user identification information that can identify the user who performed the tax-free transactions. The sales data processing device includes a first acquisition means that acquires product identification information that can identify the products, a second acquisition means that acquires user identification information that can identify the users, a tax-free declaration means that declares a tax-free transaction, and, when a tax-free transaction is declared by the tax-free declaration means, a tax-free system that exempts the tax-free transaction from tax based on the total price of the products corresponding to each of the product identification information acquired by the first acquisition means and the total price of other tax-free transactions related to the user identification information acquired by the second acquisition means, which are stored in the server device. a determination means for determining whether the above conditions are met; a payment means for executing payment processing for the product corresponding to each of the product identification information at a price excluding tax or a price including tax depending on the determination result of the determination means; a storage means for storing transaction data of the tax-free transaction settled by the payment means in the server device in association with the transaction identification information of the tax-free transaction and the user identification information acquired by the second acquisition means; a cancellation means for accepting a cancellation instruction for the tax-free transaction or the product settled in the tax-free transaction and executing a cancellation process in accordance with the cancellation instruction on the transaction data to be processed; and a first output control means for outputting information about another tax-free transaction that does not meet the conditions of the tax-free system if the cancellation process executed by the cancellation means results in the server device detecting that the other tax-free transaction does not meet the conditions of the tax-free system.
以下、添付図面を参照して、販売データ処理装置及びプログラムの実施形態を詳細に説明する。以下の実施形態では、係る販売データ処理装置及びプログラムを、輸出物品販売場(免税店)の店舗に設置されたPOS(Point Of Sales)端末へ適用した例を示す。また、実施形態では、販売対象として「商品」を例に説明するが、販売対象を商品に限定するものではない。販売対象を「役務」としてもよい。 Embodiments of a sales data processing device and program will be described in detail below with reference to the accompanying drawings. In the following embodiments, an example is shown in which the sales data processing device and program are applied to a POS (Point of Sales) terminal installed in an export goods sales outlet (duty-free shop). Furthermore, in the embodiments, "products" are used as examples of items for sale, but the items for sale are not limited to products. The items for sale may also be "services."
図1は、実施形態に係るPOSシステム1の概略構成図である。POSシステム1は、図1に示すように、複数台のPOS端末2と、サーバ装置4とを備える。POS端末2とサーバ装置4とはLAN(Local Area Network)等のネットワーク3により接続される。 Figure 1 is a schematic diagram of a POS system 1 according to an embodiment. As shown in Figure 1, the POS system 1 includes multiple POS terminals 2 and a server device 4. The POS terminals 2 and the server device 4 are connected via a network 3 such as a LAN (Local Area Network).
図2は、サーバ装置4のハードウェア構成の一例を示す図である。サーバ装置4は、CPU(Central Processing Unit)41、ROM(Read Only Memory)42、RAM(Random Access Memory)43等で構成されるコンピュータ構成の制御部400を備える。 Figure 2 shows an example of the hardware configuration of the server device 4. The server device 4 includes a computer-based control unit 400 that includes a CPU (Central Processing Unit) 41, ROM (Read Only Memory) 42, RAM (Random Access Memory) 43, etc.
制御部400は、バス49を介して通信I/F(インタフェース)50に接続されている。サーバ装置4は、通信I/F50及びネットワーク3(図1参照)を介して複数台のPOS端末2と通信を行う。また、制御部400にはバス49を介してコントローラ44が接続されている。コントローラ44には、キーボード45、表示部46、プリンタ47が接続されている。また制御部400には、バス49を介してHDD(Hard Disk Drive)48が接続されている。 The control unit 400 is connected to a communication I/F (interface) 50 via a bus 49. The server device 4 communicates with multiple POS terminals 2 via the communication I/F 50 and the network 3 (see Figure 1). A controller 44 is also connected to the control unit 400 via the bus 49. A keyboard 45, a display unit 46, and a printer 47 are connected to the controller 44. A hard disk drive (HDD) 48 is also connected to the control unit 400 via the bus 49.
HDD48は、サーバ装置4に所定の動作を行わせる各種のプログラムを格納している。また、HDD48は、免税区分ファイル481、免税条件ファイル482及び免税取引管理ファイル483等のデータファイルを格納している。 The HDD 48 stores various programs that cause the server device 4 to perform specified operations. The HDD 48 also stores data files such as a tax-exempt category file 481, a tax-exempt condition file 482, and a tax-exempt transaction management file 483.
図3は、免税区分ファイル481のデータ構成の一例を示す図である。図3に示すように、免税区分ファイル481は、免税区分コードと免税区分名称とのデータ項目を有する。免税区分名称には、「一般物品」、「消耗品」、「免税対象外」を示すデータが設定されている。ここで「消耗品」は、食料品、飲料類、薬品類、化粧品類等の消耗品に係る免税対象品の区分を示すデータである。「一般物品」は、消耗品以外の通常生活の用に供する免税対象品の区分を示すデータである。「免税対象外」は免税非対象品の区分を示すデータである。図3の例では、「一般物品」に対応する免税区分コードには“01”が設定されている。「消耗品」に対応する免税区分コードには“02”が設定されている。「免税対象外」に対応する免税区分コードには“03”が設定されている。 Figure 3 is a diagram showing an example of the data configuration of the tax-free category file 481. As shown in Figure 3, the tax-free category file 481 has data items for the tax-free category code and the tax-free category name. The tax-free category name is set with data indicating "general goods," "consumables," and "non-tax-free." Here, "consumables" is data indicating the category of tax-free goods related to consumables such as food, beverages, medicines, and cosmetics. "General goods" is data indicating the category of tax-free goods used in everyday life other than consumables. "Non-tax-free" is data indicating the category of goods not eligible for tax-free exemption. In the example of Figure 3, the tax-free category code corresponding to "general goods" is set to "01." The tax-free category code corresponding to "consumables" is set to "02." The tax-free category code corresponding to "non-tax-free" is set to "03."
図4は、免税条件ファイル482のデータ構成の一例を示す図である。図4に示すように、免税条件ファイル482は、免税区分コードと、免税条件とのデータ項目を有する。免税条件は、免税対象品が実際に免税の扱いになるための条件である。 Figure 4 shows an example of the data structure of the tax-free conditions file 482. As shown in Figure 4, the tax-free conditions file 482 has data items for the tax-free category code and the tax-free conditions. The tax-free conditions are the conditions under which tax-free items are actually treated as tax-free.
図4に示す例で、免税区分コード“01”の免税条件、つまり一般物品の免税条件は、同一店舗における1日の合計額(税抜)が5000円以上となっている。また、免税区分コード“02”の免税条件、つまり消耗品の免税条件は、同一店舗における1日の合計額(税抜)が5000円以上、500000円以下となっている。また、一般物品と消耗品のそれぞれの金額が5000円未満であったとしても、その合計額が5000円以上となる場合には、その一般物品を消耗品として取り扱うことで、免税区分コード“02”の免税条件を適用することが規定されているものとする。 In the example shown in Figure 4, the tax-free conditions for tax-free category code "01", i.e., the tax-free conditions for general goods, are that the total amount (excluding tax) for one day at the same store is 5,000 yen or more. Furthermore, the tax-free conditions for tax-free category code "02", i.e., the tax-free conditions for consumables, are that the total amount (excluding tax) for one day at the same store is 5,000 yen or more and 500,000 yen or less. Furthermore, even if the amounts of both the general goods and consumables are less than 5,000 yen, if the total amount is 5,000 yen or more, the general goods are treated as consumables, and the tax-free conditions for tax-free category code "02" are applied.
図5は、免税取引管理ファイル483のデータ構成の一例を示す図である。図5に示すように、免税取引管理ファイル483は、レジ番号、ユーザID、取引番号、取引内容、免税フラグ等のデータ項目を有する。 Figure 5 shows an example of the data structure of the tax-free transaction management file 483. As shown in Figure 5, the tax-free transaction management file 483 has data items such as register number, user ID, transaction number, transaction details, and tax-free flag.
レジ番号は、取引を行ったPOS端末2を識別可能な装置識別情報の一例である。本実施形態では、POS端末2の各々に固有のレジ番号が予め割り当てられているものとする。なお、POS端末2の識別情報はこれに限らず、例えば製造番号やIPアドレス等であってもよい。 The register number is an example of device identification information that can identify the POS terminal 2 that performed the transaction. In this embodiment, a unique register number is pre-assigned to each POS terminal 2. Note that the identification information for the POS terminal 2 is not limited to this, and may also be, for example, a serial number or IP address.
ユーザIDは、取引を行ったユーザを識別可能なユーザ識別情報の一例である。ユーザIDは、ユーザとなる非居住者が所持するパスポートに記載された旅券番号や氏名等である。 The user ID is an example of user identification information that can identify the user who performed the transaction. The user ID is the passport number and name written on the passport held by the non-resident user.
取引番号は、レジ番号に対応するPOS端末2で行われた各取引を識別することが可能な取引識別情報の一例である。取引番号は、例えば、取引を行うPOS端末2によって発行される。なお、本実施形態では、取引番号はPOS端末2の各々で重複しない固有の番号とするが、これに限らず、同一レジ番号のPOS端末2内で重複しない固有の番号としてもよい。 The transaction number is an example of transaction identification information that can identify each transaction performed at the POS terminal 2 corresponding to the register number. The transaction number is issued, for example, by the POS terminal 2 that performs the transaction. Note that in this embodiment, the transaction number is a unique number that is not duplicated at each POS terminal 2, but this is not limited to this, and the transaction number may also be a unique number that is not duplicated within POS terminals 2 with the same register number.
取引内容には、取引番号の取引で購入された商品の内訳を示す情報が格納される。例えば、取引内容には、ユーザが購入する商品の商品情報(商品コード、商品名、価格、免税区分コード等)や決済情報(合計額、預かり金額、釣銭額等)等の他、取引が行われた日時を示す日時情報等が含まれる。免税フラグは、取引番号に対応する取引が、免税条件を満たす取引か否かを識別するための2値情報である。免税フラグは、免税条件を満たす場合に有効(例えば“1”)に設定され、免税条件を満たさない場合に無効(例えば“0”)に設定される。 The transaction details store information indicating the breakdown of the products purchased in the transaction with the transaction number. For example, the transaction details include product information (product code, product name, price, tax-free category code, etc.) of the product purchased by the user, payment information (total amount, deposit amount, change amount, etc.), and date and time information indicating the date and time the transaction took place. The tax-free flag is binary information used to identify whether the transaction corresponding to the transaction number meets the tax-free conditions. The tax-free flag is set to valid (e.g., "1") if the tax-free conditions are met, and set to invalid (e.g., "0") if the tax-free conditions are not met.
以下では、レジ番号、ユーザID、取引番号、取引内容、及び免税フラグの組を「免税取引データ」ともいう。また、免税取引データのうち、レジ番号及びユーザIDを除いた残りのデータの組を「取引データ」ともいう。 Hereinafter, the set of register number, user ID, transaction number, transaction details, and tax-exempt flag will also be referred to as "tax-exempt transaction data." Furthermore, the set of tax-exempt transaction data, excluding the register number and user ID, will also be referred to as "transaction data."
サーバ装置4の制御部400は、免税条件ファイル482に基づいて、POS端末2で行われる取引が免税条件を満たすか否かを判定し、その判定結果をPOS端末2に返信する。また、サーバ装置4の制御部400は、POS端末2の各々で行われる免税に係る取引(以下、免税取引とも、単に取引ともいう)の取引データを、免税取引データとして免税取引管理ファイル483に記憶し管理する。なお、本実施形態において免税取引は、免税条件を満たすか否かに関わらず、後述する免税宣言キー211が入力された取引を意味する。 The control unit 400 of the server device 4 determines whether a transaction performed at the POS terminal 2 satisfies the tax exemption conditions based on the tax exemption conditions file 482, and returns the determination result to the POS terminal 2. The control unit 400 of the server device 4 also stores and manages transaction data for tax-exempt transactions (hereinafter referred to as tax-exempt transactions or simply transactions) performed at each POS terminal 2 as tax-exempt transaction data in the tax-exempt transaction management file 483. In this embodiment, a tax-exempt transaction refers to a transaction for which the tax exemption declaration key 211, described below, has been entered, regardless of whether the tax exemption conditions are met.
次に、POS端末2について説明する。POS端末2は、ユニークなレジ番号を割り振られて精算場所に配置されている。オペレータがPOS端末2を操作することで、POS端末2は、販売される商品の登録処理及び決済処理を実行する。 Next, we will explain the POS terminal 2. The POS terminal 2 is assigned a unique register number and is located at the checkout area. When an operator operates the POS terminal 2, the POS terminal 2 performs registration processing and payment processing for the products being sold.
登録処理は、販売される商品に付されたバーコード等のコードシンボルを光学的に読み取って商品コードに複合化し、その商品コードの商品名や価格等の商品情報を表示するとともに、商品コードを含む商品情報をRAM33等に記憶する処理をいう。決済処理は、登録処理に伴いRAM33等に記憶された商品情報に基づいて、合計額の表示、客から預かった預り金に基づいて釣銭を計算して表示する処理、釣銭の排出を釣銭機に指示する処理、商品情報や決済情報を印字したレシートを発行する処理等をいう。 The registration process involves optically reading code symbols such as barcodes attached to products being sold and combining them into a product code, displaying product information such as the product name and price of that product code, and storing the product information including the product code in RAM 33 or the like. The payment process involves displaying the total amount based on the product information stored in RAM 33 or the like during the registration process, calculating and displaying the change based on the deposit received from the customer, instructing the change dispenser to dispense the change, and issuing a receipt with the product information and payment information printed on it.
図6は、POS端末2のハードウェア構成の一例を示す図である。図6に示すように、POS端末2は、CPU31、ROM32、RAM33等で構成されるコンピュータ構成の制御部300を備える。CPU31は、各種演算処理を実行し各部を制御する。ROM32は、固定データを固定的に記憶保存する。RAM33は、可変データを書き換え自在に記憶してワークエリアとして使用される。RAM33には、例えば商品から読み取った商品コードの商品情報を記憶する登録テーブルT等が形成される。CPU31とROM32とRAM33は、バス34を介して接続されている。 Figure 6 is a diagram showing an example of the hardware configuration of a POS terminal 2. As shown in Figure 6, the POS terminal 2 has a computer-configured control unit 300 made up of a CPU 31, ROM 32, RAM 33, etc. The CPU 31 executes various arithmetic processes and controls each unit. The ROM 32 permanently stores and saves fixed data. The RAM 33 stores rewritable variable data and is used as a work area. The RAM 33 contains a registration table T and the like that stores product information for product codes read from products, for example. The CPU 31, ROM 32, and RAM 33 are connected via a bus 34.
制御部300は、バス34及びコントローラ35を介して、キーボード21、表示部22、プリンタ23、カードリーダ/ライタ(R/W)24、スキャナ25、パスポートリーダ27等と接続されている。 The control unit 300 is connected to the keyboard 21, display unit 22, printer 23, card reader/writer (R/W) 24, scanner 25, passport reader 27, etc. via a bus 34 and controller 35.
キーボード21は、各種のキーをブロック毎に配列している。各種のキーは、例えば、商品コードや金額等を入力するための置数キーや、各種商品を指定するためのPLUキーや、置数キーによる置数入力を確定する確定キーや、クリアキー等である。また、キーボード21は、免税宣言キー211と、小計キー212と、締めキー213と、取消キー214を備える。 The keyboard 21 has various keys arranged in blocks. The various keys include, for example, numeric keys for entering product codes and amounts, a PLU key for specifying various products, a confirmation key for confirming numbers entered using the numeric keys, and a clear key. The keyboard 21 also has a tax exemption declaration key 211, a subtotal key 212, a closing key 213, and a cancel key 214.
免税宣言キー211は、免税取引の宣言を行うためのキーである。小計キー212は、合計額の算出を宣言するためのキーである。締めキー213は、販売処理において現金による締めを宣言するためのキーである。取消キー214は、登録した商品を取り消し、又は取引の取り消しを宣言するためのキーである。 The tax exemption declaration key 211 is a key for declaring a tax exempt transaction. The subtotal key 212 is a key for declaring the calculation of the total amount. The closing key 213 is a key for declaring that the sales transaction will be closed with cash. The cancel key 214 is a key for canceling a registered product or declaring the cancellation of a transaction.
表示部22は、表示面上にタッチパネルが設けられた液晶ディスプレイ装置である。
スキャナ25は、商品に付されたバーコードや二次元コード等のコードシンボルを光学的に読み取る装置である。
The display unit 22 is a liquid crystal display device having a touch panel on the display surface.
The scanner 25 is a device that optically reads code symbols such as barcodes and two-dimensional codes attached to products.
パスポートリーダ27は、パスポート(旅券)が保持する情報を読み取るリーダ装置である。例えば、パスポートリーダ27は、パスポートに記載された旅券番号等の文字列を光学的に読み取る光学文字認識(OCR:Optical Character Recognition)機能を有するものである。 The passport reader 27 is a reader device that reads information stored in a passport. For example, the passport reader 27 has an optical character recognition (OCR) function that optically reads character strings such as a passport number printed on a passport.
また、制御部300には、バス34を介してストレージデバイスであるメモリ部26が接続されている。メモリ部26は、HDD(Hard Disc Drive)やフラッシュメモリ等で構成されており、電源を遮断しても記憶内容を保持する。メモリ部26には、CPU31が実行可能な各種のプログラムや、設定情報が記憶されている。また、メモリ部26には、商品マスタファイル261や、取引管理ファイル262等のデータファイルが記憶されている。 The control unit 300 is also connected to a memory unit 26, which is a storage device, via a bus 34. The memory unit 26 is composed of a hard disk drive (HDD), flash memory, etc., and retains its stored contents even when the power is turned off. The memory unit 26 stores various programs that can be executed by the CPU 31, as well as setting information. The memory unit 26 also stores data files such as a product master file 261 and a transaction management file 262.
図7は、商品マスタファイル261のデータ構成の一例を示す図である。図7に示すように、商品マスタファイル261は、商品コード、商品名、価格、免税区分コード等のデータ項目を有する。ここで、商品コードは、商品の各々を識別することが可能な商品識別情報の一例である。商品コードには、その商品の種類や属性等を示す商品情報として、商品名、価格、免税区分コード等のデータが対応付けられている。商品名は、商品コードに対応する商品の名称を示すものである。価格は、商品コードに対応する商品の税抜価格を示すものである。免税区分コードは、図3で説明した免税区分コードに対応し、商品コードに対応する商品が、一般物品、消耗品及び免税対象外の何れに属するかを示すものである。 Figure 7 is a diagram showing an example of the data structure of the product master file 261. As shown in Figure 7, the product master file 261 has data items such as product code, product name, price, and tax-free category code. Here, the product code is an example of product identification information that can identify each product. Data such as the product name, price, and tax-free category code are associated with the product code as product information that indicates the type and attributes of the product. The product name indicates the name of the product corresponding to the product code. The price indicates the price excluding tax of the product corresponding to the product code. The tax-free category code corresponds to the tax-free category code described in Figure 3, and indicates whether the product corresponding to the product code belongs to general goods, consumables, or non-tax-free goods.
図8は、取引管理ファイル262のデータ構成の一例を示す図である。図8に示すように、取引管理ファイル262は、取引番号、取引内容、免税フラグ、及び免税宣言キーフラグ等のデータ項目を有する。ここで、取引番号、取引内容及び免税フラグの組は、取引データに対応する。 Figure 8 is a diagram showing an example of the data structure of the transaction management file 262. As shown in Figure 8, the transaction management file 262 has data items such as transaction number, transaction details, tax exemption flag, and tax exemption declaration key flag. Here, a set of transaction number, transaction details, and tax exemption flag corresponds to transaction data.
取引番号は、自己のPOS端末2で行われた取引の各々を識別可能な取引識別情報の一例である。取引内容には、取引番号に対応する取引で購入された商品の内訳を示す商品情報、決済情報等が格納される。免税フラグは、取引番号に対応する取引が免税条件を満たす取引であるか否かを識別するための2値情報である。 The transaction number is an example of transaction identification information that can identify each transaction made at one's own POS terminal 2. The transaction details store product information indicating the breakdown of products purchased in the transaction corresponding to the transaction number, payment information, etc. The tax exemption flag is binary information that identifies whether the transaction corresponding to the transaction number meets the tax exemption conditions.
免税宣言キーフラグは、免税宣言キーフラグが入力されたか否かを識別するための2値情報である。免税宣言キーフラグは、免税宣言キーフラグが入力された場合に有効(例えば“1”)に設定され、免税宣言キーフラグが入力された場合に無効(例えば“0”)に設定される。つまり、免税条件を満たす取引では、免税フラグ及び免税宣言キーフラグが有効に設定される。また、免税宣言キーが入力されたにも関わらず、免税条件を満たさない取引には、免税フラグが無効に設定され、免税宣言キーフラグが有効に設定される。また、通常の取引の場合には、免税フラグ及び免税宣言キーフラグが無効に設定される。 The tax exemption declaration key flag is binary information used to identify whether or not the tax exemption declaration key flag has been input. The tax exemption declaration key flag is set to valid (e.g., "1") when the tax exemption declaration key flag has been input, and is set to invalid (e.g., "0") when the tax exemption declaration key flag has not been input. In other words, for transactions that meet the tax exemption conditions, the tax exemption flag and tax exemption declaration key flag are set to valid. Furthermore, for transactions that do not meet the tax exemption conditions despite the input of the tax exemption declaration key, the tax exemption flag is set to invalid and the tax exemption declaration key flag is set to valid. Furthermore, for normal transactions, the tax exemption flag and tax exemption declaration key flag are set to invalid.
なお、免税取引の場合、POS端末2は、ユーザのパスポートからユーザIDを取得することになるが、取得したユーザIDを、該当する取引番号に関連付けて取引管理ファイル262に記憶してもよい。 In the case of a tax-free transaction, the POS terminal 2 will obtain a user ID from the user's passport, and the obtained user ID may be associated with the corresponding transaction number and stored in the transaction management file 262.
図6に戻り、さらに、制御部300には、バス34を介して、通信インタフェース(I/F)28が接続されている。通信インタフェース28は、ネットワーク3を介して上位装置であるサーバ装置4とデータ通信を行う。 Returning to Figure 6, the control unit 300 is further connected to a communication interface (I/F) 28 via a bus 34. The communication interface 28 communicates data with a higher-level device, the server device 4, via a network 3.
以上の構成により、制御部300はメモリ部26に記憶されたプログラムを実行することにより、キーボード21、表示部22、プリンタ23、カードリーダ/ライタ24、スキャナ25、メモリ部26、パスポートリーダ27、通信I/F28等の各部を制御し、所定の処理を行う。 With the above configuration, the control unit 300 executes the program stored in the memory unit 26 to control each unit, such as the keyboard 21, display unit 22, printer 23, card reader/writer 24, scanner 25, memory unit 26, passport reader 27, and communication I/F 28, and performs predetermined processing.
次に、POS端末2及びサーバ装置4の機能構成について説明する。図9は、POS端末2及びサーバ装置4の機能構成の一例を示す図である。 Next, we will explain the functional configuration of the POS terminal 2 and server device 4. Figure 9 is a diagram showing an example of the functional configuration of the POS terminal 2 and server device 4.
図9に示すように、POS端末2は、登録部301と、免税処理部302と、決済処理部303と、取消処理部304と、表示出力部305と、印字出力部306とを備える。 As shown in FIG. 9, the POS terminal 2 includes a registration unit 301, a tax exemption processing unit 302, a payment processing unit 303, a cancellation processing unit 304, a display output unit 305, and a print output unit 306.
POS端末2が備える機能構成の一部又は全ては、POS端末2のプロセッサ(例えばCPU31)とメモリ(例えばROM32、メモリ部26)に記憶されたプログラムとの協働により実現されるソフトウェア構成であってもよい。また、POS端末2が備える機能構成の一部又は全ては、POS端末2に搭載された専用回路等で実現されるハードウェア構成であってもよい。 Some or all of the functional components of the POS terminal 2 may be software components implemented through cooperation between the processor (e.g., CPU 31) of the POS terminal 2 and a program stored in memory (e.g., ROM 32, memory unit 26). Also, some or all of the functional components of the POS terminal 2 may be hardware components implemented by a dedicated circuit or the like installed in the POS terminal 2.
登録部301は、第1取得手段の一例である。登録部301は、販売対象の商品の商品コードや商品情報等を登録する。具体的に、登録部301は、コントローラ35を介してスキャナ25を駆動し、スキャナ25が読み取った商品コードを取得する。また、登録部301は、商品コードを基に商品マスタファイル261から商品情報を取得し、取得した商品情報をRAM33の登録テーブルTに登録する。 The registration unit 301 is an example of a first acquisition means. The registration unit 301 registers the product code and product information of the product to be sold. Specifically, the registration unit 301 drives the scanner 25 via the controller 35 and acquires the product code read by the scanner 25. The registration unit 301 also acquires product information from the product master file 261 based on the product code, and registers the acquired product information in the registration table T in the RAM 33.
免税処理部302は、第2取得手段、免税宣言手段、及び判定手段の一例である。免税処理部302は、免税宣言キー211の入力に応じて免税取引の宣言を行い、免税に係る処理を行う。具体的には、免税処理部302は、コントローラ35を介してパスポートリーダ27を駆動し、パスポートリーダ27が読み取った旅券番号等のユーザIDを取得する。また、免税処理部302は、ユーザIDと、登録テーブルTに登録された商品情報に基づく情報とを含んだ条件判定要求をサーバ装置4に送信し、免税条件が成立するか否かの判定結果をサーバ装置4から取得する。免税処理部302は、サーバ装置4から取得した判定結果に基づき、自機のPOS端末2で行われる免税取引が、免税条件を満たすか否かを判定する。 The tax exemption processing unit 302 is an example of a second acquisition unit, a tax exemption declaration unit, and a determination unit. The tax exemption processing unit 302 declares a tax exempt transaction in response to input of the tax exemption declaration key 211 and performs processing related to tax exemption. Specifically, the tax exemption processing unit 302 drives the passport reader 27 via the controller 35 and obtains the user ID, such as the passport number, read by the passport reader 27. The tax exemption processing unit 302 also sends a condition determination request to the server device 4, including the user ID and information based on the product information registered in registration table T, and obtains from the server device 4 the determination result as to whether the tax exemption conditions are met. Based on the determination result obtained from the server device 4, the tax exemption processing unit 302 determines whether the tax exemption transaction performed at its own POS terminal 2 satisfies the tax exemption conditions.
免税条件が成立する場合、免税処理部302は、決済処理部303と協働することで、消費税等を免除した税引き価格で決済処理(以下、免税処理ともいう)を実行する。具体的には、免税処理部302は、登録テーブルTに登録された商品情報のうち、免税条件が成立すると判定された、免税区分コードが“01”、“02”を含む商品情報について免税処理を実行させる。また、免税条件が不成立の場合、免税処理部302は、消費税等を含めた税込み価格で決済処理を行わせる。 If the tax exemption conditions are met, the tax exemption processing unit 302 works in cooperation with the payment processing unit 303 to execute payment processing at the tax-exempt price excluding consumption tax, etc. (hereinafter also referred to as tax exemption processing). Specifically, the tax exemption processing unit 302 executes tax exemption processing for product information registered in registration table T that is determined to meet the tax exemption conditions and has a tax exemption category code including "01" or "02". Furthermore, if the tax exemption conditions are not met, the tax exemption processing unit 302 executes payment processing at the tax-inclusive price including consumption tax, etc.
なお、免税処理部302は、登録テーブルTに登録された商品情報のうち、免税区分コードが“01”、“02”の商品情報を条件判定要求として送信してもよい。また、免税処理部302は、登録テーブルTに登録された商品情報のうち、免税区分コードが“01”、“02”の商品情報に基づき、一般物品と消耗品とのそれぞれで集計した商品の合計額を条件判定要求として送信してもよい。 The tax exemption processing unit 302 may transmit, as a condition determination request, product information with tax exemption category codes "01" and "02" from among the product information registered in registration table T. The tax exemption processing unit 302 may also transmit, as a condition determination request, the total price of products calculated for general goods and consumables based on product information with tax exemption category codes "01" and "02" from among the product information registered in registration table T.
決済処理部303は、決済手段及び記憶手段の一例である。決済処理部303は、締めキー213の入力に応じて、登録テーブルTに登録された商品情報に基づき、当該商品の決済処理を行う。また、決済処理部303は、決済処理が完了すると、その決済処理に係る取引の取引データを、取引管理ファイル262に記憶する。 The payment processing unit 303 is an example of a payment means and a storage means. In response to input from the closing key 213, the payment processing unit 303 performs payment processing for the product based on the product information registered in the registration table T. Furthermore, when the payment processing is completed, the payment processing unit 303 stores the transaction data for the transaction related to the payment processing in the transaction management file 262.
また、決済処理部303は、免税処理部302と協働することで、消費税等を免除した税抜き価格で決済処理(免税処理)を行う。この場合、決済処理部303は、免税フラグ及び免税宣言キーフラグを有効に設定した取引データを取引管理ファイル262に記憶する。また、決済処理部303は、免税宣言キー211が入力された場合であっても、税込み価格で決済処理を行った場合には、免税フラグを無効に設定し、免税宣言キーフラグを有効に設定した取引データを取引管理ファイル262に記憶する。なお、決済処理部303は、通常の取引で決済処理を行った場合には、免税フラグ及び免税宣言キーフラグを無効に設定した取引データを取引管理ファイル262に記憶する。 In addition, the payment processing unit 303 works in cooperation with the tax exemption processing unit 302 to perform payment processing (tax exemption processing) at a price exclusive of tax, excluding consumption tax, etc. In this case, the payment processing unit 303 stores transaction data in which the tax exemption flag and tax exemption declaration key flag are set to active in the transaction management file 262. Furthermore, even if the tax exemption declaration key 211 is input, if the payment processing is performed at a price including tax, the payment processing unit 303 sets the tax exemption flag to inactive and stores transaction data in which the tax exemption declaration key flag is set to active in the transaction management file 262. Note that if the payment processing is performed as a normal transaction, the payment processing unit 303 stores transaction data in which the tax exemption flag and tax exemption declaration key flag are set to inactive in the transaction management file 262.
また、決済処理部303は、免税宣言キーフラグを有効に設定した場合、その取引の取引データをサーバ装置4に記憶するため、当該取引データを、自機のPOS端末2のレジ番号、及び取引を行ったユーザのユーザID等とともにサーバ装置4に送信する。 In addition, when the payment processing unit 303 sets the tax exemption declaration key flag to enabled, the transaction data for that transaction is stored in the server device 4, and the transaction data is sent to the server device 4 along with the register number of the POS terminal 2 itself, the user ID of the user who performed the transaction, etc.
取消処理部304は、取消手段及び第1出力制御手段の一例である。取消処理部304は、取消キー214が入力された場合に、別途入力される取り消し内容を指示する操作に応じて、取引の取り消しや、商品の返品等の取り消し処理を実行する。具体的には、取消処理部304は、処理対象の取引に係る取引番号が入力されると、当該取引番号に対応する取引データを取引管理ファイル262から特定する。次いで、取消処理部304は、特定した取引データに基づき、取り消し内容に応じた取り消し処理を実行する。例えば、取消処理部304は、取引自体を取り消す場合、処理対象となる取引データを取引管理ファイル262から消去したり、別の管理ファイルに移動させたりする。また、例えば、取消処理部304は、商品の取り消し(返品)を行う場合、処理対象となる取引データから取り消し対象の商品の商品コードを削除するレジマイナス処理を実行する。 The cancellation processing unit 304 is an example of a cancellation means and a first output control means. When the cancellation key 214 is input, the cancellation processing unit 304 executes cancellation processing, such as canceling a transaction or returning a product, in accordance with a separately input operation indicating the cancellation content. Specifically, when the transaction number for the transaction to be processed is input, the cancellation processing unit 304 identifies the transaction data corresponding to the transaction number from the transaction management file 262. Next, the cancellation processing unit 304 executes cancellation processing according to the cancellation content based on the identified transaction data. For example, when the cancellation processing unit 304 cancels the transaction itself, it deletes the transaction data to be processed from the transaction management file 262 or moves it to another management file. Furthermore, for example, when the cancellation processing unit 304 cancels (returns) a product, it executes a register-minus process that deletes the product code of the product to be canceled from the transaction data to be processed.
また、取消処理部304は、取引管理ファイル262から特定した取引データが免税取引の場合、その取引データの取引番号と取り消し内容とを含んだ条件判定要求をサーバ装置4に送信する。そして、取消処理部304は、取り消し処理後に免税条件が成立するか否かの判定結果をサーバ装置4から取得し、当該判定結果に基づいて、取り消し処理後に免税条件が成立するか否か判定する。 Furthermore, if the transaction data identified from the transaction management file 262 is a tax-exempt transaction, the cancellation processing unit 304 sends a condition determination request including the transaction number of the transaction data and the cancellation details to the server device 4. The cancellation processing unit 304 then obtains from the server device 4 the determination result as to whether the tax-exempt conditions are met after the cancellation processing, and determines whether the tax-exempt conditions are met after the cancellation processing based on the determination result.
例えば、取引自体を取り消す場合、取消処理部304は、取り消し対象の取引番号と取引の取り消しとを指示した条件判定要求をサーバ装置4に送信する。また、例えば、特定の取引で購入された特定の商品の返品処理を行う場合、取消処理部304は、当該取引の取引番号と、返品対象の商品の商品コード又は商品情報と、商品の取り消しとを指示した条件判定要求をサーバ装置4に送信する。 For example, when canceling a transaction itself, the cancellation processing unit 304 sends a condition determination request to the server device 4, specifying the transaction number to be canceled and an instruction to cancel the transaction. Also, when processing the return of a specific product purchased in a specific transaction, the cancellation processing unit 304 sends a condition determination request to the server device 4, specifying the transaction number of the transaction, the product code or product information of the product to be returned, and an instruction to cancel the product.
ここで、取り消し処理後も免税条件が成立する場合、取消処理部304は、特定した取引データに取り消し処理を実行する。そして、取消処理部304は、取り消し内容の実行を指示した指示情報をサーバ装置4に送信する。 If the tax exemption conditions are still met after the cancellation process, the cancellation processing unit 304 executes the cancellation process on the identified transaction data. The cancellation processing unit 304 then transmits instruction information to the server device 4 instructing the execution of the cancellation content.
また、取り消し処理後に免税条件が不成立となる場合、取消処理部304は、免税条件が不成立となることを報知する確認画面を表示部22に表示させる。確認画面を表示した後、取り消し処理の実行が指示された場合には、特定した取引データに基づき、取り消し処理を実行する。 Furthermore, if the tax exemption conditions are not met after the cancellation process, the cancellation processing unit 304 displays a confirmation screen on the display unit 22 informing the user that the tax exemption conditions are not met. If an instruction to execute the cancellation process is given after displaying the confirmation screen, the cancellation process is executed based on the identified transaction data.
さらに、取消処理部304は、免税条件の不成立に伴い、免税条件から外れる他の取引が存在するか否かを判定し、存在する場合には、免税条件から外れる他の取引に関する情報を表示出力部305や印字出力部306を介して出力する。ここで、他の取引に関する情報は、該当する取引の取引番号や、当該取引を行ったPOS端末2のレジ番号、取引の合計額等、免税条件から外れる他の取引を特定可能な情報とすることが好ましい。なお、本実施形態では、取消処理部304は、サーバ装置4から免税条件不成立の判定結果とともに送信される他の取引に関する情報を基に、免税条件から外れる他の取引が存在するか否かを判定する。 Furthermore, the cancellation processing unit 304 determines whether there are any other transactions that do not satisfy the tax exemption conditions due to the failure of the tax exemption conditions, and if so, outputs information about the other transactions that do not satisfy the tax exemption conditions via the display output unit 305 and print output unit 306. Here, the information about the other transactions is preferably information that can identify the other transactions that do not satisfy the tax exemption conditions, such as the transaction number of the relevant transaction, the register number of the POS terminal 2 that performed the transaction, and the total amount of the transaction. Note that in this embodiment, the cancellation processing unit 304 determines whether there are any other transactions that do not satisfy the tax exemption conditions based on information about the other transactions sent from the server device 4 along with the determination result that the tax exemption conditions were not satisfied.
表示出力部305は、表示部22の表示出力を制御する。例えば、表示出力部305は、POS端末2の操作を支援するための操作画面を表示部22に表示させる。また、表示出力部305は、登録テーブルTに登録されたデータに基づき、登録された各商品に関する情報を表示部22に表示させる。また、表示出力部305は、免税処理部302と協働することで、免税条件の判定結果を表示部22に表示させたり、免税条件から外れた取引に関する情報を表示部22に表示させたりする。 The display output unit 305 controls the display output of the display unit 22. For example, the display output unit 305 displays an operation screen on the display unit 22 to assist in operating the POS terminal 2. The display output unit 305 also displays information about each registered product on the display unit 22 based on the data registered in the registration table T. The display output unit 305 also works in cooperation with the tax exemption processing unit 302 to display the results of the tax exemption condition determination on the display unit 22, and to display information about transactions that do not meet the tax exemption conditions on the display unit 22.
印字出力部306は、プリンタ23の印字出力を制御する。例えば、印字出力部306は、決済処理部303と協働することで、取引内容を示す情報をプリンタ23に出力し、レシートの発行を指示する。また、印字出力部306は、免税処理部302と協働することで、免税条件から外れた取引に関する情報をプリンタ23に出力し、レシートの発行を指示する。以下では、取引内容を印字した客用のレシートと区別するため、免税条件から外れた取引に関する情報を印字したレシートを「店員用レシート」ともいう。 The print output unit 306 controls the print output of the printer 23. For example, the print output unit 306 works in cooperation with the payment processing unit 303 to output information indicating the transaction details to the printer 23 and instruct it to print a receipt. The print output unit 306 also works in cooperation with the tax exemption processing unit 302 to output information regarding transactions that do not meet the tax exemption conditions to the printer 23 and instruct it to print a receipt. Hereinafter, receipts printed with information regarding transactions that do not meet the tax exemption conditions will also be referred to as "clerk receipts" to distinguish them from receipts for customers on which the transaction details are printed.
一方、サーバ装置4は、免税条件判定部401と、データ管理部402とを備える。 On the other hand, the server device 4 includes a tax exemption condition determination unit 401 and a data management unit 402.
サーバ装置4が備える機能構成の一部又は全ては、サーバ装置4のプロセッサ(例えばCPU41)とメモリ(例えばROM42、HDD48)に記憶されたプログラムとの協働により実現されるソフトウェア構成であってもよい。また、サーバ装置4が備える機能構成の一部又は全ては、サーバ装置4に搭載された専用回路等で実現されるハードウェア構成であってもよい。 Some or all of the functional configuration of the server device 4 may be software configurations realized by cooperation between the processor (e.g., CPU 41) of the server device 4 and programs stored in memory (e.g., ROM 42, HDD 48). Also, some or all of the functional configuration of the server device 4 may be hardware configurations realized by dedicated circuits or the like installed on the server device 4.
免税条件判定部401は、免税条件ファイル482に基づき、POS端末2の各々で行われる免税取引が免税条件を満たすか否かを判定する。具体的には、免税条件判定部401は、POS端末2から送信される条件判定要求に応じて、当該条件判定要求で示された取引の内容が免税条件を満たすか否かを判定し、その判定結果をPOS端末2に返信する。 The tax exemption conditions determination unit 401 determines whether a tax exempt transaction performed at each POS terminal 2 satisfies the tax exemption conditions based on the tax exemption conditions file 482. Specifically, in response to a condition determination request sent from the POS terminal 2, the tax exemption conditions determination unit 401 determines whether the transaction details indicated in the condition determination request satisfy the tax exemption conditions, and returns the determination result to the POS terminal 2.
例えば、免税条件判定部401は、条件判定要求に商品情報が含まれる場合、当該商品情報に含まれた免税区分コード“01”、“02”の商品の合計額を算出し、当該合計額が免税条件ファイル482の免税条件を満たすか否かを判定する。また、免税条件判定部401は、条件判定要求に含まれたユーザIDに基づいて、当該ユーザIDを含む免税取引データを免税取引管理ファイル483から検索する。そして、免税条件判定部401は、検索した免税取引データの合計額と、条件判定要求に含まれた商品情報の合計額との総和が、免税条件ファイル482の免税条件を満たすか否かを判定する。なお、免税条件判定部401は、条件判定要求を受信した日付と同日の取引日時の免税取引データを検索対象とする。 For example, when product information is included in the condition determination request, the tax exemption condition determination unit 401 calculates the total price of products with tax exemption category codes "01" and "02" included in the product information, and determines whether this total price meets the tax exemption conditions in the tax exemption condition file 482. Furthermore, based on the user ID included in the condition determination request, the tax exemption condition determination unit 401 searches the tax exempt transaction management file 483 for tax exempt transaction data including that user ID. The tax exemption condition determination unit 401 then determines whether the sum of the total price of the searched tax exempt transaction data and the total price of the product information included in the condition determination request meets the tax exemption conditions in the tax exemption condition file 482. The tax exemption condition determination unit 401 searches for tax exempt transaction data with a transaction date and time on the same day as the date on which the condition determination request was received.
免税条件判定部401は、免税条件を満たすと判定した場合、免税条件の成立を通知する情報をPOS端末2に送信する。また、免税条件を満たさないと判定した場合、免税条件判定部401は、免税条件の不成立を通知する情報をPOS端末2に送信する。 If the tax exemption conditions determination unit 401 determines that the tax exemption conditions are met, it sends information to the POS terminal 2 notifying that the tax exemption conditions are met. If it determines that the tax exemption conditions are not met, the tax exemption conditions determination unit 401 sends information to the POS terminal 2 notifying that the tax exemption conditions are not met.
また、例えば、免税条件判定部401は、条件判定要求に取り消し内容が含まれた場合、取り消し内容で指示された取引や商品の金額を減算した合計額に基づき、当該合計額が免税条件ファイル482の免税条件を満たすか否かを判定する。 Furthermore, for example, if the condition determination request includes cancellation details, the tax exemption condition determination unit 401 determines whether the total amount, minus the transaction or product amounts specified in the cancellation details, satisfies the tax exemption conditions in the tax exemption conditions file 482.
具体的には、免税条件判定部401は、取り消し内容で指示された取引番号に対応する免税取引データを免税取引管理ファイル483から特定すると、当該免税取引データに基づいて、取り消し処理後の合計額を算出する。例えば、取引自体を取り消す場合、免税条件判定部401は、特定した免税取引データの合計額をゼロとする。また、例えば、特定の商品を取り消す場合、免税条件判定部401は、取り消し対象の商品の金額を減算した合計額を算出する。 Specifically, when the tax-free condition determination unit 401 identifies the tax-free transaction data corresponding to the transaction number specified in the cancellation details from the tax-free transaction management file 483, it calculates the total amount after the cancellation process based on that tax-free transaction data. For example, if the transaction itself is canceled, the tax-free condition determination unit 401 sets the total amount of the identified tax-free transaction data to zero. Also, for example, if a specific product is canceled, the tax-free condition determination unit 401 calculates the total amount by subtracting the price of the product to be canceled.
さらに、免税条件判定部401は、特定した免税取引データに含まれるユーザIDに基づき、当該ユーザIDを含む他の免税取引データを検索する。そして、免税条件判定部401は、取り消し処理後の免税取引データの合計額と、検索した他の免税取引データの合計額との総和が、免税条件ファイル482の免税条件を満たすか否かを判定する。 Furthermore, the tax-exemption conditions determination unit 401 searches for other tax-exempt transaction data that includes the user ID based on the user ID included in the identified tax-exempt transaction data.The tax-exemption conditions determination unit 401 then determines whether the sum of the total amount of the tax-exempt transaction data after the cancellation process and the total amount of the other tax-exempt transaction data that was searched satisfies the tax-exemption conditions in the tax-exemption conditions file 482.
ここで、免税条件判定部401は、免税条件を満たすと判定した場合、免税条件の成立を通知する情報をPOS端末2に送信する。また、免税条件を満たさないと判定した場合、免税条件判定部401は、免税条件の不成立を通知する情報をPOS端末2に送信する。また、免税条件判定部401は、取り消し処理に伴い免税条件が不成立となった他の免税取引データが存在する場合、当該他の免税取引データに含まれるレジ番号、取引番号、合計額等の情報を、免税条件の不成立を通知する情報とともにPOS端末2に送信する。 If the tax exemption conditions determination unit 401 determines that the tax exemption conditions are met, it sends information to the POS terminal 2 notifying that the tax exemption conditions are met. If it determines that the tax exemption conditions are not met, the tax exemption conditions determination unit 401 sends information to the POS terminal 2 notifying that the tax exemption conditions are not met. If there is other tax exempt transaction data for which the tax exemption conditions have not been met due to the cancellation process, the tax exemption conditions determination unit 401 sends information such as the register number, transaction number, and total amount included in that other tax exempt transaction data to the POS terminal 2, along with information notifying that the tax exemption conditions are not met.
データ管理部402は、免税取引管理ファイル483のデータ管理を行う。例えば、データ管理部402は、POS端末2から送信される取引データを免税取引管理ファイル483に記憶する。具体的には、データ管理部402は、POS端末2から、レジ番号、ユーザID、及び取引データの組が送信されると、当該組を免税取引データとして免税取引管理ファイル483に記憶する。 The data management unit 402 manages the data in the tax-free transaction management file 483. For example, the data management unit 402 stores transaction data sent from the POS terminal 2 in the tax-free transaction management file 483. Specifically, when a set of register number, user ID, and transaction data is sent from the POS terminal 2, the data management unit 402 stores the set as tax-free transaction data in the tax-free transaction management file 483.
また、データ管理部402は、POS端末2から送信される取り消し指示に応じて、処理対象の免税取引データに取り消し処理を実行する。例えば、取引番号を指定した取引の取り消し指示を受け付けた場合、データ管理部402は、該当する取引番号の免税取引データを免税取引管理ファイル483から削除したり、他の管理ファイルに移動させたりする。また、例えば、取引番号及び商品コードを指定した商品の取り消し指示を受け付けた場合、データ管理部402は、該当する取引番号の免税取引データから、指定された商品の商品コードを削除するレジマイナス処理を実行する。なお、取り消し処理に伴い、免税条件が不成立となる免税取引データが存在する場合には、データ管理部402は、免税条件判定部401と協働することで、免税条件が不成立となった免税取引データの免税フラグを無効に設定する。 In addition, the data management unit 402 executes a cancellation process on the tax-free transaction data to be processed in response to a cancellation instruction sent from the POS terminal 2. For example, when a cancellation instruction is received for a transaction specifying a transaction number, the data management unit 402 deletes the tax-free transaction data for the corresponding transaction number from the tax-free transaction management file 483 or moves it to another management file. Also, for example, when a cancellation instruction is received for a product specifying a transaction number and product code, the data management unit 402 executes a register-minus process to delete the product code of the specified product from the tax-free transaction data for the corresponding transaction number. Note that if, as a result of the cancellation process, there is tax-free transaction data for which the tax-free conditions are not met, the data management unit 402, in cooperation with the tax-free condition determination unit 401, sets the tax-free flag of the tax-free transaction data for which the tax-free conditions are not met to invalid.
次に、図10及び図11を用いて、POS端末2及びサーバ装置4の動作例について説明する。 Next, an example of the operation of the POS terminal 2 and server device 4 will be described using Figures 10 and 11.
図10は、POSシステム1を用いた取引の一例を模式的に示す図である。まず、図10(a)に示すように、レジ番号”01”のPOS端末2において、取引番号”0001”の取引を行ったとする。この取引では、ユーザが合計額5000円の商品(一般商品又は消耗品)を購入する。ここで、取引の際に免税宣言キー211が入力され、ユーザIDの取得が行われたとすると、レジ番号”01”のPOS端末2の免税処理部302は、登録された商品の商品情報、ユーザID等を含んだ条件判定要求をサーバ装置4に送信する。この場合、条件判定要求に含まれる商品情報の合計額は5000円以上となり、免税条件ファイル482の免税条件を満たすことになる。そのため、サーバ装置4の免税条件判定部401は、免税条件が成立すると判定し、その判定結果をレジ番号”01”のPOS端末2に送信する。 Figure 10 is a diagram schematically illustrating an example of a transaction using the POS system 1. First, as shown in Figure 10(a), assume that a transaction with transaction number "0001" is made at the POS terminal 2 with register number "01." In this transaction, the user purchases merchandise (general merchandise or consumables) totaling 5,000 yen. If the tax exemption declaration key 211 is entered and a user ID is obtained during the transaction, the tax exemption processing unit 302 of the POS terminal 2 with register number "01" sends a condition determination request to the server device 4, including the registered merchandise information, user ID, etc. In this case, the total amount of the merchandise information included in the condition determination request is 5,000 yen or more, satisfying the tax exemption conditions in the tax exemption condition file 482. Therefore, the tax exemption condition determination unit 401 of the server device 4 determines that the tax exemption conditions are met and sends the determination result to the POS terminal 2 with register number "01."
レジ番号”01”のPOS端末2では、サーバ装置4から判定結果を受け付けると、免税処理部302が決済処理部303と協働することで、5000円分の免税処理を成立させる。そして、レジ番号”01”のPOS端末2の決済処理部303は、自機のレジ番号”01”及び取引を行ったユーザのユーザIDとともに、当該取引の取引データをサーバ装置4に送信する。サーバ装置4のデータ管理部402は、レジ番号”01”のPOS端末2から送信された取引データ等を免税取引データとして免税取引管理ファイル483に記憶する。 When the POS terminal 2 with register number "01" receives the determination result from the server device 4, the tax exemption processing unit 302 cooperates with the payment processing unit 303 to complete the tax exemption process for 5,000 yen. The payment processing unit 303 of the POS terminal 2 with register number "01" then transmits the transaction data for the transaction to the server device 4, along with its own register number "01" and the user ID of the user who performed the transaction. The data management unit 402 of the server device 4 stores the transaction data, etc. transmitted from the POS terminal 2 with register number "01" as tax-exempt transaction data in the tax-exempt transaction management file 483.
続く、図10(b)では、図10(a)と同一のユーザが、レジ番号”02”のPOS端末2において、取引番号”0006”の取引を行ったとする。この取引では、ユーザが合計額100円の商品(一般商品又は消耗品)を購入する。ここで、取引の際に免税宣言キー211が入力され、ユーザIDの取得が行われたとすると、レジ番号”02”のPOS端末2の免税処理部302は、登録された商品の商品情報、ユーザID等を含んだ条件判定要求をサーバ装置4に送信する。この場合、図10(a)の取引に係る免税取引データの合計額と、条件判定要求に含まれた商品情報の合計額との総和は5000円以上となり、免税条件ファイル482の免税条件を満たすことになる。そのため、サーバ装置4の免税条件判定部401は、免税条件が成立すると判定し、その判定結果をレジ番号”02”のPOS端末2に送信する。 Continuing with FIG. 10(b), let's assume that the same user as in FIG. 10(a) makes a transaction with transaction number "0006" at the POS terminal 2 with register number "02." In this transaction, the user purchases merchandise (general merchandise or consumables) totaling 100 yen. If the tax-exemption declaration key 211 is entered during the transaction and a user ID is obtained, the tax-exemption processing unit 302 of the POS terminal 2 with register number "02" sends a condition determination request to the server device 4, including the registered merchandise information, user ID, etc. In this case, the sum of the total amount of the tax-exempt transaction data for the transaction in FIG. 10(a) and the total amount of the merchandise information included in the condition determination request is 5,000 yen or more, satisfying the tax-exemption conditions in the tax-exemption conditions file 482. Therefore, the tax-exemption condition determination unit 401 of the server device 4 determines that the tax-exemption conditions are met and sends the determination result to the POS terminal 2 with register number "02."
レジ番号”02”のPOS端末2では、サーバ装置4から判定結果を受け付けると、免税処理部302が決済処理部303と協働することで、100円分の免税処理を成立させる。そして、レジ番号”02”のPOS端末2の決済処理部303は、自機のレジ番号”02”及び取引を行ったユーザのユーザIDとともに、当該取引の取引データをサーバ装置4に送信する。サーバ装置4のデータ管理部402は、レジ番号”02”のPOS端末2から送信された取引データ等を免税取引データとして免税取引管理ファイル483に記憶する。 When the POS terminal 2 with register number "02" receives the determination result from the server device 4, the tax exemption processing unit 302 cooperates with the payment processing unit 303 to complete the tax exemption process for 100 yen. The payment processing unit 303 of the POS terminal 2 with register number "02" then transmits the transaction data for the transaction to the server device 4, along with its own register number "02" and the user ID of the user who performed the transaction. The data management unit 402 of the server device 4 stores the transaction data, etc. transmitted from the POS terminal 2 with register number "02" as tax-exempt transaction data in the tax-exempt transaction management file 483.
続く、図10(c)では、図10(a)、(b)の取引と同一のユーザが、レジ番号”03”のPOS端末2において、取引番号”0015”の取引を行ったとする。この取引では、ユーザが合計額200円の商品(一般商品又は消耗品)を購入する。ここで、取引の際に免税宣言キー211が入力され、ユーザIDの取得が行われたとすると、レジ番号”03”のPOS端末2の免税処理部302は、登録された商品の商品情報、ユーザID等を含んだ条件判定要求をサーバ装置4に送信する。この場合、図10(a)、(b)の取引に係る免税取引データの合計額と、条件判定要求に含まれた商品情報の合計額との総和は5000円以上となり、免税条件ファイル482の免税条件を満たすことになる。そのため、サーバ装置4の免税条件判定部401は、免税条件が成立すると判定し、その判定結果をレジ番号”03”のPOS端末2に送信する。 10(c), the same user as in the transactions in FIGS. 10(a) and 10(b) conducts a transaction with transaction number "0015" at the POS terminal 2 with register number "03." In this transaction, the user purchases merchandise (general merchandise or consumables) totaling 200 yen. If the tax exemption declaration key 211 is entered during the transaction and a user ID is obtained, the tax exemption processing unit 302 of the POS terminal 2 with register number "03" sends a condition determination request to the server device 4, including the registered merchandise information, user ID, etc. In this case, the sum of the total amount of the tax exemption transaction data for the transactions in FIGS. 10(a) and 10(b) and the total amount of the merchandise information included in the condition determination request is 5,000 yen or more, satisfying the tax exemption conditions in the tax exemption conditions file 482. Therefore, the tax exemption condition determination unit 401 of the server device 4 determines that the tax exemption conditions are met and transmits the determination result to the POS terminal 2 with register number "03."
サーバ装置4から判定結果を受けたレジ番号”03”のPOS端末2では、免税処理部302が決済処理部303と協働することで、200円の免税処理を成立させる。そして、レジ番号”03”のPOS端末2の決済処理部303は、自機のレジ番号”03”及び取引を行ったユーザのユーザIDとともに、当該取引の取引データをサーバ装置4に送信する。サーバ装置4のデータ管理部402は、レジ番号”03”のPOS端末2から送信された取引データ等を免税取引データとして免税取引管理ファイル483に記憶する。 In the POS terminal 2 with register number "03", which receives the judgment result from the server device 4, the tax exemption processing unit 302 cooperates with the payment processing unit 303 to complete the tax exemption process for 200 yen. The payment processing unit 303 of the POS terminal 2 with register number "03" then transmits the transaction data for the transaction to the server device 4, along with its own register number "03" and the user ID of the user who performed the transaction. The data management unit 402 of the server device 4 stores the transaction data, etc. transmitted from the POS terminal 2 with register number "03" as tax-exempt transaction data in the tax-exempt transaction management file 483.
続く、図10(d)では、図10(a)~(c)の取引と同一のユーザが、レジ番号”01”のPOS端末2において、図10(a)の取引(取引番号“0001”)で購入した商品の返品を行ったとする。この場合、レジ番号”01”のPOS端末2のオペレータは、取消キー214を入力した後、客用レシート等に記載された取り消し対象の取引の取引番号を入力する。 Next, in Figure 10(d), let's assume that the same user who performed the transactions in Figures 10(a)-(c) returns the product purchased in the transaction in Figure 10(a) (transaction number "0001") at the POS terminal 2 with register number "01." In this case, the operator of the POS terminal 2 with register number "01" enters the cancel key 214, and then enters the transaction number of the transaction to be canceled, which is written on the customer receipt or the like.
レジ番号“01”のPOS端末2の取り消し処理部は、入力された取引番号と当該取引番号の取引を取り消すことを指示した条件判定要求をサーバ装置4に送信する。この場合、図10(a)~(c)の各取引に係る免税取引データの合計額“5300円”から、図10(a)の取引に係る免税取引データの合計額“5000円”を減算した値は“300円”となり、免税条件ファイル482の免税条件を満たさないことになる。そのため、サーバ装置4の免税条件判定部401は、免税条件が不成立と判定し、その判定結果をレジ番号”03”のPOS端末2に送信する。 The cancellation processing unit of the POS terminal 2 with register number "01" sends the entered transaction number and a condition determination request instructing the server device 4 to cancel the transaction with that transaction number. In this case, the total amount of the tax-free transaction data for the transactions in Figures 10(a) to (c), minus the total amount of the tax-free transaction data for the transaction in Figure 10(a), "5,000 yen," is "300 yen," which does not satisfy the tax-free conditions in the tax-free condition file 482. Therefore, the tax-free condition determination unit 401 of the server device 4 determines that the tax-free condition is not met and sends this determination result to the POS terminal 2 with register number "03."
また、この場合、図10(b)、(c)の取引が免税条件から外れるため、サーバ装置4の免税条件判定部401は、図10(b)、(c)の取引に係る取引データから取引番号やレジ番号、合計額等を読み出し、判定結果とともにレジ番号“01”のPOS端末2に送信する。 In this case, since the transactions in Figures 10(b) and (c) do not meet the tax exemption conditions, the tax exemption condition determination unit 401 of the server device 4 reads the transaction number, register number, total amount, etc. from the transaction data related to the transactions in Figures 10(b) and (c), and transmits this, along with the determination result, to the POS terminal 2 with register number "01."
レジ番号”01”のPOS端末2では、サーバ装置4から判定結果を受け付けると、取消処理部304が判定結果の内容を表示部22に表示する。例えば、取消処理部304は、判定結果が免税条件の不成立を示す場合、取り消し処理を継続するか否を確認するための画面を表示部22に表示させる。取り消し処理を継続することが指示された場合、取消処理部304は、取引管理ファイル262に記憶された該当する取引の取引データを削除等することで、取り消し処理を実行する。また、オペレータは、返品された商品の金額“5000円”から、免税条件から外れた図10(b)、(c)の取引に係る税金分を差し引いた金額を、ユーザに返金することで返品が成立する。 When the POS terminal 2 with register number "01" receives the determination result from the server device 4, the cancellation processing unit 304 displays the contents of the determination result on the display unit 22. For example, if the determination result indicates that the tax exemption conditions are not met, the cancellation processing unit 304 displays a screen on the display unit 22 to confirm whether or not to continue the cancellation process. If an instruction is given to continue the cancellation process, the cancellation processing unit 304 executes the cancellation process by, for example, deleting the transaction data of the corresponding transaction stored in the transaction management file 262. The operator then refunds the amount of the returned product, "5,000 yen," minus the tax amount for the transactions in Figures 10 (b) and (c) that did not meet the tax exemption conditions, to the user, thereby completing the return.
また、取消処理部304は、取り消し処理を実行すると、処理対象の取引番号と取り消し内容とを指示した取り消し指示をサーバ装置4に送信する。サーバ装置4のデータ管理部402は、取り消し指示を受け付けると、指示された内容に基づき該当する取引データを削除等することで、取り消し処理を実行する。なお、サーバ装置4のデータ管理部402は、取り消し処理に伴い、免税条件から外れた免税取引データの免税フラグを無効に設定する。例えば、取引番号“0006”及び“0015”の免税取引データが免税条件から外れた場合には、これらの免税取引データに対応付けられた免税フラグを無効に設定する。 Furthermore, when the cancellation processing unit 304 executes the cancellation processing, it sends a cancellation instruction to the server device 4, specifying the transaction number to be processed and the cancellation details. When the data management unit 402 of the server device 4 receives the cancellation instruction, it executes the cancellation processing by deleting the relevant transaction data based on the instructed details. Furthermore, as a result of the cancellation processing, the data management unit 402 of the server device 4 sets the tax exemption flag of tax-exempt transaction data that does not meet the tax exemption conditions to invalid. For example, if the tax-exempt transaction data with transaction numbers "0006" and "0015" do not meet the tax exemption conditions, the tax exemption flag associated with this tax-exempt transaction data is set to invalid.
さらに、取消処理部304は、取り消し処理の実行に伴い、免税条件から外れた他の取引が存在する場合、印字出力部306と協働することで、免税条件から外れた他の取引に関する情報を店員用レシートとして印字出力する。具体的には、図10の例の場合、取消処理部304は、図10(b)、(c)の取引に関する情報を店員用レシートとして印字出力する。 Furthermore, if there is another transaction that does not meet the tax exemption conditions as a result of executing the cancellation process, the cancellation processing unit 304 cooperates with the print output unit 306 to print out information about the other transaction that does not meet the tax exemption conditions as a receipt for the store clerk. Specifically, in the example of Figure 10, the cancellation processing unit 304 prints out information about the transactions in Figures 10(b) and (c) as a receipt for the store clerk.
図11は、店員用レシートの一例を示す図である。図11に示すように、店員用レシートには、免税条件から外れた取引に関する情報として、例えば、当該取引が行われたPOS端末2のレジ番号、取引番号、取引額(合計額)とが印字される。係る情報は、サーバ装置4から通知される情報に基づき印字することができる。 Figure 11 shows an example of a receipt for store clerk. As shown in Figure 11, the receipt for store clerk prints information about transactions that do not meet the tax-free conditions, such as the register number of the POS terminal 2 where the transaction was made, the transaction number, and the transaction amount (total amount). This information can be printed based on information notified from the server device 4.
店員用レシートを確認したオペレータは、店員用レシートに記載されたレジ番号のPOS端末2において、店員用レシートに記載された取引番号を入力し、例えば免税フラグを無効にするための操作を行う。例えば、図11の店員用シートの場合、オペレータは、レジ番号“02”のPOS端末2において、取引番号“0006”の取引データの免税フラグを無効にするための操作を行う。また、例えば、オペレータは、レジ番号“03”のPOS端末2において、取引番号“0015”の取引データの免税フラグを無効にするための操作を行う。 After checking the clerk receipt, the operator enters the transaction number written on the clerk receipt into the POS terminal 2 corresponding to the register number written on the clerk receipt and performs an operation to disable the tax-exempt flag, for example. For example, in the case of the clerk sheet shown in Figure 11, the operator performs an operation to disable the tax-exempt flag for the transaction data with transaction number "0006" on the POS terminal 2 corresponding to register number "02." Also, for example, the operator performs an operation to disable the tax-exempt flag for the transaction data with transaction number "0015" on the POS terminal 2 corresponding to register number "03."
これにより、サーバ装置4に記憶された取引データ(免税取引データ)と、POS端末2の各々に記憶される取引データとの状態を一致させることができ、データの整合を図ることができる。 This allows the transaction data (tax-free transaction data) stored in the server device 4 to be matched with the transaction data stored in each POS terminal 2, ensuring data consistency.
以下、図12及び図13を参照して、POS端末2が行う処理の一例について説明する。 Below, an example of the processing performed by the POS terminal 2 will be described with reference to Figures 12 and 13.
図12は、POS端末2が行う販売データ処理の一例を示すフローチャートである。まず、制御部300は、商品を特定する商品コードが入力されたか否かを判定する(ステップS11)。商品コードが入力された場合(ステップS11;Yes)、登録部301は、入力された商品コードに基づいて、当該商品コードに対応する商品の商品情報を商品マスタファイル261から取得する(ステップS12)。次いで、登録部301は、取得した商品情報を登録テーブルTに登録し、ステップS11に処理を戻す。 Figure 12 is a flowchart showing an example of sales data processing performed by the POS terminal 2. First, the control unit 300 determines whether a product code identifying a product has been input (step S11). If a product code has been input (step S11; Yes), the registration unit 301 obtains product information for the product corresponding to the input product code from the product master file 261 based on the input product code (step S12). Next, the registration unit 301 registers the obtained product information in registration table T and returns processing to step S11.
商品コードが入力されていないと判定した場合(ステップS11;No)、制御部300は、免税宣言キー211が入力されたか否かを判定する(ステップS13)。免税宣言キーが入力された場合(ステップS13;Yes)、免税処理部302は、パスポートリーダ27を介してユーザを特定するユーザIDを読み取る(ステップS14)。次いで、免税処理部302は、読み取ったユーザIDをRAM33等に記憶し、ステップS11に処理を戻す。 If it is determined that a product code has not been entered (Step S11; No), the control unit 300 determines whether the tax exemption declaration key 211 has been entered (Step S13). If the tax exemption declaration key has been entered (Step S13; Yes), the tax exemption processing unit 302 reads the user ID that identifies the user via the passport reader 27 (Step S14). Next, the tax exemption processing unit 302 stores the read user ID in RAM 33 or the like, and returns the process to Step S11.
免税宣言キー211が入力されていないと判定した場合(ステップS13;No)、制御部300は、締めキー213等の操作により決済の実行が指示されたか否かを判定する(ステップS15)。ここで、決済の実行が指示されない場合には(ステップS15;No)、制御部300は、ステップS11に処理を戻す。 If it is determined that the tax exemption declaration key 211 has not been entered (step S13; No), the control unit 300 determines whether or not a payment execution instruction has been issued by operating the closing key 213 or the like (step S15). If a payment execution instruction has not been issued (step S15; No), the control unit 300 returns the process to step S11.
決済の実行が指示された場合(ステップS15;Yes)、決済処理部303は、免税宣言キー211が入力済か否かを判定する(ステップS16)。例えば、決済処理部303は、RAM33にユーザIDが記憶されているか否かに基づき、免税宣言キー211が入力済か否かを判定する。なお、免税宣言キー211の入力は、決済の実行指示の後に行われてもよい。 If an instruction to execute payment is given (Step S15: Yes), the payment processing unit 303 determines whether the tax exemption declaration key 211 has been input (Step S16). For example, the payment processing unit 303 determines whether the tax exemption declaration key 211 has been input based on whether the user ID is stored in RAM 33. Note that the tax exemption declaration key 211 may be input after an instruction to execute payment is given.
免税宣言キー211が未入力の場合(ステップS16;No)、決済処理部303は、登録テーブルTに登録された商品の商品情報に基づいて、当該商品の決済処理を税込み価格で実行する(ステップS17)。そして、決済処理部303は、当該取引を識別する取引番号に関連付けて、当該取引の取引データを取引管理ファイル262に記憶し(ステップS18)、本処理を終了する。なお、ステップS18において、取引データは、免税フラグ及び免税宣言キーフラグが無効に設定された状態で記憶される。 If the tax exemption declaration key 211 has not been entered (Step S16: No), the payment processing unit 303 executes payment processing for the product at the tax-inclusive price based on the product information registered in registration table T (Step S17). The payment processing unit 303 then associates the transaction data for the transaction with a transaction number that identifies the transaction and stores it in the transaction management file 262 (Step S18), and terminates this processing. Note that in Step S18, the transaction data is stored with the tax exemption flag and tax exemption declaration key flag set to disabled.
一方、免税宣言キー211が入力済の場合(ステップS16;Yes)、免税処理部302は、登録テーブルTに登録された商品情報及びRAM33に保持されたユーザID等を含んだ条件判定要求をサーバ装置4に送信する(ステップS19)。 On the other hand, if the tax exemption declaration key 211 has already been entered (Step S16: Yes), the tax exemption processing unit 302 sends a condition determination request to the server device 4, including the product information registered in the registration table T and the user ID, etc., stored in RAM 33 (Step S19).
サーバ装置4では条件判定要求を受信すると、免税条件判定部401は、商品情報に基づき算出した合計額と、ユーザIDに関連付けて記憶された他の取引の合計額とから、免税条件が成立するか否かを判定し、その判定結果を要求元のPOS端末2に送信する。そして、免税処理部302は、サーバ装置4から送信される判定結果に基づき、免税条件が成立するか否かを判定する(ステップS20)。 When the server device 4 receives the condition determination request, the tax exemption condition determination unit 401 determines whether the tax exemption conditions are met based on the total amount calculated based on the product information and the total amounts of other transactions stored in association with the user ID, and sends the determination result to the POS terminal 2 that made the request. The tax exemption processing unit 302 then determines whether the tax exemption conditions are met based on the determination result sent from the server device 4 (step S20).
免税条件が不成立の場合(ステップS20;No)、決済処理部303は、登録テーブルTに登録された商品の商品情報に基づいて、当該商品の決済処理を税込み価格で実行する(ステップS21)。そして、決済処理部303は、当該取引の取引データを記憶するため、ステップS23に移行する。 If the tax-free conditions are not met (Step S20: No), the payment processing unit 303 executes payment processing for the product at the tax-inclusive price based on the product information registered in registration table T (Step S21). The payment processing unit 303 then proceeds to Step S23 to store the transaction data for the transaction.
また、免税条件が成立した場合(ステップS20;Yes)、決済処理部303は、免税処理部302と協働し、登録テーブルTに登録された商品の商品情報に基づいて、当該商品の決済処理を税抜き価格で実行し(ステップS22)、ステップS23に移行する。 Also, if the tax exemption conditions are met (step S20; Yes), the payment processing unit 303, in cooperation with the tax exemption processing unit 302, executes payment processing for the product at the price excluding tax based on the product information registered in registration table T (step S22), and proceeds to step S23.
ステップS23において、決済処理部303は、当該取引を識別する取引番号に関連付けて、当該取引の取引データを取引管理ファイル262に記憶する(ステップS23)。ステップS23において、ステップS21で決済処理された取引データは、免税フラグが無効に設定され免税宣言キーフラグが有効に設定された状態で記憶される。また、ステップS22で決済処理(免税処理)された取引データは、免税フラグ及び免税宣言キーフラグが有効に設定された状態で記憶される。 In step S23, the payment processing unit 303 stores the transaction data of the transaction in the transaction management file 262 in association with the transaction number that identifies the transaction (step S23). In step S23, the transaction data that was payment processed in step S21 is stored with the tax exemption flag set to disabled and the tax exemption declaration key flag set to enabled. Furthermore, the transaction data that was payment processed (tax exemption processing) in step S22 is stored with the tax exemption flag and tax exemption declaration key flag set to enabled.
なお、免税条件が不成立の場合であってもサーバ装置4に取引データ(免税取引データ)を送信するのは、同一のユーザが今後行う他の取引との合算により、免税条件が成立する場合があるためである。これにより、POS端末2の何れで取引が行われた場合であっても、サーバ装置4に記憶された過去の免税取引データを参照することで、他のPOS端末2で行われた取引との合計額に基づいた免税条件の適否判定を行うことができる。 The reason why transaction data (tax-free transaction data) is sent to the server device 4 even when the tax-free conditions are not met is because the tax-free conditions may be met when added together with other future transactions by the same user. As a result, regardless of which POS terminal 2 a transaction is made at, by referencing past tax-free transaction data stored in the server device 4, it is possible to determine whether the tax-free conditions are met based on the total amount including transactions made at other POS terminals 2.
図13は、POS端末2が行う取消処理の一例を示すフローチャートである。まず、制御部300は、取消キー214が入力されるまで待機する(ステップS31;No)。取消キー214が入力されると(ステップS31;Yes)、取消処理部304は、取り消し処理の処理対象となる取引の取引番号が入力されるまで待機する(ステップS32;No)。取引番号が入力されると(ステップS32;Yes)、取消処理部304は、入力された取引番号に該当する取引データが、取引管理ファイル262に存在するか否かを判定する(ステップS33)。 Figure 13 is a flowchart showing an example of the cancellation process performed by the POS terminal 2. First, the control unit 300 waits until the cancellation key 214 is input (step S31; No). When the cancellation key 214 is input (step S31; Yes), the cancellation processing unit 304 waits until the transaction number of the transaction to be canceled is input (step S32; No). When the transaction number is input (step S32; Yes), the cancellation processing unit 304 determines whether transaction data corresponding to the input transaction number exists in the transaction management file 262 (step S33).
入力された取引番号に該当する取引データが存在しない場合(ステップS33;No)、取消処理部304は、ステップS31に処理を戻す。つまり、本実施形態では、取り消しの対象となる取引が行われたPOS端末2において、当該取引の取り消しを行うことが可能となっている。なお、取引番号に該当する取引データが存在しない場合、取消処理部304は、自機のPOS端末2に取り消し対象の取引データが存在しないことを報知する表示出力を行ってよい。 If there is no transaction data corresponding to the input transaction number (Step S33: No), the cancellation processing unit 304 returns the process to Step S31. In other words, in this embodiment, the transaction to be canceled can be canceled at the POS terminal 2 where the transaction to be canceled was made. Note that if there is no transaction data corresponding to the transaction number, the cancellation processing unit 304 may display a message on its own POS terminal 2 informing users that there is no transaction data to be canceled.
入力された取引番号に該当する取引データが存在する場合(ステップS33;Yes)、取消処理部304は、取引データに対応付けられた免税宣言キーフラグが有効か否かを判定する(ステップS34)。免税宣言キーフラグが無効の場合(ステップS34;No)、取消処理部304は、通常の取引と判断し、別途入力された取り消し内容に応じた取り消し処理を、処理対象の取引データに実行し(ステップS35)、本処理を終了する。 If transaction data corresponding to the entered transaction number exists (Step S33; Yes), the cancellation processing unit 304 determines whether the tax exemption declaration key flag associated with the transaction data is valid (Step S34). If the tax exemption declaration key flag is invalid (Step S34; No), the cancellation processing unit 304 determines that the transaction is a normal transaction, performs cancellation processing on the transaction data to be processed according to the cancellation content entered separately (Step S35), and terminates this processing.
また、免税宣言キーフラグが有効の場合(ステップS34;Yes)、取消処理部304は、免税フラグが有効か否かを判定する(ステップS36)。 Also, if the tax exemption declaration key flag is enabled (step S34; Yes), the cancellation processing unit 304 determines whether the tax exemption flag is enabled (step S36).
ここで、免税フラグが無効の場合(ステップS36;No)、取消処理部304は、別途入力された取り消し内容に応じた取り消し処理を、処理対象の取引データに実行する(ステップS37)。次いで、取消処理部304は、ステップS37で実行した取り消し処理を、サーバ装置4に記憶された対応する取引データ(免税取引データ)に反映するため、取引番号及び取り消し内容等を含んだ取り消し指示をサーバ装置4に送信し(ステップS38)、本処理を終了する。 Here, if the tax exemption flag is invalid (Step S36; No), the cancellation processing unit 304 executes cancellation processing according to the separately input cancellation content on the transaction data to be processed (Step S37). Next, the cancellation processing unit 304 transmits a cancellation instruction including the transaction number, cancellation content, etc. to the server device 4 in order to reflect the cancellation processing executed in Step S37 in the corresponding transaction data (tax-exempt transaction data) stored in the server device 4 (Step S38), and terminates this processing.
これにより、サーバ装置4のデータ管理部402は、POS端末2から送信される取り消し指示に応じて、対象となる免税取引データ(取引データ)に、指示された内容の取り消し処理を実行する。 As a result, the data management unit 402 of the server device 4 executes the cancellation process specified in the instruction for the tax-free transaction data (transaction data) in question in response to the cancellation instruction sent from the POS terminal 2.
一方、免税フラグが有効の場合(ステップS36;Yes)、取消処理部304は、取引番号及び取り消し内容等を含んだ条件判定要求をサーバ装置4に送信する(ステップS39)。サーバ装置4では条件判定要求を受信すると、免税条件判定部401が、指定された取引番号に対応する取引の取引データに基づき、取り消し内容で指示された取り消し処理を行った場合での当該取引の合計額を算出する。また、免税条件判定部401、算出した合計額と、指定された取引番号に対応するユーザIDを含んだ他の取引の合計額とを合算し、その合算額に基づき免税条件が成立するか否かを判定する。そして、免税条件判定部401は、その判定結果を要求元のPOS端末2に送信する。なお、取り消し処理を行うことで、他の取引の免税条件が不成立となるような場合には、免税条件判定部401は、判定結果とともに、免税条件が不成立となる他の取引に関する情報(取引番号、レジ番号、合計額等)を要求元のPOS端末2に送信する。 On the other hand, if the tax exemption flag is enabled (Step S36: Yes), the cancellation processing unit 304 sends a condition determination request including the transaction number, cancellation details, etc. to the server device 4 (Step S39). When the server device 4 receives the condition determination request, the tax exemption condition determination unit 401 calculates the total amount of the transaction based on the transaction data of the transaction corresponding to the specified transaction number if the cancellation processing instructed in the cancellation details is performed. The tax exemption condition determination unit 401 also adds up the calculated total amount and the total amount of other transactions including the user ID corresponding to the specified transaction number, and determines whether the tax exemption conditions are met based on this total amount. The tax exemption condition determination unit 401 then sends the determination result to the POS terminal 2 that made the request. Note that if the cancellation processing would result in the tax exemption conditions of other transactions not being met, the tax exemption condition determination unit 401 sends the determination result and information about the other transactions for which the tax exemption conditions are not met (transaction number, register number, total amount, etc.) to the POS terminal 2 that made the request.
続いて、取消処理部304は、サーバ装置4から送信される判定結果に基づき、免税条件が成立するか否かを判定する(ステップS40)。ここで、免税条件が成立する場合(ステップS40;Yes)、取消処理部304は、ステップS37に移行し、取り消し内容に応じた取り消し処理を、処理対象の取引データに実行する。 Then, the cancellation processing unit 304 determines whether the tax exemption conditions are met based on the determination result sent from the server device 4 (step S40). If the tax exemption conditions are met (step S40; Yes), the cancellation processing unit 304 proceeds to step S37 and performs cancellation processing according to the cancellation content on the transaction data to be processed.
一方、免税条件が不成立の場合(ステップS40;No)、取消処理部304は、免税条件から外れることを確認するメッセージを表示部22に表示させ(ステップS41)、オペレータからの入力を待機する。ここで、取り消し処理の中止を指示する操作が入力された場合(ステップS42;No)、取消処理部304は、本処理を終了する。 On the other hand, if the tax exemption conditions are not met (Step S40; No), the cancellation processing unit 304 displays a message on the display unit 22 confirming that the tax exemption conditions are no longer met (Step S41) and waits for input from the operator. If an operation to stop the cancellation process is input here (Step S42; No), the cancellation processing unit 304 terminates this process.
また、取り消し処理の実行を指示する操作が入力された場合(ステップS42;Yes)、取消処理部304は、取り消し内容に応じた取り消し処理を、処理対象の取引データに実行する(ステップS43)。次いで、取消処理部304は、ステップS43で実行した取り消し処理を、サーバ装置4に記憶された対応する取引データ(免税取引データ)に反映するため、取引番号及び取り消し内容等を含んだ取り消し指示をサーバ装置4に送信する(ステップS44)。 Furthermore, if an operation to execute a cancellation process is input (Step S42; Yes), the cancellation processing unit 304 executes a cancellation process according to the cancellation content on the transaction data to be processed (Step S43). Next, the cancellation processing unit 304 transmits a cancellation instruction including the transaction number, cancellation content, etc. to the server device 4 in order to reflect the cancellation process executed in Step S43 in the corresponding transaction data (tax-exempt transaction data) stored in the server device 4 (Step S44).
続いて、取消処理部304は、サーバ装置4の判定結果に基づき、免税条件から外れる取引が存在するか否かを判定する(ステップS45)。ここで、免税条件から外れる取引が存在しない場合(ステップS45;No)、取消処理部304は、本処理を終了する。 Next, the cancellation processing unit 304 determines whether there is a transaction that does not satisfy the tax exemption conditions based on the determination result of the server device 4 (step S45). If there is no transaction that does not satisfy the tax exemption conditions (step S45; No), the cancellation processing unit 304 terminates this process.
免税条件から外れる取引が存在する場合には(ステップS45;Yes)、取消処理部304は、免税条件から外れる取引に関する情報を印字した店員用レシートを出力し(ステップS46)、本処理を終了する。 If there is a transaction that does not meet the tax-free conditions (Step S45: Yes), the cancellation processing unit 304 outputs a receipt for the store clerk on which information about the transaction that does not meet the tax-free conditions is printed (Step S46), and this process ends.
以上により、本実施形態のPOS端末2の各々は、免税宣言キー211の操作により自機で免税取引を行う場合に、当該免税取引の合計額と、サーバ装置4に記憶された同一のユーザに係る他の免税取引の合計額とに基づき、当該免税取引が免税条件を満たすか否かを判定する。そして、POS端末2の各々は、その判定結果に応じて税金を免除した税抜き価格又は税金を含んだ税込み価格で、登録された商品の決済処理を実行する。そして、POS端末2は、決済処理で決済された免税取引の取引データを、取引番号と、ユーザIDと関連付けてサーバ装置4に記憶する。 As described above, when a tax-free transaction is performed on the POS terminal 2 of this embodiment by operating the tax-free declaration key 211, the POS terminal 2 determines whether the tax-free transaction satisfies the tax-free conditions based on the total amount of the tax-free transaction and the total amount of other tax-free transactions related to the same user stored in the server device 4. Depending on the result of this determination, the POS terminal 2 then executes the payment process for the registered product at the tax-exempt price or the tax-inclusive price. The POS terminal 2 then stores the transaction data of the tax-free transaction settled in the payment process in the server device 4, in association with the transaction number and user ID.
また、本実施形態のPOS端末2の各々は、取消キー214の操作により免税取引又は免税取引で決済された商品の取り消し指示を受け付けた場合、取り消し指示に応じた取り消し処理を、処理対象の取引データに実行する。そして、POS端末2は、自機で実行した取り消し処理により、免税条件から外れる他の免税取引がサーバ装置4に存在する場合に、当該他の免税取引に関する情報を出力する。例えば、POS端末2は、免税条件から外れる免税取引の取引番号や当該免税取引が行われたPOS端末2のレジ番号、合計額等を出力する。 In addition, when each POS terminal 2 of this embodiment receives an instruction to cancel a tax-free transaction or an item paid for in a tax-free transaction by operating the cancel key 214, it executes a cancellation process in accordance with the cancellation command on the transaction data to be processed. If the POS terminal 2 executes a cancellation process on the server device 4 that does not meet the tax-free conditions due to the cancellation process executed by the POS terminal 2 itself, it outputs information about the other tax-free transaction. For example, the POS terminal 2 outputs the transaction number of the tax-free transaction that does not meet the tax-free conditions, the register number of the POS terminal 2 where the tax-free transaction was performed, the total amount, etc.
これにより、POS端末2のオペレータは、免税条件から外れた他の取引を容易に確認することができるため、該当する取引データの特定や、取引が行われたPOS端末2の特定を容易に行うことができる。このように、本実施形態のPOS端末2では、例えば自機で実行した取り消し処理により、他のPOS端末2に記憶された他の取引の取引データが免税条件から外れた場合、その取引データの特定や操作を容易に行うことができる。したがって、本実施形態では、販売データ処理装置に記憶される取引データと、サーバ装置4に記憶される取引データとの整合を図ることができる。 This allows the operator of the POS terminal 2 to easily check other transactions that do not meet the tax-free conditions, making it easy to identify the relevant transaction data and the POS terminal 2 on which the transaction was made. In this way, with the POS terminal 2 of this embodiment, if the transaction data of another transaction stored in another POS terminal 2 no longer meets the tax-free conditions due to, for example, a cancellation process executed on the POS terminal 2 itself, the transaction data can be easily identified and manipulated. Therefore, in this embodiment, it is possible to ensure consistency between the transaction data stored in the sales data processing device and the transaction data stored in the server device 4.
なお、上述した実施形態は、上述した各装置が有する構成又は機能の一部を変更することで、適宜に変形して実施することも可能である。そこで、以下では、上述した実施形態に係るいくつかの変形例を他の実施形態として説明する。なお、以下では、上述した実施形態と異なる点を主に説明することとし、既に説明した内容と共通する点については詳細な説明を省略する。また、以下で説明する変形例は、個別に実施されてもよいし、適宜組み合わせて実施されてもよい。 The above-described embodiments can be modified as needed by changing some of the configurations or functions of the above-described devices. Therefore, below, several modifications of the above-described embodiments will be described as other embodiments. Below, differences from the above-described embodiments will be mainly described, and detailed descriptions of commonalities with the contents already described will be omitted. The modifications described below may be implemented individually or in appropriate combinations.
(変形例1)
上述の実施形態では、取り消し処理に伴い免税条件から外れる取引が存在する場合に、当該取引に関する情報を出力する形態を説明した。一方で、新たに行われた決済処理に伴い、免税条件を満たすことになる既存の取引も存在する。例えば、図10で説明した図(a)~(c)の取引のうち、同一のユーザが(b)、(c)の取引を先に行い、(a)の取引を最後に行ったとする。この場合、(b)、(c)の取引では免税条件不成立となり、(a)の取引を行うことで(a)~(c)の全てが免税条件成立となる。この場合、(a)の取引を行うPOS端末2では、免税条件が成立した(b)、(c)の取引を容易に確認することができない。
(Variation 1)
In the above embodiment, information about a transaction that no longer satisfies the tax-exemption conditions due to a cancellation process is output. However, there may also be existing transactions that satisfy the tax-exemption conditions due to a newly executed payment process. For example, among the transactions (a) to (c) illustrated in FIG. 10, suppose the same user first executes transactions (b) and (c) and then executes transaction (a) last. In this case, transactions (b) and (c) do not satisfy the tax-exemption conditions, but transaction (a) satisfies the tax-exemption conditions for all of transactions (a) to (c). In this case, the POS terminal 2 that executes transaction (a) cannot easily confirm transactions (b) and (c), which satisfy the tax-exemption conditions.
そこで、新たに行う決済処理により、免税条件が成立する他の取引が存在するような場合、上述した実施形態と同様に、当該他の取引に関する情報を出力する構成としてもよい。 Therefore, if there is another transaction for which the tax exemption conditions are met as a result of the newly performed payment process, the system may be configured to output information about that other transaction, as in the above-described embodiment.
具体的には、サーバ装置4の免税条件判定部401は、上述の実施形態と同様に、免税処理部302から送信される条件判定要求に応じて免税条件が成立するか否かを判定する。免税条件判定部401は、成立すると判定した場合、これまで免税条件が不成立であった同一のユーザの他の取引が、免税条件の成立に転じたか否かを判定し、成立に転じた場合には、当該他の取引に関する情報を判定結果とともに、要求元のPOS端末2に送信する。 Specifically, the tax exemption condition determination unit 401 of the server device 4 determines whether the tax exemption conditions are met in response to a condition determination request sent from the tax exemption processing unit 302, as in the above-described embodiment. If the tax exemption condition determination unit 401 determines that the conditions are met, it determines whether other transactions by the same user for which the tax exemption conditions had not previously been met have now met the tax exemption conditions, and if so, it sends information about those other transactions, along with the determination result, to the POS terminal 2 that made the request.
一方、POS端末2の免税処理部302は、決済処理部303と協働することで、決済処理(免税処理)を行った場合、サーバ装置4から送信された情報に基づき、免税条件が成立した他の取引が存在するか否かを判定する。そして、免税処理部302は、免税条件が成立した他の取引に関する情報を表示出力又は店員用レシートとして印字出力する。つまり、免税処理部302は、第2出力制御手段の一例として機能する。 On the other hand, when payment processing (tax exemption processing) is performed, the tax exemption processing unit 302 of the POS terminal 2 cooperates with the payment processing unit 303 to determine, based on information sent from the server device 4, whether there are any other transactions for which the tax exemption conditions have been met. The tax exemption processing unit 302 then displays or prints out information about the other transactions for which the tax exemption conditions have been met as a receipt for the store clerk. In other words, the tax exemption processing unit 302 functions as an example of second output control means.
これにより、POS端末2のオペレータは、免税条件が成立した他の取引を容易に確認することができるため、該当する取引データの特定や、取引が行われたPOS端末2の特定を容易に行うことができる。このように、本変形例のPOS端末2では、例えば自機で実行した免税処理により、他のPOS端末2に記憶された他の取引の取引データが免税条件に該当した場合、その取引データの特定や操作を容易に行うことができる。したがって、本実施形態では、販売データ処理装置に記憶される取引データと、サーバ装置4に記憶される取引データとの整合を図ることができる。 This allows the operator of the POS terminal 2 to easily check other transactions for which the tax exemption conditions have been met, making it easy to identify the relevant transaction data and the POS terminal 2 on which the transaction was carried out. In this way, with the POS terminal 2 of this modified example, if the transaction data of another transaction stored in another POS terminal 2 meets the tax exemption conditions, for example, due to the tax exemption processing executed on the POS terminal 2 itself, the operator can easily identify and manipulate that transaction data. Therefore, in this embodiment, it is possible to ensure consistency between the transaction data stored in the sales data processing device and the transaction data stored in the server device 4.
(変形例2)
上述の実施形態では、サーバ装置4が備える免税条件判定部401により、サーバ装置4に記憶された免税取引データに基づく免税条件の判定を行う形態と説明したが、これに限定されるものではない。例えば、POS端末2の各々が免税条件判定部401と同様の機能部を備えることで、POS端末2の各々が、サーバ装置4に記憶された免税取引データに基づく免税条件の判定を個別に行う構成としてもよい。
(Variation 2)
In the above embodiment, the tax exemption conditions determination unit 401 provided in the server device 4 determines whether the tax exemption conditions are met based on the tax exempt transaction data stored in the server device 4. However, the present invention is not limited to this. For example, each POS terminal 2 may be provided with a functional unit similar to the tax exemption conditions determination unit 401, so that each POS terminal 2 individually determines whether the tax exemption conditions are met based on the tax exempt transaction data stored in the server device 4.
この場合、サーバ装置4は、例えば、免税取引データの記憶と管理を行うデータベースサーバとして機能し、POS端末2の各々が備える免税条件判定部401は、サーバ装置4に記憶された免税取引データ等を参照して、自機で行われる取引が免税条件を満たすか否かを判定する。なお、この場合、POS端末2の免税条件判定部401は、判定手段の一例として機能する。 In this case, the server device 4 functions, for example, as a database server that stores and manages tax-free transaction data, and the tax-free condition determination unit 401 provided in each POS terminal 2 references the tax-free transaction data stored in the server device 4 and determines whether a transaction performed at that device satisfies the tax-free conditions. In this case, the tax-free condition determination unit 401 of the POS terminal 2 functions as an example of a determination means.
この場合、サーバ装置4は、例えば、免税取引データの記憶と管理を行うデータベースサーバとして機能し、POS端末2の各々が備える免税条件判定部401は、サーバ装置4に記憶された免税取引データ等を参照して、自機で行われる取引が免税条件を満たすか否かを判定する。なお、この場合、POS端末2の免税条件判定部401は、判定手段の一例として機能する。 In this case, the server device 4 functions, for example, as a database server that stores and manages tax-free transaction data, and the tax-free condition determination unit 401 provided in each POS terminal 2 references the tax-free transaction data stored in the server device 4 and determines whether a transaction performed at that device satisfies the tax-free conditions. In this case, the tax-free condition determination unit 401 of the POS terminal 2 functions as an example of a determination means.
(変形例3)
上述の実施形態では、POS端末2の各々では、自機のPOS端末2に記憶された取引データの取り消し処理を行うことを可能としたが、これに限らず、他のPOS端末2に記憶された取引データを取り扱うことが可能な構成としてもよい。
(Variation 3)
In the above-described embodiment, each POS terminal 2 is capable of canceling transaction data stored in its own POS terminal 2, but this is not limited to this, and the configuration may also be such that it is possible to handle transaction data stored in other POS terminals 2.
例えば、取消処理部304は、取り消し処理の実行により他のPOS端末2で実行された他の取引が免税条件から外れた場合、サーバ装置4から通知されたレジ番号に基づいて当該他のPOS端末2にアクセスする。そして、取消処理部304は、アクセスしたPOS端末2の取引管理ファイル262に記憶されている取引データのうち、免税条件から外れた取引番号の取引データの免税フラグを無効に設定する。 For example, if a transaction executed at another POS terminal 2 no longer satisfies the tax exemption conditions due to the execution of the cancellation process, the cancellation processing unit 304 accesses that other POS terminal 2 based on the register number notified by the server device 4. The cancellation processing unit 304 then invalidates the tax exemption flag for the transaction data with the transaction number that no longer satisfies the tax exemption conditions, among the transaction data stored in the transaction management file 262 of the accessed POS terminal 2.
これにより、POS端末2では、取り消し処理の実行により他のPOS端末2で実行された他の取引が免税条件から外れた場合、当該他の取引に係る取引データを自動で操作することができるため、利便性の向上を図ることができる。なお、取消処理部304は、取引データの操作に際し、オペレータの確認を促すための画面を表示部22に表示し、操作が指示された場合に、他の取引に係る取引データを操作する形態としてもよい。 As a result, if a transaction executed at another POS terminal 2 no longer meets the tax exemption conditions due to the execution of a cancellation process, the POS terminal 2 can automatically manipulate the transaction data related to that transaction, thereby improving convenience. Note that the cancellation processing unit 304 may also be configured to display a screen on the display unit 22 prompting the operator for confirmation when manipulating the transaction data, and manipulate the transaction data related to the other transaction when instructed to do so.
本実施形態及びその変形の販売データ処理装置で使用する各種プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD-ROM、フレキシブルディスク(FD)、CD-R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供し、販売データ処理装置のHDDやフラッシュROM等に読み込ませて実行してもよい。 The various programs used in the sales data processing device of this embodiment and its variations may be provided as installable or executable files recorded on a computer-readable recording medium such as a CD-ROM, flexible disk (FD), CD-R, or DVD (Digital Versatile Disk), and may be loaded and executed on the sales data processing device's HDD, flash ROM, etc.
また、当該プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。 The program may also be stored on a computer connected to a network such as the Internet and provided by downloading it via the network.
以上の各実施形態及びその変形において、販売データ処理装置及びプログラムについての構成を説明したが、実施形態及びその変形は、例として提示したものであり、発明の範囲を限定することは意図していない。この新規な実施形態及び変形は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 In the above embodiments and variations thereof, the configuration of the sales data processing device and program have been described, but the embodiments and variations thereof are presented as examples and are not intended to limit the scope of the invention. These new embodiments and variations may be embodied in a variety of other forms, and various omissions, substitutions, and modifications may be made without departing from the spirit of the invention. These embodiments and variations thereof are included within the scope and spirit of the invention, as well as within the scope of the invention and its equivalents as set forth in the claims.
1 POSシステム
2 POS端末
3 ネットワーク
4 サーバ装置
301 登録部
302 免税処理部
303 決済処理部
304 取消処理部
305 表示出力部
306 印字出力部
401 免税条件判定部
402 データ管理部
REFERENCE SIGNS LIST 1 POS system 2 POS terminal 3 Network 4 Server device 301 Registration unit 302 Tax exemption processing unit 303 Settlement processing unit 304 Cancellation processing unit 305 Display output unit 306 Print output unit 401 Tax exemption condition determination unit 402 Data management unit
Claims (6)
商品を識別可能な商品識別情報を取得する第1取得手段と、
ユーザを識別可能なユーザ識別情報を取得する第2取得手段と、
免税取引の宣言を行う免税宣言手段と、
前記免税宣言手段による免税取引の宣言があった場合に、前記第1取得手段が取得した前記商品識別情報の各々に対応する商品の合計額と、前記サーバ装置に記憶された、前記第2取得手段が取得した前記ユーザ識別情報に係る他の免税取引の合計額とに基づき、当該免税取引が税金を免除する免税制度の条件を満たすか否かを判定する判定手段と、
前記判定手段の判定結果に応じて、税金を免除した税抜き価格又は税金を含んだ税込み価格で、前記商品識別情報の各々に対応する商品の決済処理を実行する決済手段と、
前記決済手段で決済された免税取引の取引データを、当該免税取引の取引識別情報と、前記第2取得手段が取得した前記ユーザ識別情報と関連付けて前記サーバ装置に記憶する記憶手段と、
前記免税取引又は前記免税取引で決済された商品の取り消し指示を受け付け、前記取り消し指示に応じた取り消し処理を、処理対象の取引データに実行する取消手段と、
前記取消手段が実行する前記取り消し処理により、前記免税制度の条件から外れる他の免税取引が前記サーバ装置に存在する場合に、当該他の免税取引に関する情報を出力する第1出力制御手段と、
を備える販売データ処理装置。 A sales data processing device connected via a network to a server device that stores transaction data indicating a breakdown of tax-free transactions performed in each of a plurality of sales data processing devices, transaction identification information that can identify the tax-free transactions, and user identification information that can identify the users who performed the tax-free transactions, in association with each other;
a first acquisition means for acquiring product identification information capable of identifying a product;
a second acquiring means for acquiring user identification information capable of identifying a user;
a tax exemption declaration instrument for declaring tax exempt transactions;
a determination means for determining, when a tax-free transaction is declared by the tax-free declaration means, whether or not the tax-free transaction satisfies the conditions of a tax-free system for exempting tax, based on the total price of the products corresponding to each of the product identification information acquired by the first acquisition means and the total price of other tax-free transactions related to the user identification information acquired by the second acquisition means, which are stored in the server device;
a payment means for executing payment processing for the product corresponding to each of the product identification information at a tax-exempt price or a tax-inclusive price according to the determination result of the determination means;
a storage means for storing transaction data of the tax-free transaction settled by the payment means in the server device in association with transaction identification information of the tax-free transaction and the user identification information acquired by the second acquisition means;
a cancellation means for receiving a cancellation instruction for the tax-free transaction or the product paid for in the tax-free transaction, and executing a cancellation process in accordance with the cancellation instruction on the transaction data to be processed;
a first output control means for outputting information on another tax-free transaction that does not satisfy the conditions of the tax-free system when the server device detects another tax-free transaction that does not satisfy the conditions of the tax-free system due to the cancellation process executed by the cancellation means;
A sales data processing device comprising:
前記第1出力制御手段は、前記免税制度の条件から外れる他の免税取引に関する情報として、当該他の免税取引が行われた前記販売データ処理装置の装置識別情報を出力する、請求項2又は3に記載の販売データ処理装置。 the server device stores the transaction data indicating the breakdown of the tax-free transaction in association with device identification information capable of identifying the sales data processing device in which the tax-free transaction was made;
4. The sales data processing device according to claim 2, wherein the first output control means outputs device identification information of the sales data processing device in which the other tax-free transaction was conducted as information regarding the other tax-free transaction that does not meet the conditions of the tax-free system.
商品を識別可能な商品識別情報を取得する第1取得手段と、
ユーザを識別可能なユーザ識別情報を取得する第2取得手段と、
免税取引の宣言を行う免税宣言手段と、
前記免税宣言手段による免税取引の宣言があった場合に、前記第1取得手段が取得した前記商品識別情報の各々に対応する商品の合計額と、前記サーバ装置に記憶された、前記第2取得手段が取得した前記ユーザ識別情報に係る他の免税取引の合計額とに基づき、当該免税取引が税金を免除する免税制度の条件を満たすか否かを判定する判定手段と、
前記判定手段の判定結果に応じて、税金を免除した税抜き価格又は税金を含んだ税込み価格で、前記商品識別情報の各々に対応する商品の決済処理を実行する決済手段と、
前記決済手段で決済された免税取引の取引データを、当該免税取引の取引識別情報と、前記第2取得手段が取得した前記ユーザ識別情報と関連付けて前記サーバ装置に記憶する記憶手段と、
前記免税取引又は前記免税取引で決済された商品の取り消し指示を受け付け、前記取り消し指示に応じた取り消し処理を、処理対象の取引データに実行する取消手段と、
前記取消手段が実行する前記取り消し処理により、前記免税制度の条件から外れる他の免税取引が前記サーバ装置に存在する場合に、当該他の免税取引に関する情報を出力する第1出力制御手段と、
して機能させるためのプログラム。 A computer of the sales data processing device connected via a network to a server device that stores transaction data indicating a breakdown of tax-free transactions performed by each of a plurality of sales data processing devices, transaction identification information that can identify the tax-free transactions, and user identification information that can identify the users who performed the tax-free transactions, in association with each other;
a first acquisition means for acquiring product identification information capable of identifying a product;
a second acquiring means for acquiring user identification information capable of identifying a user;
a tax exemption declaration instrument for declaring tax exempt transactions;
a determination means for determining, when a tax-free transaction is declared by the tax-free declaration means, whether or not the tax-free transaction satisfies the conditions of a tax-free system for exempting tax, based on the total price of the products corresponding to each of the product identification information acquired by the first acquisition means and the total price of other tax-free transactions related to the user identification information acquired by the second acquisition means, which are stored in the server device;
a payment means for executing payment processing for the product corresponding to each of the product identification information at a tax-exempt price or a tax-inclusive price according to the determination result of the determination means;
a storage means for storing transaction data of the tax-free transaction settled by the payment means in the server device in association with transaction identification information of the tax-free transaction and the user identification information acquired by the second acquisition means;
a cancellation means for receiving a cancellation instruction for the tax-free transaction or the product paid for in the tax-free transaction, and executing a cancellation process in accordance with the cancellation instruction on the transaction data to be processed;
a first output control means for outputting information on another tax-free transaction that does not satisfy the conditions of the tax-free system when the server device detects another tax-free transaction that does not satisfy the conditions of the tax-free system due to the cancellation process executed by the cancellation means;
A program to make it function as such.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022098274A JP7744879B2 (en) | 2022-06-17 | 2022-06-17 | Sales data processing device and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022098274A JP7744879B2 (en) | 2022-06-17 | 2022-06-17 | Sales data processing device and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023184235A JP2023184235A (en) | 2023-12-28 |
| JP7744879B2 true JP7744879B2 (en) | 2025-09-26 |
Family
ID=89333767
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022098274A Active JP7744879B2 (en) | 2022-06-17 | 2022-06-17 | Sales data processing device and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7744879B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017194749A (en) | 2016-04-18 | 2017-10-26 | 株式会社寺岡精工 | Commodity sales data processing device and program |
| JP2019053777A (en) | 2018-12-19 | 2019-04-04 | 東芝テック株式会社 | Commodity sales data processor and program |
| JP2021057085A (en) | 2021-01-14 | 2021-04-08 | 日本電気株式会社 | Tax exemption processing apparatus, tax exemption processing method, and program |
| JP2022009074A (en) | 2015-06-30 | 2022-01-14 | 東芝テック株式会社 | Information processor, program and processing method |
| JP2022185299A (en) | 2021-06-02 | 2022-12-14 | 株式会社寺岡精工 | Item sales data processor and item sales data processing method |
-
2022
- 2022-06-17 JP JP2022098274A patent/JP7744879B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2022009074A (en) | 2015-06-30 | 2022-01-14 | 東芝テック株式会社 | Information processor, program and processing method |
| JP2017194749A (en) | 2016-04-18 | 2017-10-26 | 株式会社寺岡精工 | Commodity sales data processing device and program |
| JP2019053777A (en) | 2018-12-19 | 2019-04-04 | 東芝テック株式会社 | Commodity sales data processor and program |
| JP2021057085A (en) | 2021-01-14 | 2021-04-08 | 日本電気株式会社 | Tax exemption processing apparatus, tax exemption processing method, and program |
| JP2022185299A (en) | 2021-06-02 | 2022-12-14 | 株式会社寺岡精工 | Item sales data processor and item sales data processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023184235A (en) | 2023-12-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7772766B2 (en) | Information processing device and program | |
| JP7678180B2 (en) | Sales data processing device and program | |
| JP7156870B2 (en) | Payment device and information processing program | |
| US20210312434A1 (en) | Server, information processing device, settlement system, and method | |
| JP2025100690A (en) | Sales data processing device and program | |
| JP7744879B2 (en) | Sales data processing device and program | |
| JP2018147403A (en) | Sales data processing apparatus and program | |
| JP2006072810A (en) | Product sales data processing device | |
| JP5562913B2 (en) | Merchandise sales data processing apparatus and receipt details search program | |
| JP2025079396A (en) | Product sales data processing device and program | |
| JP7189265B2 (en) | POS terminal and program | |
| JP2003281632A (en) | Sales data processor | |
| JP5497848B2 (en) | Product registration device and program | |
| JP5764701B2 (en) | Commerce processing apparatus and receipt details search program | |
| JP6766223B2 (en) | Check-out system, questionnaire method | |
| JP7847096B2 (en) | Sales data processing device and program | |
| JP7646779B2 (en) | Payment device and control program thereof | |
| JP7684160B2 (en) | Information processing device, registration system, and program | |
| JP7673307B2 (en) | Product sales data processing device and program | |
| JP7394107B2 (en) | Product sales data processing device and program | |
| JP6816233B2 (en) | Product data processing equipment and programs | |
| JP2018166009A (en) | Information processing apparatus and information processing program | |
| JP7401188B2 (en) | Product sales data processing device and control program | |
| JP6382389B2 (en) | Information processing apparatus and information processing program | |
| JP3662005B2 (en) | Service point grant apparatus, service point grant method, and service point grant program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20241206 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250822 |
|
| 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: 20250902 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250912 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7744879 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |