Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7516636B2 - Receipt data management device and program thereof, receipt data management method, and receipt data management system - Google Patents
[go: Go Back, main page]

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

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

Info

Publication number
JP7516636B2
JP7516636B2 JP2023136442A JP2023136442A JP7516636B2 JP 7516636 B2 JP7516636 B2 JP 7516636B2 JP 2023136442 A JP2023136442 A JP 2023136442A JP 2023136442 A JP2023136442 A JP 2023136442A JP 7516636 B2 JP7516636 B2 JP 7516636B2
Authority
JP
Japan
Prior art keywords
products
customer
data
year
purchased
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2023136442A
Other languages
Japanese (ja)
Other versions
JP2023159357A (en
JP2023159357A5 (en
Inventor
和哉 南部
康博 荒井
真 吉村
圭一 長谷川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2020034747A external-priority patent/JP6752987B2/en
Application filed by Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP2023136442A priority Critical patent/JP7516636B2/en
Publication of JP2023159357A publication Critical patent/JP2023159357A/en
Publication of JP2023159357A5 publication Critical patent/JP2023159357A5/en
Application granted granted Critical
Publication of JP7516636B2 publication Critical patent/JP7516636B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

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

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

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

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

特開2014‐229072号公報JP 2014-229072 A

本発明の実施形態が解決しようとする課題は、レシートデータを基に税控除対象の商品の購買情報を客に提供できるレシートデータ管理装置及び管理方法を提供しようとするものである。 The problem that the embodiment of the present invention aims to solve is to provide a receipt data management device and management method that can provide customers with purchase information on tax-deductible products based on receipt data.

一実施形態において、レシートデータ管理装置は、検出手段、集計手段、出力手段、及び、送信手段、を含む。検出手段は、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出する。集計手段は、客毎にその客が購入した税控除の対象となる商品の販売データを年毎に集計する。出力手段は、客が購入した税控除の対象となる商品の年間の合計金額と、その年間に客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を行うためのボタンとを表示した画像を閲覧要求元の機器へと出力する。送信手段は、閲覧要求元の機器から年間に客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を受けると、その年間に当該客が購入した税控除の対象となる商品の販売データのリスト画像又はリストを、当該客のメールアドレス宛ての電子メールに添付して送信する。 In one embodiment, the receipt data management device includes a detection means, a compilation means, an output means, and a transmission means . The detection means detects sales data of products eligible for tax deduction from receipt data including sales data of products purchased by a customer. The compilation means compilations the sales data of products eligible for tax deduction purchased by the customer by year for each customer. The output means outputs an image displaying the total amount of the products eligible for tax deduction purchased by the customer for the year and a button for instructing to attach the sales data of the products eligible for tax deduction purchased by the customer during the year to an e-mail and send it to the device that has made the view request. When the transmission means receives an instruction from the device that has made the view request to attach the sales data of the products eligible for tax deduction purchased by the customer during the year to an e-mail and send it, it attaches an image or a list of the sales data of the products eligible for tax deduction purchased by the customer during the year to an e-mail address of the customer and sends it.

また一実施形態において、レシートデータ管理方法は、サーバが、以下の処理を実行する。すなわちサーバが、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出し、客毎にその客が購入した税控除の対象となる商品の販売データを年毎に集計し、客が購入した税控除の対象となる商品の年間の合計金額と、その年間に客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を行うためのボタンとを表示した画像を閲覧要求元の機器へと出力し、閲覧要求元の機器から年間に客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を受けると、その年間に当該客が購入した税控除の対象となる商品の販売データのリスト画像又はリストを、当該客のメールアドレス宛ての電子メールに添付して送信する。 In one embodiment, the receipt data management method includes a server that executes the following process: the server detects sales data of tax-deductible products from receipt data including sales data of products purchased by a customer, tallying up the sales data of tax-deductible products purchased by the customer by year for each customer, outputs to the device that has requested the viewing an image displaying the total amount of tax-deductible products purchased by the customer for the year and a button for issuing an instruction to attach the sales data of tax-deductible products purchased by the customer during the year to an e-mail and send it, and when an instruction is received from the device that has requested the viewing to attach the sales data of tax-deductible products purchased by the customer during the year to an e-mail and send it, the server attaches an image or list of the sales data of tax-deductible products purchased by the customer during the year to an e-mail address of the customer and sends it.

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

以下、レシートデータを基に税控除対象の商品の購買情報を客に提供できるレシートデータ管理装置及び管理方法の実施形態について、図面を用いて説明する。なお、以下に説明する実施形態では、図1に示す電子レシートシステム100の電子レシート管理サーバ10を電子レシート管理装置として機能させる。 Below, an embodiment of a receipt data management device and management method that can provide customers with purchase information on tax-deductible products based on 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 functions as the 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, multiple POS (Point Of Sales) systems 20, a communication network 30 such as the Internet, multiple base stations 40 connected to the communication network 30, and multiple information terminals 50 capable of wireless communication with the base stations 40. The electronic receipt management server 10 is installed in an electronic receipt management center that manages the electronic receipt service. The POS system 20 is installed in each store that is a member of the electronic receipt service. The information terminals 50 are used by consumers who have registered as members to receive the electronic receipt service.

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

POS端末21は、決済者である客が購入した商品の販売データを含むレシートデータを生成する。またPOS端末21は、電子レシートサービスを受けるために会員登録を行った客に対して発行された会員IDの入力を受け付ける。 The POS terminal 21 generates receipt data including sales data for the products purchased by the customer who made the payment. The POS terminal 21 also accepts input of a member ID issued to a customer who has registered as a member 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 a member ID input at the POS terminal 21, it converts the receipt of the transaction in which the customer identified by the member ID is the payer into text to create receipt data 24 (see FIG. 2). The POS system 20 then 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. If the receipt is converted into text by the POS terminal 21, the receipt data 24 may be output directly 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. If the receipt is converted into text by the store server 22, the receipt data 24 is output from the store server 22 to the electronic receipt management server 10 via the communication network 30. Note that the conversion of receipts into text and the generation of receipt data 24 are well-known techniques, so a detailed description thereof will be omitted here.

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

因みに、店舗コードは、各店舗を識別するために店舗毎に設定された一意のコードである。また取引日時は、例えばPOS端末21において商取引が開始された時点又は決済された時点の日付と時刻である。 The store code is a unique code assigned to each store to identify the store. The transaction date and time is, for example, the date and time when a transaction is started or settled at the POS terminal 21.

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

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

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

電子レシート管理サーバ10は、各店舗のPOSシステム20から出力されるレシートデータ24を一定期間保存する。そして電子レシート管理サーバ10は、情報端末50からの閲覧要求に応答して、レシートデータ24に基づき作成される画像データを、閲覧要求元の情報端末50へと送信する。 The electronic receipt management server 10 stores receipt data 24 output from the POS system 20 of each store for a certain period of time. In response to a viewing request from an information terminal 50, the electronic receipt management server 10 transmits image data created based on the receipt data 24 to the information terminal 50 that issued the viewing request.

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

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

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

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

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

時計部15は、現在の日付及び時刻を計時する。
通信ユニット16は、POSシステム20または情報端末50と通信網30を介して所定のプロトコルによりデータ通信を行う。
The clock unit 15 keeps track of the current date and time.
The communication unit 16 performs data communication with the POS system 20 or the information terminal 50 via the communication network 30 using 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 configured as above stores a member setting file 141, a store information file 142, an electronic receipt file 143, a monthly tally file 144, an OTC drug setting file 145, and an OTC drug tally file 146 in the auxiliary storage device 14.

会員設定ファイル141は、電子レシートサービスを受けるために会員登録を行った消費者毎に作成される会員設定データ141R(図5を参照)を記憶する。会員設定データ141Rは、図5に示すように、会員ID、メールアドレス、パスワード等の情報を含む。メールアドレス、パスワードは、会員IDで識別される消費者が情報端末50を操作して任意に設定した情報である。 The member setting file 141 stores member setting data 141R (see FIG. 5) that is created for each consumer who has registered as a member to receive the electronic receipt service. As shown in FIG. 5, the member setting data 141R includes information such as a member ID, email address, and password. The email address and password are information that the consumer identified by the member ID sets arbitrarily by operating the information terminal 50.

店舗情報ファイル142は、電子レシートサービスに加盟する店舗毎に作成される店舗情報データ142R(図6を参照)を記憶する。店舗情報データ142Rは、図6に示すように、店舗コード、店舗名、税ステータス等の情報を含む。税ステータスは、店舗コードで識別される店舗が商品の価格を外税とする店なのか内税とする店なのかを示す情報である。外税とする店では、商品の価格は税抜価格である。内税とする店では、商品の価格は税込価格である。 The store information file 142 stores store information data 142R (see FIG. 6) that is 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 the store code, store name, and tax status. The tax status is information that indicates whether the store identified by the store code is a store that charges product prices exclusive of tax or inclusive of tax. In stores that charge product prices exclusive of tax, the product price is the price excluding tax. In stores that charge product prices inclusive of tax, the product price is the price including tax.

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

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

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

OTC医薬品設定ファイル145は、厚生労働省からセルフメディケーション税制の対象品目として公表された全てのOTC医薬品の商品コード(例えばJANコード)を記憶する。 The OTC drug settings file 145 stores the product codes (e.g., JAN codes) of all OTC drugs that have been announced 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) that is created by year for each consumer who has registered as a member to receive the electronic receipt service. As shown in FIG. 8, the OTC drug summary data 146R has the member ID, OTC drug subcategory code, and year as header information, and stores the year total, deduction flag, and OTC drug purchase detail data D1 added to this header information. The purchase detail data D1 is data on OTC drugs purchased at a store affiliated with the electronic receipt service during the year specified by the year in the header information by a consumer identified by the member ID in the header information. The purchase detail data D1 includes the product code, product name, and price of the OTC drug, as well as the store code of the store where the product was purchased and the purchase date and time (transaction date and time). The price includes consumption tax.

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

次に、電子レシート管理サーバ10のCPU11が通信ユニット16を介してレシートデータ24を受信した際の動作を、図9及び図10を用いて説明する。
図9及び図10は、CPU11が、ROM12又は補助記憶デバイス14に記憶されたアプリケーションプログラムの一種である制御プログラムにしたがって実行する情報処理手順を示す流れ図である。なお、図9及び図10に示すとともに以下に説明する処理の内容は一例であって、同様な結果を得ることが可能であればその処理手順及び処理内容は特に限定されるものではない。
Next, the operation of the CPU 11 of the electronic receipt management server 10 when it receives the receipt data 24 via the communication unit 16 will be described with reference to FIGS. 9 and 10. FIG.
9 and 10 are flow charts showing information processing procedures executed by the CPU 11 in accordance with a control program, which is a type of application program, stored in the ROM 12 or the auxiliary storage device 14. Note that the contents of the processes shown in Figs. 9 and 10 and described below are merely examples, and the processing procedures and 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 receipt data 24 via the communication unit 16, it starts information processing according to the procedure shown in the flow chart of FIG. 9. First, the CPU 11 stores the receipt data 24 in the work area of the RAM 13 in Act 1. Next, the CPU 11 detects the member ID and transaction date and time from the receipt data 24 in Act 2. Then, the CPU 11 searches the monthly tally file 144 in Act 3 to obtain monthly tally data 144R whose header information is the member ID detected in Act 2 and the year and month of the transaction date and time. Then, the CPU 11 updates the monthly total of this monthly tally data 144R in Act 4. That is, the CPU 11 adds the payment amount of the payment data included in the receipt data 24 to the monthly total.

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

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

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

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

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

次いでCPU11は、Act15として解析対象の商品販売データから商品コードを検出する。そしてCPU11は、Act16としてその商品コードでOTC医薬品設定ファイル145を検索して、同一の商品コードがOTC医薬品設定ファイル145に設定されているか否かを確認する。解析対象の商品販売データがOTC医薬品の販売データで無い場合、同一の商品コードがOTC医薬品設定ファイル145に設定されていない。この場合(Act16にてNO)、CPU11は、解析を終了する。 Then, in Act 15, the CPU 11 detects a product code from the product sales data to be analyzed. Then, in Act 16, the CPU 11 searches the OTC drug setting file 145 for the product code and checks whether the same product code is set in the OTC drug setting file 145. If the product sales data to be analyzed is not sales data for OTC drugs, the same product code is not set in the OTC drug setting file 145. In this case (NO in Act 16), 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, if the product sales data to be analyzed is sales data for OTC drugs, the same product code is set in the OTC drug setting file 145. In this case (YES in Act 16), the CPU 11 searches the store information file 142 for the store code included in the receipt data 24 in Act 17, and checks whether the store identified by the store code is a store that charges product prices exclusive of tax or inclusive of tax. If the store charges product prices exclusive of tax (YES in Act 17), the price included in the product sales data to be analyzed is a price excluding tax, so the CPU 11 converts the price included in the product sales data to be analyzed into a price including tax in Act 18. If the store charges product prices including tax (NO in Act 17), the price included in the product sales data to be analyzed is a price including tax, so the CPU 11 does not execute the process of Act 18.

次いでCPU11は、Act19としてOTC医薬品明細データD1を生成する。OTC医薬品明細データD1は、レシートデータ24に含まれる取引日時、店舗コード及び取引番号と、解析対象の商品販売データに含まれる商品コード、商品名及び価格とからなる。ただし価格は、Act18の処理が実行された場合にはその処理で算出された税込価格となる。 Then, the CPU 11 generates OTC drug detail data D1 in Act 19. The OTC drug detail data D1 consists of the transaction date and time, store code, and transaction number contained in the receipt data 24, and the product code, product name, and price contained in the product sales data to be analyzed. However, if the processing of Act 18 is executed, the price will be the price including tax calculated in that 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 saves the OTC drug detail data D1 in the OTC drug summary file 146 in Act 20. That is, the CPU 11 adds the OTC drug detail data D1 to the OTC drug summary data 146R, which includes the membership number and the year of the transaction date and time in the receipt data 24. The CPU 11 also updates the yearly total of the OTC drug summary data 146R in Act 21. That is, the CPU 11 adds the price of the OTC drug detail data D1 to the yearly total.

次いでCPU11は、Act22として控除フラグが“1”にセットされているか否かを確認する。控除フラグが“1”にセットされている場合(Act22にてYES)、CPU11は、解析を終了する。 Next, the CPU 11 checks whether the deduction flag is set to "1" in Act 22. If the deduction flag is set to "1" (YES in Act 22), 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 Act 22), the CPU 11 checks in Act 23 whether the updated annual total exceeds the lower limit of the deduction target. If the annual total does not exceed the lower limit (NO in Act 23), the CPU 11 ends the analysis process. On the other hand, if the annual total exceeds the lower limit (YES in Act 23), the CPU 11 sets the deduction flag of the OTC drug summary data 146R to "1" in Act 24. With this, the CPU 11 ends the analysis.

