JP2022024105A - Receipt data management device, program thereof, and receipt data management method - Google Patents

Receipt data management device, program thereof, and receipt data management method Download PDF

Info

Publication number
JP2022024105A
JP2022024105A JP2021187787A JP2021187787A JP2022024105A JP 2022024105 A JP2022024105 A JP 2022024105A JP 2021187787 A JP2021187787 A JP 2021187787A JP 2021187787 A JP2021187787 A JP 2021187787A JP 2022024105 A JP2022024105 A JP 2022024105A
Authority
JP
Japan
Prior art keywords
data
sales data
tax deduction
receipt
subject
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.)
Granted
Application number
JP2021187787A
Other languages
Japanese (ja)
Other versions
JP2022024105A5 (en
JP7339315B2 (en
Inventor
和哉 南部
Kazuya Nanbu
康博 荒井
Yasuhiro Arai
真 吉村
Makoto Yoshimura
圭一 長谷川
Keiichi Hasegawa
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 JP2020034747A external-priority patent/JP6752987B2/en
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2021187787A priority Critical patent/JP7339315B2/en
Publication of JP2022024105A publication Critical patent/JP2022024105A/en
Publication of JP2022024105A5 publication Critical patent/JP2022024105A5/en
Priority to JP2023136442A priority patent/JP2023159357A/en
Application granted granted Critical
Publication of JP7339315B2 publication Critical patent/JP7339315B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a receipt data management device, a method for managing the same, and a program for providing a customer with purchase information of a commodity to be subjected to tax deduction based on receipt data.
SOLUTION: An electronic receipt system includes: an electronic receipt management server connected to a communication network; a plurality of POS systems and a plurality of base stations; and a plurality of information terminals capable of wirelessly communicating with the base stations. An electronic receipt management server 10 has a CPU 11 that detects sales data of a commodity to be subjected to tax deduction from receipt data including sales data of a commodity purchased by a customer, stores the sales data of the commodity to be subjected to tax deduction in an auxiliary storage device 14 in association with customer identification information associated with the receipt data including sales data, and in response to a request for browsing including the customer identification information, executes output processing of a total amount of commodities to be subjected to tax deduction bought and sold within a prescribed period to an apparatus of a browsing request source based on sales data of a commodity to be subjected to tax deduction stored in association with the customer identification information.
SELECTED DRAWING: Figure 3
COPYRIGHT: (C)2022,JPO&INPIT

Description

本発明の実施形態は、レシートデータ管理装置及びコンピュータを当該レシートデータ管理装置として機能させるためのプログラム並びにレシートデータ管理方法に関する。 An embodiment of the present invention relates to a program for making a receipt data management device and a computer function as the receipt data management device, and a receipt data management method.

我が国では、セルフメディケーション(自主服薬)推進ために、2017年度からセルフメディケーション税制の導入が決定されている。セルフメディケーション税制は、医療用から転用された医薬品、いわゆるスイッチOTC(Over The Counter)医薬品(以下、単にOTC医薬品と称する)を、一年間に一世帯で購入した金額(消費税込)の合計が所定の下限額を超える場合に総所得から控除する税制度である。このような税制度に対応するために、納税者はOTC医薬品を購入した際に薬局等から発行されたレシートを管理する必要がある。 In Japan, it has been decided to introduce a self-medication tax system from FY2017 in order to promote self-medication (self-medication). The self-medication tax system is the total amount of money (including consumption tax) purchased by one household per year for so-called switch OTC (Over The Counter) drugs (hereinafter referred to simply as OTC drugs) that have been diverted from medical use. It is a tax system that deducts from total income when the prescribed lower limit is exceeded. In order to comply with such a tax system, taxpayers need to manage receipts issued by pharmacies and the like when they purchase OTC drugs.

レシートの管理には、電子レシートシステムが有効である。電子レシートシステムは、客が購入した商品の販売データを含むレシートデータをサーバに一定期間保存する。そして、その期間内であれば、サーバが客からの要求に応じて当該客が使用する情報端末にインターネット等を通じてレシートデータを配信するようにしたものである。このような電子レシートシステムを利用することにより、客は、薬局等から発行された紙媒体のレシートを管理する必要がなくなる。 An electronic receipt system is effective for managing receipts. The electronic receipt system stores receipt data including sales data of products purchased by customers in a server for a certain period of time. Then, within that period, the server distributes the receipt data to the information terminal used by the customer via the Internet or the like in response to the request from the customer. By using such an electronic receipt system, the customer does not need to manage the receipt of the paper medium issued by the pharmacy or the like.

しかしながら、現行の電子レシートシステムは、セルフメディケーション税制に対応していない。セルフメディケーション税制に対応した電子レシートシステムを構築するためには、レシートデータ管理装置で管理されるレシートデータに基づき、納税者である客に税控除対象の商品の購買情報を提供できるようにすることが望ましい。 However, the current electronic receipt system does not support the self-medication tax system. In order to build an electronic receipt system that supports the self-medication tax system, it will be possible to provide taxpayer customers with purchase information for tax-deductible products based on the receipt data managed by the receipt data management device. Is desirable.

特開2014‐229072号公報Japanese Unexamined Patent Publication No. 2014-229072

本発明の実施形態が解決しようとする課題は、レシートデータを基に税控除対象の商品の購買情報を客に提供できるレシートデータ管理装置及び管理方法を提供しようとするものである。 An object to be solved by the embodiment of the present invention is to provide a receipt data management device and a management method capable of providing a customer with purchase information of a product subject to tax deduction based on the receipt data.

一実施形態において、レシートデータ管理装置は、検出手段、記憶手段、第1の集計手段、第2の集計手段、情報出力手段、及び、販売データ出力手段、を含む。検出手段は、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出する。記憶手段は、前記検出手段により検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する。第1の集計手段は、商品の販売データを月毎に集計する。第2の集計手段は、前記税控除の対象となる商品の販売データを年毎に集計する。情報出力手段は、前記客識別情報を含む閲覧要求に応答して、前記第1の集計手段により集計されている販売データに基づき、月間に売買された前記税控除の対象となる商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力する。販売データ出力手段は、前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記第2の集計手段により集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力する。 In one embodiment, the receipt data management device includes a detection means, a storage means, a first aggregation means, a second aggregation means, an information output means, and a sales data output means. The detection means detects the sales data of the product subject to tax deduction from the receipt data including the sales data of the product purchased by the customer. The storage means stores the sales data of the product subject to the tax deduction detected by the detection means in association with the customer identification information associated with the receipt data including the sales data. The first aggregation means aggregates the sales data of products on a monthly basis. The second aggregation means aggregates the sales data of the products subject to the tax deduction every year. The information output means responds to a browsing request including the customer identification information, and based on the sales data aggregated by the first aggregation means, the total amount of the tax-deductible products bought and sold in a month. The image data including the image for instructing to display the sales data of the product subject to the tax deduction and the image data including the image data are output to the device of the viewing request source. When the sales data output means receives an instruction to display the sales data of the product subject to the tax deduction from the device of the viewing request source, the tax is based on the sales data aggregated by the second aggregation means. The total annual amount of the deductible products is output to the device from which the viewing request is made.

また一実施形態において、レシートデータ管理方法は、サーバが、以下の処理を実行する。すなわちサーバが、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出し、検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶部に記憶させる。また前記サーバが、商品の販売データを月毎に集計し、さらに前記税控除の対象となる商品の販売データを年毎に集計する。そして、前記客識別情報を含む閲覧要求に応答して、前記サーバが、前記月毎に集計されている販売データに基づき、月間に売買された商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力させる。さらに前記サーバが、前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記年毎に集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力させる。 Further, in one embodiment, in the receipt data management method, the server executes the following processing. That is, the server detects the sales data of the product subject to tax deduction from the receipt data including the sales data of the product purchased by the customer, and the detected sales data of the product subject to tax deduction is the sales data. Is stored in the storage unit in association with the customer identification information associated with the receipt data including. In addition, the server aggregates the sales data of the products on a monthly basis, and further aggregates the sales data of the products subject to the tax deduction on a yearly basis. Then, in response to the browsing request including the customer identification information, the server is subject to the total amount of goods bought and sold in the month and the tax deduction based on the sales data aggregated for each month. The image data including the image for instructing to display the sales data of the product and the image data including the image data are output to the device of the viewing request source. Further, when the server receives an instruction to display the sales data of the product subject to the tax deduction from the device of the viewing request source, the server is subject to the tax deduction based on the sales data aggregated for each year. The total annual amount of the product is output to the device of the viewing request source.

電子レシートシステムの概略構成図。Schematic block diagram of the electronic receipt system. レシートデータの構造を示す模式図。Schematic diagram showing the structure of receipt data. 電子レシート管理サーバの要部回路構成を示すブロック図。A block diagram showing a circuit configuration of a main part of an electronic receipt management server. 電子レシート管理サーバの補助記憶デバイスで記憶する主要なデータファイルを示す模式図。Schematic diagram showing the main data files stored in the auxiliary storage device of the electronic receipt management server. 会員設定ファイルに記憶されるデータの構造を示す模式図。The schematic diagram which shows the structure of the data stored in a member setting file. 店舗情報ファイルに記憶されるデータの構造を示す模式図。The schematic diagram which shows the structure of the data stored in a store information file. 月間集計ファイルに記憶されるデータの構造を示す模式図。Schematic diagram showing the structure of the data stored in the monthly summary file. OTC医薬品集計ファイルに記憶されるデータの構造を示す模式図。The schematic diagram which shows the structure of the data stored in the OTC drug summary file. 電子レシート管理サーバのCPUがレシートデータ受信時に実行する情報処理手順を示す流れ図。The flow chart which shows the information processing procedure which the CPU of an electronic receipt management server executes at the time of receiving a receipt data. 図9の処理ステップ「解析」の処理手順を具体的に示す流れ図。The flow chart which shows concretely the processing procedure of the processing step "analysis" of FIG. 電子レシート管理サーバのCPUが月間集計要求コマンド受信時に実行する情報処理手順の一部を示す流れ図。The flow chart which shows a part of the information processing procedure which the CPU of the electronic receipt management server executes when the monthly aggregation request command is received. 電子レシート管理サーバのCPUが月間集計要求コマンド受信時に実行する情報処理手順の一部を示す流れ図。The flow chart which shows a part of the information processing procedure which the CPU of the electronic receipt management server executes when the monthly aggregation request command is received. 電子レシート管理サーバのCPUが月間集計要求コマンド受信時に実行する情報処理手順の一部を示す流れ図。The flow chart which shows a part of the information processing procedure which the CPU of the electronic receipt management server executes when the monthly aggregation request command is received. 情報端末の表示デバイスに表示されるホーム画面の一表示例を示す模式図。The schematic diagram which shows one display example of the home screen displayed on the display device of an information terminal. 情報端末の表示デバイスに表示されるレシート一覧画面の一表示例を示す模式図。The schematic diagram which shows one display example of the receipt list screen displayed on the display device of an information terminal. 情報端末の表示デバイスに表示される月間集計画面の一表示例を示す模式図。The schematic diagram which shows one display example of the monthly total screen displayed on the display device of an information terminal. 情報端末の表示デバイスに表示されるOTC医薬品一覧画面の一表示例を示す模式図。The schematic diagram which shows one display example of the OTC drug list screen displayed on the display device of an information terminal. 情報端末の表示デバイスに表示される電子レシート画面の一表示例を示す模式図。The schematic diagram which shows one display example of the electronic receipt screen displayed on the display device of an information terminal.

以下、レシートデータを基に税控除対象の商品の購買情報を客に提供できるレシートデータ管理装置及び管理方法の実施形態について、図面を用いて説明する。なお、以下に説明する実施形態では、図1に示す電子レシートシステム100の電子レシート管理サーバ10を電子レシート管理装置として機能させる。 Hereinafter, embodiments of a receipt data management device and a management method capable of providing customers with purchase information of products subject to tax deduction based on the receipt data will be described with reference to the drawings. In the embodiment described below, the electronic receipt management server 10 of the electronic receipt system 100 shown in FIG. 1 is made to function as an electronic receipt management device.

電子レシートシステム100は、図1に示すように、電子レシート管理サーバ10と、複数のPOS(Point Of Sales)システム20と、インターネット等の通信網30と、この通信網30に接続された複数の基地局40と、基地局40との間で無線通信が可能な複数の情報端末50と、を含む。電子レシート管理サーバ10は、電子レシートサービスを統括する電子レシート管理センタに構築される。POSシステム20は、電子レシートサービスに加盟する各店舗に構築される。情報端末50は、電子レシートサービスを受けるために会員登録を行った消費者が使用する。 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 communication network 30 such as the Internet, and a plurality of communication networks 30 connected to the communication network 30. A plurality of information terminals 50 capable of wireless communication between the base station 40 and the base station 40 are included. The electronic receipt management server 10 is built in the electronic receipt management center that controls the electronic receipt service. 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.

POSシステム20は、複数のPOS端末21とストアサーバ22とを含み、これらをLAN(Local Area Network)等の通信回線23で接続してなる。POS端末21は、商取引の決済端末として機能する。ストアサーバ22は、各POS端末21で決済された商取引のデータを基に、店舗全体の売上、在庫等を管理する。 The POS system 20 includes a plurality of POS terminals 21 and a store server 22, and these are connected by a communication line 23 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, etc. of the entire store based on the data of commercial transactions settled by each POS terminal 21.

POS端末21は、決済者である客が購入した商品の販売データを含むレシートデータを生成する。またPOS端末21は、電子レシートサービスを受けるために会員登録を行った客に対して発行された会員IDの入力を受け付ける。 The POS terminal 21 generates receipt data including sales data of products purchased by a customer who is a settler. Further, the POS terminal 21 accepts the input of the member ID issued to the customer who has registered as a member in order to receive the electronic receipt service.

POSシステム20は、POS端末21において会員IDの入力を受け付けると、その会員IDで識別される客を決済者とする商取引のレシートをテキスト化してレシートデータ24(図2を参照)を作成する。そしてPOSシステム20は、そのレシートデータ24を会員IDとともに通信網30を介して電子レシート管理サーバ10へと出力する。レシートのテキスト化は、POS端末21が行ってもよいし、ストアサーバ22が行ってもよい。レシートのテキスト化をPOS端末21が行う場合、レシートデータ24はPOS端末21から通信網30を介して電子レシート管理サーバ10に直接出力されてもよいし、ストアサーバ22を経由して出力されてもよい。レシートのテキスト化をストアサーバ22が行う場合には、レシートデータ24はストアサーバ22から通信網30を介して電子レシート管理サーバ10に出力される。なお、レシートのテキスト化及びレシートデータ24の生成については周知の技術であるので、ここでの詳細な説明は省略する。 When the POS system 20 receives the input of the member ID in the POS terminal 21, the POS system 20 creates the receipt data 24 (see FIG. 2) by converting the receipt of the commercial transaction in which the customer identified by the member ID as the settler into text. Then, the POS system 20 outputs the receipt data 24 together with the member ID to the electronic receipt management server 10 via the communication network 30. The receipt may be converted into text by the POS terminal 21 or the store server 22. When the POS terminal 21 converts the receipt into text, the receipt data 24 may be directly output from the POS terminal 21 to the electronic receipt management server 10 via the communication network 30, or may be output via the store server 22. May be good. When the store server 22 converts the receipt into text, the receipt data 24 is output from the store server 22 to the electronic receipt management server 10 via the communication network 30. Since the technique of converting the receipt into text and generating the receipt data 24 is a well-known technique, detailed description thereof will be omitted here.

図2は、POSシステム20から電子レシート管理サーバ10へと出力されるレシートデータ24の構造を示す模式図である。レシートデータ24は、会員ID、店舗コード、取引日時、取引番号、商品販売データ及び決済データを含む。商品販売データは、商品コード、分類コード、商品名、単価、点数、価格等を含む。決済データは、決済金額、決済種別、支払情報等を含む。 FIG. 2 is a schematic diagram showing the structure of the receipt data 24 output from the POS system 20 to the electronic receipt management server 10. The receipt data 24 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 the product code, classification code, product name, unit price, points, price, and the like. The payment data includes the payment amount, payment type, payment information, and the like.

因みに、店舗コードは、各店舗を識別するために店舗毎に設定された一意のコードである。また取引日時は、例えばPOS端末21において商取引が開始された時点又は決済された時点の日付と時刻である。 Incidentally, 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.

商品販売データの分類コードは、各商品の属性に基づく商品分類(食料品、日用品、医療品、衣料品等)を識別するために商品分類毎に設定された一意のコードである。なお、本実施形態では、医療品に関してOTC医薬品とそれ以外の医薬品とを分類するために、医薬品の分類コードの下位コードとしてOTC医薬品の小分類コードとその他医薬品の小分類コードとが設定されている。そしてOTC医療品の商品販売データには、医薬品の分類コードとOTC医薬品の小分類コードとが含まれる。同様にOTC医薬品以外の医薬品の商品販売データには、医薬品の分類コードとその他医薬品の小分類コードとが含まれる。 The product sales data 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. In this embodiment, in order to classify OTC drugs and other drugs with respect to medical products, a sub-classification code for OTC drugs and a sub-classification code for other drugs are set as subordinate codes of the drug classification codes. There is. The product sales data of OTC medical products includes a drug classification code and a sub-classification code of OTC drugs. Similarly, the product sales data of drugs other than OTC drugs include a drug classification code and a sub-classification code of other drugs.

価格は、単価に点数を乗算して算出された金額であり、単価が消費税込みの価格である場合は税込価格となり、消費税抜きの価格である場合には税抜価格となる。決済データの決済種別は、決済金額に対する支払いの種類(現金、クレジットカード、ポイント、金券等)を特定する情報である。 The price is an amount calculated by multiplying the unit price by the points, and if the unit price is a price including consumption tax, it is a tax-included price, and if it is a price excluding consumption tax, it is a tax-excluded price. The payment type of the payment data is information that specifies the payment type (cash, credit card, points, cash voucher, etc.) for the payment amount.

図1に説明を戻す。
情報端末50は、少なくとも表示デバイスと、入力デバイスと、無線通信デバイスとを搭載する。また情報端末50は、Webブラウザを実装する。そして電子レシートサービスを受ける消費者は、専用のアプリケーションプログラムである電子レシート閲覧プログラムを情報端末50にインストールする。この電子レシート閲覧プログラムを情報端末50にインストールすることで、会員登録及びレシート画像の閲覧等が可能となる。会員登録を行うことで、情報端末50のメモリに形成された電子レシート閲覧プログラムの管理領域に会員IDが設定される。この種の情報端末50としては、スマートフォン、携帯電話、タブレット端末、ノートパソコン等の電子機器が使用される。
The explanation is returned to FIG.
The information terminal 50 includes at least a display device, an input device, and a wireless communication device. Further, the information terminal 50 implements 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 and view receipt images. 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から出力されるレシートデータ24を一定期間保存する。そして電子レシート管理サーバ10は、情報端末50からの閲覧要求に応答して、レシートデータ24に基づき作成される画像データを、閲覧要求元の情報端末50へと送信する。 The electronic receipt management server 10 stores the receipt data 24 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 image data created based on the receipt data 24 to the information terminal 50 of the browsing request source.

図3は、電子レシート管理サーバ10の要部回路構成を示すブロック図である。電子レシート管理サーバ10は、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM13、補助記憶デバイス14、時計部15及び通信ユニット16等を備える。CPU11と、ROM12、RAM13、補助記憶デバイス14、時計部15及び通信ユニット16とは、アドレスバス、データバス等のシステム伝送路17で接続される。 FIG. 3 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 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-mentioned 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 a process. The RAM 13 is also used as a work area where 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と通信網30を介して所定のプロトコルによりデータ通信を行う。
The clock unit 15 measures the current date and time.
The communication unit 16 performs data communication with a POS system 20 or an information terminal 50 via a communication network 30 by a predetermined protocol.

かかる構成の電子レシート管理サーバ10は、図4に示すように、会員設定ファイル141、店舗情報ファイル142、電子レシートファイル143、月間集計ファイル144、OTC医薬品設定ファイル145及びOTC医薬品集計ファイル146を補助記憶デバイス14で記憶している。 As shown in FIG. 4, the electronic receipt management server 10 having such a configuration assists the member setting file 141, the store information file 142, the electronic receipt file 143, the monthly total file 144, the OTC drug setting file 145, and the OTC drug total file 146. It is stored in the storage device 14.

会員設定ファイル141は、電子レシートサービスを受けるために会員登録を行った消費者毎に作成される会員設定データ141R(図5を参照)を記憶する。会員設定データ141Rは、図5に示すように、会員ID、メールアドレス、パスワード等の情報を含む。メールアドレス、パスワードは、会員IDで識別される消費者が情報端末50を操作して任意に設定した情報である。 The member setting file 141 stores the member setting data 141R (see FIG. 5) created for each consumer who has registered as a member in order to receive the electronic receipt service. As shown in FIG. 5, the member setting data 141R 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を参照)を記憶する。店舗情報データ142Rは、図6に示すように、店舗コード、店舗名、税ステータス等の情報を含む。税ステータスは、店舗コードで識別される店舗が商品の価格を外税とする店なのか内税とする店なのかを示す情報である。外税とする店では、商品の価格は税抜価格である。内税とする店では、商品の価格は税込価格である。 The store information file 142 stores the store information 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 information data 142R includes information such as a store code, a store name, and a tax status. The tax status is information indicating whether the store identified by the store code is a store in which the price of the product is tax-excluded or a store in which the price of the product is tax-included. At stores that are tax-excluded, the price of the product is the tax-excluded price. At stores that are tax-included, the price of the product is the tax-included price.

電子レシートファイル143は、各POSシステム20から通信網30を介して受信したレシートデータ24を会員ID別に一定期間記憶する。 The electronic receipt file 143 stores the receipt data 24 received from each POS system 20 via the communication network 30 for a certain period of time for each member ID.

月間集計ファイル144は、電子レシートサービスを受けるために会員登録を行った消費者毎に年月別に作成される月間集計データ144R(図7を参照)を記憶する。月間集計データ144Rは、図7に示すように、会員ID及び年月をヘッダ情報とし、このヘッダ情報に付加して、月間合計と、小分類無しの商品分類に係る情報P1と、小分類有の商品分類に係る情報P2とを記憶する。 The monthly tabulation file 144 stores the monthly tabulation data 144R (see FIG. 7) created for each consumer who has registered as a member in order to receive the electronic receipt service. As shown in FIG. 7, the monthly aggregate data 144R uses the member ID and the year and month as header information, and is added to this header information to include the monthly total, information P1 related to product classification without subclassification, and subclassification. The information P2 related to the product classification of the above is stored.

月間合計は、ヘッダ情報の会員IDで識別される客が、電子レシートサービスに加盟する店舗で、同ヘッダ情報の年月で特定される一か月間に購入した商品の価格合計である。情報P1は、分類コード、分類名称、分類合計及び小分類数を含む。分類合計は、ヘッダ情報の会員IDで識別される消費者が、電子レシートサービスに加盟する店舗で、同ヘッダ情報の年月で特定される一か月間に購入した商品のうち、分類コードの商品分類に属する商品の価格合計である。小分類数は“0”である。情報P2は、分類コード、分類名称、分類合計及び小分類数に加えて、小分類の数だけ小分類コード、小分類名称及び小分類合計を含む。小分類合計は、ヘッダ情報の会員IDで識別される消費者が、電子レシートサービスに加盟する店舗で、同ヘッダ情報の年月で特定される一か月間に購入した商品のうち、小分類コードの商品分類に属する商品の価格合計である。 The monthly total is the total price of the products purchased by the customer identified by the member ID of the header information at the store that is a member of the electronic receipt service in the month specified by the year and month of the header information. Information P1 includes a classification code, a classification name, a total classification, and a number of minor classifications. The classification total is the product of the classification code among the products purchased by the consumer identified by the member ID of the header information in the month specified by the year and month of the header information at the store that is a member of the electronic receipt service. It is the total price of the products belonging to the category. The number of subclasses is "0". Information P2 includes the number of sub-classification codes, sub-classification names, and sub-classification totals in addition to the classification code, classification name, total classification, and number of sub-classifications. The sub-category total is a sub-category code among the products purchased by the consumer identified by the member ID of the header information in the month specified by the year and month of the header information at the store that is a member of the electronic receipt service. It is the total price of the products belonging to the product classification of.

OTC医薬品設定ファイル145は、厚生労働省からセルフメディケーション税制の対象品目として公表された全てのOTC医薬品の商品コード(例えばJANコード)を記憶する。 The OTC drug setting file 145 stores the product codes (for example, JAN codes) of all OTC drugs published by the Ministry of Health, Labor and Welfare as items subject to the self-medication tax system.

OTC医薬品集計ファイル146は、電子レシートサービスを受けるために会員登録を行った消費者毎に年度別に作成されるOTC医薬品集計データ146R(図8を参照)を記憶する。OTC医薬品集計データ146Rは、図8に示すように、会員ID、OTC医薬品の小分類コード及び年度をヘッダ情報とし、このヘッダ情報に付加して、年度合計、控除フラグ及びOTC医薬品の購入明細データD1を記憶する。購入明細データD1は、ヘッダ情報の会員IDで識別される消費者が、同ヘッダ情報の年度で特定される一年間に、電子レシートサービスに加盟する店舗で購入したOTC医薬品のデータである。購入明細データD1は、OTC医薬品の商品コード、商品名及び価格と、その商品を購入した店舗の店舗コード及び購入日時(取引日時)を含む。価格は、消費税込の価格である。 The OTC drug summary file 146 stores OTC drug summary data 146R (see FIG. 8) created for each consumer who has registered as a member in order to receive the electronic receipt service. As shown in FIG. 8, the OTC drug aggregate data 146R uses the member ID, the sub-classification code of the OTC drug, and the year as header information, and is added to this header information to add the year total, the deduction flag, and the purchase details data of the OTC drug. Memorize D1. The purchase detail data D1 is data of an OTC drug purchased by a consumer identified by the member ID of the header information at a store affiliated with the electronic receipt service during the year specified in the year of the header information. The purchase statement data D1 includes the product code, product name and price of the OTC drug, the store code of the store where the product was purchased, and the purchase date and time (transaction date and time). The price is the price including consumption tax.

また、OTC医薬品集計データ146Rにおいて、年度合計は、同データ146Rに含まれる購入明細データD1の価格の合計である。控除フラグは、合計金額が控除対象の下限額(2017年度から導入のセルフメディケーション税制では12,000円)に達するまでは“0”にリセットされており、下限額を超えると“1”にセットされる。 Further, in the OTC drug aggregate data 146R, the annual total is the total price of the purchase details data D1 included in the data 146R. The deduction flag is reset to "0" until the total amount reaches the lower limit for deduction (12,000 yen for the self-medication tax system introduced from 2017), and when the total amount exceeds the lower limit, it becomes "1". It is set.

次に、電子レシート管理サーバ10のCPU11が通信ユニット16を介してレシートデータ24を受信した際の動作を、図9及び図10を用いて説明する。
図9及び図10は、CPU11が、ROM12又は補助記憶デバイス14に記憶されたアプリケーションプログラムの一種である制御プログラムにしたがって実行する情報処理手順を示す流れ図である。なお、図9及び図10に示すとともに以下に説明する処理の内容は一例であって、同様な結果を得ることが可能であればその処理手順及び処理内容は特に限定されるものではない。
Next, the operation when the CPU 11 of the electronic receipt management server 10 receives the receipt data 24 via the communication unit 16 will be described with reference to FIGS. 9 and 10.
9 and 10 are flow charts showing an information processing procedure executed by the CPU 11 according to a control program which is a kind of application program stored in the ROM 12 or the auxiliary storage device 14. The processing contents shown in FIGS. 9 and 10 and described below are examples, and the processing procedure and processing contents are not particularly limited as long as similar results can be obtained.

CPU11が通信ユニット16を介してレシートデータ24を受信すると、図9の流れ図に示す手順の情報処理を開始する。先ずCPU11は、Act1としてレシートデータ24をRAM13のワークエリアに記憶させる。次いでCPU11は、Act2としてレシートデータ24から会員IDと取引日時とを検出する。そしてCPU11は、Act3として月間集計ファイル144を検索して、Act2で検出した会員IDと取引日時の年月とをヘッダ情報とした月間集計データ144Rを取得する。そしてCPU11は、Act4としてこの月間集計データ144Rの月間合計を更新する。すなわちCPU11は、月間合計に、レシートデータ24に含まれる決済データの決済金額を加算する。 When the CPU 11 receives the receipt data 24 via the communication unit 16, the information processing of the procedure shown in the flow chart of FIG. 9 is started. First, the CPU 11 stores the receipt data 24 as Act1 in the work area of the RAM 13. Next, the CPU 11 detects the member ID and the transaction date and time from the receipt data 24 as Act2. Then, the CPU 11 searches the monthly aggregate file 144 as Act3, and acquires the monthly aggregate data 144R having the member ID detected by Act2 and the year and month of the transaction date and time as header information. Then, the CPU 11 updates the monthly total of the monthly aggregated data 144R as Act4. That is, the CPU 11 adds the settlement amount of the settlement data included in the receipt data 24 to the monthly total.

次いでCPU11は、Act5としてレシートデータ24から1つの商品販売データを検出する。そしてCPU11は、Act6としてこの商品販売データの解析を行う。解析の処理手順については後述する。 Next, the CPU 11 detects one product sales data from the receipt data 24 as Act5. Then, the CPU 11 analyzes the product sales data as Act6. The analysis processing procedure will be described later.

解析を終えると、CPU11は、Act7としてレシートデータ24に未解析の商品販売データが存在するか否かを確認する。未解析の商品販売データが存在する場合(Act7にてNO)、CPU11は、Act5の処理に戻る。すなわちCPU11は、レシートデータ24から未解析の商品販売データを検出し、解析を行う。 When the analysis is completed, the CPU 11 confirms whether or not there is unanalyzed product sales data in the receipt data 24 as Act7. If there is unanalyzed product sales data (NO in Act7), the CPU 11 returns to the processing of Act5. That is, the CPU 11 detects unanalyzed product sales data from the receipt data 24 and analyzes it.

こうして、レシートデータ24に含まれる全ての商品販売データについて解析を行い、未解析の商品販売データが存在しないことを確認すると(Act7にてYES)、CPU11は、Act8としてワークエリア内のレシートデータ24を電子レシートファイル143に保存させる。以上で、レシートデータ24を受信した際のCPU11の情報処理が終了する。 In this way, when all the product sales data included in the receipt data 24 are analyzed and it is confirmed that there is no unanalyzed product sales data (YES in Act7), the CPU 11 determines the receipt data 24 in the work area as Act8. Is saved in the electronic receipt file 143. This completes the information processing of the CPU 11 when the receipt data 24 is received.

図10は、図9のAct6で実行される解析の処理手順を示す流れ図である。CPU11は先ず、Act11として解析対象の商品販売データから分類コードを検出する。このとき、商品販売データに小分類コードも含まれる場合には、CPU11は、その小分類コードも検出する。そしてCPU11は、Act12として小分類コードを検出したか否かを判断する。小分類コードを検出していない場合(Act12にてNO)、CPU11は、Act13として、Act3の処理で取得した月間集計ファイル144の分類合計を更新する。すなわちCPU11は、Act12の処理で検出した分類コードがセットされた情報P1の分類合計に、解析対象の商品販売データに含まれる価格を加算する。以上で、CPU11は、解析を終了する。 FIG. 10 is a flow chart showing a processing procedure of analysis executed in Act 6 of FIG. First, the CPU 11 detects the classification code from the product sales data to be analyzed as Act 11. At this time, if the product sales data also includes the sub-classification code, the CPU 11 also detects the sub-classification code. Then, the CPU 11 determines whether or not the sub-classification code is detected as Act 12. When the subclassification code is not detected (NO in Act12), the CPU 11 updates the classification total of the monthly summary file 144 acquired in the processing of Act3 as Act13. That is, the CPU 11 adds the price included in the product sales data to be analyzed to the total classification of the information P1 in which the classification code detected in the processing of Act 12 is set. With the above, the CPU 11 ends the analysis.

一方、小分類コードを検出した場合には(Act12にてYES)、CPU11は、Act14として、Act3の処理で取得した月間集計ファイル144の分類合計及び小分類合計を更新する。すなわちCPU11は、Act12の処理で検出した分類コードがセットされた情報P2の分類合計と、その情報P2中のAct12の処理で検出した小分類コードに対する小分類合計とに、解析対象の商品販売データに含まれる価格を加算する。 On the other hand, when the sub-classification code is detected (YES in Act 12), the CPU 11 updates the total classification and the total sub-classification of the monthly summary file 144 acquired in the processing of Act 3 as Act 14. That is, the CPU 11 includes the product sales data to be analyzed in the total classification of the information P2 in which the classification code detected in the processing of Act 12 is set and the total classification of the small classification code detected in the processing of Act 12 in the information P2. Add the price included in.

次いでCPU11は、Act15として解析対象の商品販売データから商品コードを検出する。そしてCPU11は、Act16としてその商品コードでOTC医薬品設定ファイル145を検索して、同一の商品コードがOTC医薬品設定ファイル145に設定されているか否かを確認する。解析対象の商品販売データがOTC医薬品の販売データで無い場合、同一の商品コードがOTC医薬品設定ファイル145に設定されていない。この場合(Act16にてNO)、CPU11は、解析を終了する。 Next, the CPU 11 detects the product code from the product sales data to be analyzed as Act 15. Then, the CPU 11 searches the OTC drug setting file 145 with the product code as Act 16, and confirms whether or not the same product code is set in the OTC drug setting file 145. When the product sales data to be analyzed is not the sales data of the OTC drug, the same product code is not set in the OTC drug setting file 145. In this case (NO in Act16), the CPU 11 ends the analysis.

これに対し、解析対象の商品販売データがOTC医薬品の販売データである場合には、同一の商品コードがOTC医薬品設定ファイル145に設定されている。この場合(Act16にてYES)、CPU11は、Act17としてレシートデータ24に含まれる店舗コードで店舗情報ファイル142を検索し、当該店舗コードで特定される店舗が商品の価格を外税とする店なのか内税とする店なのかを確認する。商品の価格を外税とする店の場合(Act17にてYES)、解析対象の商品販売データに含まれる価格は税抜価格であるので、CPU11は、Act18として解析対象の商品販売データに含まれる価格を税込価格に換算する。商品の価格を内税とする店の場合には(Act17にてNO)、解析対象の商品販売データに含まれる価格は税込価格であるので、CPU11は、Act18の処理を実行しない。 On the other hand, when the product sales data to be analyzed is the sales data of the OTC drug, the same product code is set in the OTC drug setting file 145. In this case (YES in Act16), the CPU 11 searches the store information file 142 with the store code included in the receipt data 24 as Act17, and the store specified by the store code is a store excluding tax on the price of the product. Check if the store is tax-included. In the case of a store where the price of the product is tax-excluded (YES in Act17), the price included in the product sales data to be analyzed is the tax-excluded price, so the CPU 11 is included in the product sales data to be analyzed as Act18. Convert the price to the tax-included price. In the case of a store where the price of the product is tax-included (NO in Act17), the price included in the product sales data to be analyzed is the tax-included price, so the CPU 11 does not execute the processing of Act18.

次いでCPU11は、Act19としてOTC医薬品明細データD1を生成する。OTC医薬品明細データD1は、レシートデータ24に含まれる取引日時、店舗コード及び取引番号と、解析対象の商品販売データに含まれる商品コード、商品名及び価格とからなる。ただし価格は、Act18の処理が実行された場合にはその処理で算出された税込価格となる。 Next, the CPU 11 generates OTC drug specification data D1 as Act19. The OTC drug detail data D1 includes a transaction date and time, a store code and a transaction number included in the receipt data 24, and a product code, a product name and a price included in the product sales data to be analyzed. However, when the processing of Act18 is executed, the price will be the tax-included price calculated by the processing.

OTC医薬品明細データD1を生成すると、CPU11は、Act20としてそのOTC医薬品明細データD1を、OTC医薬品集計ファイル146に保存する。すなわちCPU11は、レシートデータ24の会員番号と取引日時の年度とを含むOTC医薬品集計データ146Rに、OTC医薬品明細データD1を追加する。またCPU11は、Act21として同OTC医薬品集計データ146Rの年度合計を更新する。すなわちCPU11は、年度合計にOTC医薬品明細データD1の価格を加算する。 When the OTC drug detail data D1 is generated, the CPU 11 stores the OTC drug detail data D1 as Act 20 in the OTC drug summary file 146. That is, the CPU 11 adds the OTC drug detail data D1 to the OTC drug summary data 146R including the membership number of the receipt data 24 and the year of the transaction date and time. Further, the CPU 11 updates the annual total of the OTC drug aggregate data 146R as Act21. That is, the CPU 11 adds the price of the OTC drug detail data D1 to the annual total.

次いでCPU11は、Act22として控除フラグが“1”にセットされているか否かを確認する。控除フラグが“1”にセットされている場合(Act22にてYES)、CPU11は、解析を終了する。 Next, the CPU 11 confirms whether or not the deduction flag is set to "1" as Act22. When the deduction flag is set to "1" (YES in Act22), the CPU 11 ends the analysis.

控除フラグが“1”にセットされていない場合には(Act22にてNO)、CPU11は、Act23として更新後の年度合計が控除対象の下限額を超えたか否かを確認する。年度合計が下限額を超えていない場合(Act23にてNO)、CPU11は、解析処理を終了する。これに対し、年度合計が下限額を超えた場合には(Act23にてYES)、CPU11は、Act24として同OTC医薬品集計データ146Rの控除フラグを “1”にセットする。以上で、CPU11は、解析を終了する。 If the deduction flag is not set to "1" (NO in Act22), the CPU 11 confirms whether the updated annual total as Act23 exceeds the lower limit of the deduction target. If the annual total does not exceed the lower limit (NO in Act23), the CPU 11 ends the analysis process. On the other hand, when the annual total exceeds the lower limit (YES in Act23), the CPU 11 sets the deduction flag of the OTC drug aggregate data 146R as Act24 to “1”. With the above, the CPU 11 ends the analysis.

このように、電子レシート管理サーバ10は、POSシステム20からレシートデータ24を受信する毎に、そのレシートデータ24を電子レシートファイル143に保存する(AAct8)。また電子レシート管理サーバ10は、そのレシートデータ24に含まれる会員IDと取引日時とから特定される月間集計ファイル144を更新する(Act2~Act7、Act11~Act14)。 As described above, each time the electronic receipt management server 10 receives the receipt data 24 from the POS system 20, the receipt data 24 is stored in the electronic receipt file 143 (AAct8). Further, the electronic receipt management server 10 updates the monthly total file 144 specified from the member ID and the transaction date and time included in the receipt data 24 (Act2 to Act7, Act11 to Act14).

さらに、電子レシート管理サーバ10は、レシートデータ24にOTC医薬品の商品販売データが含まれているか否かを確認する(Act15~Act16)。そしてOTC医薬品の商品販売データが含まれている場合、電子レシート管理サーバ10は、そのOTC医薬品の商品販売データに基づいて、OTC医薬品集計ファイル146を更新する。具体的には、先ず、OTC医薬品の商品販売データが含まれている価格が税抜価格である場合、電子レシート管理サーバ10は、その税抜価格を税込価格に換算する(Act17~Act18)。次いで電子レシート管理サーバ10は、レシートデータ24に含まれる会員IDと取引日時の年度とから特定されるOTC医薬品集計データ146Rに、レシートデータ24を基に生成したOTC医薬品の購入明細データD1を追加する(Act19~Act20)。また、同OTC医薬品集計データ146Rの年度合計を、当該OTC医薬品の税込価格を加算した金額に更新する(Act21)。 Further, the electronic receipt management server 10 confirms whether or not the receipt data 24 includes the product sales data of the OTC drug (Act 15 to Act 16). When the product sales data of the OTC drug is included, the electronic receipt management server 10 updates the OTC drug summary file 146 based on the product sales data of the OTC drug. Specifically, first, when the price including the product sales data of the OTC drug is the tax-excluded price, the electronic receipt management server 10 converts the tax-excluded price into the tax-included price (Act17 to Act18). Next, the electronic receipt management server 10 adds the purchase detail data D1 of the OTC drug generated based on the receipt data 24 to the OTC drug aggregate data 146R specified from the member ID included in the receipt data 24 and the year of the transaction date and time. (Act19 to Act20). In addition, the annual total of the OTC drug aggregate data 146R is updated to the amount obtained by adding the tax-included price of the OTC drug (Act21).

ここに、電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図10のAct15~Act16の処理を実行することにより検出手段を構成する。また電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図10のAct17~Act18の処理を実行することにより換算手段を構成する。さらに電子レシート管理サーバ10は、CPU11を主体とするコンピュータが補助記憶デバイス14と協働して図10のAct19~Act20の処理を実行することにより記憶手段を構成する。 Here, the electronic receipt management server 10 constitutes a detection means by executing the processes of Acts 15 to 16 of FIG. 10 by a computer mainly composed of the CPU 11. Further, the electronic receipt management server 10 constitutes a conversion means by executing the processes of Act 17 to Act 18 of FIG. 10 by a computer mainly composed of the CPU 11. Further, the electronic receipt management server 10 constitutes a storage means by the computer mainly composed of the CPU 11 collaborating with the auxiliary storage device 14 to execute the processes of Acts 19 to 20 in FIG.

次に、税控除対象の商品であるOTC医薬品の購買情報を、電子レシートサービスの会員である閲覧者が情報端末50を使用して閲覧する場合について、図11乃至図18を用いて説明する。 Next, a case where a viewer who is a member of the electronic receipt service browses the purchase information of the OTC drug, which is a tax-deductible product, using the information terminal 50 will be described with reference to FIGS. 11 to 18.

図11乃至図13は、電子レシート管理サーバ10のCPU11が、ROM12又は補助記憶デバイス14に記憶されたアプリケーションプログラムの一種である制御プログラムにしたがって実行する情報処理手順を示す流れ図である。また、図14乃至図18は、情報端末50の表示デバイス(タッチパネルとする)に表示される画面の遷移例である。なお、図11乃至図13に示すとともに以下に説明する処理の内容は一例であって、同様な結果を得ることが可能であればその処理手順及び処理内容は特に限定されるものではない。また、図14乃至図18に示すとともに以下に説明する画面の内容も一例であって、情報端末50のユーザである閲覧者が画面から必要な情報を得ることができるのであれば、その内容は特に限定されるものではない。 11 to 13 are flow charts showing an information processing procedure executed by the CPU 11 of the electronic receipt management server 10 according to a control program which is a kind of application program stored in the ROM 12 or the auxiliary storage device 14. 14 to 18 are examples of screen transitions displayed on the display device (touch panel) of the information terminal 50. The contents of the processes shown in FIGS. 11 to 13 and described below are examples, and the process procedure and the process contents are not particularly limited as long as similar results can be obtained. Further, the content of the screen shown in FIGS. 14 to 18 and described below is also an example, and if the viewer who is the user of the information terminal 50 can obtain necessary information from the screen, the content is the content. It is not particularly limited.

OTC医薬品の購買情報を閲覧したい閲覧者は、先ず、情報端末50にインストールされている電子レシート閲覧プログラムを起動する。そうすると、情報端末50の表示デバイスにホーム画面SC1(図14を参照)が表示される。
ホーム画面SC1の一表示例を図14に示す。図示するようにホーム画面SC1には、会員IDを表すバーコードBCが表示されている。また、ホームアイコンIC1、レシートアイコンIC2及びその他アイコンIC3が表示されている。そしてホームアイコンIC1が選択状態となっており、レシートアイコンIC2とその他アイコンIC3とが非選択状態となっている。因みに、このホーム画面SC1のバーコードSC1を、POS端末21に接続されたスキャナでスキャニングすることにより、POS端末21は会員IDを入力することができる。
A viewer who wants to browse the purchase information of an OTC drug first activates an electronic receipt browsing program installed in the information terminal 50. Then, the home screen SC1 (see FIG. 14) is displayed on the display device of the information terminal 50.
A display example of the home screen SC1 is shown in FIG. As shown in the figure, a barcode BC representing a member ID is displayed on the home screen SC1. In addition, the home icon IC1, the receipt icon IC2, and the other icon IC3 are displayed. The home icon IC1 is in the selected state, and the receipt icon IC2 and the other icon IC3 are not selected. Incidentally, by scanning the barcode SC1 of the home screen SC1 with a scanner connected to the POS terminal 21, the POS terminal 21 can input the member ID.

ホーム画面SC1を確認した閲覧者は、レシートアイコンIC2にタッチする。そうすると、情報端末50から電子レシート管理サーバ10にレシート一覧要求コマンドが送信される。このコマンドを含め、以後に説明する情報端末50からの種々のコマンドには、当該情報端末50に設定されている会員IDが含まれる。なお、必ずしもすべてのコマンドに会員IDが含まれていなくてもよい。電子レシート管理サーバ10に会員IDを知らせる必要のないコマンドには会員IDを含めなくてもよい。 The viewer who confirmed the home screen SC1 touches the receipt icon IC2. Then, the receipt list request command is transmitted from the information terminal 50 to the electronic receipt management server 10. Various commands from the information terminal 50 described below, including this command, include a member ID set in the information terminal 50. It should be noted that not all commands need to include the member ID. It is not necessary to include the member ID in the command that does not need to inform the electronic receipt management server 10 of the member ID.

レシート一覧要求コマンドを受信した電子レシート管理サーバ10のCPU11は、電子レシートファイル143から当該コマンドに含まれる会員ID別に記憶されたレシートデータ24を検出する。そしてCPU11は、検出したレシートデータ24に基づいてレシート一覧画像を作成し、作成したレシート一覧画像をコマンド送信元の情報端末50へと送信する。かくして情報端末50では、表示デバイスの画面が、ホーム画面SC1からレシート一覧画面SC2(図15を参照)に切り替わる。 The CPU 11 of the electronic receipt management server 10 that has received the receipt list request command detects the receipt data 24 stored for each member ID included in the command from the electronic receipt file 143. Then, the CPU 11 creates a receipt list image based on the detected receipt data 24, and transmits the created receipt list image to the information terminal 50 of the command transmission source. Thus, in the information terminal 50, the screen of the display device is switched from the home screen SC1 to the receipt list screen SC2 (see FIG. 15).

レシート一覧画面SC2の一表示例を図15に示す。図示するように、レシート一覧画面SC2には、レシート一覧画像が表示される。また、レシートアイコンIC2が選択状態となり、ホームアイコンIC1とその他アイコンIC3とが非選択状態となる。 FIG. 15 shows an example of displaying the receipt list screen SC2. As shown in the figure, the receipt list image is displayed on the receipt list screen SC2. Further, the receipt icon IC2 is in the selected state, and the home icon IC1 and the other icon IC3 are not selected.

レシート一覧画像は、一か月分のレシートの合計金額(図15では「1月 合計金額\99,999」)と、第1乃至第3の矢印アイコンM1,M2,M3とを含む。また、月間集計ボタンBT1が画面SC2に表示される。第1の矢印アイコンM1がタッチされると、一か月前のレシート一覧画像に切り替わる。第2の矢印アイコンM2がタッチされると、一か月後のレシート一覧画像に切り替わる。第3の矢印アイコンM3がタッチされると、その月に生成されたレシートデータ24のリストが表示される。 The receipt list image includes the total amount of receipts for one month (“January total amount \ 99,999” in FIG. 15) and the first to third arrow icons M1, M2, and M3. In addition, the monthly total button BT1 is displayed on the screen SC2. When the first arrow icon M1 is touched, the image is switched to the receipt list image one month ago. When the second arrow icon M2 is touched, the image is switched to the receipt list image one month later. When the third arrow icon M3 is touched, a list of receipt data 24 generated in that month is displayed.

レシート一覧画面SC2を確認した閲覧者は、月間集計ボタンBT1にタッチする。月間集計ボタンBT1がタッチされると、情報端末50から電子レシート管理サーバ10に月間集計要求コマンドが送信される。 The viewer who confirmed the receipt list screen SC2 touches the monthly total button BT1. When the monthly total button BT1 is touched, the monthly total request command is transmitted from the information terminal 50 to the electronic receipt management server 10.

月間集計要求コマンドを受信した電子レシート管理サーバ10のCPU11は、図11乃至図13の流れ図に示す手順の情報処理を開始する。
先ずCPU11は、図11のAct31として時計部15で計時されている日時データから現時点の年月を検出する。次いでCPU11は、Act32として月間集計ファイル144を検索して、月間集計要求コマンドに含まれる会員IDとAct31の処理で検出した年月とをヘッダ情報とする月間集計データ144Rを検出する。
The CPU 11 of the electronic receipt management server 10 that has received the monthly aggregation request command starts information processing of the procedure shown in the flow chart of FIGS. 11 to 13.
First, the CPU 11 detects the current year and month from the date and time data measured by the clock unit 15 as Act 31 in FIG. Next, the CPU 11 searches the monthly total file 144 as Act 32, and detects the monthly total data 144R whose header information is the member ID included in the monthly total request command and the year and month detected in the process of Act 31.

月間集計データ144Rを検出したならば、CPU11は、Act33としてその月間集計データ144Rに基づいて月間集計画像を生成する。そしてCPU11は、Act34として月間集計画像をコマンド送信元の情報端末50へと送信する。かくして情報端末50では、表示デバイスの画面が、レシート一覧画面SC2から月間集計画面SC3(図16を参照)に切り替わる。 If the monthly aggregated data 144R is detected, the CPU 11 generates a monthly aggregated image based on the monthly aggregated data 144R as Act33. Then, the CPU 11 transmits the monthly aggregated image as the Act 34 to the information terminal 50 of the command transmission source. Thus, in the information terminal 50, the screen of the display device is switched from the receipt list screen SC2 to the monthly total screen SC3 (see FIG. 16).

月間集計画面SC3の一表示例を図16に示す。図示するように、月間集計画面SC3には、月間集計画像が表示される。レシートアイコンIC、ホームアイコンIC1及びその他アイコンIC3の状態は変化しない。
月間集計画像は、月間合計の金額(図16では「\99,999」)と、分類コード別の名称及び合計金額のリストL1と、矢印アイコンM5,M6とを含む。また、閲覧終了ボタンBT2が画面SC3に表示される。なお、リストL1において、OTC医薬品の小分類コードに対する小分類名称「OTC医薬品」には、テキスト「一覧表示」が付されている。
FIG. 16 shows an example of displaying one of the monthly tabulation screen SC3. As shown in the figure, the monthly tabulation image is displayed on the monthly tabulation screen SC3. The state of the receipt icon IC, the home icon IC1, and the other icon IC3 does not change.
The monthly total image includes the monthly total amount (“\ 99,999” in FIG. 16), the name by classification code and the list L1 of the total amount, and the arrow icons M5 and M6. Further, the browsing end button BT2 is displayed on the screen SC3. In the list L1, the text "list display" is attached to the sub-classification name "OTC drug" for the sub-classification code of the OTC drug.

閲覧者は、月間集計画像から、当月に電子レシートサービスの加盟店で購入した商品の合計金額と分類別の合計金額とを示す月間集計データを確認することができる。 From the monthly aggregated image, the viewer can confirm the monthly aggregated data showing the total amount of the products purchased at the member stores of the electronic receipt service in the current month and the total amount of each category.

前月の月間集計データを閲覧したい場合、閲覧者は、矢印アイコンM5にタッチする。矢印アイコンM5がタッチされると、情報端末50は、電子レシート管理サーバ10に第1の年月変更コマンドを送信する。
翌月の月間集計データを閲覧したい場合、閲覧者は、矢印アイコンM6にタッチする。矢印アイコンM6がタッチされると、情報端末50は、電子レシート管理サーバ10に第2の年月変更コマンドを送信する。なお、翌月の月間集計データ144Rが存在しない場合には、矢印アイコンM6は無効化されており、タッチしても第2の年月変更コマンドは送信されない。
When the viewer wants to browse the monthly aggregated data of the previous month, the viewer touches the arrow icon M5. When the arrow icon M5 is touched, the information terminal 50 transmits the first date change command to the electronic receipt management server 10.
When the viewer wants to browse the monthly aggregated data of the next month, the viewer touches the arrow icon M6. When the arrow icon M6 is touched, the information terminal 50 transmits a second year / month change command to the electronic receipt management server 10. If the monthly aggregate data 144R of the next month does not exist, the arrow icon M6 is invalidated, and the second year / month change command is not transmitted even if it is touched.

OTC医薬品の購買情報を閲覧したい場合、閲覧者は、テキスト「一覧表示」にタッチする。テキスト「一覧表示」がタッチされると、情報端末50は、電子レシート管理サーバ10に一覧表示コマンドを送信する。
閲覧を終了する場合には、閲覧者は、閲覧終了ボタンBT2にタッチする。閲覧終了ボタンBT2がタッチされると、情報端末50は、電子レシート管理サーバ10に閲覧終了コマンドを送信する。
When the viewer wants to browse the purchase information of the OTC drug, the viewer touches the text "list display". When the text "list display" is touched, the information terminal 50 transmits a list display command to the electronic receipt management server 10.
To end browsing, the viewer touches the browsing end button BT2. When the browsing end button BT2 is touched, the information terminal 50 transmits a browsing end command to the electronic receipt management server 10.

月間集計画像を送信したCPU11は、Act35として第1又は第2の年月変更コマンドを受信したか否かを判断する。第1又は第2の年月変更コマンドを受信していない場合(Act35にてNO)、CPU11は、Act36として一覧表示コマンドを受信したか否かを判断する。一覧表示コマンドを受信していない場合(Act36にてNO)、CPU11は、Act37として閲覧終了コマンドを受信したか否かを判断する。閲覧終了コマンドを受信していない場合(Act37にてNO)、CPU11は、Act35の処理に戻る。したがってCPU11は、Act35乃至Act37の処理により、第1又は第2の年月変更コマンドを受信するか、一覧表示コマンドを受信するか、閲覧終了コマンドを受信するのを待ち受ける。 The CPU 11 that has transmitted the monthly aggregated image determines whether or not the first or second year / month change command has been received as Act35. When the first or second year / month change command has not been received (NO in Act35), the CPU 11 determines whether or not the list display command has been received as Act36. When the list display command has not been received (NO in Act36), the CPU 11 determines whether or not the browsing end command has been received as Act37. If the browsing end command has not been received (NO in Act37), the CPU 11 returns to the processing of Act35. Therefore, the CPU 11 waits for the first or second year / month change command, the list display command, or the browsing end command to be received by the processing of Act35 to Act37.

Act35乃至Act37の待ち受け状態において、第1又は第2の年月変更コマンドを受信すると(Act35にてYES)、CPU11は、Act32の処理に戻る。そして第1の年月変更コマンドの場合には、CPU11は、月間集計ファイル144から前月の月間集計データ144Rを検出して、Act33以降の処理を実行する。第2の年月変更コマンドの場合には、CPU11は、月間集計ファイル144から翌月の月間集計データ144Rを検出して、Act33以降の処理を実行する。これにより、情報端末50においては、月間集計画面SC3に表示される画像が、前月又は翌月の月間集計画像に切り替わる。 When the first or second year / month change command is received in the standby state of Act35 to Act37 (YES in Act35), the CPU 11 returns to the processing of Act32. Then, in the case of the first year / month change command, the CPU 11 detects the monthly total data 144R of the previous month from the monthly total file 144 and executes the processing after Act 33. In the case of the second year / month change command, the CPU 11 detects the monthly total data 144R of the next month from the monthly total file 144 and executes the processing after Act 33. As a result, in the information terminal 50, the image displayed on the monthly total screen SC3 is switched to the monthly total image of the previous month or the next month.

Act35乃至Act37の待ち受け状態において、閲覧終了コマンドを受信した場合には(Act37にてYES)、CPU11は、Act38としてコマンド送信元の情報端末50に対して消去コマンドを出力する。以上で、CPU11は、月間集計コマンドを受信した際の処理を終了する。因みに、消去コマンドを受信した情報端末50においては、表示デバイスの画面がホーム画面SC1に戻る。 When the browsing end command is received in the standby state of Act35 to Act37 (YES in Act37), the CPU 11 outputs an erase command to the information terminal 50 of the command transmission source as Act38. With the above, the CPU 11 ends the process when the monthly aggregation command is received. Incidentally, in the information terminal 50 that has received the erase command, the screen of the display device returns to the home screen SC1.

Act35乃至Act37の待ち受け状態において、一覧表示コマンドを受信した場合には(Act36にてYES)、CPU11は、Act39として、Act32で検出した月間集計データ144Rの年月から年度を検出する。そしてCPU11は、Act40として、OTC医薬品集計ファイル146を検索して、月間集計要求コマンドに含まれていた会員IDと、OTC医薬品の小分類コードと、Act39の処理で検出した年度とをヘッダ情報とするOTC医薬品集計データ146Rを検出する。 When a list display command is received in the standby state of Act35 to Act37 (YES in Act36), the CPU 11 detects the year as Act39 from the year and month of the monthly aggregated data 144R detected by Act32. Then, the CPU 11 searches the OTC drug total file 146 as Act 40, and uses the member ID included in the monthly total request command, the sub-classification code of the OTC drug, and the year detected by the processing of Act 39 as header information. OTC drug aggregate data 146R to be detected.

OTC医薬品集計データ146Rを検出したならば、CPU11は、Act41としてそのOTC医薬品集計データ146Rに基づいてOTC医薬品一覧画像を生成する。またCPU11は、Act42としてOTC医薬品集計データ146Rの控除フラグを調べる。そして、控除フラグが“1”にセットされていた場合(Act42にてYES)、すなわち年度合計が控除対象の下限額を超えている場合には、CPU11は、Act43としてセルフメディケーション税制の控除を受けられることを閲覧者に報知するためのメッセージをOTC医薬品一覧画像に追加する。メッセージとしては、例えば「医療費控除対象です」、「セルフメディケーション税制による控除を受けられます」等が考えられる。控除フラグが“0”にリセットされている場合(Act42にてNO)、すなわち年度合計が控除対象の下限額を超えていない場合には、CPU11は、Act43の処理を実行しない。 If the OTC drug summary data 146R is detected, the CPU 11 generates an OTC drug list image based on the OTC drug summary data 146R as Act 41. Further, the CPU 11 examines the deduction flag of the OTC drug aggregate data 146R as Act 42. Then, when the deduction flag is set to "1" (YES in Act42), that is, when the annual total exceeds the lower limit of the deduction target, the CPU 11 deducts the self-medication tax system as Act43. A message is added to the OTC drug list image to notify the viewer that the drug can be received. As a message, for example, "medical expenses are deductible", "self-medication tax deduction is available", etc. can be considered. When the deduction flag is reset to "0" (NO in Act42), that is, when the annual total does not exceed the lower limit of the deduction target, the CPU 11 does not execute the processing of Act43.

その後CPU11は、Act44としてOTC医薬品一覧画像をコマンド送信元の情報端末50へと送信する。かくして情報端末50では、表示デバイスの画面が、月間集計画面SC3からOTC医薬品一覧画面SC4(図17を参照)に切り替わる。 After that, the CPU 11 transmits an OTC drug list image as an Act 44 to the information terminal 50 of the command transmission source. Thus, on the information terminal 50, the screen of the display device is switched from the monthly total screen SC3 to the OTC drug list screen SC4 (see FIG. 17).

OTC医薬品一覧画面SC4の一表示例を図17に示す。図示するように、OTC医薬品一覧画面SC4には、OTC医薬品一覧画像が表示される。レシートアイコンIC、ホームアイコンIC1及びその他アイコンIC3の状態は変化しない。 FIG. 17 shows an example of displaying the OTC drug list screen SC4. As shown in the figure, an OTC drug list image is displayed on the OTC drug list screen SC4. The state of the receipt icon IC, the home icon IC1, and the other icon IC3 does not change.

OTC医薬品一覧画像は、年度合計の金額(図17では「合計:\99,999」)Aと、OTC医薬品の明細購入リストL2と、矢印アイコンM7,M8とを含む。また、一覧送信ボタンB3と閲覧終了ボタンBT4とが画面SC4に表示される。また、図17の画面SC4は、年度合計が控除対象の下限額を超えている場合である。すなわち、OTC医薬品一覧画像は、メッセージMS1を含む。 The OTC drug list image includes the annual total amount (“total: \ 99,999” in FIG. 17) A, the detailed purchase list L2 of the OTC drug, and the arrow icons M7 and M8. Further, the list transmission button B3 and the browsing end button BT4 are displayed on the screen SC4. Further, the screen SC4 in FIG. 17 is a case where the annual total exceeds the lower limit of the deduction target. That is, the OTC drug list image includes the message MS1.

明細購入リストL2は、OTC医薬品集計データ146Rに含まれる各購入明細データD1によって作成される。すなわち、1つの購入明細データD1の取引日時と商品名と税込価格とを1行(明細行と称する)で表わし、この明細行を全ての購入明細データD1の数だけ列方向に並べることで、明細購入リストL2が作成される。なお、取引日時については、図17に示すように日付のみ明細行に表示させてもよいし、時刻まで明細行に表示させてもよい。 The detailed purchase list L2 is created by each purchase detailed data D1 included in the OTC drug aggregate data 146R. That is, the transaction date and time, the product name, and the tax-included price of one purchase detail data D1 are represented by one row (referred to as a detail line), and this detail line is arranged in the column direction by the number of all purchase detail data D1. The detailed purchase list L2 is created. As for the transaction date and time, as shown in FIG. 17, only the date may be displayed on the detail line, or the transaction date and time may be displayed on the detail line until the time.

閲覧者は、OTC医薬品一覧画像から、この一年間に電子レシートサービスの加盟店で購入したOTC医薬品の合計金額と個々の明細(取引日時と商品名と税込価格)とを表すOTC医薬品購買情報を確認することができる。 From the OTC drug list image, the viewer can see the OTC drug purchase information that shows the total amount of OTC drugs purchased at the member stores of the electronic receipt service in the past year and the individual details (transaction date and time, product name, and tax-included price). You can check.

前年のOTC医薬品購買情報を閲覧したい場合、閲覧者は、矢印アイコンM7にタッチする。矢印アイコンM7がタッチされると、情報端末50は、電子レシート管理サーバ10に第1の年度変更コマンドを送信する。
翌年のOTC医薬品購買情報を閲覧したい場合、閲覧者は、矢印アイコンM8にタッチする。矢印アイコンM8がタッチされると、情報端末50は、電子レシート管理サーバ10に第2の年度変更コマンドを送信する。なお、翌年のOTC医薬品集計データ146Rが存在しない場合には、矢印アイコンM8は無効化されており、タッチしても第2の年度変更コマンドは送信されない。
When the viewer wants to browse the OTC drug purchase information of the previous year, the viewer touches the arrow icon M7. When the arrow icon M7 is touched, the information terminal 50 transmits the first year change command to the electronic receipt management server 10.
When the viewer wants to browse the OTC drug purchase information of the next year, the viewer touches the arrow icon M8. When the arrow icon M8 is touched, the information terminal 50 transmits a second year change command to the electronic receipt management server 10. If the OTC drug aggregate data 146R of the next year does not exist, the arrow icon M8 is invalidated, and the second year change command is not transmitted even if it is touched.

OTC医薬品購買情報のリストを取得したい場合、閲覧者は、一覧送信ボタンRT3にタッチする。一覧送信ボタンRT3がタッチされると、情報端末50は、電子レシート管理サーバ10に一覧送信コマンドを送信する。 When it is desired to acquire a list of OTC drug purchase information, the viewer touches the list transmission button RT3. When the list transmission button RT3 is touched, the information terminal 50 transmits a list transmission command to the electronic receipt management server 10.

OTC医薬品購買情報を購入した際のレシートを取得したい場合、閲覧者は、所望の明細行にタッチする。明細行がタッチされると、情報端末50は、電子レシート管理サーバ10に明細選択コマンドを送信する。明細選択コマンドには、タッチされた明細行に表示されている取引日時、商品名及び税込価格が含まれる。 When the viewer wants to obtain the receipt when the OTC drug purchase information is purchased, the viewer touches the desired line. When the detail line is touched, the information terminal 50 sends a detail selection command to the electronic receipt management server 10. The item selection command includes the transaction date and time, the product name, and the tax-included price displayed on the touched item line.

閲覧を終了する場合には、閲覧者は、閲覧終了ボタンBT4にタッチする。閲覧終了ボタンBT2がタッチされると、情報端末50は、電子レシート管理サーバ10に閲覧終了コマンドを送信する。 To end browsing, the viewer touches the browsing end button BT4. When the browsing end button BT2 is touched, the information terminal 50 transmits a browsing end command to the electronic receipt management server 10.

OTC医薬品一覧画像を送信したCPU11は、図12のAct51として閲覧終了コマンドを受信したか否かを判断する。閲覧終了コマンドを受信していない場合(Act51にてNO)、CPU11は、Act52として第1又は第2の年度変更コマンドを受信したか否かを判断する。第1又は第2の年度変更コマンドを受信していない場合(Act52にてNO)、CPU11は、Act53として明細選択コマンドを受信したか否かを判断する。明細選択コマンドを受信していない場合(Act53にてNO)、CPU11は、Act54として一覧送信コマンドを受信したか否かを判断する。一覧送信コマンドを受信していない場合(Act54にてNO)、CPU11は、Act51の処理に戻る。したがってCPU11は、Act51乃至Act54の処理により、閲覧終了コマンドを受信するか、第1又は第2の年度変更コマンドを受信するか、明細選択コマンドを受信するか、一覧送信コマンドを受信するのを待ち受ける。 The CPU 11 that has transmitted the OTC drug list image determines whether or not the browsing end command has been received as Act 51 in FIG. When the browsing end command has not been received (NO in Act51), the CPU 11 determines whether or not the first or second year change command has been received as Act52. When the first or second year change command has not been received (NO in Act 52), the CPU 11 determines whether or not the detail selection command has been received as Act 53. When the detail selection command has not been received (NO in Act53), the CPU 11 determines whether or not the list transmission command has been received as Act54. If the list transmission command has not been received (NO in Act54), the CPU 11 returns to the processing of Act51. Therefore, the CPU 11 waits for the browsing end command, the first or second year change command, the detail selection command, or the list transmission command to be received by the processing of Act51 to Act54. ..

Act51乃至Act54の待ち受け状態において、閲覧終了コマンドを受信した場合(Act51にてYES)、CPU11は、図11のAct32の処理に戻る。これにより、情報端末50においては、表示デバイスの画面が、OTC医薬品一覧画面SC4から月間集計画面SC3に戻る。 When a browsing end command is received in the standby state of Act51 to Act54 (YES in Act51), the CPU 11 returns to the process of Act32 in FIG. As a result, in the information terminal 50, the screen of the display device returns from the OTC drug list screen SC4 to the monthly total screen SC3.

Act51乃至Act54の待ち受け状態において、第1又は第2の年度変更コマンドを受信した場合には(Act52にてYES)、CPU11は、図11のAct40の処理に戻る。そして第1の年度変更コマンドの場合、CPU11は、前年度のOTC医薬品集計データ146Rを検出して、Act41以降の処理を実行する。第2の年度変更コマンドの場合には、CPU11は、翌年度のOTC医薬品集計データ146Rを検出して、Act33以降の処理を実行する。これにより、情報端末50においては、OTC医薬品一覧画面SC4に表示される画像が、前年又は翌年のOTC医薬品一覧画像に切り替わる。 When the first or second year change command is received in the standby state of Act51 to Act54 (YES in Act52), the CPU 11 returns to the process of Act40 in FIG. Then, in the case of the first year change command, the CPU 11 detects the OTC drug aggregate data 146R of the previous year and executes the processing after Act41. In the case of the second year change command, the CPU 11 detects the OTC drug aggregate data 146R of the next year and executes the processing after Act33. As a result, in the information terminal 50, the image displayed on the OTC drug list screen SC4 is switched to the OTC drug list image of the previous year or the next year.

Act51乃至Act54の待ち受け状態において、明細選択コマンドを受信した場合には(Act53にてYES)、CPU11は、図13のAct60としてその明細選択コマンドに含まれる取引日時、商品名及び価格を含む購入明細データD1をOTC医薬品集計データ146Rから検出する。次いでCPU11は、Act61として電子レシートファイル143を検索して、当該購入明細データD1から特定される1つのレシートデータ24を検出する。そしてCPU11は、Act62としてその検出されたレシートデータ24に基づいて電子レシート画像を生成する。 When the detail selection command is received in the standby state of Act51 to Act54 (YES in Act53), the CPU 11 determines the purchase details including the transaction date and time, the product name, and the price included in the detail selection command as Act60 in FIG. Data D1 is detected from OTC drug aggregate data 146R. Next, the CPU 11 searches the electronic receipt file 143 as the Act 61, and detects one receipt data 24 specified from the purchase detail data D1. Then, the CPU 11 generates an electronic receipt image as Act 62 based on the detected receipt data 24.

電子レシート画像を生成したならば、CPU11は、Act63として電子レシート画像をコマンド送信元の情報端末50へと送信する。かくして情報端末50では、表示デバイスの画面が、OTC医薬品一覧画面SC4から電子レシート画面SC5(図18を参照)に切り替わる。 After the electronic receipt image is generated, the CPU 11 transmits the electronic receipt image as the Act 63 to the information terminal 50 of the command transmission source. Thus, in the information terminal 50, the screen of the display device is switched from the OTC drug list screen SC4 to the electronic receipt screen SC5 (see FIG. 18).

電子レシート画面SC5の一表示例を図18に示す。図示するように、電子レシート画面SC5には、電子レシート画像Rが表示される。レシートアイコンIC、ホームアイコンIC1及びその他アイコンIC3の状態は変化しない。また、送信ボタンBT5と閲覧終了ボタンBT6とが電子レシート画面SC5に表示される。 FIG. 18 shows an example of displaying the electronic receipt screen SC5. As shown in the figure, the electronic receipt image R is displayed on the electronic receipt screen SC5. The state of the receipt icon IC, the home icon IC1, and the other icon IC3 does not change. Further, the send button BT5 and the browsing end button BT6 are displayed on the electronic receipt screen SC5.

閲覧者は、電子レシート画像Rから、選択行に商品名等が表示されているOTC医薬品を購入したときに店舗から発行されたレシートを確認することができる。そのレシートを取得したい場合、閲覧者は、送信ボタンBT5にタッチする。送信ボタンBT5がタッチされると、情報端末50は、電子レシート管理サーバ10に送信コマンドを送信する。 From the electronic receipt image R, the viewer can confirm the receipt issued by the store when the OTC drug whose product name or the like is displayed in the selected line is purchased. When the viewer wants to obtain the receipt, the viewer touches the send button BT5. When the transmission button BT5 is touched, the information terminal 50 transmits a transmission command to the electronic receipt management server 10.

電子レシート画像Rの閲覧を終了する場合、閲覧者は、閲覧終了ボタンBT6にタッチする。閲覧終了ボタンBT6がタッチされると、情報端末50は電子レシート管理サーバ10に閲覧終了コマンドを送信する。 When ending the viewing of the electronic receipt image R, the viewer touches the viewing end button BT6. When the browsing end button BT6 is touched, the information terminal 50 transmits a browsing end command to the electronic receipt management server 10.

電子レシート画像を送信したCPU11は、Act64として閲覧終了コマンドを受信したか否かを判断する。閲覧終了コマンドを受信していない場合(Act64にてNO)、CPU11は、Act65として送信コマンドを受信したか否かを判断する。送信コマンドを受信していない場合、CPU11は、Act64の処理に戻る。したがってCPU11は、Act64及びAct65の処理により、閲覧終了コマンドを受信するか送信コマンドを受信するのを待ち受ける。 The CPU 11 that has transmitted the electronic receipt image determines whether or not the browsing end command has been received as Act64. When the browsing end command has not been received (NO in Act64), the CPU 11 determines whether or not the transmission command has been received as Act65. If the transmission command has not been received, the CPU 11 returns to the Act64 process. Therefore, the CPU 11 waits for the browsing end command to be received or the transmission command to be received by the processing of Act64 and Act65.

Act64及びAct65の待ち受け状態において、閲覧終了コマンドを受信すると(Act64にてYES)、CPU11は、図11のAct40の処理に戻る。これにより、情報端末50においては、表示デバイスの画面が、電子レシート画面SC5からOTC医薬品一覧画面SC4に戻る。 When the browsing end command is received (YES in Act64) in the standby state of Act64 and Act65, the CPU 11 returns to the process of Act40 in FIG. As a result, in the information terminal 50, the screen of the display device returns from the electronic receipt screen SC5 to the OTC drug list screen SC4.

Act64及びAct65の待ち受け状態において、送信コマンド受信した場合(Act65にてYES)、CPU11は、Act67としてその送信コマンドに含まれる会員IDで特定される会員設定データ141Rからメールアドレスを検出する。そしてCPU11は、Act68として、Act62の処理で生成した電子レシート画像をPDF(Portable Document Format)ファイルのデータに変換する。そしてCPU11は、Act69としてメールソフトを起動して、PDFファイルのデータに変換された電子レシート画像を添付ファイルとする電子メールを作成し、Act67の処理で取得したメールアドレス宛てに送信する。その後、CPU11は、図11のAct40の処理に戻る。これにより、情報端末50においては、表示デバイスの画面が電子レシート画面SC5からOTC医薬品一覧画面SC4に戻る。 When a transmission command is received in the standby state of Act64 and Act65 (YES in Act65), the CPU 11 detects an e-mail address from the member setting data 141R specified by the member ID included in the transmission command as Act67. Then, the CPU 11 converts the electronic receipt image generated by the processing of the Act 62 into the data of the PDF (Portable Document Format) file as the Act 68. Then, the CPU 11 starts the mail software as Act69, creates an e-mail with the electronic receipt image converted into PDF file data as an attached file, and sends it to the e-mail address acquired by the processing of Act67. After that, the CPU 11 returns to the process of Act 40 in FIG. As a result, in the information terminal 50, the screen of the display device returns from the electronic receipt screen SC5 to the OTC drug list screen SC4.

図12のAct51乃至Act54の待ち受け状態において、一覧送信コマンドを受信すると(Act54にてYES)、CPU11は、Act55としてその送信コマンドに含まれる会員IDで特定される会員設定データ141Rからメールアドレスを検出する。またCPU11は、Act56として、Act40の処理で検出したOTC医薬品集計データ146Rに基づき、OTC医薬品購買リストの画像を生成する。このOTC医薬品購買リストにどのような項目が含まれるかは任意である。例えば会員ID、年度及び年度合計と、各購入明細データD1の取引日時、店舗コード、取引番号、商品コード、商品名及び税込価格のリストとを含むものであってもよい。また、リストから商品コードを省略したものであってもよい。また、リストの店舗コードの代わりに、店舗情報ファイル142に当該店舗コードと関連付けて設定されている店舗名を含むものであってもよい。 When a list transmission command is received (YES in Act54) in the standby state of Act51 to Act54 in FIG. 12, the CPU 11 detects an e-mail address from the member setting data 141R specified by the member ID included in the transmission command as Act55. do. Further, the CPU 11 generates an image of the OTC drug purchase list as the Act 56 based on the OTC drug aggregate data 146R detected in the process of the Act 40. What kind of items are included in this OTC drug purchase list is arbitrary. For example, it may include a member ID, a year and a total of the years, and a list of transaction date and time, store code, transaction number, product code, product name and tax-included price of each purchase detail data D1. Further, the product code may be omitted from the list. Further, instead of the store code in the list, the store information file 142 may include the store name set in association with the store code.

OTC医薬品購買リストの画像を生成したならば、CPU11は、Act57としてこのOTC医薬品購買リストの画像をPDF(Portable Document Format)ファイルのデータに変換する。そしてCPU11は、Act58としてメールソフトを起動して、PDFファイルのデータに変換されたOTC医薬品購買リストの画像を添付ファイルとする電子メールを作成し、Act55の処理で取得したメールアドレス宛てに送信する。その後、CPU11は、Act51乃至Act54の待ち受け状態に戻る。 After generating the image of the OTC drug purchase list, the CPU 11 converts the image of the OTC drug purchase list into the data of the PDF (Portable Document Format) file as Act57. Then, the CPU 11 starts the mail software as Act58, creates an e-mail with the image of the OTC drug purchase list converted into the data of the PDF file as an attached file, and sends it to the e-mail address acquired by the processing of Act55. .. After that, the CPU 11 returns to the standby state of Act51 to Act54.

ここに電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図11のAct39~Act44の処理を実行することにより情報出力手段を構成する。また、電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図12のAct54~Act58の処理を実行することによりリスト出力手段を構成する。また、電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図12のAct65~Act69の処理を実行することによりレシート出力手段を構成する。 Here, the electronic receipt management server 10 constitutes an information output means by executing the processes of Act 39 to Act 44 of FIG. 11 by a computer whose main body is the CPU 11. Further, the electronic receipt management server 10 constitutes a list output means by executing the processes of Act 54 to Act 58 of FIG. 12 by a computer mainly composed of the CPU 11. Further, the electronic receipt management server 10 constitutes a receipt output means by executing the processes of Act65 to Act69 of FIG. 12 by a computer mainly composed of the CPU 11.

このように本実施形態によれば、電子レシートサービスの会員である閲覧者は、電子レシート閲覧プログラムがインストールされた情報端末50を使用することにより、所望の一年間に購入したOTC医薬品に係る情報を確認することができる。ここで、OTC医薬品に係る情報とは、少なくともその一年間に購入したOTC医薬品の合計金額を含む。この合計金額が控除対象の下限額を超えると、閲覧者は、セルフメディケーション税制の控除を受けることができる。したがって閲覧者は、OTC医薬品に係る情報を閲覧することで、セルフメディケーション税制の控除を受けられるか否かを容易に確認することができる。 As described above, according to the present embodiment, the viewer who is a member of the electronic receipt service can use the information terminal 50 in which the electronic receipt viewing program is installed to obtain information on the OTC drug purchased in a desired year. Can be confirmed. Here, the information relating to the OTC drug includes at least the total amount of the OTC drug purchased in the one year. If this total amount exceeds the deductible minimum amount, the viewer can receive a self-medication tax deduction. Therefore, the viewer can easily confirm whether or not the self-medication tax system can be deducted by browsing the information related to the OTC drug.

OTC医薬品に係る情報は、一年間に購入したOTC医薬品毎の取引日、商品名及び税込価格等を含む明細購入リストL2を含むものであってもよい。OTC医薬品に係る情報に明細購入リストL2を含ませることによって、閲覧者は個々のOTC医薬品の購買履歴を容易に確認することができる。 The information relating to the OTC drug may include the detailed purchase list L2 including the transaction date, product name, tax-included price, etc. for each OTC drug purchased in one year. By including the detailed purchase list L2 in the information relating to the OTC drug, the viewer can easily confirm the purchase history of each OTC drug.

本実施形態では、明細購入リストL2の明細行がタッチされると、その明細行に表示されているOTC医薬品を購入した際に店舗から発行されたレシートの画像が情報端末50の表示デバイスに表示される。したがって閲覧者は、OTC医薬品を購入した際に店舗から発行されたレシートも電子レシートの形態で容易に確認することができる。 In the present embodiment, when the detail line of the detail purchase list L2 is touched, the image of the receipt issued from the store when the OTC drug displayed in the detail line is purchased is displayed on the display device of the information terminal 50. Will be done. Therefore, the viewer can easily confirm the receipt issued from the store when the OTC drug is purchased in the form of an electronic receipt.

また本実施形態では、レシート画像が表示された電子レシート画面SC5において、閲覧者が送信ボタンBT5にタッチすると、そのレシート画像がPDF形式に変換されて電子メールに添付され、閲覧者が指定するメールアドレス宛てに送信される。したがって、閲覧者は、OTC医薬品を購入した際に店舗から発行されたレシートを、例えば紙媒体で取得することができる。 Further, in the present embodiment, when the viewer touches the send button BT5 on the electronic receipt screen SC5 on which the receipt image is displayed, the receipt image is converted into the PDF format and attached to the e-mail, and the e-mail specified by the viewer is used. It will be sent to the address. Therefore, the viewer can obtain the receipt issued from the store when the OTC drug is purchased, for example, in a paper medium.

また本実施形態では、明細購入リストL2を含むOTC医薬品一覧画像が表示されたOTC医薬品一覧画面SC4において、閲覧者が一覧送信ボタンBT3にタッチすると、OTC医薬品購買リストの画像がPDF形式に変換されて電子メールに添付され、閲覧者が指定するメールアドレス宛てに送信される。したがって、閲覧者は、一年間に購入したOTC医薬品の購買履歴(取引日時、店舗名、商品名、税込価格等)を合計金額とともに表記したOTC医薬品購買リストを、例えば紙媒体で取得することができる。 Further, in the present embodiment, when the viewer touches the list transmission button BT3 on the OTC drug list screen SC4 in which the OTC drug list image including the detailed purchase list L2 is displayed, the image of the OTC drug purchase list is converted into the PDF format. Is attached to the e-mail and sent to the e-mail address specified by the viewer. Therefore, the viewer may obtain an OTC drug purchase list, for example, in a paper medium, which shows the purchase history (transaction date / time, store name, product name, tax-included price, etc.) of the OTC drug purchased in one year together with the total amount. can.

ところで本実施形態の電子レシート管理サーバ10においては、図10のAct17の処理でOTC医薬品を販売した店舗が外税方式なのか内税方式なのかを判定している。そして外税方式の場合には、OTC医薬品の価格を税込み価格に換算して、OTC医薬品集計ファイル146に集計するようにしている。したがって、外税方式の店舗と内税方式の店舗とが混在していても、本実施形態はセルフメディケーション税制に対応できるものである。 By the way, in the electronic receipt management server 10 of the present embodiment, it is determined whether the store that sold the OTC drug is the tax-excluded system or the tax-included system by the process of Act 17 in FIG. In the case of the tax-excluded method, the price of the OTC drug is converted into the price including tax and aggregated in the OTC drug summary file 146. Therefore, even if the tax-excluded store and the tax-included store are mixed, this embodiment can support the self-medication tax system.

以下、実施形態の変形例について説明する。
前記実施形態では、電子レシート管理サーバ10のCPU11が、図11のAct42において控除フラグを確認し、“1”にセットされている場合に、Act43として所定メッセージを追加した。このAct42及びAct43の処理を、図11のAct33とAct34との間で実行してもよい。こうすることにより、月間集計画面SC3において、閲覧者に対し、セルフメディケーション税制の控除を受けられることを報知することができる。
Hereinafter, a modified example of the embodiment will be described.
In the above embodiment, the CPU 11 of the electronic receipt management server 10 confirms the deduction flag in Act 42 of FIG. 11, and when it is set to “1”, a predetermined message is added as Act 43. The processing of Act 42 and Act 43 may be executed between Act 33 and Act 34 in FIG. By doing so, it is possible to notify the viewer on the monthly total screen SC3 that the self-medication tax system can be deducted.

前記実施形態では、電子レシート管理サーバ10のCPU11が、レシート画像及びOTC医薬品購買情報のリスト画像をPDFファイルに変換してメール送信した。その際のファイルは、PDFファイルに限定されるものではない。例えばOTC医薬品購買情報のリストについてはCSVファイルの形式に変換してメール送信してもよい。こうすることにより、閲覧者は、エクセルファイル等を利用してOTC医薬品購買情報のリストを加工することができる。 In the above embodiment, the CPU 11 of the electronic receipt management server 10 converts the receipt image and the list image of the OTC drug purchase information into a PDF file and sends the mail. The file at that time is not limited to the PDF file. For example, the list of OTC drug purchase information may be converted into a CSV file format and sent by e-mail. By doing so, the viewer can process the list of OTC drug purchase information by using an Excel file or the like.

また、レシート画像及びOTC医薬品購買情報のリスト画像を指定されたメールアドレス宛てにメール送信するのではなく、情報端末50にダウンロードしてもよい。あるいはプリンタに出力して直接印刷してもよい。ダウンロードの場合は、ダウンロードの指示があるとPDFファイルやCSVファイルを情報端末50に直接ダウンロードできるようにすればよい。印刷の場合は、印刷の指示があると情報端末50で指定されたプリンタにて印刷できるようにすればよい。 Further, the receipt image and the list image of the OTC drug purchase information may be downloaded to the information terminal 50 instead of being sent by e-mail to the designated e-mail address. Alternatively, it may be output to a printer and printed directly. In the case of downloading, the PDF file or CSV file may be directly downloaded to the information terminal 50 when instructed to download. In the case of printing, it is sufficient to enable printing with the printer specified by the information terminal 50 when there is a printing instruction.

前記実施形態では、電子レシート管理サーバ10のCPU11が、図12のAct56において、Act40の処理で検出したOTC医薬品集計データ146Rに基づき、OTC医薬品購買リストの画像を生成した。このAct56において、OTC医薬品購買リストの代わりに、各購入明細データD1から特定されるレシートデータに基づき電子レシート画像を生成してもよい。こうすることにより、閲覧者は、OTC医薬品を購入した際に店舗から発行されたレシートを一括して取得することができる。また、Act56において、OTC医薬品購買リストと電子レシート画像との両方を作成し、双方を電子メールで送信してもよいのは言うまでもないことである。 In the above embodiment, the CPU 11 of the electronic receipt management server 10 generates an image of the OTC drug purchase list based on the OTC drug aggregate data 146R detected in the process of Act 40 in Act 56 of FIG. In this Act 56, instead of the OTC drug purchase list, an electronic receipt image may be generated based on the receipt data specified from each purchase detail data D1. By doing so, the viewer can collectively obtain the receipt issued from the store when the OTC drug is purchased. Needless to say, in Act56, both the OTC drug purchase list and the electronic receipt image may be created and both may be sent by e-mail.

この他、前記実施形態では、税控除対象の商品をOTC医薬品としたが、商品の分類は特に限定されるものではない。 In addition, in the above-described embodiment, the tax-deductible product is an OTC drug, but the classification of the product is not particularly limited.

また、電子レシート管理サーバ10の譲渡は一般に、制御プログラム等のプログラムがROM12に記憶された状態にて行われる。しかしこれに限らず、電子レシート管理サーバ10が備える補助記憶デバイス14に、この電子レシート管理サーバ10とは個別に譲渡された制御プログラム等がユーザなどの操作に応じて書き込まれてもよい。制御プログラム等の譲渡は、リムーバブルな記録媒体に記録して、あるいはネットワークを介した通信により行うことができる。記録媒体は、CD-ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。また、プログラムのインストールやダウンロードにより得る機能は、装置内部のOS(オペレーティング・システム)等と協働してその機能を実現させるものであってもよい。 Further, the transfer of the electronic receipt management server 10 is generally performed in a state where a program such as a control program is stored in the ROM 12. However, the present invention is not limited to this, and a control program or the like transferred separately from the electronic receipt management server 10 may be written in the auxiliary storage device 14 included in the electronic receipt management server 10 according to an operation by a user or the like. The control program or the like can be transferred by recording it 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]客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出する検出手段と、前記検出手段により検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する記憶手段と、前記客識別情報を含む閲覧要求に応答して、当該客識別情報と関連付けられて記憶されている前記税控除の対象となる商品の販売データに基づき、所定期間内に売買された前記税控除の対象となる商品の合計金額を前記閲覧要求元の機器へと出力する情報出力手段と、を具備するレシートデータ管理装置。
[2]前記情報出力手段は、前記所定期間内に売買された前記税控除の対象となる商品のリストをさらに出力する、付記[1]記載のレシートデータ管理装置。
[3]前記閲覧要求元の機器から前記リストの送信が指令されると、前記情報出力手段により出力したリストに基づくデータを所定の出力方法で出力するリスト出力手段、をさらに具備する付記[2]記載のレシートデータ管理装置。
[4]前記閲覧要求元の機器から前記リストに表示された商品の選択が指令されると、その選択された商品の販売データを含むレシートデータを前記閲覧要求元の機器へと出力するレシート出力手段、をさらに具備する付記[2]記載のレシートデータ管理装置。
[5]前記税控除の対象となる商品の販売データに含まれる価格が税抜価格である場合に、その税抜価格を税込価格に換算する換算手段、をさらに具備し、前記情報出力手段が出力する合計金額は、所定期間内に売買された前記税控除の対象となる商品の税込み価格の合計である、付記[1]乃至[4]のうちいずれか1に記載のレシートデータ管理装置。
[6]情報端末との通信手段を有するとともに客が購入した商品の販売データを含むレシートデータを取り込んで処理するコンピュータに、前記レシートデータから税控除の対象となる商品の販売データを検出する機能と、前記検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する機能と、前記客識別情報を含む閲覧要求に応答して、当該客識別情報と関連付けられて記憶されている前記税控除の対象となる商品の販売データに基づき、所定期間内に売買された前記税控除の対象となる商品の合計金額を前記閲覧要求元の機器へと出力する機能と、を実現させるためのプログラム。
[7]サーバが、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出し、前記サーバが、前記検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶部に記憶させ、前記サーバが、前記客識別情報を含む閲覧要求に応答して、前記記憶部に当該客識別情報と関連付けられて記憶されている前記税控除の対象となる商品の販売データに基づき、所定期間内に売買された前記税控除の対象となる商品の合計金額を前記閲覧要求元の機器へと出力させる、レシートデータ管理方法。
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 variations 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.
The inventions described in the original claims of the present application are described below.
[1] A detection means for detecting sales data of a product subject to tax deduction from receipt data including sales data of a product purchased by a customer, and a sale of the product subject to the tax deduction detected by the detection means. A storage means for storing data in association with customer identification information associated with the receipt data including the sales data, and storage associated with the customer identification information in response to a browsing request including the customer identification information. Based on the sales data of the tax-deductible products, the information output means for outputting the total amount of the tax-deductible products sold within a predetermined period to the device of the viewing request source, and Receipt data management device.
[2] The receipt data management device according to the appendix [1], wherein the information output means further outputs a list of products that are subject to the tax deduction that are bought and sold within the predetermined period.
[3] A supplementary note [2] further comprising a list output means for outputting data based on the list output by the information output means by a predetermined output method when the transmission of the list is instructed by the device of the viewing request source. ] Described receipt data management device.
[4] When the selection of the product displayed in the list is instructed by the viewing requesting device, the receipt data including the sales data of the selected product is output to the viewing requesting device. The receipt data management device according to the appendix [2], further comprising means.
[5] When the price included in the sales data of the product subject to the tax deduction is the tax-excluded price, the information output means further comprises a conversion means for converting the tax-excluded price into the tax-excluded price. The receipt data management device according to any one of the appendices [1] to [4], wherein the total amount to be output is the total price including tax of the products subject to the tax deduction that are bought and sold within a predetermined period.
[6] A function that detects sales data of products subject to tax deduction from the receipt data on a computer that has a means of communication with an information terminal and that captures and processes receipt data including sales data of products purchased by the customer. And a function to store the detected sales data of the product subject to the tax deduction in association with the customer identification information associated with the receipt data including the sales data, and a browsing request including the customer identification information. In response to, based on the sales data of the tax-deductible product stored in association with the customer identification information, the total amount of the tax-deductible product bought and sold within a predetermined period is calculated. A program for realizing the function of outputting to the device of the viewing request source.
[7] The server detects the sales data of the product subject to tax deduction from the receipt data including the sales data of the product purchased by the customer, and the server detects the detected product subject to the tax deduction. The sales data is stored in the storage unit in association with the customer identification information associated with the receipt data including the sales data, and the server responds to a browsing request including the customer identification information and stores the sales data in the storage unit. Based on the sales data of the tax-deductible product stored in association with the customer identification information, the total amount of the tax-deductible product sold within a predetermined period is calculated by the device of the viewing request source. Receipt data management method to output to.

