JP2023184235A - Sales data processing device and program - Google Patents

Sales data processing device and program Download PDF

Info

Publication number
JP2023184235A
JP2023184235A JP2022098274A JP2022098274A JP2023184235A JP 2023184235 A JP2023184235 A JP 2023184235A JP 2022098274 A JP2022098274 A JP 2022098274A JP 2022098274 A JP2022098274 A JP 2022098274A JP 2023184235 A JP2023184235 A JP 2023184235A
Authority
JP
Japan
Prior art keywords
tax
transaction
tax exemption
free
cancellation
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.)
Pending
Application number
JP2022098274A
Other languages
Japanese (ja)
Inventor
裕史 島田
Yasushi Shimada
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2022098274A priority Critical patent/JP2023184235A/en
Publication of JP2023184235A publication Critical patent/JP2023184235A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a sales data processing device and a program which enable a transaction that fall outside a tax exemption condition to be easily confirmed.SOLUTION: A sales data processing device according to an embodiment receives a cancellation instruction for a tax exemption transaction or a commodity settled in the tax exemption transaction, executes cancellation processing in accordance with the cancellation instruction for transaction data targeted for processing, and when there is another tax exemption transaction that falls outside a condition for a tax exemption system because of the cancellation processing, outputs information concerning the other tax exemption transaction.SELECTED DRAWING: Figure 11

Description

本発明の実施形態は、販売データ処理装置及びプログラムに関する。 Embodiments of the present invention relate to a sales data processing device and a program.

従来、輸出物品販売場(免税店)を経営する事業者が外国人旅行者等の非居住者に対して商品や役務等の販売対象を販売する場合に、販売対象に係る消費税等の税金を免除するいわゆる免税制度が存在する。免税は、同一日に同一店舗で同一の非居住者が購入する商品が対象となる。免税の対象は、一般物品及び消耗品の何れか一方又は両方の合計額が5000円以上となることを条件としている。 Traditionally, when a business that operates an export goods sales floor (duty-free shop) sells goods, services, etc. to non-residents such as foreign tourists, taxes such as consumption tax related to the sales object have to be paid. There is a so-called tax exemption system that exempts Tax exemption applies to products purchased by the same non-resident at the same store on the same day. To be eligible for tax exemption, the total amount of general goods and/or consumables must be 5,000 yen or more.

免税に係る取引は、免税電子化機能が導入されたPOS端末等の販売データ処理装置で行われており、取引の内訳を示す取引データが販売データ処理装置に保持される。また、販売データ処理装置では、取引の取り消しや商品の返品を行うことも可能となっており、処理内容に応じて取引データの削除やレジマイナス等の取り消し処理が行われる。 Transactions related to tax exemption are performed in a sales data processing device such as a POS terminal equipped with a tax exemption electronic function, and transaction data indicating details of the transaction is held in the sales data processing device. In addition, the sales data processing device also allows cancellation of transactions and return of products, and cancellation processing such as deletion of transaction data and cash register minus is performed depending on the processing contents.

また、免税店によっては、販売データ処理装置を複数備える免税店も存在する。この場合、販売データ処理装置の各々は、自機の販売データ処理装置で行われた免税に係る取引の取引データをローカルに記憶するとともに、ネットワーク接続されたサーバに記憶することも行われている。係る構成では、販売データ処理装置の各々は、免税に係る取引を行う場合に、当該取引の合計額と、サーバに記憶された同一の非居住者に係る他の取引の合計額とに基づき、当該取引が免税条件を満たすか否かを判定することができる。 Furthermore, some duty-free shops are equipped with a plurality of sales data processing devices. In this case, each of the sales data processing devices locally stores transaction data of tax exemption transactions performed by the sales data processing device of its own device, and also stores it in a server connected to the network. . In such a configuration, when each sales data processing device performs a transaction related to tax exemption, based on the total amount of the transaction and the total amount of other transactions related to the same non-resident stored in the server, It is possible to determine whether the transaction satisfies the tax exemption conditions.

ところで、免税に係る取引の取り消しや商品の返品等が行われた場合には、合計額も変化することになる。例えば、同一の非居住者が同一店舗の異なる販売データ処理装置で行った複数の取引のうち、一の取引の取り消しにより合計額が5000円未満となった場合、他の取引は免税条件から外れることになる。 By the way, if a transaction related to tax exemption is canceled or a product is returned, the total amount will also change. For example, among multiple transactions conducted by the same non-resident using different sales data processing devices at the same store, if one transaction is canceled and the total amount is less than 5,000 yen, the other transactions will not be eligible for tax exemption. It turns out.

この場合、オペレータは、免税条件から外れた他の取引の取引データを免税対象から外す等の操作を行う必要があるが、取り消し処理を行う販売データ処理装置では、免税条件から外れた他の取引を容易に確認することができず、利便性の上で更なる改善の余地がある。 In this case, the operator needs to perform operations such as removing the transaction data of other transactions that fall outside the tax exemption conditions from tax exemption, but the sales data processing device that performs the cancellation process cannot be easily checked, and there is room for further improvement in terms of convenience.

例えば、販売データ処理装置で行われた取り消し処理により、他の販売データ処理装置に記憶された他の取引の取引データが免税条件から外れた場合、その取引データを操作することになるが、オペレータは免税条件から外れた取引を容易に確認できず、対応が遅れる可能性がある。そのため、販売データ処理装置に記憶された取引データと、サーバに記憶された取引データとの間で取引内容に差異が発生する可能性があった。 For example, if the transaction data of another transaction stored in another sales data processing device falls outside of the tax exemption conditions due to cancellation processing performed by the sales data processing device, the operator will be required to manipulate that transaction data. It may not be possible to easily confirm transactions that fall outside of the tax exemption conditions, which may result in a delay in response. Therefore, there is a possibility that a difference may occur in the transaction details between the transaction data stored in the sales data processing device and the transaction data stored in the server.

本発明が解決しようとする課題は、免税条件から外れた取引を容易に確認することが可能な販売データ処理装置及びプログラムを提供することである。 The problem to be solved by the present invention is to provide a sales data processing device and a program that can easily confirm transactions that fall outside of tax exemption conditions.

実施形態の販売データ処理装置は、複数の販売データ処理装置の各々で行われた免税取引の内訳を示す取引データと、免税取引を識別可能な取引識別情報と、免税取引を行ったユーザを識別可能なユーザ識別情報とを関連付けて記憶するサーバ装置に、ネットワークを介して接続される販売データ処理装置であって、商品を識別可能な商品識別情報を取得する第1取得手段と、ユーザを識別可能なユーザ識別情報を取得する第2取得手段と、免税取引の宣言を行う免税宣言手段と、前記免税宣言手段による免税取引の宣言があった場合に、前記第1取得手段が取得した前記商品識別情報の各々に対応する商品の合計額と、前記サーバ装置に記憶された、前記第2取得手段が取得した前記ユーザ識別情報に係る他の免税取引の合計額とに基づき、当該免税取引が税金を免除する免税制度の条件を満たすか否かを判定する判定手段と、前記判定手段の判定結果に応じて、税金を免除した税抜き価格又は税金を含んだ税込み価格で、前記商品識別情報の各々に対応する商品の決済処理を実行する決済手段と、前記決済手段で決済された免税取引の取引データを、当該免税取引の取引識別情報と、前記第2取得手段が取得した前記ユーザ識別情報と関連付けて前記サーバ装置に記憶する記憶手段と、前記免税取引又は前記免税取引で決済された商品の取り消し指示を受け付け、前記取り消し指示に応じた取り消し処理を、処理対象の取引データに実行する取消手段と、前記取消手段が実行する前記取り消し処理により、前記免税制度の条件から外れる他の免税取引が前記サーバ装置に存在する場合に、当該他の免税取引に関する情報を出力する第1出力制御手段と、を備える。 The sales data processing device of the embodiment includes transaction data indicating a breakdown of tax-free transactions performed in each of the plurality of sales data processing devices, transaction identification information that can identify the tax-free transaction, and identification of the user who performed the tax-free transaction. A sales data processing device connected via a network to a server device that stores possible user identification information in association with the user identification information; a second acquisition means for acquiring possible user identification information; a tax exemption declaration means for declaring a tax-free transaction; and the product acquired by the first acquisition means when the tax exemption declaration means declares a tax-free transaction. The tax-free transaction is based on the total amount of products corresponding to each piece of identification information and the total amount of other tax-free transactions related to the user identification information acquired by the second acquisition means, which is stored in the server device. a determination means for determining whether the conditions of the tax exemption system for exempting the tax are met; and a determination means for determining whether the conditions for the tax exemption system are met; a payment means that executes the payment process for the product corresponding to each of the above, transaction data of the tax-free transaction settled by the payment means, transaction identification information of the tax-free transaction, and the user identification acquired by the second acquisition means. a storage means for storing information in the server device in association with the information; and receiving an instruction to cancel the tax-free transaction or a product settled for the tax-free transaction, and performs a cancellation process on the transaction data to be processed in accordance with the cancellation instruction. and a first output control for outputting information regarding another tax-exempt transaction that deviates from the conditions of the tax-exemption system when the server device has another tax-exempt transaction that deviates from the conditions of the tax exemption system due to the cancellation process executed by the canceling unit. and means.

図1は、実施形態に係るPOSシステムの概略構成図である。FIG. 1 is a schematic configuration diagram of a POS system according to an embodiment. 図2は、実施形態に係るサーバ装置のハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of the hardware configuration of the server device according to the embodiment. 図3は、実施形態に係る免税区分ファイルのデータ構成の一例を示す図である。FIG. 3 is a diagram showing an example of the data structure of the tax exemption classification file according to the embodiment. 図4は、実施形態に係る免税条件ファイルのデータ構成の一例を示す図である。FIG. 4 is a diagram showing an example of the data structure of the tax exemption condition file according to the embodiment. 図5は、実施形態に係る免税取引管理ファイルのデータ構成の一例を示す図である。FIG. 5 is a diagram illustrating an example of the data structure of the tax-exempt transaction management file according to the embodiment. 図6は、実施形態に係るPOS端末のハードウェア構成の一例を示す図である。FIG. 6 is a diagram illustrating an example of the hardware configuration of the POS terminal according to the embodiment. 図7は、実施形態に係る商品マスタファイルのデータ構成の一例を示す図である。FIG. 7 is a diagram showing an example of the data structure of the product master file according to the embodiment. 図8は、実施形態に係る取引管理ファイルのデータ構成の一例を示す図である。FIG. 8 is a diagram illustrating an example of the data structure of the transaction management file according to the embodiment. 図9は、実施形態に係るPOS端末及びサーバ装置の機能構成の一例を示す図である。FIG. 9 is a diagram illustrating an example of the functional configuration of a POS terminal and a server device according to the embodiment. 図10は、実施形態のPOSシステムを用いた取引の一例を模式的に示す図である。FIG. 10 is a diagram schematically showing an example of a transaction using the POS system of the embodiment. 図11は、実施形態に係る店員用レシートの一例を示す図である。FIG. 11 is a diagram illustrating an example of a clerk's receipt according to the embodiment. 図12は、実施形態のPOS端末が行う販売データ処理の一例を示すフローチャートである。FIG. 12 is a flowchart showing an example of sales data processing performed by the POS terminal of the embodiment. 図13は、実施形態のPOS端末2が行う取消処理の一例を示すフローチャートである。FIG. 13 is a flowchart showing an example of cancellation processing performed by the POS terminal 2 of the embodiment.

以下、添付図面を参照して、販売データ処理装置及びプログラムの実施形態を詳細に説明する。以下の実施形態では、係る販売データ処理装置及びプログラムを、輸出物品販売場(免税店)の店舗に設置されたPOS(Point Of Sales)端末へ適用した例を示す。また、実施形態では、販売対象として「商品」を例に説明するが、販売対象を商品に限定するものではない。販売対象を「役務」としてもよい。 Hereinafter, embodiments of a sales data processing device and a program will be described in detail with reference to the accompanying drawings. In the following embodiment, an example will be 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 area (duty free shop). Furthermore, in the embodiment, a "product" will be described as an example of a sales target, but the sales target is not limited to products. The object of sale may be "services."