このように、電子レシート管理サーバ10は、POSシステム20からレシートデータ24を受信する毎に、そのレシートデータ24を電子レシートファイル143に保存する(AAct8)。また電子レシート管理サーバ10は、そのレシートデータ24に含まれる会員IDと取引日時とから特定される月間集計ファイル144を更新する(Act2~Act7、Act11~Act14)。 In this way, every time the electronic receipt management server 10 receives receipt data 24 from the POS system 20, it saves the receipt data 24 in the electronic receipt file 143 (AAct 8). The electronic receipt management server 10 also updates the monthly tally file 144 identified from the member ID and transaction date and time included in the receipt data 24 (Acts 2 to 7, Acts 11 to 14).

さらに、電子レシート管理サーバ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)。 Furthermore, the electronic receipt management server 10 checks whether the receipt data 24 includes product sales data for OTC drugs (Acts 15 to 16). If the product sales data for OTC drugs is included, the electronic receipt management server 10 updates the OTC drug tally file 146 based on the product sales data for the OTC drugs. Specifically, first, if the price included in the product sales data for the OTC drugs is a tax-excluded price, the electronic receipt management server 10 converts the tax-excluded price to a tax-inclusive price (Acts 17 to 18). Next, the electronic receipt management server 10 adds the purchase details data D1 for the OTC drugs generated based on the receipt data 24 to the OTC drug tally data 146R identified from the member ID and the fiscal year of the transaction date and time included in the receipt data 24 (Acts 19 to 20). In addition, the annual total of the OTC drug summary data 146R is updated to the amount including the tax-inclusive price of the OTC drug (Act 21).

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

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

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

OTC医薬品の購買情報を閲覧したい閲覧者は、先ず、情報端末50にインストールされている電子レシート閲覧プログラムを起動する。そうすると、情報端末50の表示デバイスにホーム画面SC1(図14を参照)が表示される。
ホーム画面SC1の一表示例を図14に示す。図示するようにホーム画面SC1には、会員IDを表すバーコードBCが表示されている。また、ホームアイコンIC1、レシートアイコンIC2及びその他アイコンIC3が表示されている。そしてホームアイコンIC1が選択状態となっており、レシートアイコンIC2とその他アイコンIC3とが非選択状態となっている。因みに、このホーム画面SC1のバーコードBCを、POS端末21に接続されたスキャナでスキャニングすることにより、POS端末21は会員IDを入力することができる。
A user who wishes to view purchasing information for OTC drugs first starts an electronic receipt viewing program installed in the information terminal 50. Then, a home screen SC1 (see FIG. 14) is displayed on the display device of the information terminal 50.
An example of the home screen SC1 is shown in Fig. 14. As shown in the figure, a barcode BC representing a member ID is displayed on the home screen SC1. Also displayed are a home icon IC1, a receipt icon IC2, and other icons IC3. The home icon IC1 is selected, while the receipt icon IC2 and other icons IC3 are not selected. Incidentally, by scanning the barcode BC on 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を含めなくてもよい。 After checking the home screen SC1, the viewer touches the receipt icon IC2. This causes a receipt list request command to be sent from the information terminal 50 to the electronic receipt management server 10. This command, as well as various other commands from the information terminal 50 described below, contain the member ID set in the information terminal 50. Note that it is not necessary for all commands to contain the member ID. Commands that do not require the electronic receipt management server 10 to be notified of the member ID do not need to contain 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 receives 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. The CPU 11 then creates a receipt list image based on the detected receipt data 24, and sends the created receipt list image to the information terminal 50 that sent the command. Thus, on the information terminal 50, the display device screen switches from the home screen SC1 to the receipt list screen SC2 (see FIG. 15).

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