10…電子レシート管理サーバ、11…CPU、12…ROM、13…RAM、14…補助記憶デバイス、15…インターフェース、16…通信ユニット、20…POSシステム、30…通信網、40…基地局、50…情報端末、100…電子レシートシステム、141…会員設定ファイル、142…店舗情報ファイル、143…電子レシートファイル、144…月間集計ファイル、145…OTC医薬品設定ファイル、146…OTC医薬品集計ファイル。 10 ... Electronic receipt management server, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Auxiliary storage device, 15 ... Interface, 16 ... Communication unit, 20 ... POS system, 30 ... Communication network, 40 ... Base station, 50 ... Information terminal, 100 ... Electronic receipt system, 141 ... Member setting file, 142 ... Store information file, 143 ... Electronic receipt file, 144 ... Monthly summary file, 145 ... OTC drug setting file, 146 ... OTC drug summary file.

Claims (9)

客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出する検出手段と、
前記検出手段により検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する記憶手段と、
商品の販売データを月毎に集計する第1の集計手段と、
前記税控除の対象となる商品の販売データを年毎に集計する第2の集計手段と、
前記客識別情報を含む閲覧要求に応答して、前記第1の集計手段により集計されている販売データに基づき、月間に売買された商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力する情報出力手段と、
前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記第2の集計手段により集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力する販売データ出力手段と、を具備するレシートデータ管理装置。
A detection means for detecting sales data of products subject to tax deduction from receipt data including sales data of products purchased by customers.
A storage means for storing the sales data of the product subject to the tax deduction detected by the detection means in association with the customer identification information associated with the receipt data including the sales data.
The first tabulation method for summarizing product sales data on a monthly basis,
A second tabulation method that aggregates sales data of products subject to tax deduction on a yearly basis,
Based on the sales data aggregated by the first aggregation means in response to the browsing request including the customer identification information, the total amount of the products sold and sold in a month and the sales of the products subject to the tax deduction. An information output means for outputting image data including an image for giving an instruction to display data to the device of the viewing request source, and an information output means.
Upon receiving an instruction to display the sales data of the product subject to the tax deduction from the device of the viewing request source, the product subject to the tax deduction is based on the sales data aggregated by the second aggregation means. A receipt data management device comprising a sales data output means for outputting the annual total amount of money to the device of the viewing request source.
前記販売データ出力手段は、前記税控除の対象となる商品の年間の合計金額とともに前記税控除の対象となる商品のリストを前記閲覧要求元の機器へと出力する、請求項1記載のレシートデータ管理装置。 The receipt data according to claim 1, wherein the sales data output means outputs a list of the products subject to the tax deduction together with the annual total amount of the products subject to the tax deduction to the device of the viewing request source. Management device. 前記販売データ出力手段は、前記税控除の対象となる商品によって前記税控除を受けられる場合には、前記税控除を受けられることを前記客に通知するためのメッセージを前記年間の合計金額とともに出力する、請求項1又は2記載のレシートデータ管理装置。 The sales data output means outputs a message for notifying the customer that the tax deduction can be received when the tax deduction is received by the product subject to the tax deduction, together with the total amount for the year. The receipt data management device according to claim 1 or 2. 情報端末との通信手段を有するとともに客が購入した商品の販売データを含むレシートデータを取り込んで処理するコンピュータに、
前記レシートデータから税控除の対象となる商品の販売データを検出する機能と、
前記検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する機能と、
商品の販売データを月毎に集計する第1集計機能と、
前記税控除の対象となる商品の販売データを年毎に集計する第2集計機能と、
前記客識別情報を含む閲覧要求に応答して、前記第1集計機能により集計されている販売データに基づき、月間に売買された商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力する情報出力機能と、
前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記第2集計機能により集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力する販売データ出力機能と、を実現させるためのプログラム。
A computer that has a means of communication with an information terminal and captures and processes receipt data including sales data of products purchased by customers.
A function to detect sales data of products subject to tax deduction from the receipt data, and
A function to store the detected sales data of the product subject to the tax deduction in association with the customer identification information associated with the receipt data including the sales data.
The first aggregation function that aggregates product sales data on a monthly basis,
The second aggregation function that aggregates the sales data of the products subject to the tax deduction every year, and
Based on the sales data aggregated by the first aggregation function in response to the browsing request including the customer identification information, the total amount of products bought and sold in a month and the sales data of the products subject to the tax deduction. An information output function that outputs image data including an image for giving an instruction to display the image to the device of the viewing request source, and an information output function.
Upon receiving an instruction to display the sales data of the product subject to the tax deduction from the device of the viewing request source, the product subject to the tax deduction is based on the sales data aggregated by the second aggregation function. A program to realize a sales data output function that outputs the total annual amount to the device that requested viewing.
前記販売データ出力機能は、前記税控除の対象となる商品の年間の合計金額とともに前記税控除の対象となる商品のリストを前記閲覧要求元の機器へと出力する機能である、請求項4記載のプログラム。 The sales data output function is a function of outputting a list of products subject to the tax deduction to the device of the viewing request source together with the annual total amount of the products subject to the tax deduction, according to claim 4. Program. 前記販売データ出力機能は、前記税控除の対象となる商品によって前記税控除を受けられる場合には、前記税控除を受けられることを前記客に通知するためのメッセージを前記年間の合計金額とともに出力する、請求項4又は5記載のプログラム。 The sales data output function outputs a message for notifying the customer that the tax deduction can be received when the tax deduction is received by the product subject to the tax deduction, together with the total amount for the year. The program according to claim 4 or 5. サーバが、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出し、検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶部に記憶させ、
前記サーバが、商品の販売データを月毎に集計し、さらに前記税控除の対象となる商品の販売データを年毎に集計し、
前記サーバが、前記客識別情報を含む閲覧要求に応答して、前記月毎に集計されている販売データに基づき、月間に売買された商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力させ、
前記サーバが、前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記年毎に集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力させる、レシートデータ管理方法。
The server detects the sales data of the product subject to tax deduction from the receipt data including the sales data of the product purchased by the customer, and uses the detected sales data of the product subject to tax deduction as the sales data. Stored in the storage unit in association with the customer identification information associated with the receipt data including the receipt data.
The server aggregates the sales data of the products on a monthly basis, and further aggregates the sales data of the products subject to the tax deduction on a yearly basis.
The server responds to the browsing request including the customer identification information, and based on the sales data aggregated for each month, the total amount of the products sold and sold in the month and the products subject to the tax deduction. The image data including the image for instructing to display the sales data and the image data including the image data are output to the device of the viewing request source.
When the server receives an instruction to display the sales data of the product subject to the tax deduction from the device of the viewing request source, the server is subject to the tax deduction based on the sales data aggregated for each year. Receipt data management method that outputs the total annual amount of products to the device that requested viewing.
前記サーバは、前記税控除の対象となる商品の年間の合計金額とともに前記税控除の対象となる商品のリストを前記閲覧要求元の機器へと出力させる、請求項7記載のレシートデータ管理方法。 The receipt data management method according to claim 7, wherein the server outputs a list of the products subject to the tax deduction together with the annual total amount of the products subject to the tax deduction to the device of the viewing request source. 前記サーバは、前記税控除の対象となる商品によって前記税控除を受けられる場合には、前記税控除を受けられることを前記客に通知するためのメッセージを前記年間の合計金額とともに出力させる、請求項7又は8記載のレシートデータ管理方法。 The server outputs a message for notifying the customer that the tax deduction is available when the tax deduction is received by the product subject to the tax deduction, together with the total amount for the year. Item 7. The receipt data management method according to Item 7.
JP2021187787A 2020-03-02 2021-11-18 Receipt data management device and its program, receipt data management method, receipt data management system Active JP7339315B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021187787A JP7339315B2 (en) 2020-03-02 2021-11-18 Receipt data management device and its program, receipt data management method, receipt data management system
JP2023136442A JP2023159357A (en) 2020-03-02 2023-08-24 Receipt data managing device, program thereof and receipt data managing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2020034747A JP6752987B2 (en) 2020-03-02 2020-03-02 Receipt data management device and its program, and receipt data management method
JP2020138604A JP6982148B2 (en) 2020-03-02 2020-08-19 Receipt data management device and its program, and receipt data management method
JP2021187787A JP7339315B2 (en) 2020-03-02 2021-11-18 Receipt data management device and its program, receipt data management method, receipt data management system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2020138604A Division JP6982148B2 (en) 2020-03-02 2020-08-19 Receipt data management device and its program, and receipt data management method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023136442A Division JP2023159357A (en) 2020-03-02 2023-08-24 Receipt data managing device, program thereof and receipt data managing method