図1は、実施形態に係るPOSシステム1の概略構成図である。POSシステム1は、図1に示すように、複数台のPOS端末2と、サーバ装置4とを備える。POS端末2とサーバ装置4とはLAN(Local Area Network)等のネットワーク3により接続される。 FIG. 1 is a schematic configuration diagram of a POS system 1 according to an embodiment. As shown in FIG. 1, the POS system 1 includes a plurality of POS terminals 2 and a server device 4. The POS terminal 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を備える。 FIG. 2 is a diagram showing an example of the hardware configuration of the server device 4. As shown in FIG. The server device 4 includes a control unit 400 having a computer configuration including a CPU (Central Processing Unit) 41, a ROM (Read Only Memory) 42, a RAM (Random Access Memory) 43, and the like.

制御部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 a plurality of POS terminals 2 via a communication I/F 50 and a network 3 (see FIG. 1). Further, a controller 44 is connected to the control unit 400 via a bus 49. A keyboard 45, a display section 46, and a printer 47 are connected to the controller 44. Further, an HDD (Hard Disk Drive) 48 is connected to the control unit 400 via a bus 49.

HDD48は、サーバ装置4に所定の動作を行わせる各種のプログラムを格納している。また、HDD48は、免税区分ファイル481、免税条件ファイル482及び免税取引管理ファイル483等のデータファイルを格納している。 The HDD 48 stores various programs that cause the server device 4 to perform predetermined operations. The HDD 48 also stores data files such as a tax exemption classification file 481, a tax exemption condition file 482, and a tax exemption transaction management file 483.

図3は、免税区分ファイル481のデータ構成の一例を示す図である。図3に示すように、免税区分ファイル481は、免税区分コードと免税区分名称とのデータ項目を有する。免税区分名称には、「一般物品」、「消耗品」、「免税対象外」を示すデータが設定されている。ここで「消耗品」は、食料品、飲料類、薬品類、化粧品類等の消耗品に係る免税対象品の区分を示すデータである。「一般物品」は、消耗品以外の通常生活の用に供する免税対象品の区分を示すデータである。「免税対象外」は免税非対象品の区分を示すデータである。図3の例では、「一般物品」に対応する免税区分コードには“01”が設定されている。「消耗品」に対応する免税区分コードには“02”が設定されている。「免税対象外」に対応する免税区分コードには“03”が設定されている。 FIG. 3 is a diagram showing an example of the data structure of the tax exemption classification file 481. As shown in FIG. 3, the tax exemption classification file 481 has data items of a tax exemption classification code and a tax exemption classification name. Data indicating "general goods," "consumables," and "not subject to tax exemption" is set in the tax exemption classification name. Here, "consumables" is data indicating the classification of tax-exempt items related to consumables such as foods, beverages, medicines, and cosmetics. "General goods" is data indicating the classification of tax-exempt goods used for everyday life other than consumables. “Not eligible for tax exemption” is data indicating the classification of items that are not eligible for tax exemption. In the example of FIG. 3, the tax exemption category code corresponding to "general goods" is set to "01". “02” is set as the tax exemption classification code corresponding to “consumables”. “03” is set as the tax exemption category code corresponding to “not eligible for tax exemption”.

図4は、免税条件ファイル482のデータ構成の一例を示す図である。図4に示すように、免税条件ファイル482は、免税区分コードと、免税条件とのデータ項目を有する。免税条件は、免税対象品が実際に免税の扱いになるための条件である。 FIG. 4 is a diagram showing an example of the data structure of the tax exemption condition file 482. As shown in FIG. 4, the tax exemption condition file 482 has data items of tax exemption category codes and tax exemption conditions. The tax exemption conditions are the conditions for a tax exempt item to actually be treated as tax exempt.

図4に示す例で、免税区分コード“01”の免税条件、つまり一般物品の免税条件は、同一店舗における1日の合計額(税抜)が5000円以上となっている。また、免税区分コード“02”の免税条件、つまり消耗品の免税条件は、同一店舗における1日の合計額(税抜)が5000円以上、500000円以下となっている。また、一般物品と消耗品のそれぞれの金額が5000円未満であったとしても、その合計額が5000円以上となる場合には、その一般物品を消耗品として取り扱うことで、免税区分コード“02”の免税条件を適用することが規定されているものとする。 In the example shown in FIG. 4, the tax exemption condition for the tax exemption category code "01", that is, the tax exemption condition for general goods, is that the total amount (excluding tax) in one day at the same store is 5000 yen or more. Further, the tax exemption conditions for the tax exemption classification code "02", that is, the tax exemption conditions for consumables, are such that the total amount (excluding tax) in one day at the same store is 5,000 yen or more and 500,000 yen or less. In addition, even if the amount of each of the general goods and consumables is less than 5,000 yen, if the total amount is 5,000 yen or more, the general goods can be treated as consumables and the tax exemption classification code "02" It shall be stipulated that the tax exemption conditions shall apply.

図5は、免税取引管理ファイル483のデータ構成の一例を示す図である。図5に示すように、免税取引管理ファイル483は、レジ番号、ユーザID、取引番号、取引内容、免税フラグ等のデータ項目を有する。 FIG. 5 is a diagram showing an example of the data structure of the tax-free transaction management file 483. As shown in FIG. 5, the tax exemption transaction management file 483 has data items such as a cash register number, user ID, transaction number, transaction details, and tax exemption flag.

レジ番号は、取引を行ったPOS端末2を識別可能な装置識別情報の一例である。本実施形態では、POS端末2の各々に固有のレジ番号が予め割り当てられているものとする。なお、POS端末2の識別情報はこれに限らず、例えば製造番号やIPアドレス等であってもよい。 The cash register number is an example of device identification information that can identify the POS terminal 2 that made the transaction. In this embodiment, it is assumed that each POS terminal 2 is assigned a unique cash register number in advance. Note that the identification information of the POS terminal 2 is not limited to this, and may be, for example, a serial number or an IP address.

ユーザIDは、取引を行ったユーザを識別可能なユーザ識別情報の一例である。ユーザIDは、ユーザとなる非居住者が所持するパスポートに記載された旅券番号や氏名等である。 The user ID is an example of user identification information that can identify the user who made the transaction. The user ID is a passport number, name, etc. written on a passport owned by a non-resident who is a 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 cash register number. The transaction number is issued, for example, by the POS terminal 2 that performs the transaction. In this embodiment, the transaction number is a unique number that does not overlap in each POS terminal 2, but the transaction number is not limited to this, and may be a unique number that does not overlap among POS terminals 2 having the same cash register number.

取引内容には、取引番号の取引で購入された商品の内訳を示す情報が格納される。例えば、取引内容には、ユーザが購入する商品の商品情報(商品コード、商品名、価格、免税区分コード等)や決済情報(合計額、預かり金額、釣銭額等)等の他、取引が行われた日時を示す日時情報等が含まれる。免税フラグは、取引番号に対応する取引が、免税条件を満たす取引か否かを識別するための2値情報である。免税フラグは、免税条件を満たす場合に有効(例えば“1”)に設定され、免税条件を満たさない場合に無効(例えば“0”)に設定される。 The transaction details include information indicating the details of the products purchased in the transaction specified by the transaction number. For example, the transaction details include product information (product code, product name, price, tax exemption category code, etc.) of the product the user purchases, payment information (total amount, deposit amount, change amount, etc.), etc. Contains date and time information indicating the date and time when the data was sent. The tax exemption flag is binary information for identifying whether the transaction corresponding to the transaction number satisfies the tax exemption conditions. The tax exemption flag is set to be valid (for example, "1") when the tax exemption conditions are met, and is set to invalid (for example, "0") when the tax exemption conditions are not met.

以下では、レジ番号、ユーザID、取引番号、取引内容、及び免税フラグの組を「免税取引データ」ともいう。また、免税取引データのうち、レジ番号及びユーザIDを除いた残りのデータの組を「取引データ」ともいう。 Hereinafter, the set of the register number, user ID, transaction number, transaction details, and tax exemption flag will also be referred to as "tax exemption transaction data." In addition, the set of tax-exempt transaction data remaining after excluding the cash register number and user ID is also 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 the transaction performed at the POS terminal 2 satisfies the tax exemption conditions based on the tax exemption condition file 482, and returns the determination result to the POS terminal 2. In addition, the control unit 400 of the server device 4 stores transaction data of tax-free transactions (hereinafter also referred to as tax-free transactions or simply transactions) performed at each of the POS terminals 2 in the tax-free transaction management file 483 as tax-free transaction data. Remember and manage. Note that in this embodiment, a tax-free transaction means a transaction in which a tax-free declaration key 211, which will be described later, is input, regardless of whether tax-free conditions are satisfied.

次に、POS端末2について説明する。POS端末2は、ユニークなレジ番号を割り振られて精算場所に配置されている。オペレータがPOS端末2を操作することで、POS端末2は、販売される商品の登録処理及び決済処理を実行する。 Next, the POS terminal 2 will be explained. The POS terminal 2 is assigned a unique register number and placed at the payment location. When the operator operates the POS terminal 2, the POS terminal 2 executes registration processing and payment processing for products to be sold.

登録処理は、販売される商品に付されたバーコード等のコードシンボルを光学的に読み取って商品コードに複合化し、その商品コードの商品名や価格等の商品情報を表示するとともに、商品コードを含む商品情報をRAM33等に記憶する処理をいう。決済処理は、登録処理に伴いRAM33等に記憶された商品情報に基づいて、合計額の表示、客から預かった預り金に基づいて釣銭を計算して表示する処理、釣銭の排出を釣銭機に指示する処理、商品情報や決済情報を印字したレシートを発行する処理等をいう。 The registration process optically reads code symbols such as barcodes attached to products to be sold, combines them into a product code, displays product information such as the product name and price of the product code, and also displays the product code. This refers to the process of storing the product information included in the RAM 33 or the like. The payment process includes displaying the total amount based on the product information stored in the RAM 33 etc. during the registration process, calculating and displaying change based on the deposit deposited by the customer, and discharging the change to the change machine. Refers to the process of giving instructions, the process of issuing a receipt with product information and payment information printed, etc.

図6は、POS端末2のハードウェア構成の一例を示す図である。図6に示すように、POS端末2は、CPU31、ROM32、RAM33等で構成されるコンピュータ構成の制御部300を備える。CPU31は、各種演算処理を実行し各部を制御する。ROM32は、固定データを固定的に記憶保存する。RAM33は、可変データを書き換え自在に記憶してワークエリアとして使用される。RAM33には、例えば商品から読み取った商品コードの商品情報を記憶する登録テーブルT等が形成される。CPU31とROM32とRAM33は、バス34を介して接続されている。 FIG. 6 is a diagram showing an example of the hardware configuration of the POS terminal 2. As shown in FIG. As shown in FIG. 6, the POS terminal 2 includes a control unit 300 having a computer configuration including a CPU 31, a ROM 32, a RAM 33, and the like. The CPU 31 executes various calculation processes and controls each section. The ROM 32 permanently stores fixed data. The RAM 33 stores variable data in a rewritable manner and is used as a work area. The RAM 33 is formed with, for example, a registration table T that stores product information of product codes read from products. 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 a keyboard 21, a display unit 22, a printer 23, a card reader/writer (R/W) 24, a scanner 25, a passport reader 27, etc. via a bus 34 and a controller 35.

キーボード21は、各種のキーをブロック毎に配列している。各種のキーは、例えば、商品コードや金額等を入力するための置数キーや、各種商品を指定するためのPLUキーや、置数キーによる置数入力を確定する確定キーや、クリアキー等である。また、キーボード21は、免税宣言キー211と、小計キー212と、締めキー213と、取消キー214を備える。 The keyboard 21 has various keys arranged in blocks. Various keys include, for example, a number key for inputting product codes, amounts, etc., a PLU key for specifying various products, a confirmation key for confirming number input using the number keys, a clear key, etc. It is. The keyboard 21 also includes a tax exemption declaration key 211, a subtotal key 212, a close key 213, and a cancel key 214.

免税宣言キー211は、免税取引の宣言を行うためのキーである。小計キー212は、合計額の算出を宣言するためのキーである。締めキー213は、販売処理において現金による締めを宣言するためのキーである。取消キー214は、登録した商品を取り消し、又は取引の取り消しを宣言するためのキーである。 The tax exemption declaration key 211 is a key for declaring tax exempt transactions. The subtotal key 212 is a key for declaring the calculation of the total amount. The closing key 213 is a key for declaring closing with cash in sales processing. The cancellation key 214 is a key for canceling a registered product or declaring cancellation of a transaction.

表示部22は、表示面上にタッチパネルが設けられた液晶ディスプレイ装置である。
スキャナ25は、商品に付されたバーコードや二次元コード等のコードシンボルを光学的に読み取る装置である。
The display unit 22 is a liquid crystal display device with a touch panel provided 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 held in a passport. For example, the passport reader 27 has an optical character recognition (OCR) function that optically reads a character string such as a passport number written on a passport.

また、制御部300には、バス34を介してストレージデバイスであるメモリ部26が接続されている。メモリ部26は、HDD(Hard Disc Drive)やフラッシュメモリ等で構成されており、電源を遮断しても記憶内容を保持する。メモリ部26には、CPU31が実行可能な各種のプログラムや、設定情報が記憶されている。また、メモリ部26には、商品マスタファイル261や、取引管理ファイル262等のデータファイルが記憶されている。 Further, a memory unit 26, which is a storage device, is connected to the control unit 300 via a bus 34. The memory unit 26 is composed of an HDD (Hard Disc Drive), a flash memory, etc., and retains the stored contents even if the power is cut off. The memory unit 26 stores various programs executable by the CPU 31 and 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で説明した免税区分コードに対応し、商品コードに対応する商品が、一般物品、消耗品及び免税対象外の何れに属するかを示すものである。 FIG. 7 is a diagram showing an example of the data structure of the product master file 261. As shown in FIG. 7, the product master file 261 has data items such as a product code, product name, price, and tax exemption classification code. Here, the product code is an example of product identification information that can identify each product. The product code is associated with data such as the product name, price, tax exemption category code, etc. as product information indicating 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 tax-excluded price of the product corresponding to the product code. The tax exemption category code corresponds to the tax exemption category code explained in FIG. 3, and indicates whether the product corresponding to the product code belongs to general goods, consumables, or non-tax exempt items.

図8は、取引管理ファイル262のデータ構成の一例を示す図である。図8に示すように、取引管理ファイル262は、取引番号、取引内容、免税フラグ、及び免税宣言キーフラグ等のデータ項目を有する。ここで、取引番号、取引内容及び免税フラグの組は、取引データに対応する。 FIG. 8 is a diagram showing an example of the data structure of the transaction management file 262. As shown in FIG. 8, the transaction management file 262 has data items such as a transaction number, transaction details, tax exemption flag, and tax exemption declaration key flag. Here, the 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 performed at the own POS terminal 2. The transaction details include product information showing details of the products purchased in the transaction corresponding to the transaction number, payment information, and the like. The tax exemption flag is binary information for identifying whether the transaction corresponding to the transaction number satisfies the tax exemption conditions.

免税宣言キーフラグは、免税宣言キーフラグが入力されたか否かを識別するための2値情報である。免税宣言キーフラグは、免税宣言キーフラグが入力された場合に有効(例えば“1”)に設定され、免税宣言キーフラグが入力された場合に無効(例えば“0”)に設定される。つまり、免税条件を満たす取引では、免税フラグ及び免税宣言キーフラグが有効に設定される。また、免税宣言キーが入力されたにも関わらず、免税条件を満たさない取引には、免税フラグが無効に設定され、免税宣言キーフラグが有効に設定される。また、通常の取引の場合には、免税フラグ及び免税宣言キーフラグが無効に設定される。 The tax exemption declaration key flag is binary information for identifying whether the tax exemption declaration key flag has been input. The tax exemption declaration key flag is set to be valid (for example, "1") when the tax exemption declaration key flag is input, and is set to invalid (for example, "0") when the tax exemption declaration key flag is input. That is, in a transaction that satisfies the tax exemption conditions, the tax exemption flag and the tax exemption declaration key flag are set to be valid. Furthermore, for transactions that do not satisfy the tax exemption conditions even though the tax exemption declaration key has been input, the tax exemption flag is set to invalid and the tax exemption declaration key flag is set to valid. Further, in the case of a normal transaction, the tax exemption flag and the tax exemption declaration key flag are set to be invalid.

なお、免税取引の場合、POS端末2は、ユーザのパスポートからユーザIDを取得することになるが、取得したユーザIDを、該当する取引番号に関連付けて取引管理ファイル262に記憶してもよい。 In the case of a tax-free transaction, the POS terminal 2 acquires a user ID from the user's passport, but the acquired user ID may be stored in the transaction management file 262 in association with the corresponding transaction number.

図6に戻り、さらに、制御部300には、バス34を介して、通信インタフェース(I/F)28が接続されている。通信インタフェース28は、ネットワーク3を介して上位装置であるサーバ装置4とデータ通信を行う。 Returning to FIG. 6, a communication interface (I/F) 28 is further connected to the control unit 300 via a bus 34. The communication interface 28 performs data communication with the server device 4, which is a host device, via the 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 the keyboard 21, display unit 22, printer 23, card reader/writer 24, scanner 25, memory unit 26, passport reader 27, It controls each part such as the communication I/F 28 and performs predetermined processing.

次に、POS端末2及びサーバ装置4の機能構成について説明する。図9は、POS端末2及びサーバ装置4の機能構成の一例を示す図である。 Next, the functional configurations of the POS terminal 2 and the server device 4 will be explained. FIG. 9 is a diagram showing an example of the functional configuration of the POS terminal 2 and the server device 4. As shown in FIG.

図9に示すように、POS端末2は、登録部301と、免税処理部302と、決済処理部303と、取消処理部304と、表示出力部305と、印字出力部306とを備える。 As shown in FIG. 9, the POS terminal 2 includes a registration section 301, a tax exemption processing section 302, a payment processing section 303, a cancellation processing section 304, a display output section 305, and a print output section 306.

POS端末2が備える機能構成の一部又は全ては、POS端末2のプロセッサ(例えばCPU31)とメモリ(例えばROM32、メモリ部26)に記憶されたプログラムとの協働により実現されるソフトウェア構成であってもよい。また、POS端末2が備える機能構成の一部又は全ては、POS端末2に搭載された専用回路等で実現されるハードウェア構成であってもよい。 A part or all of the functional configuration of the POS terminal 2 is a software configuration realized by cooperation between the processor of the POS terminal 2 (e.g., CPU 31) and the program stored in the memory (e.g., ROM 32, memory unit 26). You can. Further, part or all of the functional configuration provided in the POS terminal 2 may be a hardware configuration realized by a dedicated circuit 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 unit. The registration unit 301 registers product codes, product information, etc. of products 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. Further, the registration unit 301 obtains product information from the product master file 261 based on the product code, and registers the obtained product information in the registration table T of 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 means, a tax exemption declaration means, and a determination means. The tax exemption processing unit 302 declares a tax exemption transaction in response to input from 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 acquires a user ID such as a passport number read by the passport reader 27. In addition, the tax exemption processing unit 302 transmits a condition determination request including the user ID and information based on the product information registered in the registration table T to the server device 4, and determines the determination result of whether or not the tax exemption condition is satisfied. is acquired from the server device 4. 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 the POS terminal 2 of the own device satisfies the tax exemption conditions.

免税条件が成立する場合、免税処理部302は、決済処理部303と協働することで、消費税等を免除した税引き価格で決済処理(以下、免税処理ともいう)を実行する。具体的には、免税処理部302は、登録テーブルTに登録された商品情報のうち、免税条件が成立すると判定された、免税区分コードが“01”、“02”を含む商品情報について免税処理を実行させる。また、免税条件が不成立の場合、免税処理部302は、消費税等を含めた税込み価格で決済処理を行わせる。 When the tax exemption conditions are met, the tax exemption processing unit 302 cooperates with the payment processing unit 303 to execute payment processing (hereinafter also referred to as tax exemption processing) using a tax-exempt price that is exempt from consumption tax and the like. Specifically, the tax exemption processing unit 302 performs tax exemption processing on product information whose tax exemption classification code is “01” or “02” and which is determined to meet the tax exemption conditions among the product information registered in the registration table T. Execute. Further, if the tax exemption condition is not satisfied, the tax exemption processing unit 302 causes the payment process to be performed at a tax-inclusive price including consumption tax and the like.

なお、免税処理部302は、登録テーブルTに登録された商品情報のうち、免税区分コードが“01”、“02”の商品情報を条件判定要求として送信してもよい。また、免税処理部302は、登録テーブルTに登録された商品情報のうち、免税区分コードが“01”、“02”の商品情報に基づき、一般物品と消耗品とのそれぞれで集計した商品の合計額を条件判定要求として送信してもよい。 Note that the tax exemption processing unit 302 may transmit product information whose tax exemption classification codes are "01" and "02" among the product information registered in the registration table T as a condition determination request. In addition, the tax exemption processing unit 302 calculates the total amount of products for general goods and consumables based on the product information with tax exemption classification codes "01" and "02" among the product information registered in the registration table T. The total amount may be sent as a condition determination request.

決済処理部303は、決済手段及び記憶手段の一例である。決済処理部303は、締めキー213の入力に応じて、登録テーブルTに登録された商品情報に基づき、当該商品の決済処理を行う。また、決済処理部303は、決済処理が完了すると、その決済処理に係る取引の取引データを、取引管理ファイル262に記憶する。 The payment processing unit 303 is an example of a payment means and a storage means. The payment processing unit 303 performs payment processing for the product based on the product information registered in the registration table T in response to the input of the closing key 213. Furthermore, upon completion of the payment process, the payment processing unit 303 stores transaction data of the transaction related to the payment process in the transaction management file 262.

また、決済処理部303は、免税処理部302と協働することで、消費税等を免除した税抜き価格で決済処理(免税処理)を行う。この場合、決済処理部303は、免税フラグ及び免税宣言キーフラグを有効に設定した取引データを取引管理ファイル262に記憶する。また、決済処理部303は、免税宣言キー211が入力された場合であっても、税込み価格で決済処理を行った場合には、免税フラグを無効に設定し、免税宣言キーフラグを有効に設定した取引データを取引管理ファイル262に記憶する。なお、決済処理部303は、通常の取引で決済処理を行った場合には、免税フラグ及び免税宣言キーフラグを無効に設定した取引データを取引管理ファイル262に記憶する。 Further, the payment processing unit 303 cooperates with the tax exemption processing unit 302 to perform payment processing (tax exemption processing) at a tax-exempt price that is exempt from consumption tax and the like. In this case, the payment processing unit 303 stores transaction data in which the tax exemption flag and the tax exemption declaration key flag are set to valid in the transaction management file 262. In addition, even if the tax exemption declaration key 211 is input, the payment processing unit 303 disables the tax exemption flag and enables the tax exemption declaration key flag when the payment process is performed at a tax-included price. Transaction data is stored in transaction management file 262. Note that when the payment processing unit 303 performs the payment processing as a normal transaction, the payment processing unit 303 stores transaction data in which the tax exemption flag and the tax exemption declaration key flag are set to invalid in the transaction management file 262.