レシート一覧画像は、一か月分のレシートの合計金額(図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 (in FIG. 15, "January Total Amount \99,999") and the first to third arrow icons M1, M2, and M3. In addition, a monthly tally button BT1 is displayed on the screen SC2. When the first arrow icon M1 is touched, it switches to an image of the receipt list from one month ago. When the second arrow icon M2 is touched, it switches to an image of the receipt list from one month later. When the third arrow icon M3 is touched, a list of receipt data 24 generated for that month is displayed.

レシート一覧画面SC2を確認した閲覧者は、月間集計ボタンBT1にタッチする。月間集計ボタンBT1がタッチされると、情報端末50から電子レシート管理サーバ10に月間集計要求コマンドが送信される。 After checking the receipt list screen SC2, the viewer touches the monthly tally button BT1. When the monthly tally button BT1 is touched, a monthly tally request command is sent 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 tally request command starts information processing according to the procedures shown in the flowcharts of FIGS.
11, the CPU 11 detects the current year and month from the date and time data kept by the clock unit 15. Next, the CPU 11 searches the monthly tally file 144 in Act 32 to detect monthly tally data 144R having the member ID included in the monthly tally request command and the year and month detected in the processing of Act 31 as header information.

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

月間集計画面SC3の一表示例を図16に示す。図示するように、月間集計画面SC3には、月間集計画像が表示される。レシートアイコンIC、ホームアイコンIC1及びその他アイコンIC3の状態は変化しない。
月間集計画像は、月間合計の金額(図16では「\99,999」)と、分類コード別の名称及び合計金額のリストL1と、矢印アイコンM5,M6とを含む。また、閲覧終了ボタンBT2が画面SC3に表示される。なお、リストL1において、OTC医薬品の小分類コードに対する小分類名称「OTC医薬品」には、テキスト「一覧表示」が付されている。
An example of the monthly tally screen SC3 is shown in Fig. 16. As shown in the figure, the monthly tally screen SC3 displays a monthly tally image. The states of the receipt icon IC, home icon IC1 and other icons IC3 do not change.
The monthly summary image includes the total amount for the month ("99,999" in FIG. 16), a list L1 of the names and total amounts by classification code, and arrow icons M5 and M6. An end view button BT2 is also displayed on the screen SC3. In the list L1, the subcategory name "OTC Drugs" for the subcategory code of OTC drugs is accompanied by the text "List view."

閲覧者は、月間集計画像から、当月に電子レシートサービスの加盟店で購入した商品の合計金額と分類別の合計金額とを示す月間集計データを確認することができる。 Viewers can check the monthly summary image to see the total amount of products purchased at affiliated stores of the electronic receipt service during the month, as well as the total amount by category.

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

OTC医薬品の購買情報を閲覧したい場合、閲覧者は、テキスト「一覧表示」にタッチする。テキスト「一覧表示」がタッチされると、情報端末50は、電子レシート管理サーバ10に一覧表示コマンドを送信する。
閲覧を終了する場合には、閲覧者は、閲覧終了ボタンBT2にタッチする。閲覧終了ボタンBT2がタッチされると、情報端末50は、電子レシート管理サーバ10に閲覧終了コマンドを送信する。
When the viewer wishes to view the purchase information of OTC drugs, 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.
When the user wants to end the viewing, the user touches the end viewing button BT2. When the end viewing button BT2 is touched, the information terminal 50 transmits a command to end viewing 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の年月変更コマンドを受信するか、一覧表示コマンドを受信するか、閲覧終了コマンドを受信するのを待ち受ける。 After transmitting the monthly summary image, the CPU 11 determines whether or not the first or second year/month change command has been received in Act 35. If the first or second year/month change command has not been received (NO in Act 35), the CPU 11 determines whether or not the list display command has been received in Act 36. If the list display command has not been received (NO in Act 36), the CPU 11 determines whether or not the end browsing command has been received in Act 37. If the end browsing command has not been received (NO in Act 37), the CPU 11 returns to the processing of Act 35. Therefore, the CPU 11 waits to receive the first or second year/month change command, the list display command, or the end browsing command through the processing of Acts 35 to 37.

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 during the standby state of Act 35 to Act 37 (YES in Act 35), the CPU 11 returns to the process of Act 32. In the case of the first year/month change command, the CPU 11 detects the monthly summary data 144R of the previous month from the monthly summary file 144, and executes the process from Act 33 onwards. In the case of the second year/month change command, the CPU 11 detects the monthly summary data 144R of the next month from the monthly summary file 144, and executes the process from Act 33 onwards. As a result, in the information terminal 50, the image displayed on the monthly summary screen SC3 is switched to the monthly summary image of the previous month or the next month.

Act35乃至Act37の待ち受け状態において、閲覧終了コマンドを受信した場合には(Act37にてYES)、CPU11は、Act38としてコマンド送信元の情報端末50に対して消去コマンドを出力する。以上で、CPU11は、月間集計コマンドを受信した際の処理を終了する。因みに、消去コマンドを受信した情報端末50においては、表示デバイスの画面がホーム画面SC1に戻る。 When the CPU 11 receives a viewing end command in the standby state of Act 35 to Act 37 (YES in Act 37), the CPU 11 outputs a delete command to the information terminal 50 that sent the command in Act 38. With this, the CPU 11 ends the process when the monthly tally command is received. Incidentally, in the information terminal 50 that received the delete 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 during the standby state of Acts 35 to 37 (YES in Act 36), the CPU 11 detects the year from the month and year of the monthly total data 144R detected in Act 32 (Act 39). Then, the CPU 11 searches the OTC drug total file 146 (Act 40) to detect OTC drug total data 146R whose header information is the member ID included in the monthly total request command, the OTC drug subcategory code, and the year detected in the processing of Act 39.

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 in Act 41. The CPU 11 also checks the deduction flag of the OTC drug summary data 146R in Act 42. If the deduction flag is set to "1" (YES in Act 42), that is, if the total amount for the year exceeds the lower limit of the deduction, the CPU 11 adds a message to the OTC drug list image to inform the viewer that the self-medication tax system deduction is available in Act 43. Examples of messages that can be considered include "You are eligible for medical expenses deduction" and "You can receive deduction under the self-medication tax system." If the deduction flag is reset to "0" (NO in Act 42), that is, if the total amount for the year does not exceed the lower limit of the deduction, the CPU 11 does not execute the process of Act 43.

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

OTC医薬品一覧画面SC4の一表示例を図17に示す。図示するように、OTC医薬品一覧画面SC4には、OTC医薬品一覧画像が表示される。レシートアイコンIC、ホームアイコンIC1及びその他アイコンIC3の状態は変化しない。 An example of the display of the OTC drug list screen SC4 is shown in FIG. 17. As shown in the figure, the OTC drug list screen SC4 displays an image of the OTC drug list. The states of the receipt icon IC, home icon IC1, and other icons IC3 do 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 total amount for the year ("Total: \99,999" in FIG. 17) A, a detailed purchase list of OTC drugs L2, and arrow icons M7 and M8. A list send button B3 and an end view button BT4 are also displayed on screen SC4. Screen SC4 in FIG. 17 shows a case where the total amount for the year exceeds the lower limit of the deduction. In other words, the OTC drug list image includes a message MS1.

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

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

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

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

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

閲覧を終了する場合には、閲覧者は、閲覧終了ボタンBT4にタッチする。閲覧終了ボタンBT2がタッチされると、情報端末50は、電子レシート管理サーバ10に閲覧終了コマンドを送信する。 To end viewing, the viewer touches the End View button BT4. When the End View button BT2 is touched, the information terminal 50 sends an end view 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の年度変更コマンドを受信するか、明細選択コマンドを受信するか、一覧送信コマンドを受信するのを待ち受ける。 After transmitting the OTC drug list image, the CPU 11 determines whether or not it has received a viewing end command in Act 51 of FIG. 12. If it has not received a viewing end command (NO in Act 51), the CPU 11 determines whether or not it has received a first or second year change command in Act 52. If it has not received a first or second year change command (NO in Act 52), the CPU 11 determines whether or not it has received a details selection command in Act 53. If it has not received a details selection command (NO in Act 53), the CPU 11 determines whether or not it has received a list transmission command in Act 54. If it has not received a list transmission command (NO in Act 54), the CPU 11 returns to the processing of Act 51. Therefore, the CPU 11 waits for the viewing end command, the first or second year change command, the details selection command, or the list transmission command to be received by the processing of Acts 51 to 54.

Act51乃至Act54の待ち受け状態において、閲覧終了コマンドを受信した場合(Act51にてYES)、CPU11は、図11のAct32の処理に戻る。これにより、情報端末50においては、表示デバイスの画面が、OTC医薬品一覧画面SC4から月間集計画面SC3に戻る。 When the CPU 11 receives a viewing end command in the standby state of Act 51 to Act 54 (YES in Act 51), the CPU 11 returns to the processing of Act 32 in FIG. 11. 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 summary screen SC3.

Act51乃至Act54の待ち受け状態において、第1又は第2の年度変更コマンドを受信した場合には(Act52にてYES)、CPU11は、図11のAct40の処理に戻る。そして第1の年度変更コマンドの場合、CPU11は、前年度のOTC医薬品集計データ146Rを検出して、Act41以降の処理を実行する。第2の年度変更コマンドの場合には、CPU11は、翌年度のOTC医薬品集計データ146Rを検出して、Act41以降の処理を実行する。これにより、情報端末50においては、OTC医薬品一覧画面SC4に表示される画像が、前年又は翌年のOTC医薬品一覧画像に切り替わる。 When the first or second year change command is received during the standby state of Act 51 to Act 54 (YES in Act 52), the CPU 11 returns to the process of Act 40 in FIG. 11. In the case of the first year change command, the CPU 11 detects the OTC drug summary data 146R for the previous year and executes the process from Act 41 onwards. In the case of the second year change command, the CPU 11 detects the OTC drug summary data 146R for the next year and executes the process from Act 41 onwards. As a result, on the information terminal 50, the image displayed on the OTC drug list screen SC4 is switched to the OTC drug list image for 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 a detail selection command is received in the standby state of Act 51 to Act 54 (YES in Act 53), the CPU 11 detects purchase detail data D1 including the transaction date and time, product name, and price included in the detail selection command from the OTC drug summary data 146R in Act 60 of FIG. 13. Next, the CPU 11 searches the electronic receipt file 143 in Act 61 to detect one receipt data 24 identified from the purchase detail data D1. Then, the CPU 11 generates an electronic receipt image based on the detected receipt data 24 in Act 62.

電子レシート画像を生成したならば、CPU11は、Act63として電子レシート画像をコマンド送信元の情報端末50へと送信する。かくして情報端末50では、表示デバイスの画面が、OTC医薬品一覧画面SC4から電子レシート画面SC5(図18を参照)に切り替わる。 When the electronic receipt image is generated, the CPU 11 transmits the electronic receipt image to the information terminal 50 that transmitted the command (Act 63). Thus, on 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に表示される。 A display example of the electronic receipt screen SC5 is shown in FIG. 18. As shown in the figure, the electronic receipt screen SC5 displays an electronic receipt image R. The states of the receipt icon IC, home icon IC1, and other icons IC3 do not change. In addition, a send button BT5 and an end viewing button BT6 are displayed on the electronic receipt screen SC5.

閲覧者は、電子レシート画像Rから、セルフメディケーション対象商品であることを示すマークが商品名に表示されているOTC医薬品を購入したときに店舗から発行されたレシートを確認することができる。そのレシートを取得したい場合、閲覧者は、送信ボタンBT5にタッチする。送信ボタンBT5がタッチされると、情報端末50は、電子レシート管理サーバ10に送信コマンドを送信する。 The viewer can check the receipt issued by the store when purchasing an OTC drug with a mark indicating that it is a self-medication eligible product on the electronic receipt image R. If the viewer wishes to obtain the receipt, he or she touches the send button BT5. When the send button BT5 is touched, the information terminal 50 sends a send command to the electronic receipt management server 10.

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

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

Act64及びAct65の待ち受け状態において、閲覧終了コマンドを受信すると(Act64にてYES)、CPU11は、図11のAct40の処理に戻る。これにより、情報端末50においては、表示デバイスの画面が、電子レシート画面SC5からOTC医薬品一覧画面SC4に戻る。 When the CPU 11 receives a viewing end command in the standby state of Act 64 and Act 65 (YES in Act 64), the CPU 11 returns to the processing of Act 40 in FIG. 11. 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 Act 64 and Act 65 (YES in Act 65), the CPU 11 detects an email address from the member setting data 141R specified by the member ID included in the transmission command in Act 67. Then, the CPU 11 converts the electronic receipt image generated in the process of Act 62 into data of a portable document format (PDF) file in Act 68. Then, the CPU 11 starts an email software in Act 69, creates an email with the electronic receipt image converted into the PDF file data as an attachment, and sends the email to the email address obtained in the process of Act 67. After that, the CPU 11 returns to the process of Act 40 in FIG. 11. As a result, the screen of the display device of the information terminal 50 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 the CPU 11 receives a list sending command in the standby state of Act 51 to Act 54 in FIG. 12 (YES in Act 54), the CPU 11 detects an email address from the member setting data 141R specified by the member ID included in the sending command in Act 55. The CPU 11 also generates an image of an OTC drug purchase list based on the OTC drug summary data 146R detected in the processing of Act 40 in Act 56. The items included in this OTC drug purchase list are arbitrary. For example, it may include a list of the member ID, the year, and the year total, and the transaction date and time, store code, transaction number, product code, product name, and tax-inclusive price of each purchase detail data D1. The product code may also be omitted from the list. Instead of the store code in the list, the store name set in association with the store code in the store information file 142 may also be included.

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 PDF (Portable Document Format) file data in Act 57. Then, the CPU 11 starts up an email software in Act 58 to create an email with the image of the OTC drug purchase list converted into PDF file data as an attachment, and sends the email to the email address obtained in the process of Act 55. After that, the CPU 11 returns to the standby state of Acts 51 to 54.

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

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

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

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

また本実施形態では、レシート画像が表示された電子レシート画面SC5において、閲覧者が送信ボタンBT5にタッチすると、そのレシート画像がPDF形式に変換されて電子メールに添付され、閲覧者が指定するメールアドレス宛てに送信される。したがって、閲覧者は、OTC医薬品を購入した際に店舗から発行されたレシートを、例えば紙媒体で取得することができる。 In addition, in this 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 to PDF format, attached to an email, and sent to the email address specified by the viewer. Therefore, the viewer can obtain, for example, a paper copy of the receipt issued by the store when purchasing the OTC drug.

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

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

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

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

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

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

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

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

この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
[1]客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出する検出手段と、前記検出手段により検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する記憶手段と、前記客識別情報を含む閲覧要求に応答して、当該客識別情報と関連付けられて記憶されている前記税控除の対象となる商品の販売データに基づき、所定期間内に売買された前記税控除の対象となる商品の合計金額を前記閲覧要求元の機器へと出力する情報出力手段と、を具備するレシートデータ管理装置。
[2]前記情報出力手段は、前記所定期間内に売買された前記税控除の対象となる商品のリストをさらに出力する、付記[1]記載のレシートデータ管理装置。
[3]前記閲覧要求元の機器から前記リストの送信が指令されると、前記情報出力手段により出力したリストに基づくデータを所定の出力方法で出力するリスト出力手段、をさらに具備する付記[2]記載のレシートデータ管理装置。
[4]前記閲覧要求元の機器から前記リストに表示された商品の選択が指令されると、その選択された商品の販売データを含むレシートデータを前記閲覧要求元の機器へと出力するレシート出力手段、をさらに具備する付記[2]記載のレシートデータ管理装置。 [5]前記税控除の対象となる商品の販売データに含まれる価格が税抜価格である場合に、その税抜価格を税込価格に換算する換算手段、をさらに具備し、前記情報出力手段が出力する合計金額は、所定期間内に売買された前記税控除の対象となる商品の税込み価格の合計である、付記[1]乃至[4]のうちいずれか1に記載のレシートデータ管理装置。
[6]情報端末との通信手段を有するとともに客が購入した商品の販売データを含むレシートデータを取り込んで処理するコンピュータに、前記レシートデータから税控除の対象となる商品の販売データを検出する機能と、前記検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する機能と、前記客識別情報を含む閲覧要求に応答して、当該客識別情報と関連付けられて記憶されている前記税控除の対象となる商品の販売データに基づき、所定期間内に売買された前記税控除の対象となる商品の合計金額を前記閲覧要求元の機器へと出力する機能と、を実現させるためのプログラム。
[7]サーバが、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出し、前記サーバが、前記検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶部に記憶させ、前記サーバが、前記客識別情報を含む閲覧要求に応答して、前記記憶部に当該客識別情報と関連付けられて記憶されている前記税控除の対象となる商品の販売データに基づき、所定期間内に売買された前記税控除の対象となる商品の合計金額を前記閲覧要求元の機器へと出力させる、レシートデータ管理方法。
Although several other embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims.
The invention as originally claimed in the present application is set forth below.
[1] A receipt data management device comprising: a detection means for detecting sales data of goods eligible for tax deductions from receipt data including sales data of goods purchased by a customer; a storage means for storing the sales data of the goods eligible for tax deductions detected by the detection means in association with customer identification information associated with the receipt data including the sales data; and an information output means for, in response to a viewing request including the customer identification information, outputting to a device that originated the viewing request the total amount of the goods eligible for tax deductions that were bought and sold within a specified period based on the sales data of the goods eligible for tax deductions that is stored in association with the customer identification information.
[2] The receipt data management device according to claim [1], wherein the information output means further outputs a list of the products eligible for the tax deduction that were bought and sold within the specified period.
[3] The receipt data management device described in appendix [2] further includes a list output means for outputting data based on the list output by the information output means in a predetermined output method when a command to transmit the list is received from the device that sent the viewing request.
[4] The receipt data management device according to appendix [2], further comprising a receipt output means for, when a command is received from the device which has issued the viewing request to select a product displayed in the list, outputting receipt data including sales data of the selected product to the device which has issued the viewing request. [5] The receipt data management device according to any one of appendices [1] to [4], further comprising a conversion means for converting a price excluding tax included in the sales data of the product eligible for tax deduction if the price included in the sales data is a price excluding tax, and the total amount output by the information output means is the total of the prices including tax of the products eligible for tax deduction that have been bought and sold within a specified period.
[6] A program for enabling a computer having a means of communication with an information terminal and which imports and processes receipt data including sales data of products purchased by a customer to realize the following functions: detect sales data of products eligible for tax deductions from the receipt data; store the detected sales data of products eligible for tax deductions in association with customer identification information associated with the receipt data including the sales data; and, in response to a viewing request including the customer identification information, output to the device which sent the viewing request the total amount of the products eligible for tax deductions that were bought and sold within a specified period based on the sales data of the products eligible for tax deductions that is stored in association with the customer identification information.
[7] A receipt data management method in which a server detects sales data of products eligible for tax deductions from receipt data including sales data of products purchased by a customer, the server stores the detected sales data of the products eligible for tax deductions in a memory unit in association with customer identification information associated with the receipt data including the sales data, and in response to a viewing request including the customer identification information, the server outputs to the device that originated the viewing request the total amount of the products eligible for tax deductions that were bought and sold within a specified period, based on the sales data of the products eligible for tax deductions that are stored in association with the customer identification information in the memory unit.

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...clock unit, 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 (7)

客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出する検出手段と、
客毎にその客が購入した前記税控除の対象となる商品の販売データを年毎に集計する集計手段と、
前記客が購入した前記税控除の対象となる商品の年間の合計金額と、その年間に前記客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を行うためのボタンとを表示した画像を閲覧要求元の機器へと出力する出力手段と
前記閲覧要求元の機器から年間に客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を受けると、その年間に当該客が購入した税控除の対象となる商品の販売データのリスト画像又はリストを、当該客のメールアドレス宛ての電子メールに添付して送信する送信手段と、
を具備するレシートデータ管理装置。
A detection means for detecting sales data of products eligible for tax deduction from receipt data including sales data of products purchased by a customer;
A collection means for collecting sales data of the products eligible for the tax deduction purchased by each customer by year;
an output means for outputting to the device which has made the viewing request an image displaying a total amount of the products which are eligible for the tax deduction and which have been purchased by the customer during the year, and a button for instructing to send sales data of the products which are eligible for the tax deduction and which have been purchased by the customer during the year, as an attachment to an e-mail ;
a transmission means for, when receiving an instruction from the device which has made the browsing request to attach sales data of products which are eligible for tax deduction and which have been purchased by the customer during the year to an e-mail and transmitting the same, a list image or list of the sales data of the products which are eligible for tax deduction and which have been purchased by the customer during the year, attaching the same to an e-mail address of the customer;
A receipt data management device comprising:
前記画像は、年間に購入した前記税控除の対象となる商品の販売データをさらに表示する、請求項項記載のレシートデータ管理装置。 The receipt data management device according to claim 1 , wherein the image further displays sales data of the products that are eligible for the tax exemption and that were purchased during the year. 前記画像は、年の切り替えを指示する操作子をさらに表示する、請求項1又は2記載のレシートデータ管理装置。 3. The receipt data management device according to claim 1 , wherein the image further displays an operator for instructing switching of years . 前記合計金額は、税込みの合計金額である、請求項記載のレシートデータ管理装置。 2. The receipt data management device according to claim 1 , wherein the total amount includes tax . 客が購入した商品の販売データを含むレシートデータを取り込んで処理するコンピュータに、A computer that imports and processes receipt data including sales data for products purchased by customers.
前記レシートデータから税控除の対象となる商品の販売データを検出する機能と、A function of detecting sales data of products eligible for tax deduction from the receipt data;
客毎にその客が購入した前記税控除の対象となる商品の販売データを年毎に集計する機能と、A function for annually aggregating sales data of the products eligible for the tax deduction purchased by each customer;
前記客が購入した前記税控除の対象となる商品の年間の合計金額と、その年間に前記客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を行うためのボタンとを表示した画像を閲覧要求元の機器へと出力する機能と、a function of outputting to the device which has made the viewing request an image showing the total amount of the products which the customer has purchased during the year and which are eligible for the tax deduction, and a button for instructing the customer to attach sales data of the products which the customer has purchased during the year and send the data by email;
前記閲覧要求元の機器から年間に客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を受けると、その年間に当該客が購入した税控除の対象となる商品の販売データのリスト画像又はリストを、当該客のメールアドレス宛ての電子メールに添付して送信する機能と、a function of, when receiving an instruction from the device which has made the viewing request to attach sales data of products which are eligible for tax deduction and which have been purchased by a customer during a year to an e-mail and sending the attached list image or list of sales data of products which are eligible for tax deduction and which have been purchased by the customer during that year to the e-mail address of the customer;
を実現させるためのプログラム。A program to achieve this.
サーバが、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出し、The server detects sales data of products eligible for tax deduction from receipt data including sales data of products purchased by the customer,
前記サーバが、客毎にその客が購入した前記税控除の対象となる商品の販売データを年毎に集計し、The server collects sales data of the products eligible for the tax deduction purchased by each customer by year,
前記サーバが、前記客が購入した前記税控除の対象となる商品の年間の合計金額と、その年間に前記客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を行うためのボタンとを表示した画像を閲覧要求元の機器へと出力し、the server outputs to the device which has made the viewing request an image displaying the total amount of the products which are eligible for the tax deduction and which have been purchased by the customer during the year, and a button for instructing the customer to attach sales data of the products which are eligible for the tax deduction and send the data to an e-mail;
前記サーバが、前記閲覧要求元の機器から年間に客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を受けると、その年間に当該客が購入した税控除の対象となる商品の販売データのリスト画像又はリストを、当該客のメールアドレス宛ての電子メールに添付して送信する、レシートデータ管理方法。In this receipt data management method, when the server receives an instruction from the device which originated the viewing request to attach sales data of products which are eligible for tax deduction and which the customer purchased during the year to an e-mail and send it, the server attaches a list image or list of sales data of products which are eligible for tax deduction and which the customer purchased during the year to an e-mail address of the customer and sends it.
客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出する検出手段と、客毎にその客が購入した前記税控除の対象となる商品の販売データを年毎に集計する集計手段と、前記客が購入した前記税控除の対象となる商品の年間の合計金額と、その年間に前記客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を行うためのボタンとを表示した画像を閲覧要求元の機器へと出力する出力手段と、前記閲覧要求元の機器から年間に客が購入した税控除の対象となる商品の販売データを電子メールに添付して送信する指示を受けると、その年間に当該客が購入した税控除の対象となる商品の販売データのリスト画像又はリストを、当該客のメールアドレス宛ての電子メールに添付して送信する送信手段と、を備えたレシートデータ管理装置と、a receipt data management device comprising: a detection means for detecting sales data of products eligible for tax deduction from receipt data including sales data of products purchased by a customer; a compilation means for compiling sales data of the products eligible for tax deduction purchased by the customer by year for each customer; an output means for outputting to a device which has issued a viewing request an image displaying a total amount of the products eligible for tax deduction purchased by the customer for the year and a button for issuing an instruction to attach the sales data of the products eligible for tax deduction purchased by the customer during the year to an e-mail and send it; and a transmission means for, when an instruction is received from the device which has issued the viewing request to attach the sales data of the products eligible for tax deduction purchased by the customer during the year to an e-mail and send it, attaching a list image or list of the sales data of the products eligible for tax deduction purchased by the customer during the year to an e-mail address of the customer;
前記出力手段により出力される前記画像を受信する受信手段と、受信した前記画像を表示する表示手段と、を備えた機器と、An apparatus including a receiving means for receiving the image output by the output means, and a display means for displaying the received image;
を含むレシートデータ管理システム。A receipt data management system including:
JP2023136442A 2020-03-02 2023-08-24 Receipt data management device and program thereof, receipt data management method, and receipt data management system Active JP7516636B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (4)

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
JP2023136442A JP7516636B2 (en) 2020-03-02 2023-08-24 Receipt data management device and program thereof, receipt data management method, and receipt data management system

Related Parent Applications (1)

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

Publications (3)

Publication Number Publication Date
JP2023159357A JP2023159357A (en) 2023-10-31
JP2023159357A5 JP2023159357A5 (en) 2024-05-02
JP7516636B2 true JP7516636B2 (en) 2024-07-16

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 Active JP7516636B2 (en) 2020-03-02 2023-08-24 Receipt data management device and program thereof, receipt data management method, and receipt data management system

Family Applications Before (2)

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

Country Status (1)

Country Link
JP (3) JP6982148B2 (en)

Citations (8)

* 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
JP2014229072A (en) 2013-05-22 2014-12-08 凸版印刷株式会社 Receipt information management system
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 (8)

* 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
JP2014229072A (en) 2013-05-22 2014-12-08 凸版印刷株式会社 Receipt information management system
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
JP2020198117A (en) 2020-12-10
JP6982148B2 (en) 2021-12-17
JP2022024105A (en) 2022-02-08
JP2023159357A (en) 2023-10-31
JP7339315B2 (en) 2023-09-05

Similar Documents

Publication Publication Date Title
US20160155203A1 (en) Information processing apparatus and method for generating electronic receipt by the same
JP5736478B2 (en) Merchandise sales data processing apparatus, electronic receipt system and program
JP6368002B2 (en) Product sales data processing system and program
JP6155239B2 (en) Electronic receipt management server, electronic receipt providing method and program
CN105405225B (en) Printing control device and printing control method
JP6670732B2 (en) Receipt data management device, its program, and receipt data management method
JP7516636B2 (en) Receipt data management device and program thereof, receipt data management method, and receipt data management system
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
JP7400068B2 (en) Information terminal and its program
JP7091402B2 (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
JP6885996B2 (en) Electronic receipt management server, electronic receipt system, program and electronic receipt management method
JP6722623B2 (en) Receipt data management device, its program, and receipt data management method
JP7794487B2 (en) Server, electronic receipt processing method and program
JP7508504B2 (en) Electronic Receipt System
JP7786997B2 (en) Data processing device and program
JP2015032048A (en) Electronic receipt management server, electronic receipt system and program
JP6950351B2 (en) Benefit management device and program
JP2025185844A (en) Electronic receipt system and electronic receipt processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230922

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240423

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240703

R150 Certificate of patent or registration of utility model

Ref document number: 7516636

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150