Publications (3)

Publication Number Publication Date
JP2022024105A true JP2022024105A (en) 2022-02-08
JP2022024105A5 JP2022024105A5 (en) 2022-04-04
JP7339315B2 JP7339315B2 (en) 2023-09-05

Family

ID=79170175

Family Applications (3)

Application Number Title Priority Date Filing Date
JP2020138604A Active JP6982148B2 (en) 2020-03-02 2020-08-19 Receipt data management device and its program, and receipt data management method
JP2021187787A Active JP7339315B2 (en) 2020-03-02 2021-11-18 Receipt data management device and its program, receipt data management method, receipt data management system
JP2023136442A Pending JP2023159357A (en) 2020-03-02 2023-08-24 Receipt data managing device, program thereof and receipt data managing method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2020138604A Active JP6982148B2 (en) 2020-03-02 2020-08-19 Receipt data management device and its program, and receipt data management method

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023136442A Pending JP2023159357A (en) 2020-03-02 2023-08-24 Receipt data managing device, program thereof and receipt data managing method

Country Status (1)

Country Link
JP (3) JP6982148B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012053845A (en) * 2010-09-03 2012-03-15 Miyahira Akemi Medical expense deduction procedure support system
US20120078682A1 (en) * 2010-09-29 2012-03-29 The Npd Group, Inc. Consumer receipt information methodologies and systems
WO2015050174A1 (en) * 2013-10-01 2015-04-09 国立大学法人東北大学 Health information procssing device, health information display device, and method
JP2015531176A (en) * 2012-06-11 2015-10-29 サムスン エレクトロニクス カンパニー リミテッド User terminal device, server device, system including them, and advertisement service method thereof
JP2016110225A (en) * 2014-12-02 2016-06-20 東芝テック株式会社 Information processing device and program
WO2016117275A1 (en) * 2015-01-21 2016-07-28 富士フイルム株式会社 Multilayered menu selection device, operation method for multilayered menu selection device, and operation program for multilayered menu selection device
JP2016162226A (en) * 2015-03-02 2016-09-05 東芝テック株式会社 Point system and control program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012053845A (en) * 2010-09-03 2012-03-15 Miyahira Akemi Medical expense deduction procedure support system
US20120078682A1 (en) * 2010-09-29 2012-03-29 The Npd Group, Inc. Consumer receipt information methodologies and systems
JP2015531176A (en) * 2012-06-11 2015-10-29 サムスン エレクトロニクス カンパニー リミテッド User terminal device, server device, system including them, and advertisement service method thereof
WO2015050174A1 (en) * 2013-10-01 2015-04-09 国立大学法人東北大学 Health information procssing device, health information display device, and method
JP2016110225A (en) * 2014-12-02 2016-06-20 東芝テック株式会社 Information processing device and program
WO2016117275A1 (en) * 2015-01-21 2016-07-28 富士フイルム株式会社 Multilayered menu selection device, operation method for multilayered menu selection device, and operation program for multilayered menu selection device
JP2016162226A (en) * 2015-03-02 2016-09-05 東芝テック株式会社 Point system and control program

Also Published As

Publication number Publication date
JP2023159357A (en) 2023-10-31
JP2020198117A (en) 2020-12-10
JP6982148B2 (en) 2021-12-17
JP7339315B2 (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN107133828B (en) Bill server, control method thereof, electronic bill system and terminal equipment
JP7303257B2 (en) Electronic receipt system, payment device, sales promotion receipt server and information processing program
JP6670732B2 (en) Receipt data management device, its program, and receipt data management method
JP7339413B2 (en) Information processing device and program
JP6982148B2 (en) Receipt data management device and its program, and receipt data management method
JP7091402B2 (en) Receipt data management device and its program and receipt data management 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
JP6736749B2 (en) Receipt data management device, its program, and receipt data management method
JP6754915B1 (en) Receipt data management device and its program, and receipt data management method
JP6930006B2 (en) Receipt data management device and its program, and receipt data management method
JP6794521B2 (en) Electronic receipt management server, program and electronic receipt system
JP6808661B2 (en) Information processing equipment and programs
JP6690037B2 (en) Sales data processor, program and electronic receipt system
JP7400068B2 (en) Information terminal and its program
JP6722623B2 (en) Receipt data management device, its program, and receipt data management method
JP7065155B2 (en) Information processing equipment and programs
JP7383194B2 (en) Provision device, method and program
JP7110270B2 (en) Provision device, provision method and provision program
JP6921267B2 (en) Sales data processing equipment, programs and electronic receipt systems
JP6646178B2 (en) Server device and its program, receipt data processing method, receipt data processing system
JP2022050933A (en) Receipt data processing apparatus and control program for the same
JP2024037057A (en) Voucher data management system and voucher data management method
JP2018181382A (en) Commodity sales data processing device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211217

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220325

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230424

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: 20230725

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230824

R150 Certificate of patent or registration of utility model

Ref document number: 7339315

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150