また、決済処理部303は、免税宣言キーフラグを有効に設定した場合、その取引の取引データをサーバ装置4に記憶するため、当該取引データを、自機のPOS端末2のレジ番号、及び取引を行ったユーザのユーザID等とともにサーバ装置4に送信する。 In addition, when the tax exemption declaration key flag is set to valid, the payment processing unit 303 stores the transaction data of the transaction in the server device 4. The information is sent to the server device 4 together with the user ID of the user who made the request.

取消処理部304は、取消手段及び第1出力制御手段の一例である。取消処理部304は、取消キー214が入力された場合に、別途入力される取り消し内容を指示する操作に応じて、取引の取り消しや、商品の返品等の取り消し処理を実行する。具体的には、取消処理部304は、処理対象の取引に係る取引番号が入力されると、当該取引番号に対応する取引データを取引管理ファイル262から特定する。次いで、取消処理部304は、特定した取引データに基づき、取り消し内容に応じた取り消し処理を実行する。例えば、取消処理部304は、取引自体を取り消す場合、処理対象となる取引データを取引管理ファイル262から消去したり、別の管理ファイルに移動させたりする。また、例えば、取消処理部304は、商品の取り消し(返品)を行う場合、処理対象となる取引データから取り消し対象の商品の商品コードを削除するレジマイナス処理を実行する。 The cancellation processing unit 304 is an example of a cancellation unit and a first output control unit. 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 response to a separately input operation instructing cancellation details. Specifically, when the transaction number related to the transaction to be processed is input, the cancellation processing unit 304 identifies 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 details based on the specified transaction data. For example, when canceling the transaction itself, the cancellation processing unit 304 deletes the transaction data to be processed from the transaction management file 262 or moves it to another management file. Further, for example, when canceling (returning) a product, the cancellation processing unit 304 executes a cash register minus process to delete the product code of the product to be canceled from the transaction data to be processed.

また、取消処理部304は、取引管理ファイル262から特定した取引データが免税取引の場合、その取引データの取引番号と取り消し内容とを含んだ条件判定要求をサーバ装置4に送信する。そして、取消処理部304は、取り消し処理後に免税条件が成立するか否かの判定結果をサーバ装置4から取得し、当該判定結果に基づいて、取り消し処理後に免税条件が成立するか否か判定する。 Further, when the transaction data specified from the transaction management file 262 is a tax-free transaction, the cancellation processing unit 304 transmits a condition determination request including the transaction number of the transaction data and cancellation details to the server device 4. Then, the cancellation processing unit 304 obtains the determination result as to whether the tax exemption condition is satisfied after the cancellation process from the server device 4, and determines whether the tax exemption condition is satisfied after the cancellation process based on the determination result. .

例えば、取引自体を取り消す場合、取消処理部304は、取り消し対象の取引番号と取引の取り消しとを指示した条件判定要求をサーバ装置4に送信する。また、例えば、特定の取引で購入された特定の商品の返品処理を行う場合、取消処理部304は、当該取引の取引番号と、返品対象の商品の商品コード又は商品情報と、商品の取り消しとを指示した条件判定要求をサーバ装置4に送信する。 For example, when canceling the transaction itself, the cancellation processing unit 304 transmits to the server device 4 a condition determination request specifying the transaction number to be canceled and cancellation of the transaction. For example, when performing return processing for a specific product purchased in a specific transaction, the cancellation processing unit 304 includes the transaction number of the transaction, the product code or product information of the product to be returned, and the cancellation information of the product. A condition determination request with instructions is sent to the server device 4.

ここで、取り消し処理後も免税条件が成立する場合、取消処理部304は、特定した取引データに取り消し処理を実行する。そして、取消処理部304は、取り消し内容の実行を指示した指示情報をサーバ装置4に送信する。 Here, if the tax exemption condition still holds after the cancellation process, the cancellation processing unit 304 executes the cancellation process on the specified transaction data. Then, the cancellation processing unit 304 transmits instruction information instructing execution of the cancellation contents to the server device 4.

また、取り消し処理後に免税条件が不成立となる場合、取消処理部304は、免税条件が不成立となることを報知する確認画面を表示部22に表示させる。確認画面を表示した後、取り消し処理の実行が指示された場合には、特定した取引データに基づき、取り消し処理を実行する。 Further, if the tax exemption condition is not satisfied after the cancellation process, the cancellation processing unit 304 causes the display unit 22 to display a confirmation screen notifying that the tax exemption condition is not satisfied. After displaying the confirmation screen, if execution of the cancellation process is instructed, the cancellation process is executed based on the specified transaction data.

さらに、取消処理部304は、免税条件の不成立に伴い、免税条件から外れる他の取引が存在するか否かを判定し、存在する場合には、免税条件から外れる他の取引に関する情報を表示出力部305や印字出力部306を介して出力する。ここで、他の取引に関する情報は、該当する取引の取引番号や、当該取引を行ったPOS端末2のレジ番号、取引の合計額等、免税条件から外れる他の取引を特定可能な情報とすることが好ましい。なお、本実施形態では、取消処理部304は、サーバ装置4から免税条件不成立の判定結果とともに送信される他の取引に関する情報を基に、免税条件から外れる他の取引が存在するか否かを判定する。 Further, the cancellation processing unit 304 determines whether or not there is another transaction that falls outside the tax exemption condition due to the failure of the tax exemption condition, and if there is, displays and outputs information regarding the other transaction that falls outside the tax exemption condition. The information is outputted via the section 305 and the printout section 306. Here, information regarding other transactions is information that can identify other transactions that are outside the tax exemption conditions, such as the transaction number of the relevant transaction, the cash register number of the POS terminal 2 that conducted the transaction, and the total amount of the transaction. It is preferable. In the present embodiment, the cancellation processing unit 304 determines whether there are other transactions that fall outside of the tax exemption conditions, based on information regarding other transactions that is transmitted from the server device 4 together with the determination result that the tax exemption conditions are not satisfied. judge.

表示出力部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 causes the display unit 22 to display an operation screen for supporting the operation of the POS terminal 2. Further, the display output unit 305 causes the display unit 22 to display information regarding each registered product based on the data registered in the registration table T. In addition, the display output unit 305 cooperates with the tax exemption processing unit 302 to cause the display unit 22 to display the determination result of the tax exemption conditions and to display information regarding 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 cooperates with the payment processing unit 303 to output information indicating transaction details to the printer 23 and instruct the printer 23 to issue a receipt. In addition, the print output unit 306 cooperates 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 the printer 23 to issue a receipt. In the following, in order to distinguish it from a receipt for a customer on which transaction details are printed, a receipt on which information on a transaction outside the tax exemption conditions is printed is also referred to as a "receipt for a clerk."

一方、サーバ装置4は、免税条件判定部401と、データ管理部402とを備える。 On the other hand, the server device 4 includes a tax exemption condition determination section 401 and a data management section 402.

サーバ装置4が備える機能構成の一部又は全ては、サーバ装置4のプロセッサ(例えばCPU41)とメモリ(例えばROM42、HDD48)に記憶されたプログラムとの協働により実現されるソフトウェア構成であってもよい。また、サーバ装置4が備える機能構成の一部又は全ては、サーバ装置4に搭載された専用回路等で実現されるハードウェア構成であってもよい。 Part or all of the functional configuration provided by the server device 4 may be a software configuration realized by cooperation between the processor of the server device 4 (e.g., CPU 41) and the program stored in the memory (e.g., ROM 42, HDD 48). good. Further, a part or all of the functional configuration provided in the server device 4 may be a hardware configuration realized by a dedicated circuit installed in the server device 4 or the like.

免税条件判定部401は、免税条件ファイル482に基づき、POS端末2の各々で行われる免税取引が免税条件を満たすか否かを判定する。具体的には、免税条件判定部401は、POS端末2から送信される条件判定要求に応じて、当該条件判定要求で示された取引の内容が免税条件を満たすか否かを判定し、その判定結果をPOS端末2に返信する。 Based on the tax exemption condition file 482, the tax exemption condition determination unit 401 determines whether the tax exemption transaction performed at each POS terminal 2 satisfies the tax exemption condition. Specifically, in response to a condition determination request transmitted from the POS terminal 2, the tax exemption condition determination unit 401 determines whether the details of the transaction indicated in the condition determination request satisfy the tax exemption conditions, and The determination result is returned to the POS terminal 2.

例えば、免税条件判定部401は、条件判定要求に商品情報が含まれる場合、当該商品情報に含まれた免税区分コード“01”、“02”の商品の合計額を算出し、当該合計額が免税条件ファイル482の免税条件を満たすか否かを判定する。また、免税条件判定部401は、条件判定要求に含まれたユーザIDに基づいて、当該ユーザIDを含む免税取引データを免税取引管理ファイル483から検索する。そして、免税条件判定部401は、検索した免税取引データの合計額と、条件判定要求に含まれた商品情報の合計額との総和が、免税条件ファイル482の免税条件を満たすか否かを判定する。なお、免税条件判定部401は、条件判定要求を受信した日付と同日の取引日時の免税取引データを検索対象とする。 For example, if the condition determination request includes product information, the tax exemption condition determination unit 401 calculates the total amount of products with tax exemption classification codes “01” and “02” included in the product information, and determines whether the total amount is It is determined whether the tax exemption conditions of the tax exemption condition file 482 are satisfied. Furthermore, based on the user ID included in the condition determination request, the tax exemption condition determination unit 401 searches the tax exemption transaction management file 483 for tax exemption transaction data that includes the user ID. Then, the tax exemption condition determination unit 401 determines whether the sum of the total amount of the searched tax exemption transaction data and the total amount of product information included in the condition determination request satisfies the tax exemption conditions of the tax exemption condition file 482. do. Note that the tax exemption condition determination unit 401 searches for tax exemption transaction data with a transaction date and time on the same day as the date on which the condition determination request is received.

免税条件判定部401は、免税条件を満たすと判定した場合、免税条件の成立を通知する情報をPOS端末2に送信する。また、免税条件を満たさないと判定した場合、免税条件判定部401は、免税条件の不成立を通知する情報をPOS端末2に送信する。 If the tax exemption condition determination unit 401 determines that the tax exemption condition is satisfied, it transmits information notifying that the tax exemption condition is satisfied to the POS terminal 2. Further, if it is determined that the tax exemption conditions are not satisfied, the tax exemption condition determining unit 401 transmits information notifying that the tax exemption conditions are not satisfied to the POS terminal 2.

また、例えば、免税条件判定部401は、条件判定要求に取り消し内容が含まれた場合、取り消し内容で指示された取引や商品の金額を減算した合計額に基づき、当該合計額が免税条件ファイル482の免税条件を満たすか否かを判定する。 For example, if the condition determination request includes cancellation details, the tax exemption condition determination unit 401 determines that the total amount is determined in the tax exemption condition file 482 based on the total amount after subtracting the amount of the transaction or product specified in the cancellation contents. Determine whether the tax exemption conditions are met.

具体的には、免税条件判定部401は、取り消し内容で指示された取引番号に対応する免税取引データを免税取引管理ファイル483から特定すると、当該免税取引データに基づいて、取り消し処理後の合計額を算出する。例えば、取引自体を取り消す場合、免税条件判定部401は、特定した免税取引データの合計額をゼロとする。また、例えば、特定の商品を取り消す場合、免税条件判定部401は、取り消し対象の商品の金額を減算した合計額を算出する。 Specifically, when the tax exemption condition determination unit 401 identifies the tax exempt transaction data corresponding to the transaction number specified in the cancellation details from the tax exempt transaction management file 483, the tax exemption condition determination unit 401 determines the total amount after cancellation processing based on the tax exempt transaction data. Calculate. For example, when canceling the transaction itself, the tax exemption condition determination unit 401 sets the total amount of the specified tax exemption transaction data to zero. Further, for example, when canceling a specific product, the tax exemption condition determining unit 401 calculates the total amount by subtracting the price of the product to be canceled.

さらに、免税条件判定部401は、特定した免税取引データに含まれるユーザIDに基づき、当該ユーザIDを含む他の免税取引データを検索する。そして、免税条件判定部401は、取り消し処理後の免税取引データの合計額と、検索した他の免税取引データの合計額との総和が、免税条件ファイル482の免税条件を満たすか否かを判定する。 Furthermore, based on the user ID included in the specified tax-free transaction data, the tax-exemption condition determination unit 401 searches for other tax-free transaction data that includes the user ID. Then, the tax exemption condition determining unit 401 determines whether the sum of the total amount of the tax exempt transaction data after the cancellation process and the total amount of other retrieved tax exempt transaction data satisfies the tax exemption condition of the tax exemption condition file 482. do.

ここで、免税条件判定部401は、免税条件を満たすと判定した場合、免税条件の成立を通知する情報をPOS端末2に送信する。また、免税条件を満たさないと判定した場合、免税条件判定部401は、免税条件の不成立を通知する情報をPOS端末2に送信する。また、免税条件判定部401は、取り消し処理に伴い免税条件が不成立となった他の免税取引データが存在する場合、当該他の免税取引データに含まれるレジ番号、取引番号、合計額等の情報を、免税条件の不成立を通知する情報とともにPOS端末2に送信する。 Here, if the tax exemption condition determining unit 401 determines that the tax exemption condition is satisfied, it transmits information notifying that the tax exemption condition is satisfied to the POS terminal 2. Further, if it is determined that the tax exemption conditions are not satisfied, the tax exemption condition determining unit 401 transmits information notifying that the tax exemption conditions are not satisfied to the POS terminal 2. In addition, if there is other tax-exempt transaction data for which the tax-exempt condition has not been met due to cancellation processing, the tax-exempt condition determination unit 401 determines information such as the cash register number, transaction number, and total amount included in the other tax-exempt transaction data. is sent to the POS terminal 2 along with information notifying that the tax exemption conditions are not satisfied.

データ管理部402は、免税取引管理ファイル483のデータ管理を行う。例えば、データ管理部402は、POS端末2から送信される取引データを免税取引管理ファイル483に記憶する。具体的には、データ管理部402は、POS端末2から、レジ番号、ユーザID、及び取引データの組が送信されると、当該組を免税取引データとして免税取引管理ファイル483に記憶する。 The data management unit 402 performs data management of the tax-free transaction management file 483. For example, the data management unit 402 stores transaction data transmitted from the POS terminal 2 in the tax-free transaction management file 483. Specifically, when a set of a register number, a user ID, and transaction data is transmitted 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と協働することで、免税条件が不成立となった免税取引データの免税フラグを無効に設定する。 Further, the data management unit 402 executes a cancellation process on the tax-free transaction data to be processed in response to a cancellation instruction transmitted from the POS terminal 2. For example, when receiving an instruction to cancel a transaction specifying a transaction number, the data management unit 402 deletes the tax-free transaction data of the corresponding transaction number from the tax-free transaction management file 483 or moves it to another management file. . Further, for example, when receiving an instruction to cancel a product specifying a transaction number and a product code, the data management unit 402 performs a register minus process to delete the product code of the specified product from the tax-free transaction data of the corresponding transaction number. Execute. If there is tax-free transaction data for which the tax-free conditions are not met due to cancellation processing, the data management unit 402 cooperates with the tax-free condition determination unit 401 to delete the tax-free transactions for which the tax-free conditions are not met. Disable tax exemption flag for data.

次に、図10及び図11を用いて、POS端末2及びサーバ装置4の動作例について説明する。 Next, an example of the operation of the POS terminal 2 and the server device 4 will be described using FIGS. 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に送信する。 FIG. 10 is a diagram schematically showing an example of a transaction using the POS system 1. First, as shown in FIG. 10(a), assume that a transaction with transaction number "0001" is performed at POS terminal 2 with cash register number "01". In this transaction, the user purchases products (general products or consumables) for a total amount of 5,000 yen. Here, if the tax exemption declaration key 211 is input during a transaction and a user ID is acquired, the tax exemption processing unit 302 of the POS terminal 2 with the register number "01" A condition determination request including the ID etc. is transmitted to the server device 4. In this case, the total amount of product information included in the condition determination request is 5,000 yen or more, which satisfies the tax exemption conditions of the tax exemption condition file 482. Therefore, the tax exemption condition determination unit 401 of the server device 4 determines that the tax exemption condition is satisfied, and transmits the determination result to the POS terminal 2 with the cashier 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 the cashier 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 tax exemption processing for 5000 yen. Then, the payment processing unit 303 of the POS terminal 2 with the cashier number "01" transmits the transaction data of the transaction to the server device 4 along with the cashier number "01" of the own machine and the user ID of the user who made the transaction. The data management unit 402 of the server device 4 stores transaction data and the like transmitted from the POS terminal 2 with the register number "01" as tax-free transaction data in the tax-free 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に送信する。 Next, in FIG. 10(b), it is assumed that the same user as in FIG. 10(a) performs a transaction with transaction number "0006" at the POS terminal 2 with cashier number "02". In this transaction, the user purchases products (general products or consumables) for a total amount of 100 yen. Here, if the tax exemption declaration key 211 is input during a transaction and a user ID is acquired, the tax exemption processing unit 302 of the POS terminal 2 with the register number "02" A condition determination request including the ID etc. is transmitted to the server device 4. In this case, the total amount of the tax-exempt transaction data related to the transaction in FIG. It turns out. Therefore, the tax exemption condition determination unit 401 of the server device 4 determines that the tax exemption condition is met, and transmits the determination result to the POS terminal 2 with the cashier 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 the cash register number "02" receives the determination result from the server device 4, the tax exemption processing section 302 cooperates with the payment processing section 303 to establish tax exemption processing for 100 yen. Then, the payment processing unit 303 of the POS terminal 2 with the cash register number "02" transmits the transaction data of the transaction to the server device 4, along with the cash register number "02" of the terminal itself and the user ID of the user who made the transaction. The data management unit 402 of the server device 4 stores transaction data and the like transmitted from the POS terminal 2 with the register number "02" as tax-free transaction data in the tax-free 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に送信する。 Subsequently, in FIG. 10(c), it is assumed that the same user as in the transactions in FIGS. 10(a) and 10(b) performs a transaction with transaction number "0015" at the POS terminal 2 with cashier number "03". In this transaction, the user purchases products (general products or consumables) for a total amount of 200 yen. Here, if the tax exemption declaration key 211 is input during a transaction and a user ID is acquired, the tax exemption processing unit 302 of the POS terminal 2 with the register number "03" A condition determination request including the ID etc. is transmitted to the server device 4. In this case, the total amount of the tax-exempt transaction data related to the transactions in FIGS. This will satisfy the tax exemption conditions. Therefore, the tax exemption condition determination unit 401 of the server device 4 determines that the tax exemption condition is satisfied, and transmits the determination result to the POS terminal 2 with the cashier 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 the cash register number "03" which has received the determination result from the server device 4, the tax exemption processing section 302 cooperates with the payment processing section 303 to complete the tax exemption processing for 200 yen. Then, the payment processing unit 303 of the POS terminal 2 with the cashier number "03" transmits the transaction data of the transaction to the server device 4, along with the cashier number "03" of the own machine and the user ID of the user who made the transaction. The data management unit 402 of the server device 4 stores transaction data and the like transmitted from the POS terminal 2 with the register number "03" as tax-free transaction data in the tax-free transaction management file 483.

続く、図10(d)では、図10(a)~(c)の取引と同一のユーザが、レジ番号”01”のPOS端末2において、図10(a)の取引(取引番号“0001”)で購入した商品の返品を行ったとする。この場合、レジ番号”01”のPOS端末2のオペレータは、取消キー214を入力した後、客用レシート等に記載された取り消し対象の取引の取引番号を入力する。 Subsequently, in FIG. 10(d), the same user as in the transaction in FIGS. 10(a) to (c) executes the transaction in FIG. 10(a) (transaction number "0001") at the POS terminal 2 with the register number "01". ). Suppose you return a product you purchased. In this case, the operator of the POS terminal 2 with the register number "01" inputs the cancellation key 214, and then inputs the transaction number of the transaction to be canceled 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 the register number "01" transmits to the server device 4 the input transaction number and a condition determination request instructing to cancel the transaction with the transaction number. In this case, the total amount of tax-free transaction data related to the transactions in Figure 10(a), "5,000 yen," is subtracted from the total amount of tax-free transaction data, "5,300 yen" related to each transaction in Figures 10(a) to (c). The resulting value is “300 yen”, which does not satisfy the tax exemption conditions of the tax exemption condition file 482. Therefore, the tax exemption condition determination unit 401 of the server device 4 determines that the tax exemption condition is not satisfied, and transmits the determination result to the POS terminal 2 with the cashier number "03".

また、この場合、図10(b)、(c)の取引が免税条件から外れるため、サーバ装置4の免税条件判定部401は、図10(b)、(c)の取引に係る取引データから取引番号やレジ番号、合計額等を読み出し、判定結果とともにレジ番号“01”のPOS端末2に送信する。 Furthermore, in this case, since the transactions shown in FIGS. 10(b) and 10(c) are outside the tax exemption conditions, the tax exemption condition determining unit 401 of the server device 4 uses the transaction data related to the transactions shown in FIGS. The transaction number, cashier number, total amount, etc. are read out and sent along with the determination result to the POS terminal 2 with the cashier number "01".

レジ番号”01”のPOS端末2では、サーバ装置4から判定結果を受け付けると、取消処理部304が判定結果の内容を表示部22に表示する。例えば、取消処理部304は、判定結果が免税条件の不成立を示す場合、取り消し処理を継続するか否を確認するための画面を表示部22に表示させる。取り消し処理を継続することが指示された場合、取消処理部304は、取引管理ファイル262に記憶された該当する取引の取引データを削除等することで、取り消し処理を実行する。また、オペレータは、返品された商品の金額“5000円”から、免税条件から外れた図10(b)、(c)の取引に係る税金分を差し引いた金額を、ユーザに返金することで返品が成立する。 In the POS terminal 2 with the register number "01", upon receiving the determination result from the server device 4, the cancellation processing unit 304 displays the content 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 causes the display unit 22 to display a screen for confirming whether to continue the cancellation process. When instructed to continue the cancellation process, the cancellation processing unit 304 executes the cancellation process by deleting the transaction data of the corresponding transaction stored in the transaction management file 262. In addition, the operator will refund to the user the amount after deducting the tax for the transactions shown in Figures 10(b) and 10(c), which are outside the tax exemption conditions, from the amount of "5,000 yen" of the returned product. holds true.

また、取消処理部304は、取り消し処理を実行すると、処理対象の取引番号と取り消し内容とを指示した取り消し指示をサーバ装置4に送信する。サーバ装置4のデータ管理部402は、取り消し指示を受け付けると、指示された内容に基づき該当する取引データを削除等することで、取り消し処理を実行する。なお、サーバ装置4のデータ管理部402は、取り消し処理に伴い、免税条件から外れた免税取引データの免税フラグを無効に設定する。例えば、取引番号“0006”及び“0015”の免税取引データが免税条件から外れた場合には、これらの免税取引データに対応付けられた免税フラグを無効に設定する。 Further, when the cancellation processing unit 304 executes the cancellation processing, it transmits a cancellation instruction to the server device 4 that specifies the transaction number to be processed and the details of the cancellation. Upon receiving the cancellation instruction, the data management unit 402 of the server device 4 executes cancellation processing by deleting the corresponding transaction data based on the instructed content. In addition, along with the cancellation process, the data management unit 402 of the server device 4 disables the tax exemption flag of the tax exemption transaction data that does not meet the tax exemption conditions. For example, if tax-free transaction data with transaction numbers "0006" and "0015" are outside the tax-free conditions, the tax-free flags associated with these tax-free transaction data are set to be invalid.

さらに、取消処理部304は、取り消し処理の実行に伴い、免税条件から外れた他の取引が存在する場合、印字出力部306と協働することで、免税条件から外れた他の取引に関する情報を店員用レシートとして印字出力する。具体的には、図10の例の場合、取消処理部304は、図10(b)、(c)の取引に関する情報を店員用レシートとして印字出力する。 Furthermore, if there are other transactions that fall outside of the tax exemption conditions upon execution of the cancellation process, the cancellation processing unit 304 cooperates with the printout unit 306 to display information regarding other transactions that fall outside of the tax exemption conditions. Print it out as a receipt for the clerk. Specifically, in the example shown in FIG. 10, the cancellation processing unit 304 prints out the information regarding the transactions shown in FIGS. 10(b) and 10(c) as a receipt for the clerk.

図11は、店員用レシートの一例を示す図である。図11に示すように、店員用レシートには、免税条件から外れた取引に関する情報として、例えば、当該取引が行われたPOS端末2のレジ番号、取引番号、取引額(合計額)とが印字される。係る情報は、サーバ装置4から通知される情報に基づき印字することができる。 FIG. 11 is a diagram showing an example of a sales clerk's receipt. As shown in FIG. 11, the clerk's receipt is printed with information regarding transactions that are outside the tax exemption conditions, such as the cash register number of the POS terminal 2 where the transaction occurred, the transaction number, and the transaction amount (total amount). be done. Such 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 confirming the clerk's receipt, the operator inputs the transaction number written on the clerk's receipt at the POS terminal 2 corresponding to the register number written on the clerk's receipt, and performs an operation to invalidate the tax exemption flag, for example. For example, in the case of the clerk's sheet of FIG. 11, the operator performs an operation to invalidate the tax exemption flag of the transaction data of transaction number "0006" at the POS terminal 2 of register number "02". Further, for example, the operator performs an operation to invalidate the tax exemption flag of the transaction data with the transaction number "0015" at the POS terminal 2 with the cashier number "03".

これにより、サーバ装置4に記憶された取引データ(免税取引データ)と、POS端末2の各々に記憶される取引データとの状態を一致させることができ、データの整合を図ることができる。 Thereby, the transaction data (tax-exempt transaction data) stored in the server device 4 can be matched with the transaction data stored in each of the POS terminals 2, and data matching can be achieved.

以下、図12及び図13を参照して、POS端末2が行う処理の一例について説明する。 An example of processing performed by the POS terminal 2 will be described below with reference to FIGS. 12 and 13.

図12は、POS端末2が行う販売データ処理の一例を示すフローチャートである。まず、制御部300は、商品を特定する商品コードが入力されたか否かを判定する(ステップS11)。商品コードが入力された場合(ステップS11;Yes)、登録部301は、入力された商品コードに基づいて、当該商品コードに対応する商品の商品情報を商品マスタファイル261から取得する(ステップS12)。次いで、登録部301は、取得した商品情報を登録テーブルTに登録し、ステップS11に処理を戻す。 FIG. 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 specifying a product has been input (step S11). If a product code is input (step S11; Yes), the registration unit 301 acquires product information of 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 acquired product information in the registration table T, and returns the process to step S11.

商品コードが入力されていないと判定した場合(ステップS11;No)、制御部300は、免税宣言キー211が入力されたか否かを判定する(ステップS13)。免税宣言キーが入力された場合(ステップS13;Yes)、免税処理部302は、パスポートリーダ27を介してユーザを特定するユーザIDを読み取る(ステップS14)。次いで、免税処理部302は、読み取ったユーザIDをRAM33等に記憶し、ステップS11に処理を戻す。 If it is determined that the product code has not been input (step S11; No), the control unit 300 determines whether the tax exemption declaration key 211 has been input (step S13). If the tax exemption declaration key is input (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 the 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 input (step S13; No), the control unit 300 determines whether execution of payment has been instructed by operating the closing key 213 or the like (step S15). Here, if execution of payment is not instructed (step S15; No), the control unit 300 returns the process to step S11.

決済の実行が指示された場合(ステップS15;Yes)、決済処理部303は、免税宣言キー211が入力済か否かを判定する(ステップS16)。例えば、決済処理部303は、RAM33にユーザIDが記憶されているか否かに基づき、免税宣言キー211が入力済か否かを判定する。なお、免税宣言キー211の入力は、決済の実行指示の後に行われてもよい。 If execution of payment is instructed (step S15; Yes), payment processing unit 303 determines whether 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 the RAM 33. Note that the input of the tax exemption declaration key 211 may be performed after the payment execution instruction is issued.

免税宣言キー211が未入力の場合(ステップS16;No)、決済処理部303は、登録テーブルTに登録された商品の商品情報に基づいて、当該商品の決済処理を税込み価格で実行する(ステップS17)。そして、決済処理部303は、当該取引を識別する取引番号に関連付けて、当該取引の取引データを取引管理ファイル262に記憶し(ステップS18)、本処理を終了する。なお、ステップS18において、取引データは、免税フラグ及び免税宣言キーフラグが無効に設定された状態で記憶される。 If the tax exemption declaration key 211 has not been input (step S16; No), the payment processing unit 303 executes payment processing for the product at the tax-included price based on the product information of the product registered in the registration table T (step S16; No). S17). Then, 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 S18), and ends this process. Note that in step S18, the transaction data is stored with the tax exemption flag and tax exemption declaration key flag set to invalid.

一方、免税宣言キー211が入力済の場合(ステップS16;Yes)、免税処理部302は、登録テーブルTに登録された商品情報及びRAM33に保持されたユーザID等を含んだ条件判定要求をサーバ装置4に送信する(ステップS19)。 On the other hand, if the tax exemption declaration key 211 has been input (step S16; Yes), the tax exemption processing unit 302 sends a condition determination request including the product information registered in the registration table T and the user ID held in the RAM 33 to the server. The information is transmitted to the device 4 (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 that the tax exemption condition is satisfied based on the total amount calculated based on the product information and the total amount of other transactions stored in association with the user ID. It is determined whether or not the request is made, and the determination result is transmitted to the POS terminal 2 that is the request source. Then, the tax exemption processing unit 302 determines whether the tax exemption condition is satisfied based on the determination result transmitted from the server device 4 (step S20).

免税条件が不成立の場合(ステップS20;No)、決済処理部303は、登録テーブルTに登録された商品の商品情報に基づいて、当該商品の決済処理を税込み価格で実行する(ステップS21)。そして、決済処理部303は、当該取引の取引データを記憶するため、ステップS23に移行する。 If the tax exemption condition is not satisfied (step S20; No), the payment processing unit 303 executes payment processing for the product at the tax-included price based on the product information of the product registered in the registration table T (step S21). The payment processing unit 303 then proceeds to step S23 to store the transaction data of the transaction.

また、免税条件が成立した場合(ステップS20;Yes)、決済処理部303は、免税処理部302と協働し、登録テーブルTに登録された商品の商品情報に基づいて、当該商品の決済処理を税抜き価格で実行し(ステップS22)、ステップS23に移行する。 Further, if the tax exemption conditions are satisfied (step S20; Yes), the payment processing unit 303 cooperates with the tax exemption processing unit 302 and processes the payment for the product based on the product information of the product registered in the registration table T. is executed at the tax-excluding price (step S22), and the process moves 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 processed in step S21 is stored with the tax exemption flag set to invalid and the tax exemption declaration key flag set to valid. Further, the transaction data subjected to the payment processing (tax exemption processing) in step S22 is stored with the tax exemption flag and the tax exemption declaration key flag set to valid.

なお、免税条件が不成立の場合であってもサーバ装置4に取引データ(免税取引データ)を送信するのは、同一のユーザが今後行う他の取引との合算により、免税条件が成立する場合があるためである。これにより、POS端末2の何れで取引が行われた場合であっても、サーバ装置4に記憶された過去の免税取引データを参照することで、他のPOS端末2で行われた取引との合計額に基づいた免税条件の適否判定を行うことができる。 Note that even if the tax exemption condition is not met, the transaction data (tax exempt transaction data) is sent to the server device 4 because the tax exemption condition may be met by adding it up with other transactions that the same user will perform in the future. This is because there is. As a result, no matter which POS terminal 2 a transaction is made in, by referring to the past tax-free transaction data stored in the server device 4, it can be compared with a transaction made in another POS terminal 2. It is possible to determine the suitability of tax exemption conditions based on the total amount.

図13は、POS端末2が行う取消処理の一例を示すフローチャートである。まず、制御部300は、取消キー214が入力されるまで待機する(ステップS31;No)。取消キー214が入力されると(ステップS31;Yes)、取消処理部304は、取り消し処理の処理対象となる取引の取引番号が入力されるまで待機する(ステップS32;No)。取引番号が入力されると(ステップS32;Yes)、取消処理部304は、入力された取引番号に該当する取引データが、取引管理ファイル262に存在するか否かを判定する(ステップS33)。 FIG. 13 is a flowchart showing an example of cancellation processing performed by the POS terminal 2. First, the control unit 300 waits until the cancel 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 processed for cancellation 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. That is, in this embodiment, it is possible to cancel a transaction at the POS terminal 2 where the transaction to be canceled has been performed. Note that if there is no transaction data corresponding to the transaction number, the cancellation processing unit 304 may output a display on the POS terminal 2 of its own device to notify that there is no transaction data to be canceled.

入力された取引番号に該当する取引データが存在する場合(ステップS33;Yes)、取消処理部304は、取引データに対応付けられた免税宣言キーフラグが有効か否かを判定する(ステップS34)。免税宣言キーフラグが無効の場合(ステップS34;No)、取消処理部304は、通常の取引と判断し、別途入力された取り消し内容に応じた取り消し処理を、処理対象の取引データに実行し(ステップS35)、本処理を終了する。 If transaction data corresponding to the input 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, and executes cancellation processing on the transaction data to be processed according to the cancellation details input separately (step S34; No). S35), this process ends.

