JP6982148B2 - Receipt data management device and its program, and receipt data management method - Google Patents
Receipt data management device and its program, and receipt data management method Download PDFInfo
- Publication number
- JP6982148B2 JP6982148B2 JP2020138604A JP2020138604A JP6982148B2 JP 6982148 B2 JP6982148 B2 JP 6982148B2 JP 2020138604 A JP2020138604 A JP 2020138604A JP 2020138604 A JP2020138604 A JP 2020138604A JP 6982148 B2 JP6982148 B2 JP 6982148B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- sales data
- tax
- subject
- receipt
- 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
Links
- 238000000034 method Methods 0.000 title claims description 54
- 238000013523 data management Methods 0.000 title claims description 21
- 238000007726 management method Methods 0.000 claims description 63
- 230000008569 process Effects 0.000 claims description 28
- 238000004891 communication Methods 0.000 claims description 21
- 230000002776 aggregation Effects 0.000 claims description 16
- 238000004220 aggregation Methods 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 6
- 239000000820 nonprescription drug Substances 0.000 description 123
- 238000012545 processing Methods 0.000 description 33
- 230000005540 biological transmission Effects 0.000 description 25
- 230000008859 change Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 15
- 238000007391 self-medication Methods 0.000 description 14
- 239000003814 drug Substances 0.000 description 9
- 229940079593 drug Drugs 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 230000010365 information processing Effects 0.000 description 9
- 102100031102 C-C motif chemokine 4 Human genes 0.000 description 3
- 101100054773 Caenorhabditis elegans act-2 gene Proteins 0.000 description 3
- 101100000858 Caenorhabditis elegans act-3 gene Proteins 0.000 description 3
- HEFNNWSXXWATRW-UHFFFAOYSA-N Ibuprofen Chemical compound CC(C)CC1=CC=C(C(C)C(O)=O)C=C1 HEFNNWSXXWATRW-UHFFFAOYSA-N 0.000 description 3
- 229940127554 medical product Drugs 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 101100161935 Caenorhabditis elegans act-4 gene Proteins 0.000 description 1
- 101100217138 Mus musculus Actr10 gene Proteins 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
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 program for making a receipt data management device and a computer function as the receipt data management device, and a receipt data management method.
我が国では、セルフメディケーション(自主服薬)推進ために、2017年度からセルフメディケーション税制の導入が決定されている。セルフメディケーション税制は、医療用から転用された医薬品、いわゆるスイッチOTC(Over The Counter)医薬品(以下、単にOTC医薬品と称する)を、一年間に一世帯で購入した金額(消費税込)の合計が所定の下限額を超える場合に総所得から控除する税制度である。このような税制度に対応するために、納税者はOTC医薬品を購入した際に薬局等から発行されたレシートを管理する必要がある。 In Japan, it has been decided to introduce a self-medication tax system from FY2017 in order to promote self-medication (self-medication). The self-medication tax system is the total amount of money (including consumption tax) purchased by one household per year for so-called switch OTC (Over The Counter) drugs (hereinafter referred to simply as OTC drugs) that have been diverted from medical use. It is a tax system that deducts from total income when the prescribed lower limit is exceeded. In order to comply with such a tax system, taxpayers need to manage receipts issued by pharmacies and the like when they purchase OTC drugs.
レシートの管理には、電子レシートシステムが有効である。電子レシートシステムは、客が購入した商品の販売データを含むレシートデータをサーバに一定期間保存する。そして、その期間内であれば、サーバが客からの要求に応じて当該客が使用する情報端末にインターネット等を通じてレシートデータを配信するようにしたものである。このような電子レシートシステムを利用することにより、客は、薬局等から発行された紙媒体のレシートを管理する必要がなくなる。 An electronic receipt system is effective for managing receipts. The electronic receipt system stores receipt data including sales data of products purchased by customers in a server for a certain period of time. Then, within that period, the server distributes the receipt data to the information terminal used by the customer via the Internet or the like in response to the request from the customer. By using such an electronic receipt system, the customer does not need to manage the receipt of the paper medium issued by the pharmacy or the like.
しかしながら、現行の電子レシートシステムは、セルフメディケーション税制に対応していない。セルフメディケーション税制に対応した電子レシートシステムを構築するためには、レシートデータ管理装置で管理されるレシートデータに基づき、納税者である客に税控除対象の商品の購買情報を提供できるようにすることが望ましい。 However, the current electronic receipt system does not support the self-medication tax system. In order to build an electronic receipt system that supports the self-medication tax system, it will be possible to provide taxpayer customers with purchasing information for tax-deductible products based on the receipt data managed by the receipt data management device. Is desirable.
本発明の実施形態が解決しようとする課題は、レシートデータを基に税控除対象の商品の購買情報を客に提供できるレシートデータ管理装置及び管理方法を提供しようとするものである。 An object to be solved by the embodiment of the present invention is to provide a receipt data management device and a management method capable of providing a customer with purchase information of a product subject to tax deduction based on the receipt data.
一実施形態において、レシートデータ管理装置は、検出手段、記憶手段、第1の集計手段、第2の集計手段、情報出力手段、及び、販売データ出力手段、を含む。検出手段は、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出する。記憶手段は、前記検出手段により検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する。第1の集計手段は、商品の販売データを月毎に集計する。第2の集計手段は、前記税控除の対象となる商品の販売データを年毎に集計する。情報出力手段は、前記客識別情報を含む閲覧要求に応答して、前記第1の集計手段により集計されている販売データに基づき、月間に売買された前記税控除の対象となる商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力する。販売データ出力手段は、前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記第2の集計手段により集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力する。 In one embodiment, the receipt data management device includes a detection means, a storage means, a first aggregation means, a second aggregation means, an information output means, and a sales data output means. The detection means detects the sales data of the product subject to tax deduction from the receipt data including the sales data of the product purchased by the customer. The storage means stores the sales data of the product subject to the tax deduction detected by the detection means in association with the customer identification information associated with the receipt data including the sales data. The first aggregation means aggregates the sales data of products on a monthly basis. The second aggregation means aggregates the sales data of the products subject to the tax deduction every year. The information output means responds to a browsing request including the customer identification information, and based on the sales data aggregated by the first aggregation means, the total amount of the tax-deductible products bought and sold in a month. The image data including the image for instructing to display the sales data of the product subject to the tax deduction and the image data including the image data are output to the device of the viewing request source. Sales data output means, said viewing when the requesting device receives the instruction to display the sales data of the product subject to the tax, before Symbol second summing means based on sales data that are aggregated by Dzu come, the total amount of the year of products that are subject to pre-Symbol tax deduction and outputs it to the browsing request source device.
また一実施形態において、レシートデータ管理方法は、サーバが、以下の処理を実行する。すなわちサーバが、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出し、検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶部に記憶させる。また前記サーバが、商品の販売データを月毎に集計し、さらに前記税控除の対象となる商品の販売データを年毎に集計する。そして、前記客識別情報を含む閲覧要求に応答して、前記サーバが、前記月毎に集計されている販売データに基づき、月間に売買された商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力させる。さらに前記サーバが、前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記年毎に集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力させる。 Further, in one embodiment, in the receipt data management method, the server executes the following processing. That is, the server detects the sales data of the product subject to tax deduction from the receipt data including the sales data of the product purchased by the customer, and the detected sales data of the product subject to tax deduction is the sales data. Is stored in the storage unit in association with the customer identification information associated with the receipt data including. In addition, the server aggregates the sales data of the products on a monthly basis, and further aggregates the sales data of the products subject to the tax deduction on a yearly basis. Then, in response to the browsing request including the customer identification information, the server is subject to the total amount of goods bought and sold in the month and the tax deduction based on the sales data aggregated for each month. The image data including the image for instructing to display the sales data of the product and the image data including the image data are output to the device of the viewing request source. Further, the server, and receives an instruction to display the sales data of products that are subject to the tax deducted from the browsing request source device, based on Dzu-out to the sales data, which is aggregated before each Symbol year, before Symbol the total amount of the year of products that are subject to tax deduction to be output to the viewing request source device.
以下、レシートデータを基に税控除対象の商品の購買情報を客に提供できるレシートデータ管理装置及び管理方法の実施形態について、図面を用いて説明する。なお、以下に説明する実施形態では、図1に示す電子レシートシステム100の電子レシート管理サーバ10を電子レシート管理装置として機能させる。
Hereinafter, embodiments of a receipt data management device and a management method capable of providing customers with purchase information of products subject to tax deduction based on the receipt data will be described with reference to the drawings. In the embodiment described below, the electronic
電子レシートシステム100は、図1に示すように、電子レシート管理サーバ10と、複数のPOS(Point Of Sales)システム20と、インターネット等の通信網30と、この通信網30に接続された複数の基地局40と、基地局40との間で無線通信が可能な複数の情報端末50と、を含む。電子レシート管理サーバ10は、電子レシートサービスを統括する電子レシート管理センタに構築される。POSシステム20は、電子レシートサービスに加盟する各店舗に構築される。情報端末50は、電子レシートサービスを受けるために会員登録を行った消費者が使用する。
As shown in FIG. 1, the
POSシステム20は、複数のPOS端末21とストアサーバ22とを含み、これらをLAN(Local Area Network)等の通信回線23で接続してなる。POS端末21は、商取引の決済端末として機能する。ストアサーバ22は、各POS端末21で決済された商取引のデータを基に、店舗全体の売上、在庫等を管理する。
The
POS端末21は、決済者である客が購入した商品の販売データを含むレシートデータを生成する。またPOS端末21は、電子レシートサービスを受けるために会員登録を行った客に対して発行された会員IDの入力を受け付ける。
The
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
図2は、POSシステム20から電子レシート管理サーバ10へと出力されるレシートデータ24の構造を示す模式図である。レシートデータ24は、会員ID、店舗コード、取引日時、取引番号、商品販売データ及び決済データを含む。商品販売データは、商品コード、分類コード、商品名、単価、点数、価格等を含む。決済データは、決済金額、決済種別、支払情報等を含む。
FIG. 2 is a schematic diagram showing the structure of the
因みに、店舗コードは、各店舗を識別するために店舗毎に設定された一意のコードである。また取引日時は、例えばPOS端末21において商取引が開始された時点又は決済された時点の日付と時刻である。
Incidentally, the store code is a unique code set for each store to identify each store. The transaction date and time is, for example, the date and time when the commercial transaction is started or settled on the
商品販売データの分類コードは、各商品の属性に基づく商品分類(食料品、日用品、医療品、衣料品等)を識別するために商品分類毎に設定された一意のコードである。なお、本実施形態では、医療品に関してOTC医薬品とそれ以外の医薬品とを分類するために、医薬品の分類コードの下位コードとしてOTC医薬品の小分類コードとその他医薬品の小分類コードとが設定されている。そしてOTC医療品の商品販売データには、医薬品の分類コードとOTC医薬品の小分類コードとが含まれる。同様にOTC医薬品以外の医薬品の商品販売データには、医薬品の分類コードとその他医薬品の小分類コードとが含まれる。 The product sales data classification code is a unique code set for each product classification in order to identify the product classification (food, daily necessities, medical products, clothing, etc.) based on the attributes of each product. In this embodiment, in order to classify OTC drugs and other drugs with respect to medical products, a sub-classification code for OTC drugs and a sub-classification code for other drugs are set as subordinate codes of the drug classification codes. There is. The product sales data of OTC medical products includes a drug classification code and a sub-classification code of OTC drugs. Similarly, the product sales data of drugs other than OTC drugs include a drug classification code and a sub-classification code of other drugs.
価格は、単価に点数を乗算して算出された金額であり、単価が消費税込みの価格である場合は税込価格となり、消費税抜きの価格である場合には税抜価格となる。決済データの決済種別は、決済金額に対する支払いの種類(現金、クレジットカード、ポイント、金券等)を特定する情報である。 The price is an amount calculated by multiplying the unit price by the points, and if the unit price is a price including consumption tax, it is a tax-included price, and if it is a price excluding consumption tax, it is a tax-excluded price. The payment type of the payment data is information that specifies the payment type (cash, credit card, points, cash voucher, etc.) for the payment amount.
図1に説明を戻す。
情報端末50は、少なくとも表示デバイスと、入力デバイスと、無線通信デバイスとを搭載する。また情報端末50は、Webブラウザを実装する。そして電子レシートサービスを受ける消費者は、専用のアプリケーションプログラムである電子レシート閲覧プログラムを情報端末50にインストールする。この電子レシート閲覧プログラムを情報端末50にインストールすることで、会員登録及びレシート画像の閲覧等が可能となる。会員登録を行うことで、情報端末50のメモリに形成された電子レシート閲覧プログラムの管理領域に会員IDが設定される。この種の情報端末50としては、スマートフォン、携帯電話、タブレット端末、ノートパソコン等の電子機器が使用される。
The explanation is returned to FIG.
The
電子レシート管理サーバ10は、各店舗のPOSシステム20から出力されるレシートデータ24を一定期間保存する。そして電子レシート管理サーバ10は、情報端末50からの閲覧要求に応答して、レシートデータ24に基づき作成される画像データを、閲覧要求元の情報端末50へと送信する。
The electronic
図3は、電子レシート管理サーバ10の要部回路構成を示すブロック図である。電子レシート管理サーバ10は、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM13、補助記憶デバイス14、時計部15及び通信ユニット16等を備える。CPU11と、ROM12、RAM13、補助記憶デバイス14、時計部15及び通信ユニット16とは、アドレスバス、データバス等のシステム伝送路17で接続される。
FIG. 3 is a block diagram showing a main circuit configuration of the electronic
電子レシート管理サーバ10は、CPU11、ROM12、RAM13及び補助記憶デバイス14と、これらを接続するシステム伝送路17とによってコンピュータを構成する。
CPU11は、コンピュータの中枢部分に相当する。CPU11は、オペレーティングシステムやアプリケーションプログラムに従って、電子レシート管理サーバ10としての各種の機能を実現するべく各部を制御する。
The electronic
The
ROM12は、上記コンピュータの主記憶部分に相当する。ROM12は、上記のオペレーティングシステムやアプリケーションプログラムを記憶する。ROM12は、CPU11が各部を制御するための処理を実行する上で必要なデータを記憶する場合もある。
The
RAM13は、上記コンピュータの主記憶部分に相当する。RAM13は、CPU11が処理を実行する上で必要なデータを記憶する。またRAM13は、CPU11によって情報が適宜書き換えられるワークエリアとしても利用される。
The
補助記憶デバイス14は、上記コンピュータの補助記憶部分に相当する。補助記憶デバイス14は、上記のオペレーティングシステムやアプリケーションプログラムを記憶する場合がある。また補助記憶デバイス14は、CPU11が各種の処理を行う上で使用するデータ、あるいはCPU11での処理によって生成されたデータを保存する場合がある。補助記憶デバイス14としては、例えばEEPROM(Electric Erasable Programmable Read-Only Memory)、HDD(Hard Disc Drive)、あるいはSSD(Solid State Drive)等を使用できる。
The
時計部15は、現在の日付及び時刻を計時する。
通信ユニット16は、POSシステム20または情報端末50と通信網30を介して所定のプロトコルによりデータ通信を行う。
The
The
かかる構成の電子レシート管理サーバ10は、図4に示すように、会員設定ファイル141、店舗情報ファイル142、電子レシートファイル143、月間集計ファイル144、OTC医薬品設定ファイル145及びOTC医薬品集計ファイル146を補助記憶デバイス14で記憶している。
As shown in FIG. 4, the electronic
会員設定ファイル141は、電子レシートサービスを受けるために会員登録を行った消費者毎に作成される会員設定データ141R(図5を参照)を記憶する。会員設定データ141Rは、図5に示すように、会員ID、メールアドレス、パスワード等の情報を含む。メールアドレス、パスワードは、会員IDで識別される消費者が情報端末50を操作して任意に設定した情報である。
The
店舗情報ファイル142は、電子レシートサービスに加盟する店舗毎に作成される店舗情報データ142R(図6を参照)を記憶する。店舗情報データ142Rは、図6に示すように、店舗コード、店舗名、税ステータス等の情報を含む。税ステータスは、店舗コードで識別される店舗が商品の価格を外税とする店なのか内税とする店なのかを示す情報である。外税とする店では、商品の価格は税抜価格である。内税とする店では、商品の価格は税込価格である。
The store information file 142 stores the
電子レシートファイル143は、各POSシステム20から通信網30を介して受信したレシートデータ24を会員ID別に一定期間記憶する。
The electronic receipt file 143 stores the
月間集計ファイル144は、電子レシートサービスを受けるために会員登録を行った消費者毎に年月別に作成される月間集計データ144R(図7を参照)を記憶する。月間集計データ144Rは、図7に示すように、会員ID及び年月をヘッダ情報とし、このヘッダ情報に付加して、月間合計と、小分類無しの商品分類に係る情報P1と、小分類有の商品分類に係る情報P2とを記憶する。
The
月間合計は、ヘッダ情報の会員IDで識別される客が、電子レシートサービスに加盟する店舗で、同ヘッダ情報の年月で特定される一か月間に購入した商品の価格合計である。情報P1は、分類コード、分類名称、分類合計及び小分類数を含む。分類合計は、ヘッダ情報の会員IDで識別される消費者が、電子レシートサービスに加盟する店舗で、同ヘッダ情報の年月で特定される一か月間に購入した商品のうち、分類コードの商品分類に属する商品の価格合計である。小分類数は“0”である。情報P2は、分類コード、分類名称、分類合計及び小分類数に加えて、小分類の数だけ小分類コード、小分類名称及び小分類合計を含む。小分類合計は、ヘッダ情報の会員IDで識別される消費者が、電子レシートサービスに加盟する店舗で、同ヘッダ情報の年月で特定される一か月間に購入した商品のうち、小分類コードの商品分類に属する商品の価格合計である。 The monthly total is the total price of the products purchased by the customer identified by the member ID of the header information at the store that is a member of the electronic receipt service in the month specified by the year and month of the header information. Information P1 includes a classification code, a classification name, a total classification, and a number of minor classifications. The classification total is the product of the classification code among the products purchased by the consumer identified by the member ID of the header information in the month specified by the year and month of the header information at the store that is a member of the electronic receipt service. It is the total price of products belonging to the category. The number of subclasses is "0". Information P2 includes the number of sub-classification codes, sub-classification names, and sub-classification totals in addition to the classification code, classification name, total classification, and number of sub-classifications. The sub-category total is a sub-category code among the products purchased by the consumer identified by the member ID of the header information in the month specified by the year and month of the header information at the store that is a member of the electronic receipt service. It is the total price of the products belonging to the product classification of.
OTC医薬品設定ファイル145は、厚生労働省からセルフメディケーション税制の対象品目として公表された全てのOTC医薬品の商品コード(例えばJANコード)を記憶する。
The OTC
OTC医薬品集計ファイル146は、電子レシートサービスを受けるために会員登録を行った消費者毎に年度別に作成されるOTC医薬品集計データ146R(図8を参照)を記憶する。OTC医薬品集計データ146Rは、図8に示すように、会員ID、OTC医薬品の小分類コード及び年度をヘッダ情報とし、このヘッダ情報に付加して、年度合計、控除フラグ及びOTC医薬品の購入明細データD1を記憶する。購入明細データD1は、ヘッダ情報の会員IDで識別される消費者が、同ヘッダ情報の年度で特定される一年間に、電子レシートサービスに加盟する店舗で購入したOTC医薬品のデータである。購入明細データD1は、OTC医薬品の商品コード、商品名及び価格と、その商品を購入した店舗の店舗コード及び購入日時(取引日時)を含む。価格は、消費税込の価格である。
The OTC
また、OTC医薬品集計データ146Rにおいて、年度合計は、同データ146Rに含まれる購入明細データD1の価格の合計である。控除フラグは、合計金額が控除対象の下限額(2017年度から導入のセルフメディケーション税制では12,000円)に達するまでは“0”にリセットされており、下限額を超えると“1”にセットされる。
Further, in the OTC drug
次に、電子レシート管理サーバ10のCPU11が通信ユニット16を介してレシートデータ24を受信した際の動作を、図9及び図10を用いて説明する。
図9及び図10は、CPU11が、ROM12又は補助記憶デバイス14に記憶されたアプリケーションプログラムの一種である制御プログラムにしたがって実行する情報処理手順を示す流れ図である。なお、図9及び図10に示すとともに以下に説明する処理の内容は一例であって、同様な結果を得ることが可能であればその処理手順及び処理内容は特に限定されるものではない。
Next, the operation when the
9 and 10 are flow charts showing an information processing procedure executed by the
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
次いでCPU11は、Act5としてレシートデータ24から1つの商品販売データを検出する。そしてCPU11は、Act6としてこの商品販売データの解析を行う。解析の処理手順については後述する。
Next, the
解析を終えると、CPU11は、Act7としてレシートデータ24に未解析の商品販売データが存在するか否かを確認する。未解析の商品販売データが存在する場合(Act7にてNO)、CPU11は、Act5の処理に戻る。すなわちCPU11は、レシートデータ24から未解析の商品販売データを検出し、解析を行う。
When the analysis is completed, the
こうして、レシートデータ24に含まれる全ての商品販売データについて解析を行い、未解析の商品販売データが存在しないことを確認すると(Act7にてYES)、CPU11は、Act8としてワークエリア内のレシートデータ24を電子レシートファイル143に保存させる。以上で、レシートデータ24を受信した際のCPU11の情報処理が終了する。
In this way, when all the product sales data included in the
図10は、図9のAct6で実行される解析の処理手順を示す流れ図である。CPU11は先ず、Act11として解析対象の商品販売データから分類コードを検出する。このとき、商品販売データに小分類コードも含まれる場合には、CPU11は、その小分類コードも検出する。そしてCPU11は、Act12として小分類コードを検出したか否かを判断する。小分類コードを検出していない場合(Act12にてNO)、CPU11は、Act13として、Act3の処理で取得した月間集計ファイル144の分類合計を更新する。すなわちCPU11は、Act12の処理で検出した分類コードがセットされた情報P1の分類合計に、解析対象の商品販売データに含まれる価格を加算する。以上で、CPU11は、解析を終了する。
FIG. 10 is a flow chart showing a processing procedure of analysis executed in Act 6 of FIG. First, the
一方、小分類コードを検出した場合には(Act12にてYES)、CPU11は、Act14として、Act3の処理で取得した月間集計ファイル144の分類合計及び小分類合計を更新する。すなわちCPU11は、Act12の処理で検出した分類コードがセットされた情報P2の分類合計と、その情報P2中のAct12の処理で検出した小分類コードに対する小分類合計とに、解析対象の商品販売データに含まれる価格を加算する。
On the other hand, when the sub-classification code is detected (YES in Act 12), the
次いでCPU11は、Act15として解析対象の商品販売データから商品コードを検出する。そしてCPU11は、Act16としてその商品コードでOTC医薬品設定ファイル145を検索して、同一の商品コードがOTC医薬品設定ファイル145に設定されているか否かを確認する。解析対象の商品販売データがOTC医薬品の販売データで無い場合、同一の商品コードがOTC医薬品設定ファイル145に設定されていない。この場合(Act16にてNO)、CPU11は、解析を終了する。
Next, the
これに対し、解析対象の商品販売データがOTC医薬品の販売データである場合には、同一の商品コードがOTC医薬品設定ファイル145に設定されている。この場合(Act16にてYES)、CPU11は、Act17としてレシートデータ24に含まれる店舗コードで店舗情報ファイル142を検索し、当該店舗コードで特定される店舗が商品の価格を外税とする店なのか内税とする店なのかを確認する。商品の価格を外税とする店の場合(Act17にてYES)、解析対象の商品販売データに含まれる価格は税抜価格であるので、CPU11は、Act18として解析対象の商品販売データに含まれる価格を税込価格に換算する。商品の価格を内税とする店の場合には(Act17にてNO)、解析対象の商品販売データに含まれる価格は税込価格であるので、CPU11は、Act18の処理を実行しない。
On the other hand, when the product sales data to be analyzed is the sales data of the OTC drug, the same product code is set in the OTC
次いでCPU11は、Act19としてOTC医薬品明細データD1を生成する。OTC医薬品明細データD1は、レシートデータ24に含まれる取引日時、店舗コード及び取引番号と、解析対象の商品販売データに含まれる商品コード、商品名及び価格とからなる。ただし価格は、Act18の処理が実行された場合にはその処理で算出された税込価格となる。
Next, the
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
次いでCPU11は、Act22として控除フラグが“1”にセットされているか否かを確認する。控除フラグが“1”にセットされている場合(Act22にてYES)、CPU11は、解析を終了する。
Next, the
控除フラグが“1”にセットされていない場合には(Act22にてNO)、CPU11は、Act23として更新後の年度合計が控除対象の下限額を超えたか否かを確認する。年度合計が下限額を超えていない場合(Act23にてNO)、CPU11は、解析処理を終了する。これに対し、年度合計が下限額を超えた場合には(Act23にてYES)、CPU11は、Act24として同OTC医薬品集計データ146Rの控除フラグを“1”にセットする。以上で、CPU11は、解析を終了する。
If the deduction flag is not set to "1" (NO in Act22), the
このように、電子レシート管理サーバ10は、POSシステム20からレシートデータ24を受信する毎に、そのレシートデータ24を電子レシートファイル143に保存する(AAct8)。また電子レシート管理サーバ10は、そのレシートデータ24に含まれる会員IDと取引日時とから特定される月間集計ファイル144を更新する(Act2〜Act7、Act11〜Act14)。
As described above, each time the electronic
さらに、電子レシート管理サーバ10は、レシートデータ24にOTC医薬品の商品販売データが含まれているか否かを確認する(Act15〜Act16)。そしてOTC医薬品の商品販売データが含まれている場合、電子レシート管理サーバ10は、そのOTC医薬品の商品販売データに基づいて、OTC医薬品集計ファイル146を更新する。具体的には、先ず、OTC医薬品の商品販売データが含まれている価格が税抜価格である場合、電子レシート管理サーバ10は、その税抜価格を税込価格に換算する(Act17〜Act18)。次いで電子レシート管理サーバ10は、レシートデータ24に含まれる会員IDと取引日時の年度とから特定されるOTC医薬品集計データ146Rに、レシートデータ24を基に生成したOTC医薬品の購入明細データD1を追加する(Act19〜Act20)。また、同OTC医薬品集計データ146Rの年度合計を、当該OTC医薬品の税込価格を加算した金額に更新する(Act21)。
Further, the electronic
ここに、電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図10のAct15〜Act16の処理を実行することにより検出手段を構成する。また電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図10のAct17〜Act18の処理を実行することにより換算手段を構成する。さらに電子レシート管理サーバ10は、CPU11を主体とするコンピュータが補助記憶デバイス14と協働して図10のAct19〜Act20の処理を実行することにより記憶手段を構成する。
Here, the electronic
次に、税控除対象の商品であるOTC医薬品の購買情報を、電子レシートサービスの会員である閲覧者が情報端末50を使用して閲覧する場合について、図11乃至図18を用いて説明する。
Next, a case where a viewer who is a member of the electronic receipt service browses the purchase information of the OTC drug, which is a tax-deductible product, using the
図11乃至図13は、電子レシート管理サーバ10のCPU11が、ROM12又は補助記憶デバイス14に記憶されたアプリケーションプログラムの一種である制御プログラムにしたがって実行する情報処理手順を示す流れ図である。また、図14乃至図18は、情報端末50の表示デバイス(タッチパネルとする)に表示される画面の遷移例である。なお、図11乃至図13に示すとともに以下に説明する処理の内容は一例であって、同様な結果を得ることが可能であればその処理手順及び処理内容は特に限定されるものではない。また、図14乃至図18に示すとともに以下に説明する画面の内容も一例であって、情報端末50のユーザである閲覧者が画面から必要な情報を得ることができるのであれば、その内容は特に限定されるものではない。
11 to 13 are flow charts showing an information processing procedure executed by the
OTC医薬品の購買情報を閲覧したい閲覧者は、先ず、情報端末50にインストールされている電子レシート閲覧プログラムを起動する。そうすると、情報端末50の表示デバイスにホーム画面SC1(図14を参照)が表示される。
ホーム画面SC1の一表示例を図14に示す。図示するようにホーム画面SC1には、会員IDを表すバーコードBCが表示されている。また、ホームアイコンIC1、レシートアイコンIC2及びその他アイコンIC3が表示されている。そしてホームアイコンIC1が選択状態となっており、レシートアイコンIC2とその他アイコンIC3とが非選択状態となっている。因みに、このホーム画面SC1のバーコードSC1を、POS端末21に接続されたスキャナでスキャニングすることにより、POS端末21は会員IDを入力することができる。
A viewer who wants to browse the purchase information of an OTC drug first activates an electronic receipt browsing program installed in the
A display example of the home screen SC1 is shown in FIG. As shown in the figure, a barcode BC representing a member ID is displayed on the home screen SC1. Further, the home icon IC1, the receipt icon IC2, and the other icon IC3 are displayed. The home icon IC1 is in the selected state, and the receipt icon IC2 and the other icon IC3 are not selected. Incidentally, by scanning the barcode SC1 of the home screen SC1 with a scanner connected to the
ホーム画面SC1を確認した閲覧者は、レシートアイコンIC2にタッチする。そうすると、情報端末50から電子レシート管理サーバ10にレシート一覧要求コマンドが送信される。このコマンドを含め、以後に説明する情報端末50からの種々のコマンドには、当該情報端末50に設定されている会員IDが含まれる。なお、必ずしもすべてのコマンドに会員IDが含まれていなくてもよい。電子レシート管理サーバ10に会員IDを知らせる必要のないコマンドには会員IDを含めなくてもよい。
The viewer who confirmed the home screen SC1 touches the receipt icon IC2. Then, the receipt list request command is transmitted from the
レシート一覧要求コマンドを受信した電子レシート管理サーバ10のCPU11は、電子レシートファイル143から当該コマンドに含まれる会員ID別に記憶されたレシートデータ24を検出する。そしてCPU11は、検出したレシートデータ24に基づいてレシート一覧画像を作成し、作成したレシート一覧画像をコマンド送信元の情報端末50へと送信する。かくして情報端末50では、表示デバイスの画面が、ホーム画面SC1からレシート一覧画面SC2(図15を参照)に切り替わる。
The
レシート一覧画面SC2の一表示例を図15に示す。図示するように、レシート一覧画面SC2には、レシート一覧画像が表示される。また、レシートアイコンIC2が選択状態となり、ホームアイコンIC1とその他アイコンIC3とが非選択状態となる。 FIG. 15 shows an example of displaying the receipt list screen SC2. As shown in the figure, the receipt list image is displayed on the receipt list screen SC2. Further, the receipt icon IC2 is in the selected state, and the home icon IC1 and the other icon IC3 are not selected.
レシート一覧画像は、一か月分のレシートの合計金額(図15では「1月 合計金額\99,999」)と、第1乃至第3の矢印アイコンM1,M2,M3とを含む。また、月間集計ボタンBT1が画面SC2に表示される。第1の矢印アイコンM1がタッチされると、一か月前のレシート一覧画像に切り替わる。第2の矢印アイコンM2がタッチされると、一か月後のレシート一覧画像に切り替わる。第3の矢印アイコンM3がタッチされると、その月に生成されたレシートデータ24のリストが表示される。
The receipt list image includes the total amount of receipts for one month (“January total amount \ 99,999” in FIG. 15) and the first to third arrow icons M1, M2, and M3. In addition, the monthly total button BT1 is displayed on the screen SC2. When the first arrow icon M1 is touched, the image is switched to the receipt list image one month ago. When the second arrow icon M2 is touched, the image is switched to the receipt list image one month later. When the third arrow icon M3 is touched, a list of
レシート一覧画面SC2を確認した閲覧者は、月間集計ボタンBT1にタッチする。月間集計ボタンBT1がタッチされると、情報端末50から電子レシート管理サーバ10に月間集計要求コマンドが送信される。
The viewer who confirmed the receipt list screen SC2 touches the monthly total button BT1. When the monthly total button BT1 is touched, the monthly total request command is transmitted from the
月間集計要求コマンドを受信した電子レシート管理サーバ10のCPU11は、図11乃至図13の流れ図に示す手順の情報処理を開始する。
先ずCPU11は、図11のAct31として時計部15で計時されている日時データから現時点の年月を検出する。次いでCPU11は、Act32として月間集計ファイル144を検索して、月間集計要求コマンドに含まれる会員IDとAct31の処理で検出した年月とをヘッダ情報とする月間集計データ144Rを検出する。
The
First, the
月間集計データ144Rを検出したならば、CPU11は、Act33としてその月間集計データ144Rに基づいて月間集計画像を生成する。そしてCPU11は、Act34として月間集計画像をコマンド送信元の情報端末50へと送信する。かくして情報端末50では、表示デバイスの画面が、レシート一覧画面SC2から月間集計画面SC3(図16を参照)に切り替わる。
If the monthly aggregated
月間集計画面SC3の一表示例を図16に示す。図示するように、月間集計画面SC3には、月間集計画像が表示される。レシートアイコンIC、ホームアイコンIC1及びその他アイコンIC3の状態は変化しない。
月間集計画像は、月間合計の金額(図16では「\99,999」)と、分類コード別の名称及び合計金額のリストL1と、矢印アイコンM5,M6とを含む。また、閲覧終了ボタンBT2が画面SC3に表示される。なお、リストL1において、OTC医薬品の小分類コードに対する小分類名称「OTC医薬品」には、テキスト「一覧表示」が付されている。
FIG. 16 shows an example of displaying one of the monthly tabulation screen SC3. As shown in the figure, the monthly tabulation image is displayed on the monthly tabulation screen SC3. The states of the receipt icon IC, the home icon IC1, and the other icon IC3 do not change.
The monthly total image includes the monthly total amount (“¥ 99,999” in FIG. 16), the name by classification code and the list L1 of the total amount, and the arrow icons M5 and M6. Further, the browsing end button BT2 is displayed on the screen SC3. In the list L1, the text "list display" is attached to the sub-classification name "OTC drug" for the sub-classification code of the OTC drug.
閲覧者は、月間集計画像から、当月に電子レシートサービスの加盟店で購入した商品の合計金額と分類別の合計金額とを示す月間集計データを確認することができる。 From the monthly aggregated image, the viewer can confirm the monthly aggregated data showing the total amount of the products purchased at the member stores of the electronic receipt service in the current month and the total amount of each category.
前月の月間集計データを閲覧したい場合、閲覧者は、矢印アイコンM5にタッチする。矢印アイコンM5がタッチされると、情報端末50は、電子レシート管理サーバ10に第1の年月変更コマンドを送信する。
翌月の月間集計データを閲覧したい場合、閲覧者は、矢印アイコンM6にタッチする。矢印アイコンM6がタッチされると、情報端末50は、電子レシート管理サーバ10に第2の年月変更コマンドを送信する。なお、翌月の月間集計データ144Rが存在しない場合には、矢印アイコンM6は無効化されており、タッチしても第2の年月変更コマンドは送信されない。
When the viewer wants to browse the monthly aggregated data of the previous month, the viewer touches the arrow icon M5. When the arrow icon M5 is touched, the
When the viewer wants to browse the monthly aggregated data of the next month, the viewer touches the arrow icon M6. When the arrow icon M6 is touched, the
OTC医薬品の購買情報を閲覧したい場合、閲覧者は、テキスト「一覧表示」にタッチする。テキスト「一覧表示」がタッチされると、情報端末50は、電子レシート管理サーバ10に一覧表示コマンドを送信する。
閲覧を終了する場合には、閲覧者は、閲覧終了ボタンBT2にタッチする。閲覧終了ボタンBT2がタッチされると、情報端末50は、電子レシート管理サーバ10に閲覧終了コマンドを送信する。
When the viewer wants to browse the purchase information of the OTC drug, the viewer touches the text "list display". When the text "list display" is touched, the
To end browsing, the viewer touches the browsing end button BT2. When the browsing end button BT2 is touched, the
月間集計画像を送信したCPU11は、Act35として第1又は第2の年月変更コマンドを受信したか否かを判断する。第1又は第2の年月変更コマンドを受信していない場合(Act35にてNO)、CPU11は、Act36として一覧表示コマンドを受信したか否かを判断する。一覧表示コマンドを受信していない場合(Act36にてNO)、CPU11は、Act37として閲覧終了コマンドを受信したか否かを判断する。閲覧終了コマンドを受信していない場合(Act37にてNO)、CPU11は、Act35の処理に戻る。したがってCPU11は、Act35乃至Act37の処理により、第1又は第2の年月変更コマンドを受信するか、一覧表示コマンドを受信するか、閲覧終了コマンドを受信するのを待ち受ける。
The
Act35乃至Act37の待ち受け状態において、第1又は第2の年月変更コマンドを受信すると(Act35にてYES)、CPU11は、Act32の処理に戻る。そして第1の年月変更コマンドの場合には、CPU11は、月間集計ファイル144から前月の月間集計データ144Rを検出して、Act33以降の処理を実行する。第2の年月変更コマンドの場合には、CPU11は、月間集計ファイル144から翌月の月間集計データ144Rを検出して、Act33以降の処理を実行する。これにより、情報端末50においては、月間集計画面SC3に表示される画像が、前月又は翌月の月間集計画像に切り替わる。
When the first or second year / month change command is received in the standby state of Act35 to Act37 (YES in Act35), the
Act35乃至Act37の待ち受け状態において、閲覧終了コマンドを受信した場合には(Act37にてYES)、CPU11は、Act38としてコマンド送信元の情報端末50に対して消去コマンドを出力する。以上で、CPU11は、月間集計コマンドを受信した際の処理を終了する。因みに、消去コマンドを受信した情報端末50においては、表示デバイスの画面がホーム画面SC1に戻る。
When the browsing end command is received in the standby state of Act35 to Act37 (YES in Act37), the
Act35乃至Act37の待ち受け状態において、一覧表示コマンドを受信した場合には(Act36にてYES)、CPU11は、Act39として、Act32で検出した月間集計データ144Rの年月から年度を検出する。そしてCPU11は、Act40として、OTC医薬品集計ファイル146を検索して、月間集計要求コマンドに含まれていた会員IDと、OTC医薬品の小分類コードと、Act39の処理で検出した年度とをヘッダ情報とするOTC医薬品集計データ146Rを検出する。
When a list display command is received in the standby state of Act35 to Act37 (YES in Act36), the
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
その後CPU11は、Act44としてOTC医薬品一覧画像をコマンド送信元の情報端末50へと送信する。かくして情報端末50では、表示デバイスの画面が、月間集計画面SC3からOTC医薬品一覧画面SC4(図17を参照)に切り替わる。
After that, the
OTC医薬品一覧画面SC4の一表示例を図17に示す。図示するように、OTC医薬品一覧画面SC4には、OTC医薬品一覧画像が表示される。レシートアイコンIC、ホームアイコンIC1及びその他アイコンIC3の状態は変化しない。 FIG. 17 shows an example of displaying the OTC drug list screen SC4. As shown in the figure, an OTC drug list image is displayed on the OTC drug list screen SC4. The states of the receipt icon IC, the home icon IC1, and the other icon 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 annual total amount (“total: ¥ 99,999” in FIG. 17) A, the detailed purchase list L2 of the OTC drug, and the arrow icons M7 and M8. Further, the list transmission button B3 and the browsing end button BT4 are displayed on the screen SC4. Further, the screen SC4 in FIG. 17 is a case where the annual total exceeds the lower limit of the deduction target. That is, the OTC drug list image includes the message MS1.
明細購入リストL2は、OTC医薬品集計データ146Rに含まれる各購入明細データD1によって作成される。すなわち、1つの購入明細データD1の取引日時と商品名と税込価格とを1行(明細行と称する)で表わし、この明細行を全ての購入明細データD1の数だけ列方向に並べることで、明細購入リストL2が作成される。なお、取引日時については、図17に示すように日付のみ明細行に表示させてもよいし、時刻まで明細行に表示させてもよい。
The detailed purchase list L2 is created by each purchase detailed data D1 included in the OTC drug
閲覧者は、OTC医薬品一覧画像から、この一年間に電子レシートサービスの加盟店で購入したOTC医薬品の合計金額と個々の明細(取引日時と商品名と税込価格)とを表すOTC医薬品購買情報を確認することができる。 From the OTC drug list image, the viewer can see the OTC drug purchase information showing the total amount of OTC drugs purchased at the member stores of the electronic receipt service and individual details (transaction date and time, product name, and tax-included price). You can check.
前年のOTC医薬品購買情報を閲覧したい場合、閲覧者は、矢印アイコンM7にタッチする。矢印アイコンM7がタッチされると、情報端末50は、電子レシート管理サーバ10に第1の年度変更コマンドを送信する。
翌年のOTC医薬品購買情報を閲覧したい場合、閲覧者は、矢印アイコンM8にタッチする。矢印アイコンM8がタッチされると、情報端末50は、電子レシート管理サーバ10に第2の年度変更コマンドを送信する。なお、翌年のOTC医薬品集計データ146Rが存在しない場合には、矢印アイコンM8は無効化されており、タッチしても第2の年度変更コマンドは送信されない。
When the viewer wants to browse the OTC drug purchase information of the previous year, the viewer touches the arrow icon M7. When the arrow icon M7 is touched, the
When the viewer wants to browse the OTC drug purchase information of the next year, the viewer touches the arrow icon M8. When the arrow icon M8 is touched, the
OTC医薬品購買情報のリストを取得したい場合、閲覧者は、一覧送信ボタンRT3にタッチする。一覧送信ボタンRT3がタッチされると、情報端末50は、電子レシート管理サーバ10に一覧送信コマンドを送信する。
When it is desired to acquire a list of OTC drug purchase information, the viewer touches the list transmission button RT3. When the list transmission button RT3 is touched, the
OTC医薬品購買情報を購入した際のレシートを取得したい場合、閲覧者は、所望の明細行にタッチする。明細行がタッチされると、情報端末50は、電子レシート管理サーバ10に明細選択コマンドを送信する。明細選択コマンドには、タッチされた明細行に表示されている取引日時、商品名及び税込価格が含まれる。
When the viewer wants to obtain the receipt when purchasing the OTC drug purchase information, the viewer touches the desired line. When the detail line is touched, the
閲覧を終了する場合には、閲覧者は、閲覧終了ボタンBT4にタッチする。閲覧終了ボタンBT2がタッチされると、情報端末50は、電子レシート管理サーバ10に閲覧終了コマンドを送信する。
To end browsing, the viewer touches the browsing end button BT4. When the browsing end button BT2 is touched, the
OTC医薬品一覧画像を送信したCPU11は、図12のAct51として閲覧終了コマンドを受信したか否かを判断する。閲覧終了コマンドを受信していない場合(Act51にてNO)、CPU11は、Act52として第1又は第2の年度変更コマンドを受信したか否かを判断する。第1又は第2の年度変更コマンドを受信していない場合(Act52にてNO)、CPU11は、Act53として明細選択コマンドを受信したか否かを判断する。明細選択コマンドを受信していない場合(Act53にてNO)、CPU11は、Act54として一覧送信コマンドを受信したか否かを判断する。一覧送信コマンドを受信していない場合(Act54にてNO)、CPU11は、Act51の処理に戻る。したがってCPU11は、Act51乃至Act54の処理により、閲覧終了コマンドを受信するか、第1又は第2の年度変更コマンドを受信するか、明細選択コマンドを受信するか、一覧送信コマンドを受信するのを待ち受ける。
The
Act51乃至Act54の待ち受け状態において、閲覧終了コマンドを受信した場合(Act51にてYES)、CPU11は、図11のAct32の処理に戻る。これにより、情報端末50においては、表示デバイスの画面が、OTC医薬品一覧画面SC4から月間集計画面SC3に戻る。
When a browsing end command is received in the standby state of Act51 to Act54 (YES in Act51), the
Act51乃至Act54の待ち受け状態において、第1又は第2の年度変更コマンドを受信した場合には(Act52にてYES)、CPU11は、図11のAct40の処理に戻る。そして第1の年度変更コマンドの場合、CPU11は、前年度のOTC医薬品集計データ146Rを検出して、Act41以降の処理を実行する。第2の年度変更コマンドの場合には、CPU11は、翌年度のOTC医薬品集計データ146Rを検出して、Act33以降の処理を実行する。これにより、情報端末50においては、OTC医薬品一覧画面SC4に表示される画像が、前年又は翌年のOTC医薬品一覧画像に切り替わる。
When the first or second year change command is received in the standby state of Act51 to Act54 (YES in Act52), the
Act51乃至Act54の待ち受け状態において、明細選択コマンドを受信した場合には(Act53にてYES)、CPU11は、図13のAct60としてその明細選択コマンドに含まれる取引日時、商品名及び価格を含む購入明細データD1をOTC医薬品集計データ146Rから検出する。次いでCPU11は、Act61として電子レシートファイル143を検索して、当該購入明細データD1から特定される1つのレシートデータ24を検出する。そしてCPU11は、Act62としてその検出されたレシートデータ24に基づいて電子レシート画像を生成する。
When the detail selection command is received in the standby state of Act51 to Act54 (YES in Act53), the
電子レシート画像を生成したならば、CPU11は、Act63として電子レシート画像をコマンド送信元の情報端末50へと送信する。かくして情報端末50では、表示デバイスの画面が、OTC医薬品一覧画面SC4から電子レシート画面SC5(図18を参照)に切り替わる。
After the electronic receipt image is generated, the
電子レシート画面SC5の一表示例を図18に示す。図示するように、電子レシート画面SC5には、電子レシート画像Rが表示される。レシートアイコンIC、ホームアイコンIC1及びその他アイコンIC3の状態は変化しない。また、送信ボタンBT5と閲覧終了ボタンBT6とが電子レシート画面SC5に表示される。 FIG. 18 shows an example of displaying the electronic receipt screen SC5. As shown in the figure, the electronic receipt image R is displayed on the electronic receipt screen SC5. The states of the receipt icon IC, the home icon IC1, and the other icon IC3 do not change. Further, the send button BT5 and the browsing end button BT6 are displayed on the electronic receipt screen SC5.
閲覧者は、電子レシート画像Rから、選択行に商品名等が表示されているOTC医薬品を購入したときに店舗から発行されたレシートを確認することができる。そのレシートを取得したい場合、閲覧者は、送信ボタンBT5にタッチする。送信ボタンBT5がタッチされると、情報端末50は、電子レシート管理サーバ10に送信コマンドを送信する。
From the electronic receipt image R, the viewer can confirm the receipt issued by the store when the OTC drug whose product name or the like is displayed in the selected line is purchased. When the viewer wants to obtain the receipt, the viewer touches the send button BT5. When the transmission button BT5 is touched, the
電子レシート画像Rの閲覧を終了する場合、閲覧者は、閲覧終了ボタンBT6にタッチする。閲覧終了ボタンBT6がタッチされると、情報端末50は電子レシート管理サーバ10に閲覧終了コマンドを送信する。
When ending the viewing of the electronic receipt image R, the viewer touches the viewing end button BT6. When the browsing end button BT6 is touched, the
電子レシート画像を送信したCPU11は、Act64として閲覧終了コマンドを受信したか否かを判断する。閲覧終了コマンドを受信していない場合(Act64にてNO)、CPU11は、Act65として送信コマンドを受信したか否かを判断する。送信コマンドを受信していない場合、CPU11は、Act64の処理に戻る。したがってCPU11は、Act64及びAct65の処理により、閲覧終了コマンドを受信するか送信コマンドを受信するのを待ち受ける。
The
Act64及びAct65の待ち受け状態において、閲覧終了コマンドを受信すると(Act64にてYES)、CPU11は、図11のAct40の処理に戻る。これにより、情報端末50においては、表示デバイスの画面が、電子レシート画面SC5からOTC医薬品一覧画面SC4に戻る。
When the browsing end command is received (YES in Act64) in the standby state of Act64 and Act65, the
Act64及びAct65の待ち受け状態において、送信コマンド受信した場合(Act65にてYES)、CPU11は、Act67としてその送信コマンドに含まれる会員IDで特定される会員設定データ141Rからメールアドレスを検出する。そしてCPU11は、Act68として、Act62の処理で生成した電子レシート画像をPDF(Portable Document Format)ファイルのデータに変換する。そしてCPU11は、Act69としてメールソフトを起動して、PDFファイルのデータに変換された電子レシート画像を添付ファイルとする電子メールを作成し、Act67の処理で取得したメールアドレス宛てに送信する。その後、CPU11は、図11のAct40の処理に戻る。これにより、情報端末50においては、表示デバイスの画面が電子レシート画面SC5からOTC医薬品一覧画面SC4に戻る。
When a transmission command is received in the standby state of Act64 and Act65 (YES in Act65), the
図12のAct51乃至Act54の待ち受け状態において、一覧送信コマンドを受信すると(Act54にてYES)、CPU11は、Act55としてその送信コマンドに含まれる会員IDで特定される会員設定データ141Rからメールアドレスを検出する。またCPU11は、Act56として、Act40の処理で検出したOTC医薬品集計データ146Rに基づき、OTC医薬品購買リストの画像を生成する。このOTC医薬品購買リストにどのような項目が含まれるかは任意である。例えば会員ID、年度及び年度合計と、各購入明細データD1の取引日時、店舗コード、取引番号、商品コード、商品名及び税込価格のリストとを含むものであってもよい。また、リストから商品コードを省略したものであってもよい。また、リストの店舗コードの代わりに、店舗情報ファイル142に当該店舗コードと関連付けて設定されている店舗名を含むものであってもよい。
When a list transmission command is received (YES in Act54) in the standby state of Act51 to Act54 in FIG. 12, the
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
ここに電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図11のAct39〜Act44の処理を実行することにより情報出力手段を構成する。また、電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図12のAct54〜Act58の処理を実行することによりリスト出力手段を構成する。また、電子レシート管理サーバ10は、CPU11を主体とするコンピュータが図12のAct65〜Act69の処理を実行することによりレシート出力手段を構成する。
Here, the electronic
このように本実施形態によれば、電子レシートサービスの会員である閲覧者は、電子レシート閲覧プログラムがインストールされた情報端末50を使用することにより、所望の一年間に購入したOTC医薬品に係る情報を確認することができる。ここで、OTC医薬品に係る情報とは、少なくともその一年間に購入したOTC医薬品の合計金額を含む。この合計金額が控除対象の下限額を超えると、閲覧者は、セルフメディケーション税制の控除を受けることができる。したがって閲覧者は、OTC医薬品に係る情報を閲覧することで、セルフメディケーション税制の控除を受けられるか否かを容易に確認することができる。
As described above, according to the present embodiment, the viewer who is a member of the electronic receipt service can use the
OTC医薬品に係る情報は、一年間に購入したOTC医薬品毎の取引日、商品名及び税込価格等を含む明細購入リストL2を含むものであってもよい。OTC医薬品に係る情報に明細購入リストL2を含ませることによって、閲覧者は個々のOTC医薬品の購買履歴を容易に確認することができる。 The information relating to the OTC drug may include the detailed purchase list L2 including the transaction date, product name, tax-included price, etc. for each OTC drug purchased in one year. By including the detailed purchase list L2 in the information relating to the OTC drug, the viewer can easily confirm the purchase history of each OTC drug.
本実施形態では、明細購入リストL2の明細行がタッチされると、その明細行に表示されているOTC医薬品を購入した際に店舗から発行されたレシートの画像が情報端末50の表示デバイスに表示される。したがって閲覧者は、OTC医薬品を購入した際に店舗から発行されたレシートも電子レシートの形態で容易に確認することができる。
In the present embodiment, when the detail line of the detail purchase list L2 is touched, the image of the receipt issued from the store when the OTC drug displayed in the detail line is purchased is displayed on the display device of the
また本実施形態では、レシート画像が表示された電子レシート画面SC5において、閲覧者が送信ボタンBT5にタッチすると、そのレシート画像がPDF形式に変換されて電子メールに添付され、閲覧者が指定するメールアドレス宛てに送信される。したがって、閲覧者は、OTC医薬品を購入した際に店舗から発行されたレシートを、例えば紙媒体で取得することができる。 Further, in the present embodiment, when the viewer touches the send button BT5 on the electronic receipt screen SC5 on which the receipt image is displayed, the receipt image is converted into PDF format and attached to the e-mail, and the e-mail specified by the viewer is used. It will be sent to the address. Therefore, the viewer can obtain the receipt issued from the store when the OTC drug is purchased, for example, in a paper medium.
また本実施形態では、明細購入リストL2を含むOTC医薬品一覧画像が表示されたOTC医薬品一覧画面SC4において、閲覧者が一覧送信ボタンBT3にタッチすると、OTC医薬品購買リストの画像がPDF形式に変換されて電子メールに添付され、閲覧者が指定するメールアドレス宛てに送信される。したがって、閲覧者は、一年間に購入したOTC医薬品の購買履歴(取引日時、店舗名、商品名、税込価格等)を合計金額とともに表記したOTC医薬品購買リストを、例えば紙媒体で取得することができる。 Further, in the present embodiment, when the viewer touches the list transmission button BT3 on the OTC drug list screen SC4 in which the OTC drug list image including the detailed purchase list L2 is displayed, the image of the OTC drug purchase list is converted into the PDF format. Is attached to the e-mail and sent to the e-mail address specified by the viewer. Therefore, the viewer may obtain an OTC drug purchase list, for example, in a paper medium, which shows the purchase history (transaction date / time, store name, product name, tax-included price, etc.) of the OTC drug purchased in one year together with the total amount. can.
ところで本実施形態の電子レシート管理サーバ10においては、図10のAct17の処理でOTC医薬品を販売した店舗が外税方式なのか内税方式なのかを判定している。そして外税方式の場合には、OTC医薬品の価格を税込み価格に換算して、OTC医薬品集計ファイル146に集計するようにしている。したがって、外税方式の店舗と内税方式の店舗とが混在していても、本実施形態はセルフメディケーション税制に対応できるものである。
By the way, in the electronic
以下、実施形態の変形例について説明する。
前記実施形態では、電子レシート管理サーバ10のCPU11が、図11のAct42において控除フラグを確認し、“1”にセットされている場合に、Act43として所定メッセージを追加した。このAct42及びAct43の処理を、図11のAct33とAct34との間で実行してもよい。こうすることにより、月間集計画面SC3において、閲覧者に対し、セルフメディケーション税制の控除を受けられることを報知することができる。
Hereinafter, a modified example of the embodiment will be described.
In the above embodiment, the
前記実施形態では、電子レシート管理サーバ10のCPU11が、レシート画像及びOTC医薬品購買情報のリスト画像をPDFファイルに変換してメール送信した。その際のファイルは、PDFファイルに限定されるものではない。例えばOTC医薬品購買情報のリストについてはCSVファイルの形式に変換してメール送信してもよい。こうすることにより、閲覧者は、エクセルファイル等を利用してOTC医薬品購買情報のリストを加工することができる。
In the above embodiment, the
また、レシート画像及びOTC医薬品購買情報のリスト画像を指定されたメールアドレス宛てにメール送信するのではなく、情報端末50にダウンロードしてもよい。あるいはプリンタに出力して直接印刷してもよい。ダウンロードの場合は、ダウンロードの指示があるとPDFファイルやCSVファイルを情報端末50に直接ダウンロードできるようにすればよい。印刷の場合は、印刷の指示があると情報端末50で指定されたプリンタにて印刷できるようにすればよい。
Further, the receipt image and the list image of the OTC drug purchase information may be downloaded to the
前記実施形態では、電子レシート管理サーバ10のCPU11が、図12のAct56において、Act40の処理で検出したOTC医薬品集計データ146Rに基づき、OTC医薬品購買リストの画像を生成した。このAct56において、OTC医薬品購買リストの代わりに、各購入明細データD1から特定されるレシートデータに基づき電子レシート画像を生成してもよい。こうすることにより、閲覧者は、OTC医薬品を購入した際に店舗から発行されたレシートを一括して取得することができる。また、Act56において、OTC医薬品購買リストと電子レシート画像との両方を作成し、双方を電子メールで送信してもよいのは言うまでもないことである。
In the above embodiment, the
この他、前記実施形態では、税控除対象の商品をOTC医薬品としたが、商品の分類は特に限定されるものではない。 In addition, in the above-described embodiment, the tax-deductible product is an OTC drug, but the classification of the product is not particularly limited.
また、電子レシート管理サーバ10の譲渡は一般に、制御プログラム等のプログラムがROM12に記憶された状態にて行われる。しかしこれに限らず、電子レシート管理サーバ10が備える補助記憶デバイス14に、この電子レシート管理サーバ10とは個別に譲渡された制御プログラム等がユーザなどの操作に応じて書き込まれてもよい。制御プログラム等の譲渡は、リムーバブルな記録媒体に記録して、あるいはネットワークを介した通信により行うことができる。記録媒体は、CD−ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。また、プログラムのインストールやダウンロードにより得る機能は、装置内部のOS(オペレーティング・システム)等と協働してその機能を実現させるものであってもよい。
Further, the transfer of the electronic
この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
[1]客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出する検出手段と、前記検出手段により検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する記憶手段と、前記客識別情報を含む閲覧要求に応答して、当該客識別情報と関連付けられて記憶されている前記税控除の対象となる商品の販売データに基づき、所定期間内に売買された前記税控除の対象となる商品の合計金額を前記閲覧要求元の機器へと出力する情報出力手段と、を具備するレシートデータ管理装置。
[2]前記情報出力手段は、前記所定期間内に売買された前記税控除の対象となる商品のリストをさらに出力する、付記[1]記載のレシートデータ管理装置。
[3]前記閲覧要求元の機器から前記リストの送信が指令されると、前記情報出力手段により出力したリストに基づくデータを所定の出力方法で出力するリスト出力手段、をさらに具備する付記[2]記載のレシートデータ管理装置。
[4]前記閲覧要求元の機器から前記リストに表示された商品の選択が指令されると、その選択された商品の販売データを含むレシートデータを前記閲覧要求元の機器へと出力するレシート出力手段、をさらに具備する付記[2]記載のレシートデータ管理装置。
[5]前記税控除の対象となる商品の販売データに含まれる価格が税抜価格である場合に、その税抜価格を税込価格に換算する換算手段、をさらに具備し、前記情報出力手段が出力する合計金額は、所定期間内に売買された前記税控除の対象となる商品の税込み価格の合計である、付記[1]乃至[4]のうちいずれか1に記載のレシートデータ管理装置。
[6]情報端末との通信手段を有するとともに客が購入した商品の販売データを含むレシートデータを取り込んで処理するコンピュータに、前記レシートデータから税控除の対象となる商品の販売データを検出する機能と、前記検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する機能と、前記客識別情報を含む閲覧要求に応答して、当該客識別情報と関連付けられて記憶されている前記税控除の対象となる商品の販売データに基づき、所定期間内に売買された前記税控除の対象となる商品の合計金額を前記閲覧要求元の機器へと出力する機能と、を実現させるためのプログラム。
[7]サーバが、客が購入した商品の販売データを含むレシートデータから税控除の対象となる商品の販売データを検出し、前記サーバが、前記検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶部に記憶させ、前記サーバが、前記客識別情報を含む閲覧要求に応答して、前記記憶部に当該客識別情報と関連付けられて記憶されている前記税控除の対象となる商品の販売データに基づき、所定期間内に売買された前記税控除の対象となる商品の合計金額を前記閲覧要求元の機器へと出力させる、レシートデータ管理方法。
In addition, although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other embodiments, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.
The inventions described in the original claims of the present application are described below.
[1] A detection means for detecting sales data of a product subject to tax deduction from receipt data including sales data of a product purchased by a customer, and a sale of the product subject to the tax deduction detected by the detection means. A storage means for storing data in association with customer identification information associated with the receipt data including the sales data, and storage associated with the customer identification information in response to a browsing request including the customer identification information. An information output means for outputting the total amount of the tax-deductible products sold within a predetermined period to the viewing requesting device based on the sales data of the tax-deductible products. Receipt data management device.
[2] The receipt data management device according to the appendix [1], wherein the information output means further outputs a list of products that are subject to the tax deduction that are bought and sold within the predetermined period.
[3] A supplementary note [2] further comprising a list output means for outputting data based on the list output by the information output means by a predetermined output method when the transmission of the list is instructed by the device of the viewing request source. ] Described receipt data management device.
[4] When the selection of the product displayed in the list is instructed by the viewing requesting device, the receipt data including the sales data of the selected product is output to the viewing requesting device. The receipt data management device according to the appendix [2], further comprising means.
[5] When the price included in the sales data of the product subject to the tax deduction is the tax-excluded price, the information output means further comprises a conversion means for converting the tax-excluded price into the tax-excluded price. The receipt data management device according to any one of the appendices [1] to [4], wherein the total amount to be output is the total price including tax of the products subject to the tax deduction that are bought and sold within a predetermined period.
[6] A function to detect sales data of products subject to tax deduction from the receipt data on a computer that has a means of communication with an information terminal and that captures and processes receipt data including sales data of products purchased by the customer. And a function to store the detected sales data of the product subject to the tax deduction in association with the customer identification information associated with the receipt data including the sales data, and a browsing request including the customer identification information. In response to, based on the sales data of the tax-deductible product stored in association with the customer identification information, the total amount of the tax-deductible product bought and sold within a predetermined period is calculated. A program for realizing the function of outputting to the device of the viewing request source.
[7] The server detects the sales data of the product subject to tax deduction from the receipt data including the sales data of the product purchased by the customer, and the server detects the detected product subject to the tax deduction. The sales data is stored in the storage unit in association with the customer identification information associated with the receipt data including the sales data, and the server responds to a browsing request including the customer identification information and stores the sales data in the storage unit. Based on the sales data of the tax-deductible product stored in association with the customer identification information, the total amount of the tax-deductible product sold within a predetermined period is calculated by the device of the viewing request source. Receipt data management method to output to.
10…電子レシート管理サーバ、11…CPU、12…ROM、13…RAM、14…補助記憶デバイス、15…インターフェース、16…通信ユニット、20…POSシステム、30…通信網、40…基地局、50…情報端末、100…電子レシートシステム、141…会員設定ファイル、142…店舗情報ファイル、143…電子レシートファイル、144…月間集計ファイル、145…OTC医薬品設定ファイル、146…OTC医薬品集計ファイル。 10 ... Electronic receipt management server, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Auxiliary storage device, 15 ... Interface, 16 ... Communication unit, 20 ... POS system, 30 ... Communication network, 40 ... Base station, 50 ... Information terminal, 100 ... Electronic receipt system, 141 ... Member setting file, 142 ... Store information file, 143 ... Electronic receipt file, 144 ... Monthly summary file, 145 ... OTC drug setting file, 146 ... OTC drug summary file.
Claims (9)
前記検出手段により検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する記憶手段と、
商品の販売データを月毎に集計する第1の集計手段と、
前記税控除の対象となる商品の販売データを年毎に集計する第2の集計手段と、
前記客識別情報を含む閲覧要求に応答して、前記第1の集計手段により集計されている販売データに基づき、月間に売買された商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力する情報出力手段と、
前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記第2の集計手段により集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力する販売データ出力手段と、
を具備するレシートデータ管理装置。 A detection means for detecting sales data of products subject to tax deduction from receipt data including sales data of products purchased by customers.
A storage means for storing the sales data of the product subject to the tax deduction detected by the detection means in association with the customer identification information associated with the receipt data including the sales data.
The first tabulation method for summarizing product sales data on a monthly basis,
A second tabulation method that aggregates sales data of products subject to tax deduction on a yearly basis,
Based on the sales data aggregated by the first aggregation means in response to the browsing request including the customer identification information, the total amount of the products sold and sold in a month and the sales of the products subject to the tax deduction. An information output means for outputting image data including an image for giving an instruction to display data to the device of the viewing request source, and an information output means.
Upon receiving the instruction to display the sales data of products that are subject to the tax deducted from the browsing request source device,-out before Symbol second base Dzu to sales data that has been aggregated by the aggregation means, before Symbol tax deduction and sales data output means that the total amount between the goods to be the subject of the year to output to the viewing request source device,
Receipt data management device.
前記レシートデータから税控除の対象となる商品の販売データを検出する機能と、
前記検出された前記税控除の対象となる商品の販売データを、当該販売データを含む前記レシートデータに関連付けられた客識別情報と関連付けて記憶する機能と、
商品の販売データを月毎に集計する第1集計機能と、
前記税控除の対象となる商品の販売データを年毎に集計する第2集計機能と、
前記客識別情報を含む閲覧要求に応答して、前記第1集計機能により集計されている販売データに基づき、月間に売買された商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力する情報出力機能と、
前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記第2集計機能により集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力する販売データ出力機能と、
を実現させるためのプログラム。 A computer that has a means of communication with an information terminal and captures and processes receipt data including sales data of products purchased by customers.
A function to detect sales data of products subject to tax deduction from the receipt data, and
A function to store the detected sales data of the product subject to the tax deduction in association with the customer identification information associated with the receipt data including the sales data.
The first aggregation function that aggregates product sales data on a monthly basis,
The second aggregation function that aggregates the sales data of the products subject to the tax deduction every year, and
Based on the sales data aggregated by the first aggregation function in response to the browsing request including the customer identification information, the total amount of products bought and sold in a month and the sales data of the products subject to the tax deduction. An information output function that outputs image data including an image for giving an instruction to display the image to the device of the viewing request source, and an information output function.
Upon receiving the instruction to display the sales data of products that are subject to the tax deducted from the browsing request source device, based on Dzu-out to the sales data that has been aggregated by the previous Symbol the second aggregation function, before Symbol tax deduction and sales data output function to output the total amount of the year of the product of interest to the viewing request source device,
A program to realize.
前記サーバが、商品の販売データを月毎に集計し、さらに前記税控除の対象となる商品の販売データを年毎に集計し、
前記サーバが、前記客識別情報を含む閲覧要求に応答して、前記月毎に集計されている販売データに基づき、月間に売買された商品の合計金額と、前記税控除の対象となる商品の販売データを表示する指示を行うための画像と、を含む画像データを、前記閲覧要求元の機器へと出力させ、
前記サーバが、前記閲覧要求元の機器から前記税控除の対象となる商品の販売データを表示する指示を受けると、前記年毎に集計されている販売データに基づき、前記税控除の対象となる商品の年間の合計金額を前記閲覧要求元の機器へと出力させる、レシートデータ管理方法。 The server detects the sales data of the product subject to tax deduction from the receipt data including the sales data of the product purchased by the customer, and uses the detected sales data of the product subject to tax deduction as the sales data. Stored in the storage unit in association with the customer identification information associated with the receipt data including the receipt data.
The server aggregates the sales data of the products on a monthly basis, and further aggregates the sales data of the products subject to the tax deduction on a yearly basis.
The server responds to the browsing request including the customer identification information, and based on the sales data aggregated for each month, the total amount of the products sold and sold in the month and the products subject to the tax deduction. The image data including the image for instructing to display the sales data and the image data including the image data are output to the device of the viewing request source.
The server, upon receiving an instruction to display the sales data of products that are subject to the tax deducted from the browsing request source device, based on Dzu-out to the sales data, which is aggregated before each Symbol year, before Symbol tax the total amount of the year of products that are subject to deductions to be output to the viewing request source of equipment, receipt data management method.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
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 |
Applications Claiming Priority (2)
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 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020034747A Division JP6752987B2 (en) | 2020-03-02 | 2020-03-02 | Receipt data management device and its program, and receipt data management method |
Related Child 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 (2)
Publication Number | Publication Date |
---|---|
JP2020198117A JP2020198117A (en) | 2020-12-10 |
JP6982148B2 true JP6982148B2 (en) | 2021-12-17 |
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 After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
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 |
Country Status (1)
Country | Link |
---|---|
JP (3) | JP6982148B2 (en) |
Family Cites Families (8)
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 |
EP2860683A4 (en) * | 2012-06-11 | 2016-02-24 | Samsung Electronics Co Ltd | User terminal device, server device, system comprising same, and advertisement service method thereof |
JP6201420B2 (en) | 2013-05-22 | 2017-09-27 | 凸版印刷株式会社 | Receipt information management system |
WO2015050174A1 (en) * | 2013-10-01 | 2015-04-09 | 国立大学法人東北大学 | Health information procssing device, health information display device, and method |
JP6559945B2 (en) * | 2014-12-02 | 2019-08-14 | 東芝テック株式会社 | Information processing apparatus and program |
EP3249510A4 (en) * | 2015-01-21 | 2018-01-31 | Fujifilm Corporation | Multilayered menu selection device, operation method for multilayered menu selection device, and operation program for multilayered menu selection device |
JP6216728B2 (en) * | 2015-03-02 | 2017-10-18 | 東芝テック株式会社 | Point system and control program |
-
2020
- 2020-08-19 JP JP2020138604A patent/JP6982148B2/en active Active
-
2021
- 2021-11-18 JP JP2021187787A patent/JP7339315B2/en active Active
-
2023
- 2023-08-24 JP JP2023136442A patent/JP7516636B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP7516636B2 (en) | 2024-07-16 |
JP2023159357A (en) | 2023-10-31 |
JP2022024105A (en) | 2022-02-08 |
JP7339315B2 (en) | 2023-09-05 |
JP2020198117A (en) | 2020-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107133828B (en) | Bill server, control method thereof, electronic bill system and terminal equipment | |
JP6927919B2 (en) | Electronic receipt system, payment device, sales promotion receipt server and information processing program | |
JP6670732B2 (en) | Receipt data management device, its program, and receipt data management method | |
JP6794521B2 (en) | Electronic receipt management server, program and electronic receipt system | |
JP6982148B2 (en) | Receipt data management device and its program, and receipt data management method | |
JP7091402B2 (en) | Receipt data management device and its program and receipt data management method | |
JP6752987B2 (en) | Receipt data management device and its program, and receipt data management method | |
JP6752956B2 (en) | Receipt data management device and its program, and receipt data management method | |
JP6736749B2 (en) | Receipt data management device, its program, and receipt data management method | |
JP6754915B1 (en) | Receipt data management device and its program, and receipt data management method | |
JP6930006B2 (en) | Receipt data management device and its program, and receipt data management method | |
JP7400068B2 (en) | Information terminal and its program | |
JP6885996B2 (en) | Electronic receipt management server, electronic receipt system, program and electronic receipt management method | |
JP6690037B2 (en) | Sales data processor, program and electronic receipt system | |
JP6808661B2 (en) | Information processing equipment and programs | |
JP6722623B2 (en) | Receipt data management device, its program, and receipt data management method | |
JP7065155B2 (en) | Information processing equipment and programs | |
JP7383194B2 (en) | Provision device, method and program | |
JP7394182B2 (en) | Information terminal, its program, and display control method | |
JP2015032048A (en) | Electronic receipt management server, electronic receipt system, and program | |
JP6646178B2 (en) | Server device and its program, receipt data processing method, receipt data processing system | |
JP7379564B2 (en) | information terminal | |
JP2018181382A (en) | Commodity sales data processing device and program | |
JP2019220228A (en) | Information terminal and program thereof, and display control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200819 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200819 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20211019 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211118 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6982148 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |