JP2024052989A - Terminal and its program - Google Patents

Terminal and its program Download PDF

Info

Publication number
JP2024052989A
JP2024052989A JP2024033144A JP2024033144A JP2024052989A JP 2024052989 A JP2024052989 A JP 2024052989A JP 2024033144 A JP2024033144 A JP 2024033144A JP 2024033144 A JP2024033144 A JP 2024033144A JP 2024052989 A JP2024052989 A JP 2024052989A
Authority
JP
Japan
Prior art keywords
data
product
information
act
purchased
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
JP2024033144A
Other languages
Japanese (ja)
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
Priority claimed from JP2022071827A external-priority patent/JP7508504B2/en
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2024033144A priority Critical patent/JP2024052989A/en
Publication of JP2024052989A publication Critical patent/JP2024052989A/en
Pending legal-status Critical Current

Links

Landscapes

  • Chemical & Material Sciences (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Engineering & Computer Science (AREA)
  • Materials Engineering (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Organic Chemistry (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Chemical & Material Sciences (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Oil, Petroleum & Natural Gas (AREA)
  • Mechanical Engineering (AREA)
  • Metallurgy (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

【課題】レシートデータに基づき、OTC医薬品の情報を記憶するためのデータファイルに情報が反映されていないOTC医薬品を精度よく抽出する。
【解決手段】情報処理装置は、レシートデータに含まれる購買商品に関する情報から、当該購買商品が、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報を検出する。そして情報処理装置は、購買商品に関する情報から対象商品であることを示す情報が検出された購買商品を識別するデータが、対象商品を識別するデータを記憶した第1記憶部に存在しない場合、当該購買商品を識別するデータを第2記憶部に記憶させる。
【選択図】 図11



An object of the present invention is to accurately extract OTC drugs whose information is not reflected in a data file for storing information on OTC drugs, based on receipt data.
[Solution] An information processing device detects, from information about a purchased item contained in receipt data, information indicating that the purchased item is a target item of a tax system under which the purchased item can be tax-deducted when the annual purchase amount is within a predetermined range. If data identifying a purchased item for which information indicating that the purchased item is a target item has been detected from the information about the purchased item is not present in a first storage unit that stores data identifying the target item, the information processing device stores the data identifying the purchased item in a second storage unit.
[Selection diagram] Figure 11



Description

本発明の実施形態は、情報処理装置及びプログラムに関する。 An embodiment of the present invention relates to an information processing device and a program.

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

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

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

OTC医薬品のデータファイルは、製造販売業者等から提供されるOTC医薬品の販売開始、販売中止等の情報を基に、例えば2ヶ月に1回の割合で定期的に更新される。これに対し、店舗で商品が販売される際にPOS端末等によって照会され、各取引のレシートに含まれる各商品のマスタとなる商品ファイルの更新は、より短期間に頻繁に更新される。このため、新たに販売されたOTC医薬品の場合、レシートデータでは、OTC医薬品として扱われていたとしても、前記データファイルには情報が反映されていない場合があり得る。そのような場合、消費者別の管理データから当該OTC医薬品のデータが漏れてしまう。 Data files for OTC drugs are updated periodically, for example once every two months, based on information on the start and end of sales of OTC drugs provided by manufacturers and distributors. In contrast, product files that serve as the master for each product included in the receipt for each transaction and are queried by POS terminals and the like when products are sold in stores are updated more frequently over a shorter period of time. For this reason, in the case of newly sold OTC drugs, even if the drug is treated as an OTC drug in the receipt data, the information may not be reflected in the data file. In such cases, the data for the OTC drug will be missing from the consumer-specific management data.

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

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

一実施形態において、情報処理装置は、検出手段と、記憶手段と、を備える。検出手段は、レシートデータに含まれる購買商品に関する情報から、当該購買商品が、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報を検出する。記憶手段は、購買商品に関する情報から対象商品であることを示す情報が検出された購買商品を識別するデータが、対象商品を識別するデータを記憶した第1記憶部に存在しない場合、当該購買商品を識別するデータを第2記憶部に記憶させる。 In one embodiment, the information processing device includes a detection means and a storage means. The detection means detects, from information about the purchased item included in the receipt data, information indicating that the purchased item is a subject item of a tax system that allows tax deductions when the annual purchase amount is within a predetermined amount range. The storage means stores the data identifying the purchased item in the second storage unit when data identifying the subject item is not present in the first storage unit that stores data identifying the subject item, if data identifying the purchased item for which information indicating that the purchased item is detected from the information about the purchased item is not present in the first storage unit that stores data identifying the subject item.

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

以下、レシートデータに基づき、OTC医薬品の情報を記憶するためのデーファイルに情報が反映されていないOTC医薬品を精度よく抽出することができる情報処理装置の実施形態について、図面を用いて説明する。なお、この実施形態は、図1に示す電子レシートシステム100の電子レシート管理サーバ10に、上記情報処理装置としての機能を設けた場合である。 The following describes an embodiment of an information processing device that can accurately extract OTC drugs whose information is not reflected in a data file for storing information on OTC drugs based on receipt data, with reference to the drawings. Note that this embodiment is a case in which the electronic receipt management server 10 of the electronic receipt system 100 shown in FIG. 1 is provided with the functionality of 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, multiple POS (Point Of Sales) systems 20, a network 30 such as the Internet, multiple base stations 40 connected to the network 30, multiple information terminals 50 capable of wireless communication with the base stations 40, and an administrator terminal 60. The electronic receipt management server 10 is constructed in an electronic receipt management center that manages the electronic receipt service. The POS systems 20 are constructed in each store that is a member of the electronic receipt service. The information terminals 50 are used by consumers who have registered as members to receive the 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 multiple POS terminals 21, a store server 22, and a printer 23, which are connected by a communication line 24 such as a LAN (Local Area Network). The POS terminals 21 function as payment terminals for commercial transactions. The store server 22 manages sales, inventory, etc. for the entire store based on data on commercial transactions settled at each POS terminal 21. The printer 23 is capable of printing various types of forms. The printer 23 may be a dedicated printer, or a multifunction machine with multiple functions such as copying and faxing.

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

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 accepts input of a member ID at the POS terminal 21, it converts receipt print data, which indicates the details of a commercial transaction with the consumer identified by the member ID, into a structured format to create electronic receipt data 25 (see FIG. 2). The POS system 20 then 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 a structured format may be performed by the POS terminal 21 or by the store server 22. When the process of converting the receipt print data into a structured format is performed by the POS terminal 21, the receipt data 25 may be output directly from the POS terminal 21 to the electronic receipt management server 10 via the network 30, or may be output via the store server 22. When the process of converting the receipt print data into a structured format is performed by the store server 22, the receipt data 25 is output from the store server 22 to the electronic receipt management server 10 via the network 30. The process of converting receipt print data into a structured format is a well-known technique, so a detailed explanation will be omitted here.

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

店舗コードは、各店舗を識別するために店舗毎に設定された一意のコードである。取引日時は、例えば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 transaction is started or settled at the POS terminal 21. The transaction number is a unique number issued for each transaction. The product code is a unique code set for each product to identify each product. The classification code is a unique code set for each product classification to identify the product classification (food, daily necessities, medical supplies, 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 item. The points are the number of the same product purchased in one transaction, and the amount is a value calculated by multiplying the points by the unit price. The payment amount is the amount paid by the member to settle the transaction. The payment type is information that specifies the type of payment (cash, credit card, points, gift certificate, etc.) for the payment amount, and the payment information is the payment amount for that payment type.

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

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

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

因みに、セルフメディケーション税制を導入するにあたり、レシート等の証明書類には、商品名、金額、販売店名、購入日とともに、当該商品がOTC医薬品である旨を明記することが定められている。そして、OTC医薬品である旨を明記する方法として、商品名の前に上記のようなマークを付すとともに、当該マークが付されている商品がOTC医薬品である旨を証明書類に記載する方法、又は、OTC医薬品のみ合計額を分けて記載する方法がある。 Incidentally, when the self-medication tax system is introduced, receipts and other proof documents must state that the product is an OTC drug, along with the product name, price, store name, and purchase date. Methods for indicating that a product is an OTC drug include placing a mark like the one above before the product name and stating on the proof that the product with that mark is an OTC drug, or listing the total price separately for OTC drugs only.

再び、図1に説明を戻す。
情報端末50は、少なくとも表示デバイスと、入力デバイスと、無線通信デバイスとを備える。また情報端末50は、Webブラウザを備える。そして電子レシートサービスを受ける消費者は、専用のアプリケーションプログラムである電子レシート閲覧プログラムを情報端末50にインストールする。この電子レシート閲覧プログラムを情報端末50にインストールすることで、会員登録、レシート画像の閲覧及びセルフメディケーション税制に対応した確定申告用の帳票出力等が可能となる。会員登録を行うことで、情報端末50のメモリに形成された電子レシート閲覧プログラムの管理領域に会員IDが設定される。この種の情報端末50としては、スマートフォン、携帯電話、タブレット端末、ノートパソコン等の電子機器が使用される。
Returning to FIG.
The information terminal 50 includes at least a display device, an input device, and a wireless communication device. The information terminal 50 also includes a web browser. A consumer who receives the electronic receipt service installs an electronic receipt viewing program, which is a dedicated application program, in the information terminal 50. By installing this electronic receipt viewing program in the information terminal 50, it becomes possible to register as a member, view receipt images, and output forms for tax returns that correspond to the self-medication tax system. By registering as a member, a member ID is set in the management area of the electronic receipt viewing program formed in the memory of the information terminal 50. As this type of information terminal 50, 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 receipt data 25 output from the POS system 20 of each store for a certain period of time. In response to a viewing request from the information terminal 50, the electronic receipt management server 10 transmits receipt image data created based on the receipt data 25 to the information terminal 50 that has made the viewing request. In response to a creation request from the information terminal 50, the electronic receipt management server 10 also creates a tax return form that complies with the self-medication tax system. 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 is capable of data communication with the electronic receipt management server 10 via the network 30. The administrator terminal 60 is used for maintenance of data files managed by the electronic receipt management server 10. In other words, an application program for controlling the maintenance of the data files 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. A personal computer, a smartphone, a tablet terminal, etc. can be used as this type of administrator terminal 60.

図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で接続される。 Figure 4 is a block diagram showing the 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, and a communication unit 16. The CPU 11, 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 path 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 is configured as a computer including a CPU 11, a ROM 12, a RAM 13, an auxiliary storage device 14, and a system transmission line 17 that connects these components.
The CPU 11 corresponds to the central part of the computer. The CPU 11 controls each part to realize various functions of the electronic receipt management server 10 according to an operating system and application programs.

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

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

補助記憶デバイス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 operating system and application programs. The auxiliary storage device 14 may also store data used by the CPU 11 in performing various processes, or data generated by the processes in the CPU 11. The auxiliary storage device 14 may be, for example, an EEPROM (Electric Erasable Programmable Read-Only Memory), a HDD (Hard Disc Drive), or an SSD (Solid State Drive).

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

かかる構成の電子レシート管理サーバ10は、図5に示すように、補助記憶デバイス14の記憶領域の一部を、会員ファイル141、店舗ファイル142、電子レシートファイル143、月間集計ファイル144、OTC医薬品設定ファイル145及びメンテナンスファイル146として使用する。 As shown in FIG. 5, the electronic receipt management server 10 configured in this way uses part of the memory area of the auxiliary memory device 14 as a member file 141, a store file 142, an electronic receipt file 143, a monthly tally file 144, an OTC drug setting file 145, and a 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 to receive the electronic receipt service. The member data includes information such as a member ID, email address, and password. The email address and password are information that the consumer identified by the member ID sets arbitrarily 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 specific to the business entity that operates the store identified by the store code. The OTC drug identification mark is a mark determined by the business entity that operates the store identified by the store code as information for identifying an OTC drug. The printer address is a communication address for identifying the printer 23 built into 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 tax return forms that correspond to the self-medication tax system.

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

月間集計ファイル144は、電子レシートサービスを受けるために会員登録を行った消費者毎に年月別に作成される月間集計データを記憶するための領域である。月間集計データは、一か月を単位として商品分類毎にその分類に属する商品の購買金額を合計したデータである。また月間集計データは、一か月を単位としてOTC医薬品の購買金額を合計したデータを含む。 The monthly tally file 144 is an area for storing monthly tally data created by year and month for each consumer who has registered as a member to receive the electronic receipt service. The monthly tally data is data that totals the purchase amounts of products belonging to each product category for each month. The monthly tally data also includes data that totals the purchase amounts of OTC medicines for each 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 product data 145R (see FIG. 7) of OTC drugs that have been announced by the Ministry of Health, Labor and Welfare as items 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 validity flag. The validity flag is 2-bit information that identifies whether a product identified by a product code is valid as an OTC drug. For example, when the validity flag is "1", the product is valid as an OTC drug. For example, when the validity flag is "0", the product is invalid as an OTC drug. The product data 145R of the OTC drug setting file 145 is updated periodically, for example, once every two months, based on information such as the start and end of sales of OTC drugs provided to the Ministry of Health, Labor and Welfare by manufacturers and distributors. In this embodiment, the OTC drug setting file 145 is a data file that is subject to maintenance.

メンテナンスファイル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 that is the target of maintenance. 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 that indicates the reflection status of the maintenance data 146R, and the reflection status can be "unprocessed", "registered", or "not registered". For example, status = 0 indicates the reflection status "unprocessed", status = 1 indicates the reflection status "registered", and status = 9 indicates 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 status of the maintenance data 146R is updated.

ここに、OTC医薬品設定ファイル145は第1記憶部を構成し、メンテナンスファイル146は第2記憶部を構成する。
なお、各ファイル141~146に記憶されるデータの項目は、上述した項目に限定されるものではない。他の項目をさらに含んでデータが構成されていてもよい。
Here, the OTC drug setting file 145 constitutes a first storage unit, and the maintenance file 146 constitutes a second storage unit.
The data items stored in each of the files 141 to 146 are not limited to the above items, and the data may further include 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 process of tabulating the purchase amounts for OTC medicines by member will be described with reference to Figures 9 and 10. Note that the contents of the process shown in Figures 9 and 10 and described below are merely examples. As long as similar results can be obtained, the procedure and contents are not particularly limited.

時計部15で計時される時刻が予め定められた時刻になると、CPU11は、図9及び図10の流れ図に示す手順の情報処理を開始する。なお、時刻は任意である。また、1日に定められる時刻は1つとは限らない。2以上の時刻が定められていてもよい。 When the time kept by the clock unit 15 reaches a predetermined time, the CPU 11 starts information processing according to the procedure shown in the flow charts of Figures 9 and 10. Note that the time can be any time. Also, the number of times set per 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 Act 1 in FIG. 9. The counter n is formed in the RAM 13, for example. After resetting the counter n, the CPU 11 counts up the counter n by "1" as Act 2. Then, the CPU 11 detects the nth member data (n is the count value of the counter n) from the member file 141 as Act 3.

CPU11は、Act4として、会員ファイル141からn番目の会員データを検出できたか否かを確認する。検出できた場合(Act4、YES)、CPU11は、Act5として、そのn番目の会員データから会員IDを検出する。 In Act 4, the CPU 11 checks whether the nth member data has been detected from the member file 141. If it has been detected (Act 4, YES), the CPU 11 detects the member ID from the nth member data in Act 5.

次いでCPU11は、Act6として、電子レシートファイル143を検索して、前回の処理後に電子レシートファイル143に新たに追加されたレシートデータ25を順番に読み込む。そしてCPU11は、Act7として、当該レシートデータ25の会員IDが、Act5の処理で検出した会員IDと一致するか否かを判断する。一致しない場合、CPU11は、Act8として、電子レシートファイル143の検索を終了したか否かを判断する。終了していない場合(Act8、NO)、CPU11は、Act6に戻り、電子レシートファイル143の検索を継続する。 Next, in Act 6, the CPU 11 searches the electronic receipt file 143 and sequentially reads the receipt data 25 that was newly added to the electronic receipt file 143 after the previous processing. Then, in Act 7, the CPU 11 determines whether the member ID of the receipt data 25 matches the member ID detected in the processing of Act 5. If they do not match, in Act 8, the CPU 11 determines whether the search of the electronic receipt file 143 has ended. If the search has not ended (Act 8, NO), the CPU 11 returns to Act 6 and continues searching 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 processing of Act 5 from the electronic receipt file 143 (Act 7, YES), in Act 11 of FIG. 10, the CPU 11 detects the store code from the receipt data 25. Then, in Act 12, the CPU 11 searches the store file 142, acquires store data 142R including the store code detected in the processing of Act 9, and detects the OTC drug identification mark from the store data 142R.

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

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

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

一方、商品名にOTC医薬品識別マークが付加されていない場合には(Act14、NO)、CPU11は、Act15乃至Act17の処理をスキップして、Act18へと進む。また、商品名にOTC医薬品識別マークが付加されていたものの、該当する商品データ145RがOTC医薬品設定ファイル145に存在しない場合にも(Act16、NO)、CPU11は、Act17の処理をスキップして、Act18へと進む。 On the other hand, if the OTC drug identification mark is not added to the product name (Act 14, NO), the CPU 11 skips the processing of Act 15 to Act 17 and proceeds to Act 18. Also, if 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 (Act 16, NO), the CPU 11 skips the processing of Act 17 and proceeds to Act 18.

Act18では、CPU11は、電子レシートファイル143から読み込んだレシートデータ25から商品販売データを検出し終えたか否かを判断する。検出し終えていない場合(Act18、NO)、CPU11は、Act13の処理に戻る。そしてCPU11は、Act13乃至Act18の処理を前記と同様に繰り返す。 In Act 18, the CPU 11 determines whether or not the detection of the product sales data has been completed from the receipt data 25 read from the electronic receipt file 143. If the detection has not been completed (Act 18, NO), the CPU 11 returns to the processing of Act 13. Then, the CPU 11 repeats the processing 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の検索を継続する。 When all product sales data has been detected from the receipt data 25 (Act 18, YES), the CPU 11 proceeds to Act 8 in FIG. 9. That is, the CPU 11 determines whether the search of the electronic receipt file 143 is complete. If the search is not complete (Act 8, NO), the CPU 11 returns to Act 6 and continues searching the electronic receipt file 143.

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

集計処理を終えると、CPU11は、Act2に戻る。すなわちCPU11は、カウンタnをさらに“1”だけカウントアップする。そしてCPU11は、会員ファイル141からn番目の会員データを検出する。 When the tallying process is completed, the CPU 11 returns to Act 2. 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以降の処理を終えたならば、この情報処理を終了する。 If the CPU 11 cannot detect the nth member data from the member file 141 (Act 4, NO), that is, if it has completed processing from Act 5 onwards for all member data stored in the member file 141, it ends this information processing.

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

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

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

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

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

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

これに対し、重複するメンテナンスデータ146Rがメンテナンスファイル146に保存されていない場合(Act29、NO)、CPU11は、Act30として、そのOTC医薬品識別マークが付加された商品販売データの商品コードと商品名とを含むメンテナンスデータ146Rをメンテナンスファイル146に書き込み、保存する。このとき、当該メンテナンスデータ146Rの登録日時及び更新日時は、時計部15で計時されている現在日時とする。 In contrast, if the duplicated maintenance data 146R is not stored in the maintenance file 146 (Act 29, NO), the CPU 11 writes and stores the maintenance data 146R including the product code and product name of the product sales data to which the OTC drug identification mark has been added in the maintenance file 146 (Act 30). At this time, the registration date and time and update date and time of the maintenance data 146R are set to 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 writing to the maintenance file 146 is completed, the CPU 11 checks whether the determination flag F is set to "1" in Act 31. If the determination flag F is not set (Act 31, NO), the CPU 11 sets the determination flag F to "1" in Act 32. If the determination flag F is already set to "1" (Act 31, NO) or is set to "1" in Act 32, the CPU 11 proceeds to Act 33.

Act33では、CPU11は、レシートデータ25から商品販売データを検出し終えたか否かを判断する。検出し終えていない場合(Act33、NO)、CPU11は、Act25の処理に戻る。そしてCPU11は、Act25乃至Act33の処理を前記と同様に繰り返す。 In Act 33, the CPU 11 determines whether or not the detection of the product sales data from the receipt data 25 has been completed. If the detection has not been completed (Act 33, NO), the CPU 11 returns to the processing of Act 25. Then, the CPU 11 repeats the processing of Acts 25 to 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は、レシートデータを受信した後の処理を終了する。 When all the product sales data has been detected from the receipt data 25 (Act 33, YES), the CPU 11 checks whether the determination flag F is set to "1" in Act 34. If the determination flag F is set to "1" (Act 33, YES), the CPU 11 notifies the maintenance operator that the maintenance data 146R has been written to the maintenance file 146 in Act 35. Specifically, the CPU 11 automatically sends an email to the administrator terminal 60, and notifies the administrator terminal 60 in the body of the email that the maintenance data has been written to the maintenance file 146. Note that, if the determination flag F is reset to "0" in Act 34 (Act 34, NO), the maintenance data 146R has not been written to the maintenance file 146. In this case, the CPU 11 skips the process of Act 35. With this, the CPU 11 ends the process after receiving the receipt data.

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

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

一般に、製造販売業者等からOTC医薬品の販売開始に関する情報が提供されると、各店舗では、商品マスタファイル26が更新される。また、電子レシート管理センタにおいても、OTC医薬品設定ファイル145が更新される。しかし、商品マスタファイル26が更新されるタイミングとOTC医薬品設定ファイル145が更新されるタイミングは同期していない。このため、上述したように、商品名にマークが付与された商品販売データの商品コードと商品名とを含む商品データ145RがOTC医薬品設定ファイル145に存在しない場合が生じ得る。このような場合、本実施形態では、その商品コードと商品名とを含むメンテナンスデータ146Rがメンテナンスファイル146に記憶される。 Generally, when a manufacturer or distributor provides information regarding the start of sales of OTC drugs, the product master file 26 is updated at each store. The electronic receipt management center also updates the OTC drug setting file 145. However, the timing at which the product master file 26 is updated and the timing at which the OTC drug setting file 145 is updated are not synchronized. For this reason, as described above, there may be cases where product data 145R including the product code and product name of the product sales data with a mark added to the product name does not exist in the OTC drug setting file 145. In such cases, in this embodiment, maintenance data 146R including the product code and 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. 12. Note that the content of the process shown in FIG. 12 and described below is an example. The procedure and content 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 email notifying that the maintenance data 146R has been written to the maintenance file 146, operates the administrator terminal 60 to start a maintenance application program. This starts up a maintenance command that is sent 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を参照)が表示される。 In Act 41 of FIG. 12, the CPU 11 of the electronic receipt management server 10 waits for a maintenance command. Then, when the CPU 11 detects that a maintenance command has been received via the communication unit 16 (Act 41, YES), in Act 42, the CPU 11 creates display data of a maintenance list based on the maintenance data 146R stored in the maintenance file 146. The maintenance list is a list of maintenance data 146R whose reflection status is "unprocessed." In Act 43, the CPU 11 controls the communication unit 16 to send this display data to the administrator terminal 60. Through this control, the display data of the maintenance list is sent to the administrator terminal 60 via the network 30. In the administrator terminal 60 that has received this display data, a 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が表示されている。 Figure 13 is an example of a maintenance screen SC. As shown in Figure 13, the maintenance screen SC displays a maintenance list L, a registration button B1, and a cancel button B2. The maintenance list L lists the product codes and product names that make up the maintenance data 146R, as well as the registration date and time, update date and time, and reflection status. The registration date and time is the date and time when the data was written to the maintenance file 146 in Act 30 of Figure 11. The update date and time is the date and time when the reflection status was updated. The maintenance list L displays check boxes CB in association with each product code.

メンテナンス画面SCを確認したオペレータは、メンテナンスリストLのなかからOTC医薬品として公表されている商品を選択し、対応するチェックボックスCBにチェックを入れる。そしてオペレータは、登録ボタンB1を入力する。登録ボタンB1が入力されると、管理者端末60から電子レシート管理サーバ10に宛てて、登録コマンドが送信される。登録コマンドには、メンテナンスリストLにおいて、対応するチェックボックスCBにチェックが入れられた商品コードと商品名との対データが含まれる。なお、登録ボタンB1を入力することなくメンテナンス業務を終了する場合には、オペレータは中止ボタンB2を入力する。中止ボタンB2が入力されると、管理者端末60から電子レシート管理サーバ10に宛てて、中止コマンドが送信される。 After checking the maintenance screen SC, the operator selects a product that is publicly announced as an OTC drug from the maintenance list L and checks the corresponding check box CB. The operator then inputs the registration button B1. When the registration button B1 is input, a registration command is sent from the administrator terminal 60 to the electronic receipt management server 10. The registration command includes paired data of the product code and product name that are checked in the corresponding check box CB in the maintenance list L. Note that if the operator wishes to end the maintenance work without inputting the registration button B1, he or she inputs the stop button B2. When the stop button B2 is input, a stop command is sent 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 display data of the maintenance list checks whether or not a stop command has been received in Act 44. If a stop command has not been received (Act 44, NO), the CPU 11 checks whether or not a registration command has been received in Act 45. If a registration command has not been received (Act 45, NO), the CPU 11 returns to Act 44. Thus, the CPU 11 waits to receive a stop command or a registration command by processing Act 44 and Act 45.

この待ち受け状態において、通信ユニット16を介して中止コマンドを受信したことを検知した場合には(Act44、YES)、CPU11は、この処理を終了する。 In this standby state, if it is detected that a stop command has been received via the communication unit 16 (Act 44, 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 a registration command has been received (Act 45, YES), the CPU 11 detects paired data of a product code and a product name from the registration command (Act 46). The CPU 11 then creates product data 145R for the OTC drug that includes this paired 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 a valid state.

こうして、登録コマンドに含まれていた対データの商品コードと商品名とを含む商品データ145RをOTC医薬品設定ファイル145に追加し終えたならば、CPU11は、Act47として、メンテナンスデータ146Rのステータスを更新する。具体的には、OTC医薬品設定ファイル145に追加されたメンテナンスデータ146Rについては、反映状態を「未処理」から「登録済」にも更新する。一方、OTC医薬品設定ファイル145に追加されなかったメンテナンスデータ146Rについては、反映状態を「未処理」から「登録せず」に更新する。また、以上で、CPU11は、この処理を終了する。 Once the product data 145R, including the product code and product name of the paired data included in the registration command, has been added to the OTC drug setting file 145 in this manner, the CPU 11 updates the status of the maintenance data 146R in Act 47. Specifically, for the maintenance data 146R that was added to the OTC drug setting file 145, the reflection status is also 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". With this, the CPU 11 ends this process.

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

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

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

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

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

次に、本実施形態の変形列について説明する。 Next, we will explain the transformation sequence of this embodiment.

前記実施形態では、電子レシート管理サーバ10に、上記情報処理装置としての機能を設けた場合を示した。この点に関しては、電子レシート管理サーバ10以外のコンピュータ機器に上記情報処理装置としての機能を設けてもよい。この場合、情報処理装置としての機能を有するコンピュータ機器は、電子レシート管理サーバ10と通信手段を介して接続するとともに、メンテナンスファイル146を備える。そしてコンピュータ機器は、電子レシート管理サーバ10で受信したレシートデータ25を取込み、図11及び図12の流れ図に示した情報処理を実行する。そうすることにより、OTC医薬品設定ファイル145に情報が反映されていないOTC医薬品を精度よく抽出できるコンピュータ機器を実現することができる。このようなコンピュータ機器は、例えば管理者端末60であってもよい。 In the above embodiment, the electronic receipt management server 10 is provided with the function of the information processing device. In this regard, the function of the information processing device may be provided in a computer device other than the electronic receipt management server 10. In this case, the computer device having the function of the information processing device is connected to the electronic receipt management server 10 via a communication means and has a maintenance file 146. The computer device then imports the receipt data 25 received by the electronic receipt management server 10 and executes the information processing shown in the flow charts of FIG. 11 and FIG. 12. In this way, a computer device that can accurately extract OTC drugs whose information is not reflected in the OTC drug setting file 145 can be realized. Such a computer device may be, for example, the 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 an OTC drug identification mark. The electronic receipt management server 10 then searches the store file 142 using the store code included in the receipt data to obtain the mark used at that store. In this regard, the following may be done. That is, the receipt data includes a mark added to the product name of an OTC drug, as well as text indicating that the product to which the mark is attached is an OTC drug. The electronic receipt management server 10 then analyzes this text to obtain the mark. This eliminates the need to store an OTC drug identification mark for each store in the store file 142.

なお、前記実施形態では、店舗ファイル142において店舗を単位としてOTC医薬品識別マークを設定する場合を示したが、店舗を運営する企業体を単位としてOTC医薬品識別マークを設定してもよい。この場合、レシートデータ25に企業体を識別する企業体コードを含ませる。そして、各企業体の企業体コード別にOTC医薬品識別マークを一元的に管理するデータファイルを電子レシート管理サーバ10に設ける。こうすることにより、企業体を単位としてOTC医薬品識別マークを設定することができる。また、同データファイルに店舗コードを組み入れることにより、企業体コードと店舗コードとの組み合わせによってOTC医薬品識別マークを設定することも可能となる。 In the above embodiment, an OTC drug identification mark is set for each store in the store file 142, but an OTC drug identification mark may be set for each business entity that operates the store. In this case, a business entity code that identifies the business entity is included in the receipt data 25. A data file that centrally manages OTC drug identification marks for each business entity code is then provided in the electronic receipt management server 10. This allows an OTC drug identification mark to be set for each business entity. Also, by incorporating a store code into the data file, it is possible to set an OTC drug identification mark by a combination of a business entity code and a 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 contain information other than a mark indicating that the product is an OTC drug.

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

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

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

この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several other embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be embodied in various other forms, and various omissions, substitutions, and modifications 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, and are included in the scope of the invention and its equivalents as set forth in the claims.

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...membership file, 142...store file, 143...electronic receipt file, 144...monthly summary file, 145...OTC drug setting file, 146...maintenance file.

本発明の実施形態は、端末及びそのプログラムに関する。
An embodiment of the present invention relates to a terminal and a program therefor .

本発明の実施形態が解決しようとする課題は、レシートデータに基づき、OTC医薬品の情報を記憶するためのデータファイルに情報が反映されていないOTC医薬品を精度よく抽出することができる電子レシートシステムの端末を提供しようとするものである。
The problem that an embodiment of the present invention aims to solve is to provide a terminal for an electronic receipt system that can accurately extract OTC drugs whose information is not reflected in a data file for storing information on OTC drugs, based on receipt data.

一実施形態において、端末は、表示デバイスと、送信手段と、受信手段と、表示制御手段と、を備える。送信手段は、電子レシート管理サーバに、レシートデータに含まれる購買商品に関する情報から、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報が検出された購買商品を識別するデータで、かつ、前記対象商品を識別するデータを記憶した記憶部に存在しない購買商品を識別するデータで作成される、当該購買商品の商品名と、当該購買商品が記憶部に存在しないことが確認された日付とを含むメンテナンスリストの作成を要求するメンテナンスコマンドを送信する。受信手段は、メンテナンスコマンドを送信した電子レシート管理サーバからメンテナンスリストの表示データを受信する。表示制御手段は、受信した表示データを基に表示デバイスにメンテナンスリストを表示させる。
In one embodiment, the terminal includes a display device, a transmission means, a reception means, and a display control means . The transmission means transmits to the electronic receipt management server a maintenance command requesting the creation of a maintenance list including data identifying a purchased product for which information indicating that the purchased product is subject to a tax system that allows tax deduction when the annual purchase amount is within a predetermined amount range has been detected from information on the purchased product included in the receipt data, and data identifying a purchased product that does not exist in a storage unit that stores the data identifying the subject product, the maintenance list including the product name of the purchased product and the date on which it was confirmed that the purchased product does not exist in the storage unit. The reception means receives display data of the maintenance list from the electronic receipt management server that transmitted the maintenance command. The display control means causes the display device to display the maintenance list based on the received display data.

以下、レシートデータに基づき、OTC医薬品の情報を記憶するためのデータファイルに情報が反映されていないOTC医薬品を精度よく抽出することができる情報処理装置の実施形態について、図面を用いて説明する。なお、この実施形態は、図1に示す電子レシートシステム100の電子レシート管理サーバ10に、上記情報処理装置としての機能を設けた場合である。
Hereinafter, an embodiment of an information processing device that can accurately extract OTC drugs whose information is not reflected in a data file for storing information on OTC drugs based on receipt data will be described with reference to the drawings. Note that this embodiment is a case where 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.

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

Claims (6)

レシートデータに含まれる購買商品に関する情報から、当該購買商品が、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報を検出する検出手段と、
前記購買商品に関する情報から前記対象商品であることを示す情報が検出された購買商品を識別するデータが、前記対象商品を識別するデータを記憶した第1記憶部に存在しない場合、当該購買商品を識別するデータを第2記憶部に記憶させる記憶手段と、を具備する情報処理装置。
a detection means for detecting, from information on the purchased goods included in the receipt data, information indicating that the purchased goods are subject to a tax system under which the purchased goods can be tax-deducted when the annual purchase amount is within a predetermined amount range;
an information processing device comprising: a storage means for storing data identifying the purchased product in a second storage unit when data identifying the purchased product, for which information indicating that it is the target product is detected from information regarding the purchased product, is not present in a first storage unit that stores data identifying the target product.
前記購買商品を識別するデータが前記第2記憶部に記憶されたことを外部に通知する通知手段、をさらに具備する請求項1記載の情報処理装置。 The information processing device according to claim 1, further comprising a notification means for notifying an external device that the data identifying the purchased product has been stored in the second storage unit. 前記第2記憶部に記憶された前記購買商品を識別するデータを前記第1記憶部に追加する追加手段、をさらに具備する請求項1又は2記載の情報処理装置。 The information processing device according to claim 1 or 2, further comprising an adding means for adding data identifying the purchased product stored in the second storage unit to the first storage unit. 前記第2記憶部に記憶された前記購買商品を識別するデータを前記第1記憶部に追加するか否かを受け付ける受付手段、をさらに具備し、
前記追加手段は、前記追加することを受け付けた前記購買商品を識別するデータを前記第1記憶部に追加する、請求項3記載の情報処理装置。
The method further includes a reception unit for receiving a request for whether or not to add the data identifying the purchased product stored in the second storage unit to the first storage unit,
The information processing apparatus according to claim 3 , wherein said adding means adds data identifying said purchased product that has been accepted for addition to said first storage section.
前記検出手段は、前記購買商品に関する情報に含まれる商品名に所定のマークが付与されているか確認し、付与されている場合、そのマークを前記対象商品であることを示す情報として検出する、請求項1乃至4のうちいずれか1項記載の情報処理装置。 The information processing device according to any one of claims 1 to 4, wherein the detection means checks whether a predetermined mark is attached to the product name included in the information about the purchased product, and if so, detects the mark as information indicating that the product is the target product. コンピュータを、
レシートデータに含まれる購買商品に関する情報から、当該購買商品が、年間購入額が所定金額範囲の範囲内のときに税控除を受けられる税制の対象商品であることを示す情報を検出する検出手段、及び、
前記購買商品に関する情報から前記対象商品であることを示す情報が検出された購買商品を識別するデータが、前記対象商品を識別するデータを記憶した第1記憶部に存在しない場合、当該購買商品を識別するデータを第2記憶部に記憶させる記憶手段、として機能させるためのプログラム。
Computer,
A detection means for detecting, from information on the purchased goods included in the receipt data, information indicating that the purchased goods are subject to a tax system under which the purchased goods can be tax-deducted when the annual purchase amount is within a predetermined amount range; and
A program for functioning as a storage means for storing data identifying a purchased product in a second storage unit when data identifying the purchased product, for which information indicating that it is the target product has been detected from information regarding the purchased product, is not present in a first storage unit that stores data identifying the target product.
JP2024033144A 2020-08-19 2024-03-05 Terminal and its program Pending JP2024052989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2024033144A JP2024052989A (en) 2020-08-19 2024-03-05 Terminal and its program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2020138544A JP7065155B2 (en) 2020-08-19 2020-08-19 Information processing equipment and programs
JP2022071827A JP7508504B2 (en) 2022-04-25 Electronic Receipt System
JP2024033144A JP2024052989A (en) 2020-08-19 2024-03-05 Terminal and its program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2022071827A Division JP7508504B2 (en) 2020-08-19 2022-04-25 Electronic Receipt System

Publications (1)

Publication Number Publication Date
JP2024052989A true JP2024052989A (en) 2024-04-12

Family

ID=73453793

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2020138544A Active JP7065155B2 (en) 2020-08-19 2020-08-19 Information processing equipment and programs
JP2024033144A Pending JP2024052989A (en) 2020-08-19 2024-03-05 Terminal and its program

Family Applications Before (1)

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

Country Status (1)

Country Link
JP (2) JP7065155B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6808661B2 (en) * 2018-01-04 2021-01-06 東芝テック株式会社 Information processing equipment and programs

Also Published As

Publication number Publication date
JP7065155B2 (en) 2022-05-11
JP2020191135A (en) 2020-11-26
JP2022109985A (en) 2022-07-28

Similar Documents

Publication Publication Date Title
CN110400434B (en) Electronic bill system, settlement device, sales promotion bill server, and information processing method
US20170017983A1 (en) Electronic coupon and receipt management system
US20130339195A1 (en) Portable information processing apparatus, carrying-oriented information input system and method
JP6808661B2 (en) Information processing equipment and programs
JP7508504B2 (en) Electronic Receipt System
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
JP2016095587A (en) Mobile terminal device, commodity sales data processing device, and program
JP2024052989A (en) Terminal and its program
US20170017979A1 (en) Electronic receipt system, server device, and program
US11593799B2 (en) Message-less B2B transaction processing
US20180300781A1 (en) Trial system, trial method, trial processing device, and trial processing method
JP2015197769A (en) Privilege provision device, program, privilege provision system, and privilege provision method
JP6736749B2 (en) Receipt data management device, its program, and receipt data management method
US20210263722A1 (en) Information processing apparatus, information processing system, and method
JP6203163B2 (en) Customer management apparatus, customer management system and method
JP6752987B2 (en) Receipt data management device and its program, and receipt data management method
JP7339315B2 (en) Receipt data management device and its program, receipt data management method, receipt data management system
JP6752956B2 (en) Receipt data management device and its program, and receipt data management method
JP5613739B2 (en) Information processing apparatus and program
JP7091402B2 (en) Receipt data management device and its program and receipt data management method
WO2017002313A1 (en) Information processing system, information processing apparatus, information processing method, and program
US20230048769A1 (en) Receipt server, information processing method, program recording medium, and server system
JP6754915B1 (en) Receipt data management device and its program, and receipt data management method
JP6722623B2 (en) Receipt data management device, its program, and receipt data management method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240402

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240402