また、免税宣言キーフラグが有効の場合(ステップS34;Yes)、取消処理部304は、免税フラグが有効か否かを判定する(ステップS36)。 Further, if the tax exemption declaration key flag is valid (step S34; Yes), the cancellation processing unit 304 determines whether the tax exemption flag is valid (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 on the transaction data to be processed according to the cancellation details input separately (step S37). Next, the cancellation processing unit 304 sends a cancellation instruction including the transaction number, cancellation details, etc. in order to reflect the cancellation process executed in step S37 in the corresponding transaction data (tax-exempt transaction data) stored in the server device 4. The information is transmitted to the server device 4 (step S38), and the process ends.

これにより、サーバ装置4のデータ管理部402は、POS端末2から送信される取り消し指示に応じて、対象となる免税取引データ(取引データ)に、指示された内容の取り消し処理を実行する。 Thereby, the data management unit 402 of the server device 4 executes the cancellation process of the instructed contents on the target tax-free transaction data (transaction data) in response to the cancellation instruction transmitted 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 valid (step S36; Yes), the cancellation processing unit 304 transmits 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 determines whether or not the transaction will be canceled based on the transaction data of the transaction corresponding to the specified transaction number when the cancellation process specified in the cancellation details is performed. Calculate the total amount. In addition, the tax exemption condition determination unit 401 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 condition is satisfied based on the total amount. Determine whether Then, the tax exemption condition determination unit 401 transmits the determination result to the POS terminal 2 that made the request. In addition, if the tax exemption conditions of other transactions are not satisfied by performing the cancellation process, the tax exemption condition determination unit 401 sends information (transaction number , cash register number, total amount, etc.) to the requesting POS terminal 2.

続いて、取消処理部304は、サーバ装置4から送信される判定結果に基づき、免税条件が成立するか否かを判定する(ステップS40)。ここで、免税条件が成立する場合(ステップS40;Yes)、取消処理部304は、ステップS37に移行し、取り消し内容に応じた取り消し処理を、処理対象の取引データに実行する。 Subsequently, the cancellation processing unit 304 determines whether the tax exemption condition is satisfied based on the determination result transmitted from the server device 4 (step S40). Here, if the tax exemption condition is satisfied (step S40; Yes), the cancellation processing unit 304 moves to step S37, and performs cancellation processing on the transaction data to be processed according to the cancellation details.

一方、免税条件が不成立の場合(ステップ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 causes the display unit 22 to display a message confirming that the tax exemption conditions are no longer met (step S41), and waits for an input from the operator. Here, if an operation instructing to cancel the cancellation process is input (step S42; No), the cancellation processing unit 304 ends this process.

また、取り消し処理の実行を指示する操作が入力された場合(ステップS42;Yes)、取消処理部304は、取り消し内容に応じた取り消し処理を、処理対象の取引データに実行する(ステップS43)。次いで、取消処理部304は、ステップS43で実行した取り消し処理を、サーバ装置4に記憶された対応する取引データ(免税取引データ)に反映するため、取引番号及び取り消し内容等を含んだ取り消し指示をサーバ装置4に送信する(ステップS44)。 Further, when an operation instructing execution of cancellation processing is input (step S42; Yes), the cancellation processing unit 304 executes cancellation processing on the transaction data to be processed according to the cancellation details (step S43). Next, the cancellation processing unit 304 sends a cancellation instruction including the transaction number, cancellation details, etc. 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. The information is transmitted to the server device 4 (step S44).

続いて、取消処理部304は、サーバ装置4の判定結果に基づき、免税条件から外れる取引が存在するか否かを判定する(ステップS45)。ここで、免税条件から外れる取引が存在しない場合(ステップS45;No)、取消処理部304は、本処理を終了する。 Subsequently, the cancellation processing unit 304 determines whether there is a transaction that deviates from the tax exemption conditions based on the determination result of the server device 4 (step S45). Here, if there is no transaction that deviates from the tax exemption conditions (step S45; No), the cancellation processing unit 304 ends this process.

免税条件から外れる取引が存在する場合には(ステップS45;Yes)、取消処理部304は、免税条件から外れる取引に関する情報を印字した店員用レシートを出力し(ステップS46)、本処理を終了する。 If there is a transaction that deviates from the tax exemption conditions (step S45; Yes), the cancellation processing unit 304 outputs a receipt for the clerk on which information regarding the transaction that deviates from the tax exemption conditions is printed (step S46), and ends this process. .

以上により、本実施形態のPOS端末2の各々は、免税宣言キー211の操作により自機で免税取引を行う場合に、当該免税取引の合計額と、サーバ装置4に記憶された同一のユーザに係る他の免税取引の合計額とに基づき、当該免税取引が免税条件を満たすか否かを判定する。そして、POS端末2の各々は、その判定結果に応じて税金を免除した税抜き価格又は税金を含んだ税込み価格で、登録された商品の決済処理を実行する。そして、POS端末2は、決済処理で決済された免税取引の取引データを、取引番号と、ユーザIDと関連付けてサーバ装置4に記憶する。 As described above, when each of the POS terminals 2 of this embodiment performs a tax-free transaction by operating the tax-free declaration key 211, the total amount of the tax-free transaction and the same user stored in the server device 4 are Based on the total amount of other tax exempt transactions, it is determined whether the tax exempt transaction satisfies the tax exemption conditions. Then, each of the POS terminals 2 executes payment processing for the registered product at a tax-exempt price or a tax-inclusive price that is exempt from tax, depending on the determination result. Then, the POS terminal 2 stores transaction data of the tax-free transaction settled in the payment processing in the server device 4 in association with the transaction number and the user ID.

また、本実施形態のPOS端末2の各々は、取消キー214の操作により免税取引又は免税取引で決済された商品の取り消し指示を受け付けた場合、取り消し指示に応じた取り消し処理を、処理対象の取引データに実行する。そして、POS端末2は、自機で実行した取り消し処理により、免税条件から外れる他の免税取引がサーバ装置4に存在する場合に、当該他の免税取引に関する情報を出力する。例えば、POS端末2は、免税条件から外れる免税取引の取引番号や当該免税取引が行われたPOS端末2のレジ番号、合計額等を出力する。 In addition, when each of the POS terminals 2 of this embodiment receives an instruction to cancel a tax-free transaction or a product paid for as a tax-free transaction by operating the cancellation key 214, each of the POS terminals 2 performs a cancellation process according to the cancellation instruction on the transaction to be processed. Run on data. Then, if there is another tax-free transaction in the server device 4 that deviates from the tax-free conditions due to the cancellation process executed by the POS terminal 2, the POS terminal 2 outputs information regarding the other tax-free transaction. For example, the POS terminal 2 outputs the transaction number of a tax-free transaction that does not meet the tax-free conditions, the cash 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 confirm other transactions that fall outside of the tax exemption conditions, making it easy to identify the relevant transaction data and the POS terminal 2 where the transaction occurred. be able to. In this way, in the POS terminal 2 of this embodiment, if the transaction data of another transaction stored in another POS terminal 2 falls outside of the tax exemption conditions due to cancellation processing executed by the POS terminal 2, for example, the transaction data of that transaction is It is easy to identify and operate. Therefore, in this embodiment, it is possible to match the transaction data stored in the sales data processing device and the transaction data stored in the server device 4.

なお、上述した実施形態は、上述した各装置が有する構成又は機能の一部を変更することで、適宜に変形して実施することも可能である。そこで、以下では、上述した実施形態に係るいくつかの変形例を他の実施形態として説明する。なお、以下では、上述した実施形態と異なる点を主に説明することとし、既に説明した内容と共通する点については詳細な説明を省略する。また、以下で説明する変形例は、個別に実施されてもよいし、適宜組み合わせて実施されてもよい。 Note that the embodiments described above can be modified and implemented as appropriate by changing part of the configuration or function of each of the devices described above. Therefore, some modified examples of the above-described embodiment will be described below as other embodiments. Note that, below, points that are different from the embodiments described above will be mainly explained, and detailed explanations of points that are common to those already explained will be omitted. Further, the modified examples 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)の取引を容易に確認することができない。
(Modification 1)
In the embodiment described above, when there is a transaction that deviates from the tax exemption conditions due to cancellation processing, a mode has been described in which information regarding the transaction is output. On the other hand, there are existing transactions that will meet the tax exemption conditions as a result of the new payment processing. For example, it is assumed that among the transactions shown in figures (a) to (c) described in FIG. 10, the same user performs transactions (b) and (c) first, and transaction (a) last. In this case, the tax exemption conditions will not be satisfied in the transactions (b) and (c), and the tax exemption conditions will be satisfied in all of (a) to (c) by conducting the transaction (a). In this case, the POS terminal 2 that performs the transaction in (a) cannot easily confirm the transactions in (b) and (c) for which the tax exemption condition has been met.

そこで、新たに行う決済処理により、免税条件が成立する他の取引が存在するような場合、上述した実施形態と同様に、当該他の取引に関する情報を出力する構成としてもよい。 Therefore, if there is another transaction that satisfies the tax exemption condition due to the newly performed payment processing, the configuration may be such that information regarding the other transaction is output 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 condition is satisfied in response to a condition determination request transmitted from the tax exemption processing unit 302, as in the above-described embodiment. If the tax exemption condition determination unit 401 determines that the tax exemption condition is satisfied, it determines whether another transaction of the same user for which the tax exemption condition was not satisfied until now has changed to the fulfillment of the tax exemption condition, and if the tax exemption condition has changed to the fulfillment, sends information regarding the other transaction along with the determination result to the requesting POS terminal 2.

一方、POS端末2の免税処理部302は、決済処理部303と協働することで、決済処理(免税処理)を行った場合、サーバ装置4から送信された情報に基づき、免税条件が成立した他の取引が存在するか否かを判定する。そして、免税処理部302は、免税条件が成立した他の取引に関する情報を表示出力又は店員用レシートとして印字出力する。つまり、免税処理部302は、第2出力制御手段の一例として機能する。 On the other hand, when the tax exemption processing unit 302 of the POS terminal 2 performs payment processing (tax exemption processing) in cooperation with the payment processing unit 303, based on the information transmitted from the server device 4, the tax exemption processing unit 302 determines that the tax exemption conditions are established. Determine whether other transactions exist. Then, the tax exemption processing unit 302 displays information regarding other transactions for which the tax exemption conditions have been met or prints out the information as a receipt for a 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に記憶される取引データとの整合を図ることができる。 As a result, the operator of the POS terminal 2 can easily confirm other transactions for which tax exemption conditions have been met, making it easy to identify the relevant transaction data and the POS terminal 2 where the transaction occurred. be able to. In this way, in the POS terminal 2 of this modification, if transaction data of another transaction stored in another POS terminal 2 falls under the tax exemption conditions due to tax exemption processing executed by the POS terminal 2, for example, the transaction data is It is easy to identify and operate. Therefore, in this embodiment, it is possible to match 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に記憶された免税取引データに基づく免税条件の判定を個別に行う構成としてもよい。
(Modification 2)
In the above-described embodiment, the tax exemption condition determination unit 401 included in the server device 4 determines the tax exemption conditions based on the tax exemption transaction data stored in the server device 4, but the present invention is not limited to this. . For example, by providing each of the POS terminals 2 with a functional unit similar to the tax exemption condition determination unit 401, each of the POS terminals 2 individually determines the tax exemption conditions based on the tax exemption transaction data stored in the server device 4. It may also be a configuration.

この場合、サーバ装置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-exempt transaction data, and the tax-exempt condition determination unit 401 included in each POS terminal 2 processes the tax-exempt transaction data stored in the server device 4, etc. , to determine whether the transaction conducted on the own machine satisfies the tax exemption conditions. In this case, the tax exemption condition determining unit 401 of the POS terminal 2 functions as an example of determining 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-exempt transaction data, and the tax-exempt condition determination unit 401 included in each POS terminal 2 processes the tax-exempt transaction data stored in the server device 4, etc. , to determine whether the transaction conducted on the own machine satisfies the tax exemption conditions. In this case, the tax exemption condition determining unit 401 of the POS terminal 2 functions as an example of determining means.

(変形例3)
上述の実施形態では、POS端末2の各々では、自機のPOS端末2に記憶された取引データの取り消し処理を行うことを可能としたが、これに限らず、他のPOS端末2に記憶された取引データを取り扱うことが可能な構成としてもよい。
(Modification 3)
In the above-described embodiment, each POS terminal 2 is capable of canceling transaction data stored in its own POS terminal 2; however, this is not limited to this, and transaction data stored in other POS terminals 2 is It may also be configured to be able to handle transaction data.

例えば、取消処理部304は、取り消し処理の実行により他のPOS端末2で実行された他の取引が免税条件から外れた場合、サーバ装置4から通知されたレジ番号に基づいて当該他のPOS端末2にアクセスする。そして、取消処理部304は、アクセスしたPOS端末2の取引管理ファイル262に記憶されている取引データのうち、免税条件から外れた取引番号の取引データの免税フラグを無効に設定する。 For example, if another transaction executed at another POS terminal 2 deviates from the tax exemption conditions due to the execution of the cancellation process, the cancellation processing unit 304 may cancel the transaction at the other POS terminal 2 based on the cash register number notified from the server device 4. Access 2. Then, the cancellation processing unit 304 invalidates the tax exemption flag of the transaction data whose transaction number does not meet 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, in the POS terminal 2, if another transaction executed at another POS terminal 2 falls outside the tax exemption conditions due to execution of cancellation processing, the transaction data related to the other transaction can be automatically manipulated. , convenience can be improved. In addition, when operating transaction data, the cancellation processing unit 304 displays a screen on the display unit 22 to prompt the operator to confirm, and when the operation is instructed, it operates on transaction data related to other transactions. Good too.

本実施形態及びその変形の販売データ処理装置で使用する各種プログラムは、インストール可能な形式又は実行可能な形式のファイルで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 are files in an installable format or an executable format, such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disk). The information may be provided by being recorded on a computer-readable recording medium such as, for example, and may be read into the HDD, flash ROM, etc. of the sales data processing device and executed.

