JP6808661B2 - Information processing equipment and programs - Google Patents

Information processing equipment and programs Download PDF

Info

Publication number
JP6808661B2
JP6808661B2 JP2018000076A JP2018000076A JP6808661B2 JP 6808661 B2 JP6808661 B2 JP 6808661B2 JP 2018000076 A JP2018000076 A JP 2018000076A JP 2018000076 A JP2018000076 A JP 2018000076A JP 6808661 B2 JP6808661 B2 JP 6808661B2
Authority
JP
Japan
Prior art keywords
data
product
storage unit
information
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018000076A
Other languages
Japanese (ja)
Other versions
JP2019121151A (en
Inventor
杉山 晃一
晃一 杉山
和哉 南部
和哉 南部
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 JP2018000076A priority Critical patent/JP6808661B2/en
Publication of JP2019121151A publication Critical patent/JP2019121151A/en
Application granted granted Critical
Publication of JP6808661B2 publication Critical patent/JP6808661B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明の実施形態は、情報処理装置及びプログラムに関する。 Embodiments of the present invention relate to information processing devices and programs.

日本では、セルフメディケーション(自主服薬)推進のため、セルフメディケーション税制が導入されている。セルフメディケーション税制は、要指導医薬品及び一般用医薬品のうち医療用から転用された医薬品、いわゆるスイッチOTC(Over The Counter)医薬品(以下、単にOTC医薬品と称する)の購入費用について、所得控除を受けられる制度である。例えば2017年1月1日から2021年12月31日においては、OTC医薬品を一年間に一世帯で購入した金額(消費税込)の合計が12,000円を超えると、その超えた分の金額A(A=合計−12,000円:Aは、88,000円を上限とする)を、所得控除の対象とすることができる。このような税制度に対応するために、消費者はOTC医薬品を購入した際に薬局等から発行されたレシートを管理する必要がある。 In Japan, a self-medication tax system has been introduced to promote self-medication (self-medication). The self-medication tax system receives an income deduction for the purchase cost of drugs requiring guidance and over-the-counter drugs that have been diverted from medical use, so-called switch OTC (Over The Counter) drugs (hereinafter simply referred to as OTC drugs). It is a system that can be used. For example, from January 1, 2017 to December 31, 2021, if the total amount of OTC drugs purchased by one household in a year (including consumption tax) exceeds 12,000 yen, the excess amount will be exceeded. A (A = total-12,000 yen: A is limited to 88,000 yen) can be subject to income deduction. In order to comply with such a tax system, consumers need to manage receipts issued by pharmacies and the like when they purchase OTC drugs.

このようなレシートの管理には、電子レシートシステムが有効である。電子レシートシステムは、消費者が一取引で購入した商品の販売データを含むレシートデータを、例えばサーバで個々の消費者に関連付けて保存する。そして、消費者が希望する取引のレシートを当該消費者が使用する情報端末で閲覧可能としたものである。 An electronic receipt system is effective for managing such receipts. The electronic receipt system stores receipt data including sales data of products purchased by a consumer in one transaction in association with each consumer, for example, on a server. Then, the receipt of the transaction desired by the consumer can be viewed on the information terminal used by the consumer.

このような電子レシートシステムを利用してセルフメディケーション税制に対処する場合、OTC医薬品の情報を記憶したデータファイルが必要となる。例えばレシートデータを保存するサーバは、保存しているレシートデータから消費者が購入した商品を検出し、その商品の情報がデータファイルに存在するか確認する。そして存在する場合、サーバは、その商品の購買情報をOTC医薬品の購買情報として、消費者別に管理する。サーバは、消費者別に管理されたOTC医薬品の購買情報から、セルフメディケーション税制に対応した確定申告用の帳票を消費者に提供することができる。 When dealing with the self-medication tax system using such an electronic receipt system, a data file storing information on OTC drugs is required. For example, a server that stores receipt data detects a product purchased by a consumer from the stored receipt data and confirms whether the information of the product exists in the data file. If it exists, the server manages the purchase information of the product as the purchase information of the OTC drug for each consumer. The server can provide consumers with a tax return form corresponding to the self-medication tax system from the purchase information of OTC drugs managed for each consumer.

OTC医薬品のデータファイルは、製造販売業者等から提供されるOTC医薬品の販売開始、販売中止等の情報を基に、例えば2ヶ月に1回の割合で定期的に更新される。これに対し、店舗で商品が販売される際にPOS端末等によって照会され、各取引のレシートに含まれる各商品のマスタとなる商品ファイルの更新は、より短期間に頻繁に更新される。このため、新たに販売されたOTC医薬品の場合、レシートデータでは、OTC医薬品として扱われていたとしても、前記データファイルには情報が反映されていない場合があり得る。そのような場合、消費者別の管理データから当該OTC医薬品のデータが漏れてしまう。 The data file of the OTC drug is regularly updated, for example, once every two months, based on the information such as the start of sales and the discontinuation of the sale of the OTC drug provided by the manufacturer / distributor. On the other hand, when a product is sold at a store, the product file that is inquired by a POS terminal or the like and is a master of each product included in the receipt of each transaction is updated frequently in a shorter period of time. Therefore, in the case of a newly sold OTC drug, even if it is treated as an OTC drug in the receipt data, the information may not be reflected in the data file. In such a case, the data of the OTC drug is leaked from the management data for each consumer.

国際公開第2017/056443号公報International Publication No. 2017/05/6443

本発明の実施形態が解決しようとする課題は、レシートデータに基づき、OTC医薬品の情報を記憶するためのデーファイルに情報が反映されていないOTC医薬品を精度よく抽出することができる情報処理装置を提供しようとするものである。 The problem to be solved by the embodiment of the present invention is an information processing device capable of accurately extracting an OTC drug whose information is not reflected in a day file for storing information on the OTC drug based on the receipt data. It is what we are trying to provide.

一実施形態において、情報処理装置は、検出手段と、記憶手段と、追加手段と、を備える。検出手段は、レシートデータに含まれる購買商品に関する情報から、当該購買商品が、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報を検出する。記憶手段は、購買商品に関する情報から対象商品であることを示す情報が検出された購買商品を識別するデータが、対象商品を識別するデータを記憶した第1記憶部に存在しない場合、当該購買商品を識別するデータを、第1記憶部に対するメンテナンスデータを記憶するための第2記憶部に記憶させる。追加手段は、第2記憶部に記憶された購買商品を識別するデータを第1記憶部に追加する。 In one embodiment, the information processing device comprises detection means, storage means, and additional means . The detection means detects information indicating that the purchased product is a tax-deductible product when the annual purchase amount is within a predetermined amount range from the information on the purchased product included in the receipt data. To do. When the data for identifying the purchased product in which the information indicating that the product is the target product is detected from the information about the purchased product does not exist in the first storage unit that stores the data for identifying the target product, the storage means is the purchased product. The data for identifying the above is stored in the second storage unit for storing the maintenance data for the first storage unit . The additional means adds data for identifying the purchased product stored in the second storage unit to the first storage unit.

電子レシートシステムの概略構成を示す模式図。The schematic diagram which shows the schematic structure of the electronic receipt system. レシートデータの構造を示す模式図。The schematic diagram which shows the structure of the receipt data. 商品マスタファイルの一例を示す模式図。The schematic diagram which shows an example of the product master file. 電子レシート管理サーバの要部回路構成を示すブロック図。A block diagram showing a circuit configuration of a main part of an electronic receipt management server. 電子レシート管理サーバの補助記憶デバイスに形成される主要なデータファイルを示す模式図。The schematic diagram which shows the main data file formed in the auxiliary storage device of an electronic receipt management server. 図5の店舗ファイルに記憶される店舗データの構造を示す模式図。The schematic diagram which shows the structure of the store data stored in the store file of FIG. 図5のOTC医薬品設定ファイルに記憶される商品データの構造を示す模式図。The schematic diagram which shows the structure of the product data stored in the OTC drug setting file of FIG. 図5のメンテナンスファイルに記憶されるメンテナンスデータの構造を示す模式図。The schematic diagram which shows the structure of the maintenance data stored in the maintenance file of FIG. 電子レシート管理サーバのCPUが実行するOTC医薬品に係る購買金額の会員別集計処理の要部手順を示す流れ図。The flow chart which shows the main part procedure of the member-specific aggregation processing of the purchase amount related to the OTC drug executed by the CPU of the electronic receipt management server. 電子レシート管理サーバのCPUが実行するOTC医薬品に係る購買金額の会員別集計処理の要部手順を示す流れ図。The flow chart which shows the main part procedure of the member-specific aggregation processing of the purchase amount related to the OTC drug executed by the CPU of the electronic receipt management server. 電子レシート管理サーバのCPUが実行するOTC医薬品チェック処理の要部手順を示す流れ図。The flow chart which shows the main part procedure of the OTC drug check process executed by the CPU of the electronic receipt management server. 電子レシート管理サーバのCPUが実行するOTC医薬品設定ファイルのメンテナンス処理の要部手順を示す流れ図。The flow chart which shows the main part procedure of the maintenance process of the OTC drug setting file executed by the CPU of the electronic receipt management server. メンテナンス画面SCの一表示例を示す模式図。The schematic diagram which shows one display example of maintenance screen SC.

以下、レシートデータに基づき、OTC医薬品の情報を記憶するためのデーファイルに情報が反映されていないOTC医薬品を精度よく抽出することができる情報処理装置の実施形態について、図面を用いて説明する。なお、この実施形態は、図1に示す電子レシートシステム100の電子レシート管理サーバ10に、上記情報処理装置としての機能を設けた場合である。 Hereinafter, an embodiment of an information processing apparatus capable of accurately extracting an OTC drug whose information is not reflected in a day file for storing information on the OTC drug based on the receipt data will be described with reference to the drawings. In this embodiment, the electronic receipt management server 10 of the electronic receipt system 100 shown in FIG. 1 is provided with a function as the information processing device.

電子レシートシステム100は、図1に示すように、電子レシート管理サーバ10と、複数のPOS(Point Of Sales)システム20と、インターネット等のネットワーク30と、このネットワーク30に接続された複数の基地局40と、基地局40との間で無線通信が可能な複数の情報端末50と、管理者端末60と、を含む。電子レシート管理サーバ10は、電子レシートサービスを統括する電子レシート管理センタに構築される。POSシステム20は、電子レシートサービスに加盟する店舗にそれぞれ構築される。情報端末50は、電子レシートサービスを受けるために会員登録を行った消費者が使用する。管理者端末60は、電子レシート管理サーバ10の管理者が使用する。 As shown in FIG. 1, the electronic receipt system 100 includes an electronic receipt management server 10, a plurality of POS (Point Of Sales) systems 20, a network 30 such as the Internet, and a plurality of base stations connected to the network 30. Includes a plurality of information terminals 50 capable of wireless communication between the 40 and the base station 40, and an administrator terminal 60. The electronic receipt management server 10 is constructed in an electronic receipt management center that controls electronic receipt services. The POS system 20 is constructed in each store that is a member of the electronic receipt service. The information terminal 50 is used by a consumer who has registered as a member in order to receive an electronic receipt service. The administrator terminal 60 is used by the administrator of the electronic receipt management server 10.

POSシステム20は、複数のPOS端末21とストアサーバ22とプリンタ23とを含み、これらをLAN(Local Area Network)等の通信回線24で接続してなる。POS端末21は、商取引の決済端末として機能する。ストアサーバ22は、各POS端末21で決済された商取引のデータを基に、店舗全体の売上、在庫等を管理する。プリンタ23は、種々の帳票類の印刷に対応したものである。プリンタ23は、印刷専用機であってもよいし、コピー、ファクシミリ等の多機能を備えた複合機であってもよい。 The POS system 20 includes a plurality of POS terminals 21, a store server 22, and a printer 23, and these are connected by a communication line 24 such as a LAN (Local Area Network). The POS terminal 21 functions as a settlement terminal for commercial transactions. The store server 22 manages sales, inventory, and the like of the entire store based on the data of commercial transactions settled by each POS terminal 21. The printer 23 is compatible with printing various forms. The printer 23 may be a dedicated printing machine, or may be a multifunction device having multiple functions such as copying and facsimile.

POSシステム20は、電子レシートシステム100の一部を担うために、会員IDの受付機能と、レシートデータの生成機能とを有する。会員IDは、電子レシートサービスを受けるために会員登録を行った消費者に対して発行される個人識別情報である。会員IDの受付機能は、POS端末21が備える。 The POS system 20 has a member ID reception function and a receipt data generation function in order to play a part of the electronic receipt system 100. The member ID is personal identification information issued to a consumer who has registered as a member in order to receive the electronic receipt service. The POS terminal 21 has a member ID reception function.

POSシステム20は、POS端末21において会員IDの入力を受け付けると、その会員IDで識別される消費者に対する商取引の内容を表すレシート印字データを構造化形式に変換して、電子的なレシートデータ25(図2を参照)を作成する。そしてPOSシステム20は、レシートデータ25を会員IDとともにネットワーク30を介して電子レシート管理サーバ10へと出力する。レシート印字データを構造化形式に変換する処理は、POS端末21が行ってもよいし、ストアサーバ22が行ってもよい。レシート印字データを構造化形式に変換する処理をPOS端末21が行う場合、レシートデータ25はPOS端末21からネットワーク30を介して電子レシート管理サーバ10に直接出力されてもよいし、ストアサーバ22を経由して出力されてもよい。レシート印字データを構造化形式に変換する処理をストアサーバ22が行う場合には、レシートデータ25はストアサーバ22からネットワーク30を介して電子レシート管理サーバ10に出力される。なお、レシート印字データを構造化形式に変換する処理については周知の技術であるので、ここでの詳細な説明は省略する。 When the POS system 20 receives the input of the member ID on the POS terminal 21, the POS system 20 converts the receipt print data representing the contents of the commercial transaction for the consumer identified by the member ID into a structured format, and electronically receives the receipt data 25. (See Figure 2). Then, the POS system 20 outputs the receipt data 25 together with the member ID to the electronic receipt management server 10 via the network 30. The process of converting the receipt print data into the structured format may be performed by the POS terminal 21 or the store server 22. When the POS terminal 21 performs the process of converting the receipt print data into the structured format, the receipt data 25 may be directly output from the POS terminal 21 to the electronic receipt management server 10 via the network 30, or the store server 22 may be output. It may be output via. When the store server 22 performs a process of converting the receipt print data into a structured format, the receipt data 25 is output from the store server 22 to the electronic receipt management server 10 via the network 30. Since the process of converting the receipt print data into the structured format is a well-known technique, detailed description thereof will be omitted here.

図2は、レシートデータ25の構造を示す模式図である。レシートデータ25は、会員ID、店舗コード、取引日時、取引番号、商品販売データ及び決済データを含む。商品販売データは、商品コード、分類コード、商品名、単価、点数、金額等を含む。決済データは、決済金額、決済種別、支払情報等を含む。 FIG. 2 is a schematic view showing the structure of the receipt data 25. The receipt data 25 includes a member ID, a store code, a transaction date and time, a transaction number, product sales data, and payment data. The product sales data includes a product code, a classification code, a product name, a unit price, points, an amount of money, and the like. The payment data includes the payment amount, payment type, payment information, and the like.

店舗コードは、各店舗を識別するために店舗毎に設定された一意のコードである。取引日時は、例えばPOS端末21において商取引が開始された時点又は決済された時点の日付と時刻である。取引番号は、商取引毎に発番される一意の番号である。商品コードは、各商品を識別するために商品毎に設定された一意のコードである。分類コードは、各商品の属性に基づく商品分類(食料品、日用品、医療品、衣料品等)を識別するために商品分類毎に設定された一意のコードである。商品名は、対応する商品コードで識別される商品に付された名称であり、単価は、当該商品1点あたりの価格である。点数は、1商取引における同一商品の購買個数であり、金額は、単価に点数を乗算して算出された値である。決済金額は、商取引を決済するために会員が支払う金額である。決済種別は、決済金額に対する支払いの種類(現金、クレジットカード、ポイント、金券等)を特定する情報であり、支払情報は、その決済種別での支払金額である。 The store code is a unique code set for each store to identify each store. The transaction date and time is, for example, the date and time when the commercial transaction is started or settled on the POS terminal 21. The transaction number is a unique number issued for each commercial transaction. The product code is a unique code set for each product in order to identify each product. The classification code is a unique code set for each product classification in order to identify the product classification (food, daily necessities, medical products, clothing, etc.) based on the attributes of each product. The product name is the name given to the product identified by the corresponding product code, and the unit price is the price per product. The score is the number of items purchased for the same product in one commercial transaction, and the amount is a value calculated by multiplying the unit price by the score. The settlement amount is the amount paid by the member to settle a commercial transaction. The payment type is information that specifies the type of payment (cash, credit card, points, cash voucher, etc.) for the payment amount, and the payment information is the payment amount in the payment type.

図1に説明を戻す。
ストアサーバ22は、商品マスタファイル26を管理する。商品マスタファイル26は、店舗で販売される各商品の基本情報を記憶する。基本情報は、商品コード、分類コード、商品名、単価等の項目を含む。
The explanation is returned to FIG.
The store server 22 manages the product master file 26. The product master file 26 stores basic information of each product sold in the store. The basic information includes items such as a product code, a classification code, a product name, and a unit price.

図3は、商品マスタファイル26の一例を示す模式図である。図3において、商品マスタファイル26Aは、第1店舗のストアサーバ22で管理される。商品マスタファイル26Bは、第2店舗のストアサーバ22で管理される。第1店舗及び第2店舗は、いずれもOTC医薬品を販売する薬店、ドラッグストア、調剤薬局等である。第1店舗と第2店舗とは、それぞれ異なる企業体によって運営される。 FIG. 3 is a schematic diagram showing an example of the product master file 26. In FIG. 3, the product master file 26A is managed by the store server 22 of the first store. The product master file 26B is managed by the store server 22 of the second store. The first store and the second store are both drug stores, drug stores, dispensing pharmacies, etc. that sell OTC drugs. The first store and the second store are operated by different business entities.

図3において、商品コード「2222222222」の商品「医薬品B」は、OTC医薬品である。そして商品マスタファイル26Aにおいては、商品「医薬品B」の商品名の先頭に星マークが付されている。商品マスタファイル26Bにおいては、商品「医薬品B」の商品名の先頭に二重丸マークが付されている。星マークは、第1店舗を運営する企業体がOTC医薬品、すなわち年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを識別するための情報として定めたマークである。同様に、二重丸マークは、第2店舗を運営する企業体が同対象商品であることを識別するための情報として定めたマークである。 In FIG. 3, the product “Pharmaceutical B” of the product code “2222222222” is an OTC drug. In the product master file 26A, a star mark is added to the beginning of the product name of the product "pharmaceutical product B". In the product master file 26B, a double circle mark is added to the beginning of the product name of the product "pharmaceutical product B". The star mark is defined as information to identify that the business entity that operates the first store is an OTC drug, that is, a product subject to tax deduction that can be deducted when the annual purchase amount is within the specified amount range. It is a mark. Similarly, the double circle mark is a mark defined as information for identifying that the business entity operating the second store is the same target product.

因みに、セルフメディケーション税制を導入するにあたり、レシート等の証明書類には、商品名、金額、販売店名、購入日とともに、当該商品がOTC医薬品である旨を明記することが定められている。そして、OTC医薬品である旨を明記する方法として、商品名の前に上記のようなマークを付すとともに、当該マークが付されている商品がOTC医薬品である旨を証明書類に記載する方法、又は、OTC医薬品のみ合計額を分けて記載する方法がある。 Incidentally, when introducing the self-medication tax system, it is stipulated that the certificate such as the receipt clearly states that the product is an OTC drug together with the product name, amount, store name, and purchase date. Then, as a method of clearly indicating that the product is an OTC drug, a method of adding the above mark in front of the product name and stating that the product with the mark is an OTC drug, or a method of stating that the product is an OTC drug, or , There is a method of listing the total amount separately only for OTC drugs.

再び、図1に説明を戻す。
情報端末50は、少なくとも表示デバイスと、入力デバイスと、無線通信デバイスとを備える。また情報端末50は、Webブラウザを備える。そして電子レシートサービスを受ける消費者は、専用のアプリケーションプログラムである電子レシート閲覧プログラムを情報端末50にインストールする。この電子レシート閲覧プログラムを情報端末50にインストールすることで、会員登録、レシート画像の閲覧及びセルフメディケーション税制に対応した確定申告用の帳票出力等が可能となる。会員登録を行うことで、情報端末50のメモリに形成された電子レシート閲覧プログラムの管理領域に会員IDが設定される。この種の情報端末50としては、スマートフォン、携帯電話、タブレット端末、ノートパソコン等の電子機器が使用される。
The explanation is returned to FIG. 1 again.
The information terminal 50 includes at least a display device, an input device, and a wireless communication device. The information terminal 50 includes a Web browser. Then, the consumer who receives the electronic receipt service installs the electronic receipt viewing program, which is a dedicated application program, on the information terminal 50. By installing this electronic receipt viewing program on the information terminal 50, it is possible to register as a member, view receipt images, and output forms for final tax returns corresponding to the self-medication tax system. By registering as a member, the member ID is set in the management area of the electronic receipt viewing program formed in the memory of the information terminal 50. As the information terminal 50 of this type, electronic devices such as smartphones, mobile phones, tablet terminals, and notebook computers are used.

電子レシート管理サーバ10は、各店舗のPOSシステム20から出力されるレシートデータ25を一定期間保存する。そして電子レシート管理サーバ10は、情報端末50からの閲覧要求に応答して、レシートデータ25に基づいて作成したレシート画像のデータを、閲覧要求元の情報端末50へと送信する。また電子レシート管理サーバ10は、情報端末50からの作成要求に応答して、セルフメディケーション税制に対応した確定申告用の帳票を作成する。帳票は、例えばPOSシステム20のプリンタ23を介して印刷出力することが可能である。 The electronic receipt management server 10 stores the receipt data 25 output from the POS system 20 of each store for a certain period of time. Then, the electronic receipt management server 10 responds to the browsing request from the information terminal 50 and transmits the data of the receipt image created based on the receipt data 25 to the information terminal 50 of the browsing request source. Further, the electronic receipt management server 10 prepares a form for final tax return corresponding to the self-medication tax system in response to the preparation request from the information terminal 50. The form can be printed out, for example, via the printer 23 of the POS system 20.

管理者端末60は、少なくとも表示デバイスと、入力デバイスと、ネットワーク30用の通信ユニットとを備える。管理者端末60は、ネットワーク30を介して電子レシート管理サーバ10とデータ通信が可能である。管理者端末60は、電子レシート管理サーバ10で管理されるデータファイルのメンテナンスに供される。換言すれば、管理者端末60には、上記データファイルのメンテナンスを制御するためのアプリケーションプログラムがインストールされている。メンテナンス対象となるデータファイルについては、後述する。また、メンテナンスの処理手順についても後述する。この種の管理者端末60としては、パソコン、スマートフォン、タブレット端末等が使用される。 The administrator terminal 60 includes at least a display device, an input device, and a communication unit for the network 30. The administrator terminal 60 can perform data communication with the electronic receipt management server 10 via the network 30. The administrator terminal 60 is used for maintenance of the data file managed by the electronic receipt management server 10. In other words, an application program for controlling the maintenance of the data file is installed in the administrator terminal 60. The data files to be maintained will be described later. The maintenance processing procedure will also be described later. As the administrator terminal 60 of this type, a personal computer, a smartphone, a tablet terminal, or the like is used.

図4は、電子レシート管理サーバ10の要部回路構成を示すブロック図である。電子レシート管理サーバ10は、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、補助記憶デバイス14、時計部15及び通信ユニット16等を備える。CPU11と、ROM12、RAM13、補助記憶デバイス14、時計部15及び通信ユニット16とは、アドレスバス、データバス等のシステム伝送路17で接続される。 FIG. 4 is a block diagram showing a main circuit configuration of the electronic receipt management server 10. The electronic receipt management server 10 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, an auxiliary storage device 14, a clock unit 15, a communication unit 16, and the like. The CPU 11 and the ROM 12, the RAM 13, the auxiliary storage device 14, the clock unit 15, and the communication unit 16 are connected by a system transmission line 17 such as an address bus and a data bus.

電子レシート管理サーバ10は、CPU11、ROM12、RAM13及び補助記憶デバイス14と、これらを接続するシステム伝送路17とによってコンピュータを構成する。
CPU11は、上記コンピュータの中枢部分に相当する。CPU11は、オペレーティングシステムやアプリケーションプログラムに従って、電子レシート管理サーバ10としての各種の機能を実現するべく各部を制御する。
The electronic receipt management server 10 constitutes a computer by a CPU 11, a ROM 12, a RAM 13, an auxiliary storage device 14, and a system transmission line 17 connecting them.
The CPU 11 corresponds to the central part of the computer. The CPU 11 controls each part in order to realize various functions as the electronic receipt management server 10 according to the operating system and the application program.

ROM12は、上記コンピュータの主記憶部分に相当する。ROM12は、上記のオペレーティングシステムやアプリケーションプログラムを記憶する。ROM12は、CPU11が各部を制御するための処理を実行する上で必要なデータを記憶する場合もある。 The ROM 12 corresponds to the main storage portion of the computer. The ROM 12 stores the above operating system and application program. The ROM 12 may store data necessary for the CPU 11 to execute a process for controlling each unit.

RAM13は、上記コンピュータの主記憶部分に相当する。RAM13は、CPU11が処理を実行する上で必要なデータを記憶する。またRAM13は、CPU11によって情報が適宜書き換えられるワークエリアとしても利用される。 The RAM 13 corresponds to the main storage portion of the computer. The RAM 13 stores data necessary for the CPU 11 to execute the process. The RAM 13 is also used as a work area where the information is appropriately rewritten by the CPU 11.

補助記憶デバイス14は、上記コンピュータの補助記憶部分に相当する。補助記憶デバイス14は、上記のオペレーティングシステムやアプリケーションプログラムを記憶する場合がある。また補助記憶デバイス14は、CPU11が各種の処理を行う上で使用するデータ、あるいはCPU11での処理によって生成されたデータを保存する場合がある。補助記憶デバイス14としては、例えばEEPROM(Electric Erasable Programmable Read-Only Memory)、HDD(Hard Disc Drive)、あるいはSSD(Solid State Drive)等を使用できる。 The auxiliary storage device 14 corresponds to the auxiliary storage portion of the computer. The auxiliary storage device 14 may store the above operating system or application program. Further, the auxiliary storage device 14 may store data used by the CPU 11 for performing various processes or data generated by the processes of the CPU 11. As the auxiliary storage device 14, for example, an EEPROM (Electric Erasable Programmable Read-Only Memory), an HDD (Hard Disc Drive), an SSD (Solid State Drive), or the like can be used.

時計部15は、現在の日付及び時刻を計時する。
通信ユニット16は、POSシステム20、情報端末50または管理者端末60とネットワーク30を介して所定のプロトコルによりデータ通信を行う。
The clock unit 15 clocks the current date and time.
The communication unit 16 performs data communication with a POS system 20, an information terminal 50 or an administrator terminal 60 via a network 30 by a predetermined protocol.

かかる構成の電子レシート管理サーバ10は、図5に示すように、補助記憶デバイス14の記憶領域の一部を、会員ファイル141、店舗ファイル142、電子レシートファイル143、月間集計ファイル144、OTC医薬品設定ファイル145及びメンテナンスファイル146として使用する。 As shown in FIG. 5, the electronic receipt management server 10 having such a configuration sets a part of the storage area of the auxiliary storage device 14 as a member file 141, a store file 142, an electronic receipt file 143, a monthly total file 144, and an OTC drug setting. Used as file 145 and maintenance file 146.

会員ファイル141は、電子レシートサービスを受けるために会員登録を行った消費者毎に作成される会員データを記憶するための領域である。会員データは、会員ID、メールアドレス、パスワード等の情報を含む。メールアドレス、パスワードは、会員IDで識別される消費者が情報端末50を操作して任意に設定した情報である。 The member file 141 is an area for storing member data created for each consumer who has registered as a member in order to receive the electronic receipt service. The member data includes information such as a member ID, an e-mail address, and a password. The e-mail address and password are information arbitrarily set by the consumer identified by the member ID by operating the information terminal 50.

店舗ファイル142は、電子レシートサービスに加盟する店舗毎に作成される店舗データ142R(図6を参照)を記憶するための領域である。図6に示すように店舗データ142Rは、店舗コード、企業コード、OTC医薬品識別マーク、プリンタアドレス等の情報を含む。企業コードは、店舗コードで識別される店舗を運営する企業体固有の情報である。OTC医薬品識別マークは、店舗コードで識別される店舗を運営する企業体が、OTC医薬品であることを識別するための情報として定めたマークである。プリンタアドレスは、店舗コードで識別される店舗のPOSシステム20に組み込まれたプリンタ23を特定するための通信アドレスである。プリンタ23は、セルフメディケーション税制に対応した確定申告用の帳票を印刷する機器として店舗側から指定されたものである。 The store file 142 is an area for storing store data 142R (see FIG. 6) created for each store that is a member of the electronic receipt service. As shown in FIG. 6, the store data 142R includes information such as a store code, a company code, an OTC drug identification mark, and a printer address. The company code is information unique to the company that operates the store identified by the store code. The OTC drug identification mark is a mark defined as information for identifying an OTC drug by a business entity that operates a store identified by a store code. The printer address is a communication address for identifying the printer 23 incorporated in the POS system 20 of the store identified by the store code. The printer 23 is designated by the store as a device for printing a tax return form corresponding to the self-medication tax system.

電子レシートファイル143は、各POSシステム20からネットワーク30を介して受信したレシートデータ25を会員ID別に一定期間記憶するための領域である。 The electronic receipt file 143 is an area for storing the receipt data 25 received from each POS system 20 via the network 30 for a certain period of time for each member ID.

月間集計ファイル144は、電子レシートサービスを受けるために会員登録を行った消費者毎に年月別に作成される月間集計データを記憶するための領域である。月間集計データは、一か月を単位として商品分類毎にその分類に属する商品の購買金額を合計したデータである。また月間集計データは、一か月を単位としてOTC医薬品の購買金額を合計したデータを含む。 The monthly total file 144 is an area for storing monthly total data created for each consumer who has registered as a member in order to receive the electronic receipt service. Monthly aggregated data is data obtained by totaling the purchase amount of products belonging to each product category in units of one month. In addition, the monthly aggregated data includes data obtained by totaling the purchase amount of OTC drugs in units of one month.

OTC医薬品設定ファイル145は、厚生労働省からセルフメディケーション税制の対象品目として公表されたOTC医薬品の商品データ145R(図7を参照)を記憶するための領域である。図7に示すように商品データ145Rは、商品コード、商品名、有効フラグ等の情報を含む。有効フラグは、商品コードで識別される商品がOTC医薬品として有効であるか否かを識別する2ビットの情報である。例えば有効フラグが“1”のとき、当該商品はOTC医薬品として有効である。例えば有効フラグが“0”のとき、当該商品はOTC医薬品として無効である。OTC医薬品設定ファイル145は、製造販売業者等から厚生労働省に対して提供されるOTC医薬品の販売開始、販売中止等の情報を基に、例えば2ヶ月に1回の割合で定期的に商品データ145Rが更新される。本実施形態において、OTC医薬品設定ファイル145は、メンテナンス対象となるデータファイルである。 The OTC drug setting file 145 is an area for storing the product data 145R (see FIG. 7) of the OTC drug published by the Ministry of Health, Labor and Welfare as an item subject to the self-medication tax system. As shown in FIG. 7, the product data 145R includes information such as a product code, a product name, and a valid flag. The valid flag is 2-bit information that identifies whether or not the product identified by the product code is valid as an OTC drug. For example, when the effective flag is "1", the product is effective as an OTC drug. For example, when the valid flag is "0", the product is invalid as an OTC drug. The OTC drug setting file 145 is based on information provided by manufacturers and distributors to the Ministry of Health, Labor and Welfare regarding the start and discontinuation of sales of OTC drugs, for example, the product data 145R is periodically once every two months. Is updated. In the present embodiment, the OTC drug setting file 145 is a data file to be maintained.

メンテナンスファイル146は、そのメンテナンス対象となるOTC医薬品設定ファイル145に対するメンテナンスデータ146R(図8を参照)を記憶するための領域である。図8に示すように、メンテナンスデータ146Rは、商品コード、商品名、ステータス、登録日時及び更新日時を含む。ステータスは、メンテナンスデータ146Rの反映状態を表す情報であり、反映状態には、「未処理」と「登録済」と「登録せず」がある。例えばステータス=0は、反映状態「未処理」を表し、ステータス=1は、反映状態「登録済」を表し、ステータス=9は、反映状態「登録せず」を表す。登録日時は、メンテナンスデータ146Rがメンテナンスファイル146に登録された時点の日時である。更新日時は、メンテナンスデータ146Rの反映状態が更新された時点の日時である。 The maintenance file 146 is an area for storing maintenance data 146R (see FIG. 8) for the OTC drug setting file 145 to be maintained. As shown in FIG. 8, the maintenance data 146R includes a product code, a product name, a status, a registration date and time, and an update date and time. The status is information indicating the reflection status of the maintenance data 146R, and the reflection status includes "unprocessed", "registered", and "not registered". For example, status = 0 represents the reflection status "unprocessed", status = 1 represents the reflection status "registered", and status = 9 represents the reflection status "not registered". The registration date and time is the date and time when the maintenance data 146R is registered in the maintenance file 146. The update date and time is the date and time when the reflection state of the maintenance data 146R is updated.

ここに、OTC医薬品設定ファイル145は第1記憶部を構成し、メンテナンスファイル146は第2記憶部を構成する。
なお、各ファイル141〜146に記憶されるデータの項目は、上述した項目に限定されるものではない。他の項目をさらに含んでデータが構成されていてもよい。
Here, the OTC drug setting file 145 constitutes the first storage unit, and the maintenance file 146 constitutes the second storage unit.
The data items stored in the files 141 to 146 are not limited to the above-mentioned items. The data may be composed by further including other items.

次に、電子レシート管理サーバ10のCPU11が実行する主要な情報処理について説明する。始めに、OTC医薬品に係る購買金額の会員別集計処理について、図9及び図10を用いて説明する。なお、図9及び図10に示すとともに以下に説明する処理の内容は一例である。同様な結果を得ることが可能であればその手順及び内容は特に限定されるものではない。 Next, the main information processing executed by the CPU 11 of the electronic receipt management server 10 will be described. First, the member-by-member aggregation process of the purchase amount of OTC drugs will be described with reference to FIGS. 9 and 10. The contents of the processes shown in FIGS. 9 and 10 and described below are examples. The procedure and contents are not particularly limited as long as similar results can be obtained.

時計部15で計時される時刻が予め定められた時刻になると、CPU11は、図9及び図10の流れ図に示す手順の情報処理を開始する。なお、時刻は任意である。また、1日に定められる時刻は1つとは限らない。2以上の時刻が定められていてもよい。 When the time measured by the clock unit 15 reaches a predetermined time, the CPU 11 starts information processing of the procedure shown in the flow charts of FIGS. 9 and 10. The time is arbitrary. Also, the time set for one day is not limited to one. Two or more times may be set.

当該情報処理が開始されると、CPU11は、先ず、図9のAct1として、カウンタnを“0”にリセットする。カウンタnは、例えばRAM13に形成されている。カウンタnをリセットした後、CPU11は、Act2として、そのカウンタnを“1”だけカウントアップする。そしてCPU11は、Act3として、会員ファイル141からn番目(nはカウンタnのカウント値)の会員データを検出する。 When the information processing is started, the CPU 11 first resets the counter n to "0" as Act1 in FIG. The counter n is formed in, for example, the RAM 13. After resetting the counter n, the CPU 11 sets the counter n as Act2 and counts up the counter n by “1”. Then, the CPU 11 detects the nth member data (n is the count value of the counter n) from the member file 141 as Act3.

CPU11は、Act4として、会員ファイル141からn番目の会員データを検出できたか否かを確認する。検出できた場合(Act4、YES)、CPU11は、Act5として、そのn番目の会員データから会員IDを検出する。 The CPU 11 confirms whether or not the nth member data from the member file 141 could be detected as Act4. If it can be detected (Act4, YES), the CPU 11 detects the member ID from the nth member data as Act5.

次いでCPU11は、Act6として、電子レシートファイル143を検索して、前回の処理後に電子レシートファイル143に新たに追加されたレシートデータ25を順番に読み込む。そしてCPU11は、Act7として、当該レシートデータ25の会員IDが、Act5の処理で検出した会員IDと一致するか否かを判断する。一致しない場合、CPU11は、Act8として、電子レシートファイル143の検索を終了したか否かを判断する。終了していない場合(Act8、NO)、CPU11は、Act6に戻り、電子レシートファイル143の検索を継続する。 Next, the CPU 11 searches the electronic receipt file 143 as Act6, and sequentially reads the receipt data 25 newly added to the electronic receipt file 143 after the previous processing. Then, the CPU 11 determines whether or not the member ID of the receipt data 25 matches the member ID detected in the process of Act5 as Act7. If they do not match, the CPU 11 determines whether or not the search for the electronic receipt file 143 has been completed as Act8. If it is not finished (Act8, NO), the CPU 11 returns to Act6 and continues the search for the electronic receipt file 143.

CPU11は、Act5の処理で検出した会員IDを含むレシートデータ25を電子レシートファイル143から読み込むと(Act7、YES)、図10のAct11として、そのレシートデータ25から店舗コードを検出する。そしてCPU11は、Act12として、店舗ファイル142を検索し、Act9の処理で検出した店舗コードを含む店舗データ142Rを取得して、その店舗データ142RからOTC医薬品識別マークを検出する。 When the CPU 11 reads the receipt data 25 including the member ID detected in the process of Act 5 from the electronic receipt file 143 (Act 7, YES), the CPU 11 detects the store code from the receipt data 25 as Act 11 in FIG. Then, the CPU 11 searches the store file 142 as Act12, acquires store data 142R including the store code detected in the processing of Act9, and detects the OTC drug identification mark from the store data 142R.

次いでCPU11は、Act13として、上記レシートデータ25から商品販売データを順番に検出する。そしてCPU11は、Act14として、その商品販売データに含まれる商品名に、Act10の処理で検出したOTC医薬品識別マークが付加されているか否かを判断する。 Next, the CPU 11 sequentially detects the product sales data from the receipt data 25 as Act13. Then, the CPU 11 determines whether or not the OTC drug identification mark detected in the process of Act 10 is added to the product name included in the product sales data as Act 14.

CPU11は、商品名にOTC医薬品識別マークが付加された商品販売データを検出すると(Act14、YES)、Act15として、その商品販売データに含まれる商品コードを含む有効な商品データ145RがOTC医薬品設定ファイル145に存在するか否かをチェックする。ここで、有効な商品データ145Rとは、有効フラグが“1”にセットされている商品データ145Rを示す。 When the CPU 11 detects the product sales data in which the OTC drug identification mark is added to the product name (Act14, YES), as Act15, the valid product data 145R including the product code included in the product sales data is the OTC drug setting file. Check if it exists at 145. Here, the valid product data 145R indicates the product data 145R in which the valid flag is set to "1".

該当する商品データ145RがOTC医薬品設定ファイル145に存在する場合(Act16、YES)、Act13の処理で検出された商品販売データは、前回の処理後に会員IDで特定される会員が購入したOTC医薬品のデータである。CPU11は、Act17として、当該商品販売データをRAM13のワークエリアに格納する。その後、CPU11は、Act18へと進む。 When the corresponding product data 145R exists in the OTC drug setting file 145 (Act16, YES), the product sales data detected in the processing of Act13 is the OTC drug purchased by the member specified by the member ID after the previous processing. It is data. The CPU 11 stores the product sales data in the work area of the RAM 13 as Act17. After that, the CPU 11 proceeds to Act18.

一方、商品名にOTC医薬品識別マークが付加されていない場合には(Act14、NO)、CPU11は、Act15乃至Act17の処理をスキップして、Act18へと進む。また、商品名にOTC医薬品識別マークが付加されていたものの、該当する商品データ145RがOTC医薬品設定ファイル145に存在しない場合にも(Act16、NO)、CPU11は、Act17の処理をスキップして、Act18へと進む。 On the other hand, when the OTC drug identification mark is not added to the trade name (Act14, NO), the CPU 11 skips the processing of Act15 to Act17 and proceeds to Act18. Further, even when the OTC drug identification mark is added to the product name but the corresponding product data 145R does not exist in the OTC drug setting file 145 (Act16, NO), the CPU 11 skips the process of Act17 and skips the process of Act17. Proceed to Act18.

Act18では、CPU11は、電子レシートファイル143から読み込んだレシートデータ25から商品販売データを検出し終えたか否かを判断する。検出し終えていない場合(Act18、NO)、CPU11は、Act13の処理に戻る。そしてCPU11は、Act13乃至Act18の処理を前記と同様に繰り返す。 In Act 18, the CPU 11 determines whether or not the product sales data has been detected from the receipt data 25 read from the electronic receipt file 143. If the detection is not completed (Act18, NO), the CPU 11 returns to the processing of Act13. Then, the CPU 11 repeats the processes of Act 13 to Act 18 in the same manner as described above.

こうして、レシートデータ25から商品販売データを全て検出し終えると(Act18、YES)、CPU11は、図9のAct8に進む。すなわちCPU11は、電子レシートファイル143の検索を終了したか否かを判断する。終了していない場合(Act8、NO)、CPU11は、Act6に戻り、電子レシートファイル143の検索を継続する。 In this way, when all the product sales data has been detected from the receipt data 25 (Act18, YES), the CPU 11 proceeds to Act8 in FIG. That is, the CPU 11 determines whether or not the search for the electronic receipt file 143 has been completed. If it is not finished (Act8, NO), the CPU 11 returns to Act6 and continues the search for the electronic receipt file 143.

こうして、電子レシートファイル143の検索を終了すると(Act8、YES)、CPU11は、ワークエリアに格納されたOTC医薬品の商品販売データに基づき、会員別の集計処理を行う。すなわちCPU11は、Act5の処理で取得した会員IDで月間集計ファイル144を検索して、当該会員IDが設定された月間集計データに含まれるOTC医薬品の購買金額合計額に、ワークエリアに格納された商品販売データの金額を加算する。 When the search for the electronic receipt file 143 is completed in this way (Act8, YES), the CPU 11 performs the aggregation processing for each member based on the product sales data of the OTC drug stored in the work area. That is, the CPU 11 searches the monthly total file 144 with the member ID acquired in the process of Act 5, and stores it in the work area in the total purchase amount of the OTC drug included in the monthly total data in which the member ID is set. Add the amount of product sales data.

集計処理を終えると、CPU11は、Act2に戻る。すなわちCPU11は、カウンタnをさらに“1”だけカウントアップする。そしてCPU11は、会員ファイル141からn番目の会員データを検出する。 When the aggregation process is completed, the CPU 11 returns to Act2. That is, the CPU 11 further counts up the counter n by "1". Then, the CPU 11 detects the nth member data from the member file 141.

CPU11は、会員ファイル141からn番目の会員データを検出できなかった場合(Act4、NO)、すなわち会員ファイル141に記憶された全ての会員データについてAct5以降の処理を終えたならば、この情報処理を終了する。 This information processing is performed when the CPU 11 cannot detect the nth member data from the member file 141 (Act4, NO), that is, when all the member data stored in the member file 141 finishes the processing after Act5. To finish.

次に、POSシステム20からのレシートデータ25を受信する毎にCPU11が実行するOTC医薬品チェック処理について、図11を用いて説明する。なお、図11に示すとともに以下に説明する処理の内容は一例である。同様な結果を得ることが可能であればその手順及び内容は特に限定されるものではない。 Next, the OTC drug check process executed by the CPU 11 each time the receipt data 25 from the POS system 20 is received will be described with reference to FIG. The contents of the processes shown in FIG. 11 and described below are examples. The procedure and contents are not particularly limited as long as similar results can be obtained.

CPU11は、Act21としてレシートデータの受信を待機している。通信ユニット16を介してレシートデータ25を受信すると(Act21、YES)、CPU11は、Act22として判定フラグFを“0”にリセットする。判定フラグFは、RAM13に記憶されている。 The CPU 11 is waiting for receipt data as Act21. When the receipt data 25 is received via the communication unit 16 (Act21, YES), the CPU 11 resets the determination flag F to “0” as Act22. The determination flag F is stored in the RAM 13.

CPU11は、Act23としてそのレシートデータ25から店舗コードを検出する。そしてCPU11は、Act24として、店舗ファイル142を検索し、Act23の処理で検出した店舗コードを含む店舗データ142RからOTC医薬品識別マークを検出する。 The CPU 11 detects the store code from the receipt data 25 as Act23. Then, the CPU 11 searches the store file 142 as the Act 24, and detects the OTC drug identification mark from the store data 142R including the store code detected in the processing of the Act 23.

次いでCPU11は、Act25として、そのレシートデータ25から商品販売データを順番に検出する。そしてCPU11は、Act26として、その商品販売データに含まれる商品名に、Act24の処理で検出したOTC医薬品識別マークが付加されているか否かを判断する。OTC医薬品識別マークが付加されていない場合(Act26、NO)、CPU11は、Act33の処理へと進む。 Next, the CPU 11 sequentially detects the product sales data from the receipt data 25 as Act 25. Then, the CPU 11 determines whether or not the OTC drug identification mark detected in the process of Act 24 is added to the product name included in the product sales data as Act 26. If the OTC drug identification mark is not added (Act26, NO), the CPU 11 proceeds to the process of Act33.

商品名にOTC医薬品識別マークが付加された商品販売データを検出した場合(Act26、YES)、CPU11は、Act27として、その商品販売データに含まれる商品コードを含む有効な商品データ145RがOTC医薬品設定ファイル145に存在するか否かをチェックする。そして存在する場合(Act28、YES)、CPU11は、Act33の処理へと進む。 When the product sales data with the OTC drug identification mark added to the product name is detected (Act26, YES), the CPU 11 sets the valid product data 145R including the product code included in the product sales data as the Act27 as the OTC drug. Check if it exists in file 145. Then, if it exists (Act 28, YES), the CPU 11 proceeds to the process of Act 33.

これに対し、該当する商品データ145RがOTC医薬品設定ファイル145に存在しない場合には(Act28、NO)、CPU11は、Act29として、OTC医薬品識別マークが付加された商品販売データの商品コードと商品名とを含むメンテナンスデータ146Rが既にメンテナンスファイル146に保存されているか否かを確認する。重複するメンテナンスデータ146Rが既にメンテナンスファイル146に保存されている場合(Act29、YES)、CPU11は、Act33の処理へと進む。 On the other hand, when the corresponding product data 145R does not exist in the OTC drug setting file 145 (Act28, NO), the CPU 11 sets the product code and product name of the product sales data to which the OTC drug identification mark is added as Act29. It is confirmed whether or not the maintenance data 146R including the above is already saved in the maintenance file 146. If the duplicate maintenance data 146R is already stored in the maintenance file 146 (Act29, YES), the CPU 11 proceeds to the process of Act33.

これに対し、重複するメンテナンスデータ146Rがメンテナンスファイル146に保存されていない場合(Act29、NO)、CPU11は、Act30として、そのOTC医薬品識別マークが付加された商品販売データの商品コードと商品名とを含むメンテナンスデータ146Rをメンテナンスファイル146に書き込み、保存する。このとき、当該メンテナンスデータ146Rの登録日時及び更新日時は、時計部15で計時されている現在日時とする。 On the other hand, when the duplicated maintenance data 146R is not saved in the maintenance file 146 (Act 29, NO), the CPU 11 sets the product code and product name of the product sales data to which the OTC drug identification mark is added as Act 30. The maintenance data 146R including the above is written in the maintenance file 146 and saved. At this time, the registration date and time and the update date and time of the maintenance data 146R are the current date and time measured by the clock unit 15.

メンテナンスファイル146への書込みを終了すると、CPU11は、Act31として、判定フラグFが“1”にセットされているか否かを確認する。そしてセットされていない場合(Act31、NO)、CPU11は、Act32として、判定フラグFを“1”にセットする。判定フラグFが既に“1”にセットされているか(Act31、NO)、Act32にて“1”にセットした場合、CPU11は、Act33へと進む。 When the writing to the maintenance file 146 is completed, the CPU 11 confirms whether or not the determination flag F is set to "1" as Act31. If it is not set (Act31, NO), the CPU 11 sets the determination flag F to “1” as Act32. If the determination flag F is already set to "1" (Act31, NO) or is set to "1" in Act32, the CPU 11 proceeds to Act33.

Act33では、CPU11は、レシートデータ25から商品販売データを検出し終えたか否かを判断する。検出し終えていない場合(Act33、NO)、CPU11は、Act25の処理に戻る。そしてCPU11は、Act25乃至Act33の処理を前記と同様に繰り返す。 In Act 33, the CPU 11 determines whether or not the product sales data has been detected from the receipt data 25. If the detection is not completed (Act33, NO), the CPU 11 returns to the process of Act25. Then, the CPU 11 repeats the processes of Act 25 to Act 33 in the same manner as described above.

こうして、レシートデータ25から商品販売データを全て検出し終えると(Act33、YES)、CPU11は、Act34として判定フラグFが“1”にセットされているか否かを確認する。そしてセットされていた場合(Act33、YES)、CPU11は、Act35として、メンテナンスデータ146Rがメンテナンスファイル146に書き込まれたことをメンテナンス担当のオペレータに通知する。具体的にはCPU11は、管理者端末60宛の電子メールを自動的に発信し、この電子メールの本文によって、メンテナンスファイル146に書き込まれたことを通知する。なお、Act34において、判定フラグFが“0”にリセットされていた場合には(Act34、NO)、メンテナンスデータ146Rがメンテナンスファイル146に書き込まれていない。この場合、CPU11は、Act35の処理をスキップする。以上で、CPU11は、レシートデータを受信した後の処理を終了する。 In this way, when all the product sales data has been detected from the receipt data 25 (Act 33, YES), the CPU 11 confirms whether or not the determination flag F is set to “1” as Act 34. Then, when it is set (Act33, YES), the CPU 11 notifies the operator in charge of maintenance that the maintenance data 146R has been written to the maintenance file 146 as Act35. Specifically, the CPU 11 automatically sends an e-mail addressed to the administrator terminal 60, and notifies that the maintenance file 146 has been written by the body of the e-mail. In Act34, when the determination flag F is reset to “0” (Act34, NO), the maintenance data 146R is not written in the maintenance file 146. In this case, the CPU 11 skips the process of Act35. With the above, the CPU 11 ends the process after receiving the receipt data.

ここに、CPU11を主体とする電子レシート管理サーバ10のコンピュータは、図11のAct21乃至Act26の処理を実行することにより、検出手段を構成する。また、同コンピュータは、図11のAct27乃至Act30の処理を実行することにより、記憶手段を構成する。また、同コンピュータは、図11のAct31乃至Act32の処理を実行することにより、通知手段を構成する。 Here, the computer of the electronic receipt management server 10 mainly composed of the CPU 11 constitutes the detection means by executing the processes of Act 21 to Act 26 of FIG. Further, the computer constitutes a storage means by executing the processes of Acts 27 to 30 of FIG. In addition, the computer configures the notification means by executing the processes of Act31 to Act32 of FIG.

かくして、商品名にマークが付与された商品販売データの商品コードと商品名とを含む商品データ145RがOTC医薬品設定ファイル145に存在しない場合に、その商品販売データに係るメンテナンスデータ146Rがメンテナンスファイル146に記憶される。 Thus, when the product data 145R including the product code and the product name of the product sales data with the mark added to the product name does not exist in the OTC drug setting file 145, the maintenance data 146R related to the product sales data is the maintenance file 146. Is remembered in.

一般に、製造販売業者等からOTC医薬品の販売開始に関する情報が提供されると、各店舗では、商品マスタファイル26が更新される。また、電子レシート管理センタにおいても、OTC医薬品設定ファイル145が更新される。しかし、商品マスタファイル26が更新されるタイミングとOTC医薬品設定ファイル145が更新されるタイミングは同期していない。このため、上述したように、商品名にマークが付与された商品販売データの商品コードと商品名とを含む商品データ145RがOTC医薬品設定ファイル145に存在しない場合が生じ得る。このような場合、本実施形態では、その商品コードと商品名とを含むメンテナンスデータ146Rがメンテナンスファイル146に記憶される。 Generally, when the manufacturer / distributor or the like provides information on the start of sales of an OTC drug, the product master file 26 is updated at each store. In addition, the OTC drug setting file 145 is also updated at the electronic receipt management center. However, the timing when the product master file 26 is updated and the timing when the OTC drug setting file 145 is updated are not synchronized. Therefore, as described above, there may be a case where the product data 145R including the product code and the product name of the product sales data in which the mark is added to the product name does not exist in the OTC drug setting file 145. In such a case, in the present embodiment, the maintenance data 146R including the product code and the product name is stored in the maintenance file 146.

次に、CPU11が実行するOTC医薬品設定ファイル145のメンテナンス処理について、図12を用いて説明する。なお、図12に示すとともに以下に説明する処理の内容は一例である。同様な結果を得ることが可能であればその手順及び内容は特に限定されるものではない。 Next, the maintenance process of the OTC drug setting file 145 executed by the CPU 11 will be described with reference to FIG. The contents of the processes shown in FIG. 12 and described below are examples. The procedure and contents are not particularly limited as long as similar results can be obtained.

メンテナンスデータ146Rがメンテナンスファイル146に書き込まれたことを通知する電子メールを確認した管理者端末60のオペレータは、管理者端末60を操作して、メンテナンス用のアプリケーションプログラムを起動する。この起動により、管理者端末60から電子レシート管理サーバ10に宛てて、メンテナンスコマンドが送信される。 The operator of the administrator terminal 60 who has confirmed the e-mail notifying that the maintenance data 146R has been written to the maintenance file 146 operates the administrator terminal 60 to start the application program for maintenance. By this activation, the maintenance command is transmitted from the administrator terminal 60 to the electronic receipt management server 10.

電子レシート管理サーバ10のCPU11は、図12のAct41として、メンテナンスコマンドを待機している。そしてCPU11は、通信ユニット16を介してメンテナンスコマンドを受信したことを検知すると(Act41、YES)、ACT42として、メンテナンスファイル146に保存されたメンテナンスデータ146Rに基づき、メンテナンスリストの表示データを作成する。メンテナンスリストは、反映状態が「未処理」のメンテナンスデータ146Rのリストである。CPU11は、Act43として、この表示データを管理者端末60に送信するように、通信ユニット16を制御する。この制御により、メンテナンスリストの表示データがネットワーク30を介して管理者端末60へと送信される。この表示データを受信した管理者端末60では、表示デバイスにメンテナンス画面SC(図13を参照)が表示される。 The CPU 11 of the electronic receipt management server 10 is waiting for a maintenance command as Act 41 in FIG. The CPU11, when detecting the reception of the maintenance command through the communication unit 16 (ACT 41, YES), the ACT 42, based on the maintenance data 146R stored in the maintenance file 146, creates display data of the maintenance list. The maintenance list is a list of maintenance data 146R whose reflection state is "unprocessed". As Act 43, the CPU 11 controls the communication unit 16 so as to transmit this display data to the administrator terminal 60. By this control, the display data of the maintenance list is transmitted to the administrator terminal 60 via the network 30. On the administrator terminal 60 that has received this display data, the maintenance screen SC (see FIG. 13 ) is displayed on the display device.

図13は、メンテナンス画面SCの一例である。図13に示すように、メンテナンス画面SCには、メンテナンスリストLと、登録ボタンB1と、中止ボタンB2とが表示される。メンテナンスリストLは、メンテナンスデータ146Rを構成する商品コード及び商品名と、登録日時、更新日時、反映状態を一覧にしたものである。登録日時は、図11のAct30において、メンテナンスファイル146に書き込まれたときの日時である。更新日時は、反映状態が更新されたときの日時である。メンテナンスリストLには、各商品コードと対応付けて、チェックボックスCBが表示されている。 FIG. 13 is an example of the maintenance screen SC. As shown in FIG. 13, the maintenance list L, the registration button B1, and the stop button B2 are displayed on the maintenance screen SC. The maintenance list L is a list of product codes and product names constituting the maintenance data 146R, registration date and time, update date and time, and reflection status. The registration date and time is the date and time when the maintenance file 146 is written in Act 30 of FIG. The update date and time is the date and time when the reflection status is updated. In the maintenance list L, a check box CB is displayed in association with each product code.

メンテナンス画面SCを確認したオペレータは、メンテナンスリストLのなかからOTC医薬品として公表されている商品を選択し、対応するチェックボックスCBにチェックを入れる。そしてオペレータは、登録ボタンB1を入力する。登録ボタンB1が入力されると、管理者端末60から電子レシート管理サーバ10に宛てて、登録コマンドが送信される。登録コマンドには、メンテナンスリストLにおいて、対応するチェックボックスCBにチェックが入れられた商品コードと商品名との対データが含まれる。なお、登録ボタンB1を入力することなくメンテナンス業務を終了する場合には、オペレータは中止ボタンB2を入力する。中止ボタンB2が入力されると、管理者端末60から電子レシート管理サーバ10に宛てて、中止コマンドが送信される。 The operator who confirms the maintenance screen SC selects a product published as an OTC drug from the maintenance list L and checks the corresponding check box CB. Then, the operator inputs the registration button B1. When the registration button B1 is input, a registration command is transmitted from the administrator terminal 60 to the electronic receipt management server 10. The registration command includes paired data of the product code and the product name in which the corresponding check box CB is checked in the maintenance list L. When the maintenance work is completed without inputting the registration button B1, the operator inputs the stop button B2. When the cancel button B2 is input, the cancel command is transmitted from the administrator terminal 60 to the electronic receipt management server 10.

メンテナンスリストの表示データを送信した電子レシート管理サーバ10のCPU11は、Act44として中止コマンドを受信したか否かを確認する。中止コマンドを受信していない場合(Act44、NO)、CPU11は、Act45として登録コマンドを受信したか否かを確認する。登録コマンドを受信していない場合(Act45、NO)、CPU11は、Act44に戻る。かくしてCPU11は、Act44及びAct45の処理により、中止コマンド又は登録コマンドを受信するのを待ち受ける。 The CPU 11 of the electronic receipt management server 10 that has transmitted the maintenance list display data confirms whether or not the stop command has been received as Act44. When the stop command has not been received (Act44, NO), the CPU 11 confirms whether or not the registration command has been received as Act45. If the registration command has not been received (Act45, NO), the CPU 11 returns to Act44. Thus, the CPU 11 waits for the stop command or the registration command to be received by the processing of Act44 and Act45.

この待ち受け状態において、通信ユニット16を介して中止コマンドを受信したことを検知した場合には(Act44、YES)、CPU11は、この処理を終了する。 In this standby state, when it is detected that the stop command has been received via the communication unit 16 (Act44, YES), the CPU 11 ends this process.

一方、登録コマンドを受信したことを検知した場合には(Act45、YES)、CPU11は、Act46として、その登録コマンドから商品コードと商品名との対データを検出する。そしてCPU11は、この対データを含むOTC医薬品の商品データ145Rを作成し、OTC医薬品設定ファイル145に追加する。このとき、商品データ145Rの有効フラグは、有効状態を示す“1”にセットする。 On the other hand, when it is detected that the registration command has been received (Act45, YES), the CPU 11 detects the paired data of the product code and the product name from the registration command as Act46. Then, the CPU 11 creates the product data 145R of the OTC drug including this pair data and adds it to the OTC drug setting file 145. At this time, the valid flag of the product data 145R is set to "1" indicating the valid state.

こうして、登録コマンドに含まれていた対データの商品コードと商品名とを含む商品データ145RをOTC医薬品設定ファイル145に追加し終えたならば、CPU11は、Act47として、メンテナンスデータ146Rのステータスを更新する。具体的には、OTC医薬品設定ファイル145に追加されたメンテナンスデータ146Rについては、反映状態を「未処理」から「登録済」にも更新する。一方、OTC医薬品設定ファイル145に追加されなかったメンテナンスデータ146Rについては、反映状態を「未処理」から「登録せず」に更新する。また、以上で、CPU11は、この処理を終了する。 In this way, when the product data 145R including the product code and the product name of the pair data included in the registration command has been added to the OTC drug setting file 145, the CPU 11 updates the status of the maintenance data 146R as Act47. To do. Specifically, for the maintenance data 146R added to the OTC drug setting file 145, the reflection status is updated from "unprocessed" to "registered". On the other hand, for the maintenance data 146R that was not added to the OTC drug setting file 145, the reflection status is updated from "unprocessed" to "not registered". Further, the CPU 11 ends this process.

ここに、CPU11を主体とする電子レシート管理サーバ10のコンピュータは、図12のAct45及びAct46の処理を実行することにより、追加手段を構成する。また同コンピュータは、図12のAct42およびAct43の処理を実行することにより、受付手段を構成する。 Here, the computer of the electronic receipt management server 10 mainly composed of the CPU 11 constitutes additional means by executing the processes of Act 45 and Act 46 of FIG. The same computer, by executing the processing of Act42 and Act43 of 12, constituting the receiving means.

このように本実施形態の電子レシート管理サーバ10によれば、各店舗のPOSシステム20から受信したレシートデータに基づき、OTC医薬品設定ファイル145に情報が反映されていないOTC医薬品を精度よく抽出することができる。 As described above, according to the electronic receipt management server 10 of the present embodiment, the OTC drug whose information is not reflected in the OTC drug setting file 145 is accurately extracted based on the receipt data received from the POS system 20 of each store. Can be done.

また、電子レシート管理サーバ10によれば、OTC医薬品設定ファイル145に情報が反映されていないOTC医薬品が抽出されたことを、メンテナンス担当のオペレータに通知することができる。 Further, according to the electronic receipt management server 10, it is possible to notify the operator in charge of maintenance that the OTC drug whose information is not reflected in the OTC drug setting file 145 has been extracted.

また、電子レシート管理サーバ10によれば、メンテナンス担当のオペレータからの指示に応じて、OTC医薬品設定ファイル145に情報が反映されていないOTC医薬品の情報をOTC医薬品設定ファイル145に追加することができる。したがって、OTC医薬品に係る購買金額の会員別集計処理が開始される前に、OTC医薬品設定ファイル145に欠落していた情報を追加することによって、電子レシート管理サーバ10は、消費者別のOTC医薬品の購買情報を精度よく管理することができる。 Further, according to the electronic receipt management server 10, information on the OTC drug whose information is not reflected in the OTC drug setting file 145 can be added to the OTC drug setting file 145 in response to an instruction from the operator in charge of maintenance. .. Therefore, by adding the missing information to the OTC drug setting file 145 before the member-specific aggregation processing of the purchase amount related to the OTC drug is started, the electronic receipt management server 10 can use the OTC drug for each consumer. It is possible to manage the purchase information of.

ところで、各店舗で商品マスタファイル26を更新する際に、誤ってOTC医薬品以外の商品にマークを付与してしまう場合があり得る。その場合、本実施形態においては、OTC医薬品でない商品のデータがメンテナンスファイル146に記憶される。しかし、本実施形態では、電子レシート管理サーバ10がメンテナンスファイル146に記憶されたデータを基にメンテナンスリストLを作成し、このメンテナンスリストLを管理者端末60の表示デバイスに表示させて、OTC医薬品設定ファイル145に追加するか否かの選択を受け付けるようにしている。したがって、誤ってOTC医薬品以外の商品に係るデータがOTC医薬品設定ファイル145に追加されるのを未然に防ぐことができる。 By the way, when updating the product master file 26 at each store, it is possible that a mark is mistakenly added to a product other than an OTC drug. In that case, in the present embodiment, the data of the product that is not an OTC drug is stored in the maintenance file 146. However, in the present embodiment, the electronic receipt management server 10 creates a maintenance list L based on the data stored in the maintenance file 146, displays the maintenance list L on the display device of the administrator terminal 60, and displays the OTC drug. The selection of whether to add to the setting file 145 is accepted. Therefore, it is possible to prevent data related to products other than OTC drugs from being accidentally added to the OTC drug setting file 145.

次に、本実施形態の変形列について説明する。 Next, the modified sequence of the present embodiment will be described.

前記実施形態では、電子レシート管理サーバ10に、上記情報処理装置としての機能を設けた場合を示した。この点に関しては、電子レシート管理サーバ10以外のコンピュータ機器に上記情報処理装置としての機能を設けてもよい。この場合、情報処理装置としての機能を有するコンピュータ機器は、電子レシート管理サーバ10と通信手段を介して接続するとともに、メンテナンスファイル146を備える。そしてコンピュータ機器は、電子レシート管理サーバ10で受信したレシートデータ25を取込み、図11及び図12の流れ図に示した情報処理を実行する。そうすることにより、OTC医薬品設定ファイル145に情報が反映されていないOTC医薬品を精度よく抽出できるコンピュータ機器を実現することができる。このようなコンピュータ機器は、例えば管理者端末60であってもよい。 In the above embodiment, the case where the electronic receipt management server 10 is provided with the function as the information processing device is shown. Regarding this point, a computer device other than the electronic receipt management server 10 may be provided with a function as the information processing device. In this case, the computer device having a function as an information processing device is connected to the electronic receipt management server 10 via a communication means and includes a maintenance file 146. Then, the computer device takes in the receipt data 25 received by the electronic receipt management server 10 and executes the information processing shown in the flow charts of FIGS. 11 and 12. By doing so, it is possible to realize a computer device capable of accurately extracting OTC drugs whose information is not reflected in the OTC drug setting file 145. Such a computer device may be, for example, an administrator terminal 60.

前記実施形態では、店舗ファイル142に記憶される店舗データにOTC医薬品識別マークを含ませた。そして電子レシート管理サーバ10は、レシートデータに含まれる店舗コードで店舗ファイル142を検索して、その店舗で使用されるマークを取得するようにした。この点に関しては、次のようにしてもよい。すなわち、レシートデータには、OTC医薬品の商品名に付加されるマークとともに、そのマークが付されている商品がOTC医薬品である旨のテキストが含まれる。そこで、電子レシート管理サーバ10は、このテキストを解析してマークを取得する。こうすることにより、店舗ファイル142において、店舗毎にOTC医薬品識別マークを記憶する必要はなくなる。 In the above embodiment, the store data stored in the store file 142 includes the OTC drug identification mark. Then, the electronic receipt management server 10 searches the store file 142 with the store code included in the receipt data, and acquires the mark used in the store. In this regard, the following may be done. That is, the receipt data includes a mark added to the product name of the OTC drug and a text indicating that the product with the mark is an OTC drug. Therefore, the electronic receipt management server 10 analyzes this text and acquires the mark. By doing so, it is not necessary to store the OTC drug identification mark for each store in the store file 142.

なお、前記実施形態では、店舗ファイル142において店舗を単位としてOTC医薬品識別マークを設定する場合を示したが、店舗を運営する企業体を単位としてOTC医薬品識別マークを設定してもよい。この場合、レシートデータ25に企業体を識別する企業体コードを含ませる。そして、各企業体の企業体コード別にOTC医薬品識別マークを一元的に管理するデータファイルを電子レシート管理サーバ10に設ける。こうすることにより、企業体を単位としてOTC医薬品識別マークを設定することができる。また、同データファイルに店舗コードを組み入れることにより、企業体コードと店舗コードとの組み合わせによってOTC医薬品識別マークを設定することも可能となる。 In the above-described embodiment, the case where the OTC drug identification mark is set for each store in the store file 142 is shown, but the OTC drug identification mark may be set for each company that operates the store. In this case, the receipt data 25 includes a business entity code that identifies the business entity. Then, a data file for centrally managing the OTC drug identification mark for each company code of each company is provided in the electronic receipt management server 10. By doing so, the OTC drug identification mark can be set for each business entity. In addition, by incorporating the store code into the data file, it is possible to set the OTC drug identification mark by combining the company code and the store code.

また、購買商品がOTC医薬品であることを示す情報は、必ずしもマークでなくてもよい。レシートデータに含まれる商品販売データに、OTC医薬品であることを示すマーク以外の情報を含ませてもよい。 In addition, the information indicating that the purchased product is an OTC drug does not necessarily have to be a mark. The product sales data included in the receipt data may include information other than the mark indicating that the drug is an OTC drug.

前記実施形態では、メンテナンス画面SCを確認したオペレータが、メンテナンスリストLのなかからOTC医薬品として公表されている商品に対応するチェックボックスCBにチェックを入れるようにした。この点に関しては、デフォルトとしてチェックボックスCBにチェックが入っており、OTC医薬品以外の商品に対応したチェックボックスCBからチェックを外すようにしてもよい。 In the above embodiment, the operator who confirms the maintenance screen SC checks the check box CB corresponding to the product published as an OTC drug from the maintenance list L. Regarding this point, the check box CB is checked by default, and the check box CB corresponding to products other than OTC drugs may be unchecked.

前記実施形態では、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品をOTC医薬品とした。対象商品は、必ずしもOTC医薬品に限定されるものではない。同様の税制対象商品に対して、本実施形態は同様に適用できるものである。 In the above-described embodiment, an OTC drug is a product subject to a tax system that can receive a tax deduction when the annual purchase amount is within a predetermined amount range. The target products are not necessarily limited to OTC drugs. The present embodiment can be similarly applied to similar taxable products.

なお、情報処理装置の譲渡は一般に、プログラムがROM12又は補助記憶デバイス14に記憶された状態にて行われる。しかしこれに限らず、プログラムがROM12又は補助記憶デバイス14に記憶されていない状態で譲渡されてもよい。そしてこの場合は、情報処理装置が備える書き込み可能な記憶デバイスに、この情報処理装置とは個別に譲渡されたプログラムがユーザなどの操作に応じて書き込まれる。プログラムの譲渡は、リムーバブルな記録媒体に記録して、あるいはネットワークを介した通信により行うことができる。記録媒体は、CD−ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。また、プログラムのインストールやダウンロードにより得る機能は、装置内部のOS(オペレーティング・システム)等と協働してその機能を実現させるものであってもよい。 The transfer of the information processing device is generally performed in a state where the program is stored in the ROM 12 or the auxiliary storage device 14. However, the present invention is not limited to this, and the program may be transferred without being stored in the ROM 12 or the auxiliary storage device 14. Then, in this case, the program transferred separately from the information processing device is written to the writable storage device included in the information processing device according to the operation of the user or the like. The transfer of the program can be done by recording on a removable recording medium or by communicating via a network. The recording medium may be in any form as long as it can store a program such as a CD-ROM or a memory card and the device can read it. Further, the function obtained by installing or downloading the program may be one that realizes the function in cooperation with the OS (operating system) or the like inside the device.

この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
[1]レシートデータに含まれる購買商品に関する情報から、当該購買商品が、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報を検出する検出手段と、前記購買商品に関する情報から前記対象商品であることを示す情報が検出された購買商品を識別するデータが、前記対象商品を識別するデータを記憶した第1記憶部に存在しない場合、当該購買商品を識別するデータを第2記憶部に記憶させる記憶手段と、を具備する情報処理装置。
[2]前記購買商品を識別するデータが前記第2記憶部に記憶されたことを外部に通知する通知手段、をさらに具備する付記[1]記載の情報処理装置。
[3]前記第2記憶部に記憶された前記購買商品を識別するデータを前記第1記憶部に追加する追加手段、をさらに具備する付記[1]又は[2]記載の情報処理装置。
[4]前記第2記憶部に記憶された前記購買商品を識別するデータを前記第1記憶部に追加するか否かを受け付ける受付手段、をさらに具備し、前記追加手段は、前記追加することを受け付けた前記購買商品を識別するデータを前記第1記憶部に追加する、付記[3]記載の情報処理装置。
[5]前記検出手段は、前記購買商品に関する情報に含まれる商品名に所定のマークが付与されているか確認し、付与されている場合、そのマークを前記対象商品であることを示す情報として検出する、付記[1]乃至[4]のうちいずれか1項記載の情報処理装置。
[6]コンピュータを、レシートデータに含まれる購買商品に関する情報から、当該購買商品が、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報を検出する検出手段、及び、前記購買商品に関する情報から前記対象商品であることを示す情報が検出された購買商品を識別するデータが、前記対象商品を識別するデータを記憶した第1記憶部に存在しない場合、当該購買商品を識別するデータを第2記憶部に記憶させる記憶手段、として機能させるためのプログラム。
In addition, although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other embodiments, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.
Hereinafter, the inventions described in the claims of the original application of the present application will be added.
[1] From the information on the purchased product included in the receipt data, the information indicating that the purchased product is a product subject to the tax system that can receive a tax deduction when the annual purchase amount is within the predetermined amount range is detected. When the detection means and the data for identifying the purchased product in which the information indicating the target product is detected from the information about the purchased product does not exist in the first storage unit that stores the data for identifying the target product. An information processing device including a storage means for storing data identifying the purchased product in a second storage unit.
[2] The information processing device according to the appendix [1], further comprising a notification means for notifying the outside that data identifying the purchased product is stored in the second storage unit.
[3] The information processing apparatus according to the appendix [1] or [2], further comprising an additional means for adding data for identifying the purchased product stored in the second storage unit to the first storage unit.
[4] The receiving means for receiving whether or not to add the data for identifying the purchased product stored in the second storage unit to the first storage unit is further provided, and the additional means is added. The information processing device according to the appendix [3], which adds data for identifying the purchased product that has received the above to the first storage unit.
[5] The detection means confirms whether or not a predetermined mark is given to the product name included in the information about the purchased product, and if it is given, detects the mark as information indicating that the product is the target product. The information processing apparatus according to any one of the appendices [1] to [4].
[6] Information indicating from the information about the purchased product included in the receipt data that the purchased product is a product subject to the tax system that can receive a tax deduction when the annual purchase amount is within the predetermined amount range. In the first storage unit that stores the data for identifying the target product, the detection means for detecting the target product and the data for identifying the purchased product in which the information indicating that the product is the target product is detected from the information about the purchased product A program for functioning as a storage means for storing data for identifying the purchased product in the second storage unit when the product does not exist.

10…電子レシート管理サーバ、20…POSシステム、21…POS端末、22…ストアサーバ、23…プリンタ、25…レシートデータ、26…商品マスタファイル、30…ネットワーク、40…基地局、50…情報端末、60…管理者端末、100…電子レシートシステム、141…会員ファイル、142…店舗ファイル、143…電子レシートファイル、144…月間集計ファイル、145…OTC医薬品設定ファイル、146…メンテナンスファイル。 10 ... Electronic receipt management server, 20 ... POS system, 21 ... POS terminal, 22 ... Store server, 23 ... Printer, 25 ... Receipt data, 26 ... Product master file, 30 ... Network, 40 ... Base station, 50 ... Information terminal , 60 ... administrator terminal, 100 ... electronic receipt system, 141 ... member file, 142 ... store file, 143 ... electronic receipt file, 144 ... monthly total file, 145 ... OTC drug setting file, 146 ... maintenance file.

Claims (5)

レシートデータに含まれる購買商品に関する情報から、当該購買商品が、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報を検出する検出手段と、
前記購買商品に関する情報から前記対象商品であることを示す情報が検出された購買商品を識別するデータが、前記対象商品を識別するデータを記憶した第1記憶部に存在しない場合、当該購買商品を識別するデータを、前記第1記憶部に対するメンテナンスデータを記憶するための第2記憶部に記憶させる記憶手段と、
前記第2記憶部に記憶された前記購買商品を識別するデータを前記第1記憶部に追加する追加手段と、
を具備する情報処理装置。
A detection means for detecting information indicating that the purchased product is a tax-deductible product when the annual purchase amount is within a predetermined amount range from the information on the purchased product included in the receipt data. ,
When the data for identifying the purchased product in which the information indicating the target product is detected from the information about the purchased product does not exist in the first storage unit that stores the data for identifying the target product, the purchased product is stored. A storage means for storing the identification data in the second storage unit for storing the maintenance data for the first storage unit, and
An additional means for adding data for identifying the purchased product stored in the second storage unit to the first storage unit, and
Information processing device equipped with.
前記購買商品を識別するデータが前記第2記憶部に記憶されたことを外部に通知する通知手段、をさらに具備する請求項1記載の情報処理装置。 The information processing device according to claim 1, further comprising a notification means for notifying the outside that the data identifying the purchased product is stored in the second storage unit. 前記第2記憶部に記憶された前記購買商品を識別するデータを前記第1記憶部に追加するか否かを受け付ける受付手段、をさらに具備し、
前記追加手段は、前記追加することを受け付けた前記購買商品を識別するデータを前記第1記憶部に追加する、請求項1又は2記載の情報処理装置。
Further provided with a receiving means for receiving whether or not to add the data for identifying the purchased product stored in the second storage unit to the first storage unit.
The information processing device according to claim 1 or 2 , wherein the additional means adds data identifying the purchased product that has been accepted to be added to the first storage unit.
前記検出手段は、前記購買商品に関する情報に含まれる商品名に所定のマークが付与されているか確認し、付与されている場合、そのマークを前記対象商品であることを示す情報として検出する、請求項1乃至のうちいずれか1項記載の情報処理装置。 The detection means confirms whether or not a predetermined mark is given to the product name included in the information about the purchased product, and if it is given, detects the mark as information indicating that the product is the target product. The information processing apparatus according to any one of items 1 to 3 . コンピュータを、
レシートデータに含まれる購買商品に関する情報から、当該購買商品が、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報を検出する検出手段、
記購買商品に関する情報から前記対象商品であることを示す情報が検出された購買商品を識別するデータが、前記対象商品を識別するデータを記憶した第1記憶部に存在しない場合、当該購買商品を識別するデータを、前記第1記憶部に対するメンテナンスデータを記憶するための第2記憶部に記憶させる記憶手段、及び、
前記第2記憶部に記憶された前記購買商品を識別するデータを前記第1記憶部に追加する追加手段、
として機能させるためのプログラム。
Computer,
From the information on the purchase products included in the receipt data, the purchase products, detection means to detect the information indicating that the annual purchases are Shipping tax that can receive tax credits when within a predetermined amount range ,
If information indicating that the information for the previous SL purchased merchandise is the target item data identifying the purchased merchandise that is detected is not present in the first storage unit storing data identifying the Shipping, the purchased merchandise A storage means for storing the data for identifying the above in the second storage unit for storing the maintenance data for the first storage unit , and
An additional means for adding data for identifying the purchased product stored in the second storage unit to the first storage unit,
A program to function as.
JP2018000076A 2018-01-04 2018-01-04 Information processing equipment and programs Active JP6808661B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018000076A JP6808661B2 (en) 2018-01-04 2018-01-04 Information processing equipment and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018000076A JP6808661B2 (en) 2018-01-04 2018-01-04 Information processing equipment and programs

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020138544A Division JP7065155B2 (en) 2020-08-19 2020-08-19 Information processing equipment and programs

Publications (2)

Publication Number Publication Date
JP2019121151A JP2019121151A (en) 2019-07-22
JP6808661B2 true JP6808661B2 (en) 2021-01-06

Family

ID=67307319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018000076A Active JP6808661B2 (en) 2018-01-04 2018-01-04 Information processing equipment and programs

Country Status (1)

Country Link
JP (1) JP6808661B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020191135A (en) * 2020-08-19 2020-11-26 東芝テック株式会社 Information processing device and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0814871B2 (en) * 1986-12-09 1996-02-14 富士通株式会社 POS system
JP2015162072A (en) * 2014-02-27 2015-09-07 東芝テック株式会社 Medicine registration device, and program
JP6521528B2 (en) * 2016-04-18 2019-05-29 富士フイルム株式会社 Alternative medicine search device and alternative medicine search method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020191135A (en) * 2020-08-19 2020-11-26 東芝テック株式会社 Information processing device and program
JP7065155B2 (en) 2020-08-19 2022-05-11 東芝テック株式会社 Information processing equipment and programs

Also Published As

Publication number Publication date
JP2019121151A (en) 2019-07-22

Similar Documents

Publication Publication Date Title
JP6927919B2 (en) Electronic receipt system, payment device, sales promotion receipt server and information processing program
JP6359494B2 (en) Electronic receipt system, server device and program thereof
JP6808661B2 (en) Information processing equipment and programs
US20190026713A1 (en) Server for managing transaction settlement data from different types of point-of-sale devices
JP6670732B2 (en) Receipt data management device, its program, and receipt data management method
JP7065155B2 (en) Information processing equipment and programs
JP2020154856A (en) Transaction processing system and transaction processing device
JP2016095587A (en) Mobile terminal device, commodity sales data processing device, and program
US20170017979A1 (en) Electronic receipt system, server device, and program
US11593799B2 (en) Message-less B2B transaction processing
JP6736749B2 (en) Receipt data management device, its program, and receipt data management method
JP2015197769A (en) Privilege provision device, program, privilege provision system, and privilege provision method
JP6752987B2 (en) Receipt data management device and its program, and receipt data management method
JP6752956B2 (en) Receipt data management device and its program, and receipt data management method
JP6329108B2 (en) Display device and information processing device
JP6932818B2 (en) Server device and its program and coupon distribution method
JP6719617B2 (en) Electronic receipt system, server device and its program, and coupon distribution method
JP7091402B2 (en) Receipt data management device and its program and receipt data management method
JP6982148B2 (en) Receipt data management device and its program, and receipt data management method
JP7440165B2 (en) Payment history management system, information processing device, payment history management method and program
JP5613739B2 (en) Information processing apparatus and program
JP6667707B2 (en) Information terminal and its program, display control method, and server and its program, electronic receipt information transmitting method, electronic coupon information transmitting method
JP7299062B2 (en) Transaction processing device and its control program
JP6530537B2 (en) Electronic receipt system, server device and program thereof
JP6722623B2 (en) Receipt data management device, its program, and receipt data management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191223

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20191223

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20191224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200623

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200819

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20201110

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201209

R150 Certificate of patent or registration of utility model

Ref document number: 6808661

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150