また、当該プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。 Alternatively, the program may be stored on a computer connected to a network such as the Internet, and provided by being downloaded via the network.

以上の各実施形態及びその変形において、販売データ処理装置及びプログラムについての構成を説明したが、実施形態及びその変形は、例として提示したものであり、発明の範囲を限定することは意図していない。この新規な実施形態及び変形は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although the configurations of the sales data processing device and program have been described in each of the above embodiments and their modifications, the embodiments and their modifications are presented as examples, and are not intended to limit the scope of the invention. do not have. This novel embodiment and modification can be implemented in various other forms, and various omissions, substitutions, and changes can be made without departing from the gist of the invention. These embodiments and their modifications are included within the scope and gist of the invention, as well as within the scope of the invention described in the claims and its equivalents.

1 POSシステム
2 POS端末
3 ネットワーク
4 サーバ装置
301 登録部
302 免税処理部
303 決済処理部
304 取消処理部
305 表示出力部
306 印字出力部
401 免税条件判定部
402 データ管理部
1 POS system 2 POS terminal 3 Network 4 Server device 301 Registration unit 302 Tax exemption processing unit 303 Payment processing unit 304 Cancellation processing unit 305 Display output unit 306 Print output unit 401 Tax exemption condition determination unit 402 Data management unit

特開2016-91214号公報Japanese Patent Application Publication No. 2016-91214

Claims (6)

複数の販売データ処理装置の各々で行われた免税取引の内訳を示す取引データと、免税取引を識別可能な取引識別情報と、免税取引を行ったユーザを識別可能なユーザ識別情報とを関連付けて記憶するサーバ装置に、ネットワークを介して接続される販売データ処理装置であって、
商品を識別可能な商品識別情報を取得する第1取得手段と、
ユーザを識別可能なユーザ識別情報を取得する第2取得手段と、
免税取引の宣言を行う免税宣言手段と、
前記免税宣言手段による免税取引の宣言があった場合に、前記第1取得手段が取得した前記商品識別情報の各々に対応する商品の合計額と、前記サーバ装置に記憶された、前記第2取得手段が取得した前記ユーザ識別情報に係る他の免税取引の合計額とに基づき、当該免税取引が税金を免除する免税制度の条件を満たすか否かを判定する判定手段と、
前記判定手段の判定結果に応じて、税金を免除した税抜き価格又は税金を含んだ税込み価格で、前記商品識別情報の各々に対応する商品の決済処理を実行する決済手段と、
前記決済手段で決済された免税取引の取引データを、当該免税取引の取引識別情報と、前記第2取得手段が取得した前記ユーザ識別情報と関連付けて前記サーバ装置に記憶する記憶手段と、
前記免税取引又は前記免税取引で決済された商品の取り消し指示を受け付け、前記取り消し指示に応じた取り消し処理を、処理対象の取引データに実行する取消手段と、
前記取消手段が実行する前記取り消し処理により、前記免税制度の条件から外れる他の免税取引が前記サーバ装置に存在する場合に、当該他の免税取引に関する情報を出力する第1出力制御手段と、
を備える販売データ処理装置。
Transaction data showing the details of tax-free transactions conducted in each of the plurality of sales data processing devices, transaction identification information that can identify tax-free transactions, and user identification information that can identify users who have conducted tax-free transactions are associated with each other. A sales data processing device connected to a storage server device via a network,
a first acquisition means for acquiring product identification information that can identify the product;
a second acquisition means for acquiring user identification information that can identify the user;
a tax exemption declaration means for declaring a tax exempt transaction;
When there is a declaration of a tax-free transaction by the tax exemption declaration means, the total price of the products corresponding to each piece of the product identification information acquired by the first acquisition means and the second acquisition stored in the server device. determination means for determining whether or not the tax exemption transaction satisfies the conditions of a tax exemption system that exempts the tax based on the total amount of other tax exemption transactions related to the user identification information acquired by the means;
A payment means that executes payment processing for the products corresponding to each of the product identification information at a tax-exempt price that is exempt from tax or a tax-inclusive price that includes tax, according to the determination result of the determination means;
storage means for storing transaction data of a 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;
Cancellation means that receives a cancellation instruction for the tax-free transaction or a product settled for the tax-free transaction, and performs cancellation processing on the transaction data to be processed in accordance with the cancellation instruction;
a first output control means for outputting information regarding another tax-free transaction that deviates from the conditions of the tax-exemption system when the cancellation process executed by the cancellation means exists in the server device;
A sales data processing device comprising:
前記第1出力制御手段は、前記免税制度の条件から外れる他の免税取引に関する情報として、当該他の免税取引の取引識別情報を出力する、請求項1に記載の販売データ処理装置。 2. The sales data processing device according to claim 1, wherein the first output control means outputs transaction identification information of the other tax-free transaction as information regarding the other tax-free transaction that deviates from the conditions of the tax exemption system. 前記第1出力制御手段は、前記免税制度の条件から外れる他の免税取引に関する情報として、当該他の免税取引の取引データに含まれる商品の合計額を出力する、請求項2に記載の販売データ処理装置。 3. The sales data according to claim 2, wherein the first output control means outputs the total amount of products included in the transaction data of the other tax-free transactions as information regarding the other tax-free transactions that do not meet the conditions of the tax exemption system. Processing equipment. 前記サーバ装置は、免税取引の内訳を示す前記取引データを、当該免税取引が行われた前記販売データ処理装置を識別可能な装置識別情報と関連付けて記憶し、
前記第1出力制御手段は、前記免税制度の条件から外れる他の免税取引に関する情報として、当該他の免税取引が行われた前記販売データ処理装置の装置識別情報を出力する、請求項2又は3に記載の販売データ処理装置。
The server device stores the transaction data indicating details of the tax-free transaction in association with device identification information that can identify the sales data processing device in which the tax-free transaction was performed,
3. 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 exemption system. The sales data processing device described in .
前記決済手段が実行する前記決済処理により、前記免税制度の条件が成立する他の免税取引が前記サーバ装置に存在する場合に、当該他の免税取引に関する情報を出力する第2出力制御手段を更に備える、請求項1に記載の販売データ処理装置。 further comprising a second output control means for outputting information regarding the other tax-free transaction, if another tax-free transaction satisfying the conditions of the tax-free system exists in the server device due to the payment process executed by the payment means; The sales data processing device according to claim 1. 複数の販売データ処理装置の各々で行われた免税取引の内訳を示す取引データと、免税取引を識別可能な取引識別情報と、免税取引を行ったユーザを識別可能なユーザ識別情報とを関連付けて記憶するサーバ装置に、ネットワークを介して接続される販売データ処理装置のコンピュータを、
商品を識別可能な商品識別情報を取得する第1取得手段と、
ユーザを識別可能なユーザ識別情報を取得する第2取得手段と、
免税取引の宣言を行う免税宣言手段と、
前記免税宣言手段による免税取引の宣言があった場合に、前記第1取得手段が取得した前記商品識別情報の各々に対応する商品の合計額と、前記サーバ装置に記憶された、前記第2取得手段が取得した前記ユーザ識別情報に係る他の免税取引の合計額とに基づき、当該免税取引が税金を免除する免税制度の条件を満たすか否かを判定する判定手段と、
前記判定手段の判定結果に応じて、税金を免除した税抜き価格又は税金を含んだ税込み価格で、前記商品識別情報の各々に対応する商品の決済処理を実行する決済手段と、
前記決済手段で決済された免税取引の取引データを、当該免税取引の取引識別情報と、前記第2取得手段が取得した前記ユーザ識別情報と関連付けて前記サーバ装置に記憶する記憶手段と、
前記免税取引又は前記免税取引で決済された商品の取り消し指示を受け付け、前記取り消し指示に応じた取り消し処理を、処理対象の取引データに実行する取消手段と、
前記取消手段が実行する前記取り消し処理により、前記免税制度の条件から外れる他の免税取引が前記サーバ装置に存在する場合に、当該他の免税取引に関する情報を出力する第1出力制御手段と、
して機能させるためのプログラム。
Transaction data showing the details of tax-free transactions conducted in each of the plurality of sales data processing devices, transaction identification information that can identify tax-free transactions, and user identification information that can identify users who have conducted tax-free transactions are associated with each other. A computer of a sales data processing device connected via a network to a server device for storage,
a first acquisition means for acquiring product identification information that can identify the product;
a second acquisition means for acquiring user identification information that can identify the user;
a tax exemption declaration means for declaring a tax exempt transaction;
When there is a declaration of a tax-free transaction by the tax exemption declaration means, the total price of the products corresponding to each piece of the product identification information acquired by the first acquisition means and the second acquisition stored in the server device. determination means for determining whether or not the tax exemption transaction satisfies the conditions of a tax exemption system that exempts the tax based on the total amount of other tax exemption transactions related to the user identification information acquired by the means;
A payment means that executes payment processing for the products corresponding to each of the product identification information at a tax-exempt price that is exempt from tax or a tax-inclusive price that includes tax, according to the determination result of the determination means;
storage means for storing transaction data of a 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;
Cancellation means that receives a cancellation instruction for the tax-free transaction or a product settled for the tax-free transaction, and performs cancellation processing on the transaction data to be processed in accordance with the cancellation instruction;
a first output control means for outputting information regarding another tax-free transaction that deviates from the conditions of the tax-exemption system when the cancellation process executed by the cancellation means exists in the server device;
A program to make it work.
JP2022098274A 2022-06-17 2022-06-17 Sales data processing device and program Pending JP2023184235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022098274A JP2023184235A (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 JP2023184235A (en) 2022-06-17 2022-06-17 Sales data processing device and program

Publications (1)

Publication Number Publication Date
JP2023184235A true JP2023184235A (en) 2023-12-28

Family

ID=89333767

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022098274A Pending JP2023184235A (en) 2022-06-17 2022-06-17 Sales data processing device and program

Country Status (1)

Country Link
JP (1) JP2023184235A (en)

Similar Documents

Publication Publication Date Title
JP7410341B2 (en) Information processing equipment and programs
JP6329111B2 (en) Product data processing apparatus and program
JP5523432B2 (en) Product sales data processing apparatus and program
JP2023184235A (en) Sales data processing device and program
JP5764701B2 (en) Commerce processing apparatus and receipt details search program
JP2021099851A (en) Sales data processing device and program
JP6600039B2 (en) Product data processing apparatus, program, product data processing method and system
JP6568271B2 (en) Information processing apparatus and information processing program
JP7188946B2 (en) Sales data processor and program
JP5562913B2 (en) Merchandise sales data processing apparatus and receipt details search program
JP5497848B2 (en) Product registration device and program
JP7336560B2 (en) Product data processor, program
JP7041233B2 (en) Product data processing equipment, programs
JP2017204310A (en) Sales data processor and program
US20200387882A1 (en) Commodity sales data processing apparatus, control method therefor, and display control method thereof
WO2023037650A1 (en) Information processing device, registration system, and program
JP7299062B2 (en) Transaction processing device and its control program
JP6639630B2 (en) Commodity sales data processing device and program
JP6382389B2 (en) Information processing apparatus and information processing program
JP6457669B2 (en) Product sales data processing apparatus and program
JP6138198B2 (en) Commerce processing apparatus and receipt details search program
US20200356971A1 (en) Information management apparatus, information providing system, and information processing method
JP2023164754A (en) Commodity sales data processor and program
JP2022045721A (en) Accounting device, registration device, and program
JP2023173312A (en) Information processor and program