JP7132307B2 - Merchandise sales data processor and program - Google Patents

Merchandise sales data processor and program Download PDF

Info

Publication number
JP7132307B2
JP7132307B2 JP2020187026A JP2020187026A JP7132307B2 JP 7132307 B2 JP7132307 B2 JP 7132307B2 JP 2020187026 A JP2020187026 A JP 2020187026A JP 2020187026 A JP2020187026 A JP 2020187026A JP 7132307 B2 JP7132307 B2 JP 7132307B2
Authority
JP
Japan
Prior art keywords
receipt data
electronic receipt
data
electronic
code
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
JP2020187026A
Other languages
Japanese (ja)
Other versions
JP2021028836A (en
Inventor
康博 荒井
邦由 山田
圭一 長谷川
剛 五反田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2020187026A priority Critical patent/JP7132307B2/en
Publication of JP2021028836A publication Critical patent/JP2021028836A/en
Priority to JP2022133157A priority patent/JP7433387B2/en
Application granted granted Critical
Publication of JP7132307B2 publication Critical patent/JP7132307B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の実施形態は、商品販売データ処理装置およびプログラムに関する。 The embodiments of the present invention relate to a product sales data processing device and program .

従来、POS端末における商品決済時に店舗から買物をした商品販売データを含むレシートデータを、顧客に渡されるレシートに印字して、あるいはレシートデータを電子的に顧客の携帯端末等に受け渡す電子レシートデータとして送信する仕組みが知られている。 Conventionally, electronic receipt data for printing receipt data including sales data of merchandise purchased from a store at the time of merchandise payment at a POS terminal on a receipt handed to a customer, or electronically handing the receipt data to a customer's portable terminal, etc. is known.

このようにレシートデータを電子レシートデータにすることによって、家計簿も電子的に自動的に簿記ができるなど顧客にとって有益である。また、電子レシートデータを携帯端末等で受け取ることにより、レシート用紙の消費を減らすことができるため、導入店舗にとっても有益である。 Converting the receipt data to electronic receipt data in this way is beneficial to the customer, as the household account book can be electronically and automatically kept. In addition, receipt paper consumption can be reduced by receiving the electronic receipt data on a portable terminal or the like, which is beneficial for stores that have introduced the system.

しかしながら、従来の技術では、電子レシートデータとして顧客に送信したレシートデータは、POS端末等の印字部で印字しないように設定されている。そのため、変更されたレシートデータについても電子レシートデータとして顧客に送信しても、印字部で印字されないため、変更した店控え用のレシートが発行されず問題となっていた。 However, in the conventional technology, the receipt data transmitted to the customer as electronic receipt data is set not to be printed by the printing unit of the POS terminal or the like. Therefore, even if the changed receipt data is sent to the customer as electronic receipt data, it is not printed by the printing unit, and thus the changed receipt for store copy cannot be issued.

本発明が解決しようとする課題は、変更されたレシートデータについても電子レシートデータとして顧客に送信するとともに、印字部でも印字可能な商品販売データ処理装置およびプログラムを提供することである。 The problem to be solved by the present invention is to provide a merchandise sales data processing apparatus and a program capable of transmitting changed receipt data to a customer as electronic receipt data and printing the same with a printing unit.

実施形態の商品販売データ処理装置は、決済処理した商品の取引情報に基づいて生成したレシートデータから電子レシートデータを生成して外部装置に送信する電子レシートデータ送信手段と、前記取引情報の変更に伴い、当該変更についての新たな変更レシートデータを生成する変更レシートデータ生成手段と、前記変更レシートデータ生成手段によって生成された変更レシートデータに顧客を特定する顧客特定情報が含まれている場合、前記変更レシートデータに基づく印字データを印字部に出力し、前記変更レシートデータに基づく変更電子レシートデータの生成を実行しない制御手段と、を備える。 A product sales data processing apparatus according to an embodiment includes electronic receipt data transmission means for generating electronic receipt data from receipt data generated based on transaction information of a product for which settlement processing has been performed and transmitting the electronic receipt data to an external device; Accordingly, when the modified receipt data generating means for generating new modified receipt data for the change and the modified receipt data generated by the modified receipt data generating means includes the customer identification information for identifying the customer, the above and control means for outputting print data based on the changed receipt data to a printing unit and not generating changed electronic receipt data based on the changed receipt data .

図1は、実施形態にかかる電子レシートシステムの構成全体を示す構成図である。FIG. 1 is a configuration diagram showing the overall configuration of an electronic receipt system according to an embodiment. 図2は、顧客の会員登録における画面の遷移例を示す遷移図である。FIG. 2 is a transition diagram showing an example of screen transition in member registration of a customer. 図3は、POS端末の要部構成を示すブロック図である。FIG. 3 is a block diagram showing the essential configuration of the POS terminal. 図4は、電子レシートサーバの要部構成を示すブロック図である。FIG. 4 is a block diagram showing the essential configuration of the electronic receipt server. 図5は、電子レシート管理サーバの要部構成を示すブロック図である。FIG. 5 is a block diagram showing the essential configuration of the electronic receipt management server. 図6は、電子レシート管理サーバの電子レシート管理領域の一部を示すメモリマップである。FIG. 6 is a memory map showing part of the electronic receipt management area of the electronic receipt management server. 図7は、携帯端末の要部構成を示すブロック図である。FIG. 7 is a block diagram showing the main configuration of the mobile terminal. 図8は、POS端末における電子レシート処理にかかる機能ブロック図である。FIG. 8 is a functional block diagram of electronic receipt processing in a POS terminal. 図9は、レシートデータの一例を模式的に示す図である。FIG. 9 is a diagram schematically showing an example of receipt data. 図10は、電子レシートの一例を模式的に示す図である。FIG. 10 is a diagram schematically showing an example of an electronic receipt. 図11は、POS端末における電子レシート処理の流れを示すフローチャートである。FIG. 11 is a flow chart showing the flow of electronic receipt processing at the POS terminal. 図12は、POS端末における一括取消キーが操作されたときのレシート処理の流れを示すフローチャートである。FIG. 12 is a flow chart showing the flow of receipt processing when the batch cancel key is operated on the POS terminal. 図13は、POS端末における再発行キーが操作されたときのレシート処理の流れを示すフローチャートである。FIG. 13 is a flow chart showing the flow of receipt processing when the reissue key in the POS terminal is operated. 図14は、POS端末における返品キーが操作されたときのレシート処理の流れを示すフローチャートである。FIG. 14 is a flow chart showing the flow of receipt processing when the return key of the POS terminal is operated. 図15は、返品処理後に生成された新たな電子レシートの一例を模式的に示す図である。FIG. 15 is a diagram schematically showing an example of a new electronic receipt generated after the return processing. 図16は、POS端末におけるレジマイナスキーが操作されたときのレシート処理の流れを示すフローチャートである。FIG. 16 is a flow chart showing the flow of receipt processing when the register minus key on the POS terminal is operated. 図17は、POS端末における一部取消キーが操作されたときのレシート処理の流れを示すフローチャートである。FIG. 17 is a flow chart showing the flow of receipt processing when a partial cancel key is operated on the POS terminal. 図18は、電子レシートサーバにおける電子レシート管理処理及び情報送信処理の流れを示すフローチャートである。FIG. 18 is a flow chart showing the flow of electronic receipt management processing and information transmission processing in the electronic receipt server. 図19は、電子レシート管理サーバにおける電子レシート管理処理及び商品情報送信処理にかかる機能ブロック図である。FIG. 19 is a functional block diagram of electronic receipt management processing and product information transmission processing in the electronic receipt management server. 図20は、電子レシート管理サーバにおける電子レシート管理処理及び商品情報送信処理の流れを示すフローチャートである。FIG. 20 is a flow chart showing the flow of electronic receipt management processing and product information transmission processing in the electronic receipt management server. 図21は、電子レシート管理サーバにおける電子レシート管理処理及び商品情報送信処理の流れを示すフローチャートである。FIG. 21 is a flow chart showing the flow of electronic receipt management processing and product information transmission processing in the electronic receipt management server. 図22は、電子レシート管理サーバにおける電子レシート管理処理及び商品情報送信処理の流れを示すフローチャートである。FIG. 22 is a flowchart showing the flow of electronic receipt management processing and merchandise information transmission processing in the electronic receipt management server. 図23は、電子レシート管理サーバにおける電子レシート管理処理及び商品情報送信処理の流れを示すフローチャートである。FIG. 23 is a flow chart showing the flow of electronic receipt management processing and product information transmission processing in the electronic receipt management server. 図24は、携帯端末における電子レシート受け取り処理及び電子レシート閲覧処理にかかる機能ブロック図である。FIG. 24 is a functional block diagram relating to electronic receipt receiving processing and electronic receipt viewing processing in a mobile terminal. 図25は、携帯端末における電子レシート受け取り処理及び電子レシート閲覧処理の流れを示すフローチャートである。FIG. 25 is a flow chart showing the flow of electronic receipt receiving processing and electronic receipt browsing processing in the portable terminal. 図26は、携帯端末の表示部に表示された電子レシートの一例を示す図である。FIG. 26 is a diagram showing an example of an electronic receipt displayed on the display unit of the mobile terminal.

以下、本実施の一形態を図面に基づいて説明する。 One embodiment of the present invention will be described below with reference to the drawings.

図1は、実施形態にかかる電子レシートシステムの構成全体を示す構成図である。図1に示すように、電子レシートシステムは、POS(Point of Sales)端末1と、ストアサーバ2と、電子レシートサーバ3と、電子レシート管理サーバ4と、プロモーション設定端末5と、プロモーション管理サーバ6と、携帯端末7とを有する。 FIG. 1 is a configuration diagram showing the overall configuration of an electronic receipt system according to an embodiment. As shown in FIG. 1, the electronic receipt system includes a POS (Point of Sales) terminal 1, a store server 2, an electronic receipt server 3, an electronic receipt management server 4, a promotion setting terminal 5, and a promotion management server 6. , and a mobile terminal 7 .

POS端末1とストアサーバ2とは、店舗P1内に設けられる。POS端末1とストアサーバ2とは、LAN(Local Area Network)等の店舗内ネットワークN1を介して通信可能に接続される。また、POS端末1及びストアサーバ2は、店舗内ネットワークN1に接続されたルータ等のネットワーク機器(図示せず)を介して、店舗P1と本部P2とを繋ぐネットワークN2に接続することが可能である。ここで、ネットワークN2は、例えば、インターネットやVPN(Virtual Private Network)等の専用線である。 The POS terminal 1 and the store server 2 are provided inside the store P1. The POS terminal 1 and the store server 2 are communicably connected via an in-store network N1 such as a LAN (Local Area Network). Also, the POS terminal 1 and the store server 2 can be connected to a network N2 that connects the store P1 and the headquarters P2 via a network device (not shown) such as a router connected to the in-store network N1. be. Here, the network N2 is, for example, a dedicated line such as the Internet or a VPN (Virtual Private Network).

POS端末1は、商品販売データ処理を実行する商品販売データ処理装置である。POS端末1は、決済対象の商品の取引内容を含むレシートデータを生成し、当該レシートデータを後述する印字部13で印字することで紙レシートを出力する。また、POS端末1は、レシートデータのデータ形式を変換した電子レシートデータを、ネットワークN2を介して電子レシートサーバ3に出力(送信)する。電子レシートデータの送信方法は特に問わず、HTTPやHTTPS等の汎用プロトコルを用いてもよい。なお、店舗P1に設けられるPOS端末1の個数は特に問わず、複数台であってもよい。 The POS terminal 1 is a merchandise sales data processing device that executes merchandise sales data processing. The POS terminal 1 generates receipt data including the transaction details of the product to be settled, and outputs a paper receipt by printing the receipt data with the printing unit 13, which will be described later. Also, the POS terminal 1 outputs (transmits) the electronic receipt data in which the data format of the receipt data is converted to the electronic receipt server 3 via the network N2. The method of transmitting the electronic receipt data is not particularly limited, and general-purpose protocols such as HTTP and HTTPS may be used. The number of POS terminals 1 provided in the store P1 is not particularly limited, and may be plural.

ストアサーバ2は、POS端末1で行われる商品販売データ処理等の管理を統括的に行う。例えば、ストアサーバ2は、POS端末1の商品販売データ処理で生成された商品販売データを記憶・管理したり、商品販売データ処理に用いる商品データファイル等を記憶・管理する。 The store server 2 centrally manages product sales data processing performed by the POS terminal 1 . For example, the store server 2 stores and manages merchandise sales data generated by merchandise sales data processing of the POS terminal 1, and stores and manages merchandise data files and the like used for merchandise sales data processing.

なお、店舗P1に配置されるPOS端末1の個数は特に問わず、複数台であってもよい。また、本実施形態では、POS端末1が電子レシートデータを出力する構成を説明するが、これに限らず、POS端末1で生成されたレシートデータを、ストアサーバ2や図示しない変換装置がデータ形式を変換することで、電子レシートデータを電子レシートサーバ3に出力する構成としてもよい。 The number of POS terminals 1 arranged in the store P1 is not particularly limited, and may be plural. In this embodiment, the POS terminal 1 outputs electronic receipt data. However, the present invention is not limited to this. may be configured to output the electronic receipt data to the electronic receipt server 3 by converting the .

電子レシートサーバ3は、店舗またはチェーン店舗(以下、店舗という)を運営する企業の本部P2に設けられており、店舗を運営する企業毎のレシートデータを管理する企業用のレシート管理サーバとして機能する。電子レシートサーバ3は、例えば、店舗を運営する企業の売上管理、売上分析、在庫管理などの機能を有する。 The electronic receipt server 3 is provided at the headquarters P2 of a company that operates stores or chain stores (hereinafter referred to as stores), and functions as a corporate receipt management server that manages receipt data for each company that operates stores. . The electronic receipt server 3 has functions such as sales management, sales analysis, inventory management, etc. of a company that operates a store, for example.

また、電子レシートサーバ3は、POS端末1から送信された電子レシートデータを、ネットワークN2を介して受信する。また、電子レシートサーバ3は、受信した電子レシートデータを、本部P2と電子レシートセンターP3とを繋ぐネットワークN3を介して、電子レシート管理サーバ4に送信する。 The electronic receipt server 3 also receives the electronic receipt data transmitted from the POS terminal 1 via the network N2. The electronic receipt server 3 also transmits the received electronic receipt data to the electronic receipt management server 4 via the network N3 connecting the headquarters P2 and the electronic receipt center P3.

ここで、ネットワークN3は、例えば、インターネットやVPN等の専用線である。また、電子レシートデータの送信方法は特に問わず、HTTPやHTTPS等の汎用プロトコルを用いてもよい。 Here, the network N3 is, for example, a dedicated line such as the Internet or VPN. Moreover, the method of transmitting the electronic receipt data is not particularly limited, and general-purpose protocols such as HTTP and HTTPS may be used.

電子レシート管理サーバ4は、電子レシートセンターP3に設けられる。電子レシートセンターP3は、例えば、電子レシートサーバ3でレシートデータを管理する企業以外の第三者機関である。なお、電子レシートサーバ3についても第三者機関等が管理してもよい。 The electronic receipt management server 4 is provided in the electronic receipt center P3. The electronic receipt center P3 is, for example, a third-party organization other than the company that manages the receipt data on the electronic receipt server 3 . The electronic receipt server 3 may also be managed by a third party.

電子レシート管理サーバ4は、店舗を運営する各種企業のレシートデータを一括に管理する顧客用レシート管理サーバとして機能する。電子レシート管理サーバ4は、後述する手順等により会員登録を行った各顧客(会員)の氏名や顧客コードである会員コード、電子レシートデータの送信先となる携帯端末7の送信先情報(例えばメールアドレス)等の会員データを、データベースDBに保持された会員マスタに記憶・管理する。なお、電子レシート管理サーバ4とは別に、会員データの記憶・管理を行う会員管理サーバ等を設ける構成としてもよい。 The electronic receipt management server 4 functions as a customer receipt management server that collectively manages receipt data of various companies that operate stores. The electronic receipt management server 4 stores the name of each customer (member) who has registered as a member according to the procedures described later, the member code, which is a customer code, and the destination information (for example, e-mail) of the portable terminal 7 to which the electronic receipt data is to be sent. address) and other member data are stored and managed in the member master held in the database DB. In addition to the electronic receipt management server 4, a member management server or the like for storing and managing member data may be provided.

また、電子レシート管理サーバ4は、電子レシートサーバ3から送信された電子レシートデータを、ネットワークN3を介して受信し、この電子レシートデータをデータベースDBに保持された後述する電子レシート管理領域43aに記憶・管理する。より詳細には、電子レシートデータは、商品の取引内容(商品販売データ)の他、会員コード等の要素を含み、対応する会員の会員データと対応付けて管理される。 The electronic receipt management server 4 also receives the electronic receipt data transmitted from the electronic receipt server 3 via the network N3, and stores the electronic receipt data in an electronic receipt management area 43a, which is held in the database DB and will be described later. ·to manage. More specifically, the electronic receipt data includes elements such as membership codes and the like in addition to transaction details of merchandise (merchandise sales data), and is managed in association with member data of corresponding members.

また、電子レシート管理サーバ4は、後述するネットワークN4を介して接続されるプロモーション設定端末5から、特定の商品のキャンペーンに係るキャンペーン情報等の付加情報を受信し、この付加情報をデータベースDBに保持された後述する付加情報管理領域43bに記憶・管理する。より詳細には、付加情報は、データベースDBに記憶された電子レシートデータが含む要素のうち、所定の条件に該当する要素に対応付けて管理される。 Further, the electronic receipt management server 4 receives additional information such as campaign information related to a campaign for a specific product from a promotion setting terminal 5 connected via a network N4, which will be described later, and stores this additional information in the database DB. The information is stored and managed in an additional information management area 43b, which will be described later. More specifically, the additional information is managed in association with elements that meet predetermined conditions among the elements included in the electronic receipt data stored in the database DB.

また、電子レシート管理サーバ4は、データベースDBに電子レシートデータを記憶すると、この電子レシートデータの会員コードに対応付けされた送信先情報を参照することで、送信先(携帯端末7)を特定する。そして、電子レシート管理サーバ4は、後述するネットワークN5を介して、データベースDBに記憶した電子レシートデータをその送信先に送信する。なお、電子レシートデータに付加情報が対応付けされている場合には、この付加情報についても送信先に送信する。 Further, when the electronic receipt management server 4 stores the electronic receipt data in the database DB, the electronic receipt management server 4 refers to the destination information associated with the member code of the electronic receipt data to specify the destination (portable terminal 7). . Then, the electronic receipt management server 4 transmits the electronic receipt data stored in the database DB to its destination via the network N5, which will be described later. If additional information is associated with the electronic receipt data, the additional information is also transmitted to the destination.

また、電子レシート管理サーバ4は、後述するネットワークN5を介して接続される携帯端末7から、会員コードを指定する電子レシート照会を受け付けると、当該会員コードに対応する電子レシートデータをデータベースDBから抽出し、携帯端末7に送信する。なお、電子レシートデータに付加情報が対応付けされている場合、この付加情報についても照会があった携帯端末7に送信する。 Further, when the electronic receipt management server 4 receives an electronic receipt inquiry designating a membership code from a portable terminal 7 connected via a network N5, which will be described later, the electronic receipt management server 4 extracts electronic receipt data corresponding to the membership code from the database DB. and transmitted to the mobile terminal 7. If additional information is associated with the electronic receipt data, the additional information is also transmitted to the mobile terminal 7 that made the inquiry.

プロモーション設定端末5とプロモーション管理サーバ6とは、消費財メーカーP4等に設けられる。プロモーション設定端末5は、PC(Personal Computer)等の端末装置であって、ネットワークN4を介して、電子レシート管理サーバ4に付加情報を送信する。ここで、ネットワークN4は、例えば、インターネットやVPN等の専用線である。また、付加情報の送信方法は特に問わず、HTTPやHTTPS等の汎用プロトコルを用いてもよい。 The promotion setting terminal 5 and the promotion management server 6 are provided at the consumer goods maker P4 or the like. The promotion setting terminal 5 is a terminal device such as a PC (Personal Computer), and transmits additional information to the electronic receipt management server 4 via the network N4. Here, the network N4 is, for example, a dedicated line such as the Internet or VPN. Moreover, the method of transmitting the additional information is not particularly limited, and a general-purpose protocol such as HTTP or HTTPS may be used.

携帯端末7は、本システムの利用者(顧客)が使用する、例えばスマートフォン、携帯電話機、PDA(Personal Digital Assistant)、タブレット型コンピュータ等の端末装置である。携帯端末7は、ネットワークN5上で提供される各種情報を閲覧するためのWebブラウザ等のアプリケーションを実装する。なお、携帯端末7に代えて、PC等の端末装置を適用してもよい。 The mobile terminal 7 is a terminal device such as a smart phone, a mobile phone, a PDA (Personal Digital Assistant), or a tablet computer used by a user (customer) of this system. The mobile terminal 7 has an application such as a web browser for browsing various information provided on the network N5. A terminal device such as a PC may be applied instead of the mobile terminal 7 .

携帯端末7は、ネットワークN5を介して電子レシート管理サーバ4にアクセスすることで、本システムへの会員登録を行う。ここで、ネットワークN5は、インターネットや、各種公衆網である。 The mobile terminal 7 accesses the electronic receipt management server 4 via the network N5 to register as a member of this system. Here, the network N5 is the Internet or various public networks.

ところで、本システムでの顧客の会員登録は、例えば次のような手順で行われる。顧客は、携帯端末7からネットワークN5を介して電子レシート管理サーバ4に対して空メールを送信する。電子レシート管理サーバ4は、受信したメールアドレスに会員登録のためのページを示すURL(Uniform Resource Locator)を送信する。顧客は、携帯端末7から会員登録のためのページを示すURLにアクセスして会員登録に必要な事項(氏名、送信先情報等)を入力させる入力画面を表示させる。顧客による必要事項の入力終了後、電子レシート管理サーバ4は、会員マスタに対する会員登録を実行する。その後、電子レシート管理サーバ4は、携帯端末7に対して会員コード(顧客コード)及びパスワードを含む会員登録完了メールを配信する。これにより、会員登録が終了する。 By the way, a customer's member registration in this system is performed, for example, in the following procedure. The customer sends a blank mail from the portable terminal 7 to the electronic receipt management server 4 via the network N5. The electronic receipt management server 4 transmits a URL (Uniform Resource Locator) indicating a page for membership registration to the received e-mail address. The customer accesses the URL indicating the page for member registration from the portable terminal 7 and displays an input screen for inputting items (name, destination information, etc.) necessary for member registration. After the customer completes the input of the necessary items, the electronic receipt management server 4 executes member registration with respect to the member master. After that, the electronic receipt management server 4 delivers a member registration completion mail containing the member code (customer code) and password to the portable terminal 7 . This completes the member registration.

上述のような会員登録後、携帯端末7は、図2に示すように、顧客の会員コードをバーコードや二次元コード等のコードシンボルCSとして表示部73に表示する。顧客は、店舗P1における取引決済時に店員に対して携帯端末7に表示されたコードシンボルCSを提示する。店員は、携帯端末7に表示されたコードシンボルCSをPOS端末1に接続された例えばスキャナで構成されたコード読取部15(図3参照)で読み取る。これにより、POS端末1における商品販売データ処理による決済後に生成されるレシートデータに対して顧客の会員コードを対応付けることが可能になっている。 After membership registration as described above, the portable terminal 7 displays the customer's membership code as a code symbol CS such as a bar code or two-dimensional code on the display unit 73, as shown in FIG. The customer presents the code symbol CS displayed on the portable terminal 7 to the store clerk when settling the transaction at the store P1. The store clerk reads the code symbol CS displayed on the portable terminal 7 with a code reading section 15 (see FIG. 3), which is configured by a scanner, for example, connected to the POS terminal 1 . As a result, it is possible to associate the customer's membership code with the receipt data generated after payment by the merchandise sales data processing at the POS terminal 1 .

また、携帯端末7は、POS端末1での決済(取引)後、電子レシート管理サーバ4から送信される当該取引の電子レシートデータを、ネットワークN5を介して受信する。会員コードを指定する電子レシート照会を、ネットワークN5を介して電子レシート管理サーバ4に送信することで、当該会員の電子レシートデータを電子レシート管理サーバ4から受信する。また、携帯端末7は、受信した電子レシートデータを、後述する表示部73に表示する(図26参照)。 Further, after settlement (transaction) at the POS terminal 1, the mobile terminal 7 receives the electronic receipt data of the transaction transmitted from the electronic receipt management server 4 via the network N5. By transmitting an electronic receipt inquiry designating a member code to the electronic receipt management server 4 via the network N5, the electronic receipt data of the member is received from the electronic receipt management server 4. The mobile terminal 7 also displays the received electronic receipt data on the display unit 73 (see FIG. 26).

さらに、携帯端末7は、受信した電子レシートデータに付加情報が対応付けられていた場合、この付加情報に基づきキャンペーンに係る企画への応募を指示するアイコン等を表示する(図26参照)。例えば、アイコンには、企画への応募先(例えば、プロモーション管理サーバ6)を示す接続先情報(URL等)を設定することができる。この場合、携帯端末7は、当該アイコンに対する操作を受け付けると、ネットワークN5を介してプロモーション管理サーバ6へアクセスし、応募に係る処理を実行する。 Further, when additional information is associated with the received electronic receipt data, the portable terminal 7 displays an icon or the like instructing application for a campaign plan based on this additional information (see FIG. 26). For example, an icon can be set with connection destination information (URL or the like) indicating a destination (for example, the promotion management server 6) to apply for a project. In this case, when the mobile terminal 7 receives an operation for the icon, the mobile terminal 7 accesses the promotion management server 6 via the network N5, and executes processing related to application.

プロモーション管理サーバ6は、ネットワークN5を介して接続される携帯端末7からのアクセスを受け付けるサーバ装置である。プロモーション管理サーバ6は、各会員を識別するための会員コードに対応付けてキャンペーン種別毎の応募履歴を管理するエントリーマスタを有する。プロモーション管理サーバ6は、ネットワークN5を介して、携帯端末7からキャンペーンへの応募を受けると、会員コードに対応付けてキャンペーン種別毎の応募履歴を管理する。なお、携帯端末7は、プロモーション管理サーバ6へのアクセス時に、レシートデータ等に保持された自装置のユーザ(会員)に係る会員コードを送信する。 The promotion management server 6 is a server device that receives access from the mobile terminal 7 connected via the network N5. The promotion management server 6 has an entry master that manages the application history for each campaign type in association with a member code for identifying each member. When the promotion management server 6 receives an application for a campaign from the portable terminal 7 via the network N5, it manages the application history for each campaign type in association with the membership code. When accessing the promotion management server 6, the mobile terminal 7 transmits a member code related to the user (member) of the own device held in the receipt data or the like.

係る構成の電子レシートシステムにおいては、店舗P1のPOS端末1で商品販売データ処理が行なわれて生成された取引(決済)の内容を示す電子レシートデータ(レシートデータ)が、電子レシートサーバ3を介して電子レシート管理サーバ4に伝送され、Web上に公開される。したがって、Webブラウザを実装してなる携帯端末7は、URL(Uniform Resource Locator)を指定することにより、Web上に公開されたレシートデータを携帯端末7にダウンロードしてWebブラウザで閲覧することができる。なお、携帯端末7にレシートデータを閲覧するためのアプリケーションをインストールして閲覧するようにしてもよい。 In the electronic receipt system having such a configuration, electronic receipt data (receipt data) indicating the details of a transaction (settlement) generated by performing product sales data processing at the POS terminal 1 of the store P1 is sent via the electronic receipt server 3. is transmitted to the electronic receipt management server 4 and published on the Web. Therefore, the mobile terminal 7 equipped with a web browser can download the receipt data published on the web to the mobile terminal 7 by designating a URL (Uniform Resource Locator), and view the data with the web browser. . Note that an application for viewing receipt data may be installed on the mobile terminal 7 for viewing.

次に、本実施形態の電子レシートシステムを構築する主要な装置の構成について説明する。 Next, the configuration of the main devices that construct the electronic receipt system of this embodiment will be described.

まず、商品販売データ処理装置であるPOS端末1について説明する。図3は、POS端末1の構成を示すブロック図である。図3に示すように、POS端末1は、各種演算やPOS端末1の各部を統括的に制御する制御部11を備えている。制御部11は、CPU(Central Processing Unit)、各種プログラムやデータを記憶するROM(Read Only Memory)、各種プログラムを一時的に記憶したり各種データを書き換え自在に記憶するRAM(Random Access Memory)、現在の日時を計時するRTC(Real Time Clock)部等によって構成されるコンピュータである。 First, the POS terminal 1, which is a product sales data processing device, will be described. FIG. 3 is a block diagram showing the configuration of the POS terminal 1. As shown in FIG. As shown in FIG. 3, the POS terminal 1 includes a control section 11 that controls various calculations and various sections of the POS terminal 1 in an integrated manner. The control unit 11 includes a CPU (Central Processing Unit), a ROM (Read Only Memory) for storing various programs and data, a RAM (Random Access Memory) for temporarily storing various programs and rewritably storing various data, It is a computer composed of an RTC (Real Time Clock) unit and the like for keeping the current date and time.

制御部11は、バス18を介して操作部12、印字部13、表示部14及びコード読取部15に接続されている。 The control unit 11 is connected to the operation unit 12 , the printing unit 13 , the display unit 14 and the code reading unit 15 via the bus 18 .

操作部12は、オペレータが操作入力を行うための各種の操作キーを有している。操作キーとしては、例えば、数値を入力するための置数キー、所定の項目を選択するためのカーソルキーや選択決定キー、取引における売上登録が行われる商品の合計出力を指示する小計キー、一取引の締め処理を行って代金を決済することを宣言する締めキー等が設けられている。 The operation unit 12 has various operation keys for the operator to perform operation input. The operation keys include, for example, number keys for inputting numerical values, cursor keys and selection/decision keys for selecting predetermined items, subtotal keys for instructing total output of products whose sales are registered in transactions, A close key or the like is provided for declaring that the transaction will be closed and payment will be settled.

操作部12は、締めキー121、一括取消キー122、再発行キー123、返品キー124、レジマイナスキー125、一部取消キー126等のキーを配置したキーボードを備えている。締めキー121は、顧客との取引を終了するときに操作するキーである。一括取消キー122は、操作の途中で当該取引を中止するときに操作するキーである。再発行キー123は、取引終了後に、当該取引の商品情報や決済情報を印字したレシートを再発行するときに操作するキーである。返品キー124は、購入した商品のすべてまたは一部について、取引終了後に返品処理するときに操作するキーである。レジマイナスキー125は、誤操作等による入力ミスがあった場合、取引終了後に当該取引を取り消すときに操作するキーである。一部取消キー126は、取引終了後に一部商品の取消をする場合に操作するキーである。 The operation unit 12 includes a keyboard on which keys such as a closing key 121, a batch cancel key 122, a reissue key 123, a return key 124, a register minus key 125, a partial cancel key 126, and the like are arranged. A close key 121 is a key operated when finishing a transaction with a customer. The collective cancellation key 122 is a key operated when canceling the transaction in the middle of the operation. The reissue key 123 is a key that is operated after the end of a transaction to reissue a receipt on which product information and payment information for the transaction are printed. The return key 124 is a key that is operated when all or part of the purchased product is returned after the end of the transaction. The register minus key 125 is a key operated to cancel the transaction after the transaction is completed when there is an input error due to an erroneous operation or the like. A partial cancellation key 126 is a key operated to cancel a part of the product after the end of the transaction.

印字部13は、レシートやジャーナル等の印字を行うプリンタ装置で構成される。印字部13は、印字の対象となるロール紙等の用紙を切断するカット機構を具備し(図示せず)、後述するカットコマンドに従い用紙を切断する。 The printing unit 13 is composed of a printer for printing receipts, journals, and the like. The printing unit 13 has a cutting mechanism (not shown) for cutting paper such as roll paper to be printed, and cuts the paper according to a cut command described later.

表示部14は、例えば液晶ディスプレイ等であり、販売登録された商品の品名、価格、決済が宣言された一取引の合計金額、釣銭額等の各種情報を表示する。表示部14は、キャッシャ向けに各種情報を表示するオペレータ用ディスプレイ14aと、顧客向けに各種情報を表示する客用ディスプレイ14bとを備える。なお、表示部14をタッチパネル構成としてもよく、この場合、タッチパネルは操作部12として機能する。 The display unit 14 is, for example, a liquid crystal display or the like, and displays various kinds of information such as the product name and price of the product registered for sale, the total amount of one transaction declared to be settled, and the amount of change. The display unit 14 includes an operator display 14a that displays various information for the cashier, and a customer display 14b that displays various information for the customer. Note that the display unit 14 may have a touch panel configuration, and in this case, the touch panel functions as the operation unit 12 .

コード読取部15は、例えばバーコードや二次元コード等のコードシンボルを光学的に読み取るスキャナ装置である。コード読取部15は、例えば、商品に付されたコードシンボルや、携帯端末7に表示されたコードシンボル等を読み取り、制御部11は、読み取った当該コードシンボルに保持された情報を入力する。なお、商品に付されたコードシンボルには、その商品を特定するための商品コード等が保持されているとする。また、携帯端末7に表示されるコードシンボルには、その携帯端末7を携帯する顧客を特定するための会員コード(顧客コード)等が保持されているとする。なお、会員コードは、携帯端末7に磁気的あるいは電気的に記憶されていてもよい。この場合、記憶されている会員コードを、専用の読取装置で読み取る。制御部11は、読み取った会員コードを入力する。 The code reading unit 15 is, for example, a scanner device that optically reads code symbols such as bar codes and two-dimensional codes. The code reading unit 15 reads, for example, a code symbol attached to a product or a code symbol displayed on the mobile terminal 7, and the control unit 11 inputs information held in the read code symbol. It is assumed that the code symbol attached to the product holds a product code or the like for specifying the product. It is also assumed that the code symbol displayed on the mobile terminal 7 holds a member code (customer code) or the like for specifying the customer who carries the mobile terminal 7 . The membership code may be magnetically or electrically stored in the mobile terminal 7 . In this case, the stored membership code is read by a dedicated reader. The control unit 11 inputs the read membership code.

また、制御部11は、バス18を介して通信I/F(インターフェース)16に接続されており、この通信I/F16を介して店舗内ネットワークN1やネットワークN2に接続することが可能となっている。 Further, the control unit 11 is connected to a communication I/F (interface) 16 via a bus 18, and can be connected to the in-store network N1 and the network N2 via the communication I/F 16. there is

また、制御部11は、バス18を介して、記憶部17に接続されている。記憶部17は、例えばHDD(Hard Disk Drive)やSSD(Solid State Drive)等の補助記憶装置である。記憶部17は、商品販売データ処理を含む各種のPOS業務を実行するためのプログラムを記憶する。また、記憶部17は、各商品の商品名、商品コード及び単価等の商品データを格納した商品データファイル等の商品販売データ処理に係る各種データファイルを記憶する。また、記憶部17は、商品販売データ処理やレシートデータに係る処理を行うためのレシートデータ処理プログラム17aを記憶する。 Also, the control unit 11 is connected to the storage unit 17 via the bus 18 . The storage unit 17 is an auxiliary storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive). The storage unit 17 stores programs for executing various POS operations including product sales data processing. The storage unit 17 also stores various data files related to product sales data processing, such as product data files that store product data such as product names, product codes and unit prices of each product. The storage unit 17 also stores a receipt data processing program 17a for processing product sales data and processing related to receipt data.

また、記憶部17は、自己のPOS端末1を他のPOS端末1と識別するためのPOSナンバー、企業コード(店舗を運営する企業の識別コード)、業種・業態コード、当該POS端末1が設置される店舗P1を示す店舗コード等を、識別コード管理領域17bに記憶する。ここで、業種・業態コードは、例えば、コンビニエンスストア、スーパーマーケット、百貨店、薬局、レストラン、飲食店などとして、店舗の業種・業態を区別するコード(分類コード)である。なお、このような業種・業態は、ユーザの好みによって任意に変更可能である。また、企業コード(店舗を運営する企業の識別コード)、業種・業態コードについては、電子レシートサーバ3に登録されていてもよい。 The storage unit 17 also stores a POS number for distinguishing one's own POS terminal 1 from other POS terminals 1, a company code (identification code of a company that operates a store), an industry/business type code, and information on which the POS terminal 1 is installed. A store code or the like indicating the store P1 that is to be used is stored in the identification code management area 17b. Here, the industry/business format code is a code (classification code) that distinguishes the industry/business format of the store, such as convenience stores, supermarkets, department stores, pharmacies, restaurants, and restaurants. It should be noted that such business types and business conditions can be arbitrarily changed according to the user's preference. Also, the company code (identification code of the company that operates the store) and the industry/business type code may be registered in the electronic receipt server 3 .

また、記憶部17は、非構造化形式のレシートデータを、構造化形式のレシートデータ(以下、電子レシートデータという)に変換する際の、変換規則を記述したレシートデータスキーマ17cを記憶する。また、記憶部17は、商品販売データ処理をした商品販売データや、読み取った会員コードを、データ記憶部17dに記憶する。 The storage unit 17 also stores a receipt data schema 17c describing conversion rules for converting non-structured receipt data into structured receipt data (hereinafter referred to as electronic receipt data). The storage unit 17 also stores the processed product sales data and the read membership code in the data storage unit 17d.

次に、企業用のレシート管理サーバとして機能する電子レシートサーバ3の構成を、図4のブロック図を用いて説明する。電子レシートサーバ3は、各種演算や電子レシートサーバ3の各部を統括的に制御する制御部31を備えている。制御部31は、CPU、各種プログラムやデータを記憶するROM、各種プログラムを一時的に記憶したり各種データを書き換え自在に記憶するRAM、現在の日時を計時するRTC部等によって構成されるコンピュータである。 Next, the configuration of the electronic receipt server 3 functioning as a corporate receipt management server will be described with reference to the block diagram of FIG. The electronic receipt server 3 includes a control unit 31 that controls various calculations and each unit of the electronic receipt server 3 in an integrated manner. The control unit 31 is a computer composed of a CPU, a ROM for storing various programs and data, a RAM for temporarily storing various programs and rewritably storing various data, and an RTC unit for keeping the current date and time. be.

制御部31は、バス34に接続された通信I/F32を介して、ネットワークN2やネットワークN3に接続することが可能となっている。また、制御部31は、バス34を介して記憶部33に接続されている。 The control unit 31 can be connected to the network N2 and the network N3 via the communication I/F 32 connected to the bus 34. FIG. Also, the control unit 31 is connected to the storage unit 33 via the bus 34 .

記憶部33は、店舗を運営する企業毎の電子レシートデータを電子レシート管理領域33aに記憶する。電子レシートデータは、企業コード(店舗を運営する企業の識別コード)、業種・業態コード、店舗コード、買物客の会員コード、POS端末1のPOSナンバー、レシートナンバー、商品販売データなどを含む。 The storage unit 33 stores the electronic receipt data for each company that operates the store in the electronic receipt management area 33a. The electronic receipt data includes a company code (identification code of the company that operates the store), industry/business type code, store code, shopper's membership code, POS number of the POS terminal 1, receipt number, product sales data, and the like.

また、記憶部33は、電子レシートデータを電子レシート管理領域33aで管理するための電子レシート管理プログラム33bを記憶する。また、記憶部33は、電子レシート管理領域33aに管理されているレシートデータを、電子レシート管理サーバ4へ送信するための情報送信プログラム33cを記憶する。 The storage unit 33 also stores an electronic receipt management program 33b for managing electronic receipt data in the electronic receipt management area 33a. The storage unit 33 also stores an information transmission program 33 c for transmitting the receipt data managed in the electronic receipt management area 33 a to the electronic receipt management server 4 .

次に、顧客用レシート管理サーバとして機能する電子レシート管理サーバ4の構成を、図5のブロック図を用いて説明する。図5に示すように、電子レシート管理サーバ4は、各種演算や電子レシート管理サーバ4の各部を統括的に制御する制御部41を備えている。制御部41は、CPU、各種プログラムやデータを記憶するROM、各種プログラムを一時的に記憶したり各種データを書き換え自在に記憶するRAM、現在の日時を計時するRTC部等によって構成されるコンピュータである。 Next, the configuration of the electronic receipt management server 4 functioning as a customer receipt management server will be described with reference to the block diagram of FIG. As shown in FIG. 5, the electronic receipt management server 4 includes a control section 41 that controls various calculations and each section of the electronic receipt management server 4 in an integrated manner. The control unit 41 is a computer composed of a CPU, a ROM for storing various programs and data, a RAM for temporarily storing various programs and rewritably storing various data, an RTC unit for keeping current date and time, and the like. be.

制御部41は、バス44に接続された通信I/F42を介して、ネットワークN3、ネットワークN4及びネットワークN5に接続することが可能となっている。また、制御部41は、バス44を介して、記憶部43に接続されている。 The control unit 41 can connect to the network N3, the network N4, and the network N5 via the communication I/F 42 connected to the bus 44 . Also, the control unit 41 is connected to the storage unit 43 via the bus 44 .

記憶部43には、会員マスタを記憶・管理するための会員マスタ管理領域(図示せず)の他、店舗を運営する各種企業の電子レシートデータを一括に記憶するための電子レシート管理領域43aが確保されている。より詳細には、電子レシート管理領域43aは、店舗を運営する各種企業の電子レシートデータを会員毎に管理する。 The storage unit 43 has a member master management area (not shown) for storing and managing a member master, and an electronic receipt management area 43a for collectively storing electronic receipt data of various companies that operate the store. Secured. More specifically, the electronic receipt management area 43a manages electronic receipt data of various companies that operate stores for each member.

電子レシートは、会員コード、企業コード(店舗を運営する企業の識別コード)、店舗コード、POS端末1のPOSナンバー、レシートナンバー、商品販売データ(日時データを含む)などを含んでいる。したがって、例えば消費財メーカーP4等は、当該メーカーに関連する一意な購入商品の証明情報を、この電子レシートデータから特定条件の下(例えば、店舗を運営する特定の企業限定、特定の地域限定、特定の時間限定等)に取得することが可能になる。なお、消費財メーカーP4は、食料品、飲料、衣類、化粧品、薬品、生活雑貨などのメーカーである。 The electronic receipt includes a member code, company code (identification code of the company that operates the store), store code, POS number of the POS terminal 1, receipt number, merchandise sales data (including date and time data), and the like. Therefore, for example, the consumer goods maker P4 or the like can obtain unique proof information of purchased products related to the maker from this electronic receipt data under specific conditions (for example, limited to a specific company operating a store, limited to a specific region, It will be possible to obtain it for a specific time limit, etc.). The consumer goods maker P4 is a maker of foodstuffs, beverages, clothes, cosmetics, medicines, household goods, and the like.

また、記憶部43は、所望の商品(商品コード)、会員(会員コード)、企業(企業コード)、店舗(店舗コード)に対応付けて各種の付加情報を付加情報管理領域43bに記憶する。ここで、付加情報とは、例えば、所望の商品情報及び特定条件(例えば、店舗を運営する特定の企業、特定の地域、特定の店舗、特定の時間等)に対応付けられるキャンペーンにかかるキャンペーン情報等である。付加情報は、例えば企業のキャンペーンに関連付けられたホームページにリンクするURL、企業のCMに関連付けられたホームページにリンクするURL、企業のクーポンにリンクするURLなどのアクセス情報を含む。 The storage unit 43 also stores various types of additional information in the additional information management area 43b in association with the desired product (product code), member (membership code), company (company code), and store (store code). Here, the additional information is, for example, campaign information related to campaigns associated with desired product information and specific conditions (e.g., a specific company that operates a store, a specific region, a specific store, a specific time, etc.). etc. The additional information includes, for example, access information such as a URL linking to a homepage associated with a company's campaign, a URL linking to a homepage associated with a company's CM, and a URL linking to a company's coupon.

また、記憶部43は、会員マスタを会員マスタ領域で管理するための会員管理プログラム(図示せず)の他、各企業の電子レシートデータ及び付加情報を電子レシート管理領域43a及び付加情報管理領域43bで管理するための電子レシート管理プログラム43cを記憶する。また、記憶部43は、電子レシートデータ及び所望の商品の付加情報を携帯端末7へ送信するための情報送信プログラム43dを記憶する。なお、会員マスタ管理領域、電子レシート管理領域43a及び付加情報管理領域43bは、図1で示したデータベースDBに対応する。 The storage unit 43 stores the electronic receipt data and additional information of each company in an electronic receipt management area 43a and an additional information management area 43b, in addition to a member management program (not shown) for managing the member master in the member master area. stores an electronic receipt management program 43c for management by The storage unit 43 also stores an information transmission program 43 d for transmitting the electronic receipt data and the additional information of the desired product to the portable terminal 7 . The member master management area, the electronic receipt management area 43a, and the additional information management area 43b correspond to the database DB shown in FIG.

次に、図6のメモリマップを用いて、電子レシート管理サーバの電子レシート管理領域43aについて説明する。 Next, the electronic receipt management area 43a of the electronic receipt management server will be described using the memory map of FIG.

図6において、電子レシート管理領域43aは、レシート番号部43a1と、各レシート番号部43a1に対応して複数の電子レシートデータ記憶部43a2~43anを備えている。図6の例では、電子レシートデータ記憶部43a2と電子レシートデータ記憶部43a3と電子レシートデータ記憶部43a4の3個の電子レシートデータ記憶部を示している。電子レシートデータ記憶部43a2は、電子レシートデータ部43a21と表示許可フラグ部43a22を備えている。また、電子レシートデータ記憶部43a3は、電子レシートデータ部43a31と表示許可フラグ部43a32を備えている。電子レシートデータ記憶部43a4は、電子レシートデータ部43a41と表示許可フラグ部43a42を備えている。 In FIG. 6, the electronic receipt management area 43a includes a receipt number portion 43a1 and a plurality of electronic receipt data storage portions 43a2 to 43an corresponding to each receipt number portion 43a1. In the example of FIG. 6, three electronic receipt data storage units, an electronic receipt data storage unit 43a2, an electronic receipt data storage unit 43a3, and an electronic receipt data storage unit 43a4, are shown. The electronic receipt data storage section 43a2 includes an electronic receipt data section 43a21 and a display permission flag section 43a22. The electronic receipt data storage section 43a3 also includes an electronic receipt data section 43a31 and a display permission flag section 43a32. The electronic receipt data storage section 43a4 includes an electronic receipt data section 43a41 and a display permission flag section 43a42.

レシート番号部43a1は、すでに電子レシートデータを生成したレシート番号を記憶している。まだ記憶されていないレシート番号を受信すると、レシート番号部43a1の未記憶領域に新たなレシート番号が記憶される。 The receipt number section 43a1 stores the receipt number for which the electronic receipt data has already been generated. When a receipt number that has not yet been stored is received, a new receipt number is stored in the unstored area of the receipt number section 43a1.

電子レシートデータ部43a21と電子レシートデータ部43a31は、レシート番号部43a1に記憶されたレシート番号に対応して、それぞれ異なる電子レシートデータを記憶している。電子レシートデータ部43a31には、未だ電子レシートデータを記憶していない場合もある。 The electronic receipt data section 43a21 and the electronic receipt data section 43a31 store different electronic receipt data corresponding to the receipt number stored in the receipt number section 43a1. The electronic receipt data section 43a31 may not yet store the electronic receipt data.

表示許可フラグ部43a22と表示許可フラグ部43a32は、電子レシートデータ部43a21と電子レシートデータ部43a31に記憶された電子レシートデータを携帯端末7に表示可能か否かを示すフラグを記憶する。記憶されたフラグが「1」の場合は、制御部41は、当該電子レシートは携帯端末7に表示可能に制御し、記憶されたフラグが「0」の場合は、制御部41は、当該電子レシートデータは携帯端末7に表示不可に制御する。 The display permission flag portion 43a22 and the display permission flag portion 43a32 store a flag indicating whether or not the electronic receipt data stored in the electronic receipt data portion 43a21 and the electronic receipt data portion 43a31 can be displayed on the portable terminal 7 or not. When the stored flag is "1", the control unit 41 controls the electronic receipt to be displayed on the mobile terminal 7, and when the stored flag is "0", the control unit 41 controls the electronic receipt. Receipt data is controlled so that it cannot be displayed on the mobile terminal 7 .

あるレシート番号と当該レシート番号に対応した電子レシートデータを電子レシートサーバ3から受信した場合、当該レシート番号が初めてのレシート番号であると、当該レシート番号をレシート番号部43a1に記憶するとともに、受信した電子レシートデータを対応する電子レシートデータ部43a21に記憶する。そして、電子レシートデータ部43a21に対応した表示許可フラグ部43a22にフラグを「1」を記憶する。この場合、電子レシートデータ部43a21に記憶された電子レシートデータは、携帯端末7に表示可能である。 When a certain receipt number and electronic receipt data corresponding to the receipt number are received from the electronic receipt server 3, if the receipt number is the first receipt number, the receipt number is stored in the receipt number section 43a1 and the received receipt number is stored. The electronic receipt data is stored in the corresponding electronic receipt data section 43a21. Then, the flag "1" is stored in the display permission flag section 43a22 corresponding to the electronic receipt data section 43a21. In this case, the electronic receipt data stored in the electronic receipt data section 43 a 21 can be displayed on the mobile terminal 7 .

次に、同じレシート番号に対応した新たな電子レシートデータを受信した場合、表示許可フラグ部43a22に記憶されたフラグを「0」に変更するとともに、新たに受信した電子レシートデータを、当該レシート番号に対応した電子レシートデータ部43a31に記憶する。そして、電子レシートデータ部43a31に対応した表示許可フラグ部43a32にフラグを「1」を記憶する。この場合、電子レシートデータ部43a21に記憶された電子レシートデータは、携帯端末7に表示不可である。一方、電子レシートデータ部43a31に記憶された電子レシートデータは、携帯端末7に表示可能である。 Next, when new electronic receipt data corresponding to the same receipt number is received, the flag stored in the display permission flag section 43a22 is changed to "0", and the newly received electronic receipt data is transferred to the receipt number. is stored in the electronic receipt data section 43a31 corresponding to . Then, the flag "1" is stored in the display permission flag section 43a32 corresponding to the electronic receipt data section 43a31. In this case, the electronic receipt data stored in the electronic receipt data section 43 a 21 cannot be displayed on the mobile terminal 7 . On the other hand, the electronic receipt data stored in the electronic receipt data section 43 a 31 can be displayed on the portable terminal 7 .

次に、携帯端末7の構成を、図7のブロック図を用いて説明する。図7に示すように、携帯端末7は、各種演算や携帯端末7の各部を統括的に制御する制御部71を備えている。制御部71は、CPU、各種プログラムやデータを記憶するROM、各種プログラムを一時的に記憶したり各種データを書き換え自在に記憶するRAM、現在の日時を計時するRTC部等によって構成されるコンピュータである。 Next, the configuration of the mobile terminal 7 will be described using the block diagram of FIG. As shown in FIG. 7 , the mobile terminal 7 includes a control section 71 that controls various calculations and each section of the mobile terminal 7 . The control unit 71 is a computer composed of a CPU, a ROM for storing various programs and data, a RAM for temporarily storing various programs and rewritably storing various data, an RTC unit for keeping the current date and time, and the like. be.

操作部72は、バス76を介して表示部73に接続されている。操作部72は、ユーザ(顧客)が操作入力を行うための各種の操作キーや、ポインティングデバイスを有している。表示部73は、例えば液晶ディスプレイ等であり、後述する電子レシートデータ等の各種情報を表示する。なお、表示部73をタッチパネル構成としてもよく、この場合、タッチパネルは操作部72として機能する。 The operation unit 72 is connected to the display unit 73 via the bus 76 . The operation unit 72 has various operation keys and a pointing device for the user (customer) to perform operation input. The display unit 73 is, for example, a liquid crystal display, and displays various information such as electronic receipt data, which will be described later. Note that the display unit 73 may have a touch panel configuration, and in this case, the touch panel functions as the operation unit 72 .

また、制御部71は、バス76を介して通信I/F74に接続されており、この通信I/F74を介してネットワークN5に接続することが可能となっている。なお、通信I/F74を介して、店舗内ネットワークN1に接続可能な構成としてもよい。 Moreover, the control part 71 is connected to communication I/F74 via the bus|bath 76, and it is possible to connect to the network N5 via this communication I/F74. In addition, it is good also as a structure connectable with the network N1 in a store via communication I/F74.

また、制御部71は、バス76を介して、記憶部75に接続されている。記憶部75は、Web上に公開されている各種情報(コンテンツ)を閲覧するためのWebブラウザの他、電子レシート管理サーバ4から電子レシートデータを受け取るための電子レシート対応プログラム75aと、受け取ったレシートデータを閲覧するための電子レシート閲覧プログラム75bとを記憶する。 Also, the control unit 71 is connected to a storage unit 75 via a bus 76 . The storage unit 75 includes a Web browser for browsing various information (contents) published on the Web, an electronic receipt support program 75a for receiving electronic receipt data from the electronic receipt management server 4, and a received receipt and an electronic receipt viewing program 75b for viewing data.

次に、本実施形態のシステムを構成する各部の制御処理について説明する。 Next, the control processing of each unit constituting the system of this embodiment will be described.

まず、POS端末1の制御部11がレシートデータ処理プログラム17aに従って制御することにより実行される電子レシート処理について、図8~図16を参照しつつ説明する。 First, the electronic receipt processing executed by the control unit 11 of the POS terminal 1 according to the receipt data processing program 17a will be described with reference to FIGS. 8 to 16. FIG.

図8は、POS端末1の機能構成を示す機能ブロック図である。POS端末1は、制御部11が、電子レシートデータ送信手段111、変更レシートデータ生成手段112、制御手段113、訂正レシートデータ生成手段114、判断手段115を実現する。実際のハードウェアとしては制御部11のCPUが記憶部17からレシートデータ処理プログラム17aを読み出して実行することにより、電子レシートデータ送信手段111、変更レシートデータ生成手段112、制御手段113、訂正レシートデータ生成手段114、判断手段115を実現するようになっている。 FIG. 8 is a functional block diagram showing the functional configuration of the POS terminal 1. As shown in FIG. In the POS terminal 1 , the control unit 11 implements electronic receipt data transmission means 111 , modified receipt data generation means 112 , control means 113 , correction receipt data generation means 114 and determination means 115 . As actual hardware, the CPU of the control unit 11 reads out the receipt data processing program 17a from the storage unit 17 and executes it to generate electronic receipt data transmission means 111, changed receipt data generation means 112, control means 113, and corrected receipt data. Generating means 114 and determining means 115 are realized.

電子レシートデータ送信手段111は、決済処理した商品の取引情報に基づいて生成したレシートデータから電子レシートデータを生成して外部装置である電子レシートサーバ3に送信する機能を有する。 The electronic receipt data transmission means 111 has a function of generating electronic receipt data from receipt data generated based on transaction information of products for which settlement processing has been performed, and transmitting the generated electronic receipt data to the electronic receipt server 3, which is an external device.

変更レシートデータ生成手段112は、取引情報の変更に伴い、当該変更についての新たな変更レシートデータを生成する機能を有する。 The changed receipt data generating means 112 has a function of generating new changed receipt data for the change in accordance with the change of the transaction information.

制御手段113は、変更レシートデータ生成手段112によって生成された変更レシートデータに顧客を特定する顧客特定情報である会員コードが含まれている場合、変更レシートデータから変更電子レシートデータを生成して外部装置に送信するとともに、変更電子レシートデータに基づく印字データを印字部に出力する機能を有する。 If the changed receipt data generated by the changed receipt data generating means 112 contains a membership code, which is customer identification information that identifies a customer, the control means 113 generates changed electronic receipt data from the changed receipt data and sends it to the outside. It has a function of transmitting to the apparatus and outputting print data based on the changed electronic receipt data to the printing unit.

訂正レシートデータ生成手段114は、取引情報の変更に伴う変更後の新たな訂正レシートデータを生成する機能を有する。 The corrected receipt data generating means 114 has a function of generating new corrected receipt data after the change associated with the change of the transaction information.

判断手段115は、変更レシートデータに顧客特定情報である会員コードが含まれているか否かを判断する機能を有する。 The judging means 115 has a function of judging whether or not the changed receipt data contains a membership code, which is customer identification information.

図9は、レシートデータの一例を模式的に示す図である。ここで、レシートデータは、非構造化形式のテキストデータ等であって、印字部13での印字に用いられるものである。図9に示すように、レシートデータは、上述した商品販売データD1や会員コードD2の要素を含んでいる。ここで、商品販売データD1は、決済の対象となった商品の商品名(商品コード)とその金額、各商品の合計金額、顧客が支払った預かり金額、お釣り金額等を有する。 FIG. 9 is a diagram schematically showing an example of receipt data. Here, the receipt data is non-structured text data or the like, and is used for printing by the printing unit 13 . As shown in FIG. 9, the receipt data includes the elements of the merchandise sales data D1 and the membership code D2 described above. Here, the merchandise sales data D1 includes the merchandise name (merchandise code) of the merchandise to be settled, the amount thereof, the total amount of each merchandise, the deposit amount paid by the customer, the amount of change, and the like.

また、レシートデータは、店舗を運営する企業を示す企業コード(企業名)D3、店舗コード(店舗名)D4、店舗の電話番号D5、住所D6、取引日時D7、取引ナンバー(レシートナンバー)D8、レジナンバーD9、担当者名D10等の要素を含む。なお、レシートデータに含まれる要素は、図9の例に限らず、業種・業態コード等の他の要素を含んでもよいし、電話番号D5や住所D6等の要素を取り除いてもよい。 The receipt data includes a company code (company name) D3 indicating the company that operates the store, a store code (store name) D4, a store phone number D5, an address D6, a transaction date and time D7, a transaction number (receipt number) D8, It includes elements such as the register number D9 and the name of the person in charge D10. Note that the elements included in the receipt data are not limited to the example shown in FIG. 9, and may include other elements such as the industry/business code, or the elements such as the telephone number D5 and the address D6 may be removed.

また、図10は、電子レシートデータの一例を模式的に示す図である。図10に示すように、電子レシートデータは、XMLやCSV等の構造化形式のデータ(構造化文書)で構成される。なお、図10では、図9に示したレシートデータの各要素(D1~D10)を、XML形式に変換した例を示している。 FIG. 10 is a diagram schematically showing an example of electronic receipt data. As shown in FIG. 10, the electronic receipt data is structured data (structured document) such as XML and CSV. Note that FIG. 10 shows an example in which each element (D1 to D10) of the receipt data shown in FIG. 9 is converted into XML format.

レシートデータから電子レシートデータへの変換は、レシートデータスキーマ17cに記述された変換規則に基づき行われる。具体的に、レシートデータスキーマ17cには、レシートデータを構成する所定の要素と、その要素の属性を示す属性情報(タグ等)とが定義されている。制御部11は、レシートデータの各要素を対応する属性情報を用いて構造化することで、図10に示すような構造化形式の電子レシートデータを生成する。このような、構造化形式の電子レシートデータとすることで、当該電子レシートデータに含まれる要素を効率的に利用することができるため、データ管理の上で様々な利点を得ることができる。 Conversion from receipt data to electronic receipt data is performed based on conversion rules described in the receipt data schema 17c. Specifically, the receipt data schema 17c defines predetermined elements constituting receipt data and attribute information (tags, etc.) indicating attributes of the elements. The control unit 11 generates structured electronic receipt data as shown in FIG. 10 by structuring each element of the receipt data using the corresponding attribute information. By using the electronic receipt data in such a structured format, the elements included in the electronic receipt data can be efficiently used, so various advantages can be obtained in terms of data management.

図11は、POS端末1における電子レシートデータ処理の流れを示すフローチャートである。まず、POS端末1の制御部11は、コード読取部15により、商品に付されたコードシンボル(商品コード)又は携帯端末7に表示されたコードシンボル(会員コード)が読み取られたか否かを判定する(ステップS11)。 FIG. 11 is a flow chart showing the flow of electronic receipt data processing in the POS terminal 1. As shown in FIG. First, the control unit 11 of the POS terminal 1 determines whether or not the code symbol (product code) attached to the product or the code symbol (member code) displayed on the mobile terminal 7 is read by the code reading unit 15. (step S11).

コードシンボルが読み取られたと判定すると(ステップS11;Yes)、制御部11は、その読み取りにより入力した情報が、商品コードかを判断する(ステップS12)。 When it is determined that the code symbol has been read (step S11; Yes), the control section 11 determines whether the information input by the reading is a product code (step S12).

ステップS12で、商品コードであると判断された場合(ステップS12;Yes)、制御部11は、その商品コードで特定される商品について、商品データファイルから商品データを読み出すと、この商品データが含む単価に基づいて決済金額を算出する商品販売データ処理を実行する(ステップS13)。次いで、制御部11は、商品販売データ処理の際に処理された商品販売データを、データ記憶部17dに記憶する(ステップS14)。 In step S12, if it is determined to be a product code (step S12; Yes), the control unit 11 reads product data from the product data file for the product specified by the product code. Merchandise sales data processing for calculating the settlement amount based on the unit price is executed (step S13). Next, the control unit 11 stores the processed product sales data in the data storage unit 17d (step S14).

また、ステップS12で商品コードではないと判断した場合、制御部11は、会員コードが入力されたか否かを判断する(ステップS15)。会員コードの入力であると判断した場合(ステップS15;Yes)、制御部11は、その会員コードをデータ記憶部17dに記憶する(ステップS16)。なお、会員コードが入力されていないと判断した場合は(ステップS15;No)、制御部11は、ステップS12に戻って待機する。 If it is determined in step S12 that it is not a product code, the control section 11 determines whether or not a membership code has been input (step S15). If it is determined that the input is a membership code (step S15; Yes), the control section 11 stores the membership code in the data storage section 17d (step S16). If it is determined that the membership code has not been input (step S15; No), the control section 11 returns to step S12 and waits.

ここで、会員コードをPOS端末1に入力するためには、例えば、会員である顧客が携帯端末7の表示部73に会員コード等を含むコードシンボルを表示し、店員または会員である顧客自らがPOS端末1のコード読取部15で読み取る。なお、制御部11は、一取引の間に入力される会員コードが唯一となるよう排他処理等を施す形態としてもよい。 Here, in order to input the member code to the POS terminal 1, for example, the customer who is the member displays a code symbol including the member code etc. on the display unit 73 of the mobile terminal 7, and the clerk or the customer who is the member himself/herself The code reading unit 15 of the POS terminal 1 reads it. Note that the control unit 11 may perform exclusion processing or the like so that only one membership code is entered during one transaction.

続いて、ステップS17において、制御部11は、締めキー121の操作等により締め処理の開始が指示されたか否かを判断する(ステップS17)。締め処理の開始が指示されない場合(ステップS17;No)、ステップS11に戻る。締め処理の開始が指示された場合(ステップS17;Yes)、制御部11は、データ記憶部17dに記憶した商品販売データや会員コードに基づいて、レシートデータを生成する(ステップS18)。 Subsequently, in step S17, the control unit 11 determines whether or not an instruction to start closing processing has been given by operating the closing key 121 or the like (step S17). If the start of closing processing is not instructed (step S17; No), the process returns to step S11. When the start of closing processing is instructed (step S17; Yes), the control section 11 generates receipt data based on the merchandise sales data and membership code stored in the data storage section 17d (step S18).

次いで制御部11は、生成したレシートデータに基づいて、ジャーナルデータを生成する(ステップS19)。また生成したジャーナルデータをデータ記憶部17dに記憶する(ステップS19)。 Next, the control unit 11 generates journal data based on the generated receipt data (step S19). Also, the generated journal data is stored in the data storage unit 17d (step S19).

次に制御部11は、レシートデータに会員コードが含まれているか否かを判断する(ステップS20)。含まれていないと判断した場合(ステップS20;No)、制御部11は、一取引分のレシートデータを印字部13に出力することで、当該レシートデータを出力し(ステップS23)、本処理を終了する。これにより、印字部13では、レシートデータを用紙に印字した後、その用紙を切断することで、一取引分の紙レシートを印字出力する。 Next, the control unit 11 determines whether or not the membership code is included in the receipt data (step S20). If it is determined that it is not included (step S20; No), the control unit 11 outputs the receipt data for one transaction to the printing unit 13 (step S23), and the present process is executed. finish. As a result, the printing unit 13 prints out the paper receipt for one transaction by printing the receipt data on the paper and then cutting the paper.

一方、レシートデータに会員コードが含まれる場合(ステップS20;Yes)、制御部11は、非構造化形式であるレシートデータのデータ形式を、構造化形式に変換することで電子レシートデータを生成する(ステップS21)。そして、制御部11(電子レシートデータ送信手段111)は、通信I/F16を介して生成した電子レシートデータを、当該レシートのレシート番号とともに電子レシートサーバ3に送信し(ステップS22)、本処理を終了する。なお、制御部11は、レシートデータを、同様にレシート番号とともに、電子レシートサーバ3に送信する。電子レシートサーバ3は、受信したレシートデータと電子レシートデータを、レシート番号に対応付けて記憶する。 On the other hand, if the receipt data contains a membership code (step S20; Yes), the control unit 11 converts the non-structured format of the receipt data into a structured format to generate electronic receipt data. (Step S21). Then, the control unit 11 (electronic receipt data transmitting means 111) transmits the generated electronic receipt data through the communication I/F 16 together with the receipt number of the receipt to the electronic receipt server 3 (step S22), and executes this process. finish. Note that the control unit 11 similarly transmits the receipt data together with the receipt number to the electronic receipt server 3 . The electronic receipt server 3 stores the received receipt data and electronic receipt data in association with the receipt number.

また、ステップS11において、コードシンボルが読み取られていないと判断した場合は(ステップS11;No)、制御部11は、特定のキーとして、一括取消キー122、再発行キー123、返品キー124、レジマイナスキー125、一部取消キー126のいずれかのキーが操作されたか否かを判断する(ステップS24)。これらのキーが操作されたと判断する(ステップS24;Yes)と、制御部11は、各キーの特定指示コードを入力し、各キーの操作に伴う処理(図12、図13、図14、図16、図17で説明)を実行する(ステップS25)。 Further, when it is determined in step S11 that the code symbol has not been read (step S11; No), the control unit 11 selects the collective cancel key 122, the reissue key 123, the return key 124, the register key as specific keys. It is determined whether or not either the minus key 125 or the partial cancel key 126 has been operated (step S24). When it is determined that these keys have been operated (step S24; Yes), the control unit 11 inputs the specific instruction code of each key, and performs the processing associated with the operation of each key (FIGS. 12, 13, 14, and 14). 16 and FIG. 17) is executed (step S25).

図12は、制御部11が、ステップS24で一括取消キー122が操作されたと判断したときのステップS25の制御処理を詳細に示すフローチャートである。 FIG. 12 is a flowchart showing in detail the control processing in step S25 when the control section 11 determines in step S24 that the collective cancel key 122 has been operated.

図12において、制御部11は、一括取消キー122が操作された際、一括取消キー122が操作されたことを示すキーコードである一括取消コードを入力する(ステップS41)。すると制御部11は、データ記憶部17dに商品販売データが存在するか否かを判断する(ステップS42)。商品販売データは、ステップS13で商品販売データ処理されたデータである。商品販売データが存在しないと判断した場合は(ステップS42;No)、制御部11は、一括取消キー122の操作が無効であるとしてエラー処理を実行し(ステップS49)、処理を終了する。 In FIG. 12, when the batch cancel key 122 is operated, the control unit 11 inputs a batch cancellation code, which is a key code indicating that the batch cancellation key 122 has been operated (step S41). Then, the control section 11 determines whether or not there is product sales data in the data storage section 17d (step S42). The product sales data is data that has undergone product sales data processing in step S13. If it is determined that the product sales data does not exist (step S42; No), the control section 11 determines that the operation of the batch cancel key 122 is invalid and executes error processing (step S49), and terminates the process.

商品販売データが存在すると判断した場合は(ステップS42;Yes)、制御部11は、一括取消を実行するための実行キー(図示せず)が操作されたか否かを判断する(ステップS43)。操作されるまで待機し(ステップS43;No)、実行キーが操作されたと判断した場合は(ステップS43;Yes)、制御部11は、ステップS13で商品販売データ処理されたデータについて、今までの取引を中止して、なかったものとする一括取消処理を実行する(ステップS44)。そして制御部11は、一括取消した商品販売データや、データ記憶部17dに会員コードが記憶されている場合は当該会員コードに基づいて、例えば「一括取消」のヘッダー文字が含まれる一括取消レシートデータ(変更レシートデータ)を生成する(ステップS45)。 If it is determined that there is product sales data (step S42; Yes), the control section 11 determines whether or not an execution key (not shown) for collective cancellation has been operated (step S43). It waits until it is operated (step S43; No), and when it is determined that the execution key has been operated (step S43; The transaction is canceled, and collective cancellation processing is executed assuming that there was no transaction (step S44). Then, the control unit 11 stores the batch-cancelled product sales data, or, if the membership code is stored in the data storage unit 17d, the batch-cancellation receipt data including the header characters of, for example, "batch cancellation" based on the membership code. (Changed receipt data) is generated (step S45).

次に制御部11は、生成した一括取消レシートデータに会員コードが含まれているか否かを判断する(ステップS46)。含まれていないと判断した場合は(ステップS46;No)、一括取消レシートデータに基づいて、印字部13で「一括取消」のヘッダー文字を印字した店控え用のレシートを発行する(ステップS47)。 Next, the control unit 11 determines whether or not the generated batch cancellation receipt data contains a membership code (step S46). If it is determined that it is not included (step S46; No), based on the batch cancellation receipt data, the printing unit 13 issues a receipt for shop copy with the header characters "batch cancellation" printed (step S47). .

一方、生成した一括取消レシートデータに会員コードが含まれていると判断した場合は(ステップS46;Yes)、制御部11は、生成した一括取消レシートデータに基づいた一括取消電子レシートデータの送信を禁止する(ステップS48)。この場合、一括取消電子レシートデータを生成して、生成した一括取消電子レシートデータを送信を禁止してもよいし、一括取消電子レシートデータの生成を禁止することで一括取消電子レシートデータの送信を禁止してもよい。そして制御部11は、ステップS47を実行する。 On the other hand, if it is determined that a membership code is included in the generated batch cancellation receipt data (step S46; Yes), the control unit 11 sends batch cancellation electronic receipt data based on the generated batch cancellation receipt data. prohibited (step S48). In this case, the collective cancellation electronic receipt data may be generated and the transmission of the generated collective cancellation electronic receipt data may be prohibited. may be prohibited. Then, the control unit 11 executes step S47.

実施形態では、原則処理として、会員コードがふくまれているレシートデータについて電子レシートデータを生成し、生成した電子レシートデータを電子レシートサーバ3に送信する。しかしながら、一括取消キー122が操作された場合は、一括取消レシートデータに会員コードが含まれていると判断しても、一括取消電子レシートデータの送信を禁止している。 In the embodiment, as a principle process, electronic receipt data is generated for receipt data containing a membership code, and the generated electronic receipt data is transmitted to the electronic receipt server 3 . However, when the collective cancellation key 122 is operated, even if it is determined that the collective cancellation receipt data contains the membership code, transmission of the collective cancellation electronic receipt data is prohibited.

図13は、制御部11が、ステップS24で再発行キー123が操作されたと判断したときのステップS25の制御処理を詳細に示すフローチャートである。 FIG. 13 is a flow chart showing in detail the control processing in step S25 when the control section 11 determines in step S24 that the reissue key 123 has been operated.

図13において、制御部11は、再発行キー123が操作された際、再発行キー123が操作されたことを示すキーコードである再発行コードを入力する(ステップS51)。次に制御部11は、レシート番号が入力されたか否かを判断する(ステップS52)。レシート番号は、顧客に手渡されたレシート、または顧客端末に表示されている電子レシートデータに記載されており、店員が、このレシート番号を読み取って操作部12から入力する。 In FIG. 13, when the reissue key 123 is operated, the control unit 11 inputs a reissue code, which is a key code indicating that the reissue key 123 has been operated (step S51). Next, the control section 11 determines whether or not the receipt number has been input (step S52). The receipt number is written on the receipt handed to the customer or on the electronic receipt data displayed on the customer terminal.

レシート番号が入力されるまで待機し(ステップS52;No)、レシート番号が入力されたと判断した場合は(ステップS52;Yes)、制御部11は、入力されたレシート番号に対応したジャーナルデータをデータ記憶部17dから読み出す(ステップS53)。次に制御部11は、再発行の処理を実行するための実行キーが操作されたか否かを判断する(ステップS54)。 It waits until the receipt number is input (step S52; No), and if it determines that the receipt number has been input (step S52; Yes), the control unit 11 stores the journal data corresponding to the input receipt number. Read from the storage unit 17d (step S53). Next, the control unit 11 determines whether or not the execution key for executing the reissue process has been operated (step S54).

操作されるまで待機し(ステップS54;No)、操作されたと判断した場合は(ステップS54;Yes)、制御部11は、読み出されたジャーナルデータに基づいて、レシートの再発行処理を実行する(ステップS55)。そして制御部11は、レシートの再発行処理に伴い、例えば「再発行」のヘッダー文字が含まれる再発行レシートデータ(変更レシートデータ)を生成する(ステップS56)。 It waits until it is operated (step S54; No), and when it is determined that it has been operated (step S54; Yes), the control unit 11 executes receipt reissue processing based on the read journal data. (Step S55). Then, the control unit 11 generates reissued receipt data (changed receipt data) including, for example, the header characters of "reissued" along with the receipt reissue processing (step S56).

次に制御部11は、生成した再発行レシートデータに会員コードが含まれているか否かを判断する(ステップS57)。含まれていないと判断した場合は(ステップS57;No)、再発行レシートデータに基づいて印字部13で、「再発行」のヘッダー文字を印字した顧客に手渡すレシートを発行する(ステップS58)。 Next, the control unit 11 determines whether or not the generated reissued receipt data contains a membership code (step S57). If it is determined that it is not included (step S57; No), the printing unit 13 prints the header characters of "reissue" based on the reissue receipt data and issues a receipt to be handed to the customer (step S58).

一方、生成した再発行レシートデータに会員コードが含まれていると判断した場合は(ステップS57;Yes)、制御部11は、生成した再発行レシートデータに基づいた再発行電子レシートデータの送信を禁止する(ステップS59)。この場合、再発行電子レシートデータを生成して、再発行電子レシートデータの送信を禁止してもよいし、再発行電子レシートデータの生成を禁止することで再発行電子レシートデータの送信を禁止してもよい。そして制御部11は、ステップS58を実行する。 On the other hand, if it is determined that the generated reissued receipt data contains the membership code (step S57; Yes), the control unit 11 transmits the reissued electronic receipt data based on the generated reissued receipt data. prohibited (step S59). In this case, the reissued electronic receipt data may be generated to prohibit the transmission of the reissued electronic receipt data, or the transmission of the reissued electronic receipt data may be prohibited by prohibiting the generation of the reissued electronic receipt data. may Then, the control unit 11 executes step S58.

このように、実施形態によれば、一括取消処理やレシートの再発行処理が実行されたとき、変更されたレシートデータに会員コードが含まれている場合は、電子レシートデータの送信を禁止したため、変更されたレシートデータを電子レシートデータとして送信する必要がないレシートデータは、顧客に送信しない。 As described above, according to the embodiment, when batch cancellation processing or receipt reissue processing is executed, if the membership code is included in the changed receipt data, transmission of the electronic receipt data is prohibited. Receipt data that does not need to be changed as electronic receipt data is not sent to the customer.

また、実施形態によれば、電子レシートデータの送信を禁止したレシートデータを、印字部13で印字するため、変更したレシートデータのレシートを店控え用とすることができる。 Further, according to the embodiment, the receipt data for which the transmission of electronic receipt data is prohibited is printed by the printing unit 13, so that the receipt of the changed receipt data can be used as a store copy.

また、実施形態によれば、変更されたレシートデータに会員コードが含まれている場合は、レシートデータを、印字部13で印字するため、変更したレシートデータのレシートを店控え用とすることができる。 Further, according to the embodiment, when the membership code is included in the changed receipt data, the receipt data is printed by the printing unit 13, so that the receipt of the changed receipt data can be used as a store copy. can.

なお、上述の一括取消キー122、再発行キー123を操作以外に、例えば店控え用のレシート発行キーが操作された場合、また、店員が商品登録処理を実行し、顧客自身が決済処理を実行するハーフセルフ処理において、決済処理以前に呼び戻すキーが操作された場合も、制御部11は、同様の処理(すなわち、印字部13への出力を実行し、電子レシートデータの送信を禁止する処理)を実行する。 In addition to the operation of the batch cancel key 122 and the reissue key 123 described above, for example, when the receipt issuance key for shop copy is operated, the store clerk executes the product registration process, and the customer himself/herself executes the payment process. In the half-self processing, even if the recall key is operated before the payment processing, the control unit 11 performs similar processing (that is, processing to execute output to the printing unit 13 and prohibit transmission of electronic receipt data). to run.

図14は、制御部11が、ステップS24で返品キー124が操作されたと判断したときのステップS25の制御処理を詳細に示すフローチャートである。 FIG. 14 is a flowchart showing in detail the control process in step S25 when the control section 11 determines in step S24 that the return key 124 has been operated.

図14において、制御部11は、返品キー124が操作された際、返品キー124が操作されたことを示すキーコードである返品コードを入力する(ステップS61)。そして制御部11は、レシート番号が入力されたか否かを判断する(ステップS62)。レシート番号は、顧客に手渡されたレシート、または顧客端末に表示されている電子レシートデータに記載されており、店員が、このレシート番号を読み取って操作部12から入力する。 In FIG. 14, when the return key 124 is operated, the control unit 11 inputs a return code, which is a key code indicating that the return key 124 has been operated (step S61). Then, the control section 11 determines whether or not the receipt number has been input (step S62). The receipt number is written on the receipt handed to the customer or on the electronic receipt data displayed on the customer terminal.

制御部11は、レシート番号が入力されるまで待機し(ステップS62;No)、レシート番号が入力されたと判断した場合は(ステップS62;Yes)、制御部11は、入力されたレシート番号に対応したジャーナルデータをデータ記憶部17dから読み出す(ステップS63)。 The control unit 11 waits until the receipt number is input (step S62; No), and when it determines that the receipt number has been input (step S62; Yes), the control unit 11 responds to the input receipt number. The resulting journal data is read out from the data storage unit 17d (step S63).

次に制御部11は、返品する商品の商品コードが入力されたか否かを判断する(ステップS65)。入力されるまで待機し(ステップS64;No)、商品コードが入力されたと判断した場合は(ステップS64;Yes)、制御部11は、入力された商品コードをデータ記憶部17dに記憶する(ステップS65)。 Next, the control unit 11 determines whether or not the product code of the product to be returned has been input (step S65). The control unit 11 waits until the product code is input (step S64; No), and when it is determined that the product code has been input (step S64; Yes), the control unit 11 stores the input product code in the data storage unit 17d (step S65).

次に制御部11は、実行キーが操作されたか否かを判断する(ステップS66)。操作されていないを判断した場合は(ステップS66;No)、制御部11は、ステップS64に戻り、操作されたと判断した場合は(ステップS66;Yes)、制御部11は、読み出したジャーナルデータとステップSP65で記憶した返品する商品の商品コードとから、返品処理を実行する(ステップSP67)。 Next, the control unit 11 determines whether or not the execution key has been operated (step S66). If it is determined that the control unit 11 has not operated (step S66; No), the control unit 11 returns to step S64, and if it determines that the operation has been performed (step S66; Return processing is executed from the product code of the product to be returned stored in step SP65 (step SP67).

そして制御部11(訂正レシートデータ生成手段114)は、返品処理に基づいて、ステップS64で入力された商品コードの商品販売データを除く訂正レシートデータを生成する(ステップS68)。次いで制御部11(変更レシートデータ生成手段112)は、ステップS64で入力された商品コードの商品販売データに基づいて、返品する商品販売データに対応した返品レシートデータ(変更レシートデータ)を生成する(ステップS69)。 Then, the control unit 11 (corrected receipt data generating means 114) generates corrected receipt data excluding the merchandise sales data of the merchandise code input in step S64, based on the return processing (step S68). Next, the control unit 11 (changed receipt data generating means 112) generates return receipt data (changed receipt data) corresponding to the product sales data to be returned based on the product sales data of the product code input in step S64 ( step S69).

次に制御部11(判断手段115)は、生成した訂正レシートデータおよび返品レシートデータに、会員コードが含まれているか否かを判断する(ステップS70)。 Next, the control unit 11 (determining means 115) determines whether or not the generated corrected receipt data and returned goods receipt data contain a membership code (step S70).

レシートデータに会員コードが含まれていると判断した場合(ステップS70;Yes)、制御部11(制御手段113)は、生成した訂正レシートデータに基づいて、非構造化形式であるレシートデータのデータ形式を、構造化形式に変換することで訂正電子レシートデータを生成する(ステップS71)。この際、ステップS61で入力された返品コードを付す。また制御部11(制御手段113)は、生成した返品レシートデータに基づいて、非構造化形式であるレシートデータのデータ形式を、構造化形式に変換することで返品電子レシートデータを生成する(ステップS72)。この際、ステップS61で入力された返品コードを付す。次に制御部11(制御手段113)は、生成した訂正電子レシートデータを、レシート番号を付して電子レシートサーバ3に送信する(ステップS73)。また、制御部11(制御手段113)は、生成した返品電子レシートデータを、レシート番号を付して電子レシートサーバ3に送信する(ステップS74)。 If it is determined that the membership code is included in the receipt data (step S70; Yes), the control unit 11 (control means 113), based on the generated corrected receipt data, unstructured receipt data Corrected electronic receipt data is generated by converting the format into a structured format (step S71). At this time, the return code entered in step S61 is attached. Based on the generated return receipt data, the control unit 11 (control means 113) generates return electronic receipt data by converting the data format of the receipt data, which is a non-structured format, into a structured format (step S72). At this time, the return code entered in step S61 is attached. Next, the control section 11 (control means 113) attaches the receipt number to the generated corrected electronic receipt data and transmits it to the electronic receipt server 3 (step S73). Further, the control unit 11 (control means 113) attaches a receipt number to the generated returned electronic receipt data and transmits it to the electronic receipt server 3 (step S74).

次に制御部11(制御手段113)は、生成した返品レシートデータを印字部13に出力する(ステップS75)。このようにして制御部11は、当該返品レシートデータに基づいて返品商品の商品販売データを印字した店控え用レシートを発行する。店控え用レシートには、返品された商品の商品情報と「返品」のヘッダー文字が印字される。 Next, the control section 11 (control means 113) outputs the generated return receipt data to the printing section 13 (step S75). In this manner, the control unit 11 issues a shop copy receipt on which the merchandise sales data of the returned merchandise is printed based on the returned merchandise receipt data. Product information of the returned product and header characters of "Return" are printed on the store copy receipt.

また、ステップS70において、レシートデータに会員コードが含まれていないと判断した場合は(ステップS70;No)、制御部11はステップS74の処理を実行し、当該レシートデータを印字したレシートを発行する。 If it is determined in step S70 that the membership code is not included in the receipt data (step S70; No), the control unit 11 executes the process of step S74 and issues a receipt printed with the receipt data. .

このように、返品キー124が操作された場合、制御部11は、返品処理を実行し、訂正レシートデータと返品レシートデータを生成する。そして、会員コードが含まれている場合は、自動的に訂正電子レシートデータと返品電子レシートデータを生成して、電子レシートサーバ3に送信し、かつ返品レシートデータに基づいて印字部13で印字した紙のレシートを発行する。 In this way, when the returned goods key 124 is operated, the control unit 11 executes the returned goods process and generates corrected receipt data and returned goods receipt data. When the member code is included, the corrected electronic receipt data and the returned electronic receipt data are automatically generated, transmitted to the electronic receipt server 3, and printed by the printing unit 13 based on the returned receipt data. Issue a paper receipt.

図15は、図14の返品処理によって生成された訂正電子レシートデータの一例を示す模式図である。図15の例は、図10の電子レシートデータから商品2を返品した例である。図10の電子レシートデータには、商品販売データD1として商品1、商品2、商品3を含む電子レシートデータが生成されているが、商品2が返品されたため、図15の例では、商品2は含まれない、商品1と商品3を含む新たな電子レシートデータが生成されている。 FIG. 15 is a schematic diagram showing an example of corrected electronic receipt data generated by the returned-goods processing of FIG. The example of FIG. 15 is an example of returning product 2 from the electronic receipt data of FIG. In the electronic receipt data shown in FIG. 10, electronic receipt data including product 1, product 2, and product 3 is generated as product sales data D1. New electronic receipt data including product 1 and product 3, which are not included, are generated.

図16は、制御部11が、ステップS24でレジマイナスキー125が操作されたと判断したときのステップS25の制御処理を詳細に示すフローチャートである。 FIG. 16 is a flow chart showing in detail the control process in step S25 when the control section 11 determines in step S24 that the register minus key 125 has been operated.

図16において、制御部11は、レジマイナスキー125が操作された際、レジマイナスキー125が操作されたことを示すキーコードであるレジマイナスコードを入力する(ステップS81)。そして制御部11は、レシート番号が入力されたか否かを判断する(ステップS82)。レシート番号は、顧客に手渡されたレシート、または顧客端末に表示されている電子レシートデータに記載されており、店員が、このレシート番号を読み取って操作部12から入力する。 In FIG. 16, when the register minus key 125 is operated, the control unit 11 inputs a register minus code, which is a key code indicating that the register minus key 125 has been operated (step S81). Then, the control section 11 determines whether or not the receipt number has been input (step S82). The receipt number is written on the receipt handed to the customer or on the electronic receipt data displayed on the customer terminal.

制御部11は、レシート番号が入力されるまで待機し(ステップS82;No)、レシート番号が入力されたと判断した場合は(ステップS82;Yes)、制御部11は、入力されたレシート番号で管理されているジャーナルデータをデータ記憶部17dから読み出す(ステップS83)。 The control unit 11 waits until the receipt number is input (step S82; No), and when it determines that the receipt number has been input (step S82; Yes), the control unit 11 manages the input receipt number. The stored journal data is read out from the data storage unit 17d (step S83).

次に制御部11は、実行キーが操作されたか否かを判断する(ステップS84)。操作されるまで待機し(ステップS84;No)、操作されたと判断した場合は(ステップS84;Yes)、制御部11は、ステップS83で読み出したジャーナルデータに基づいてレジマイナス処理を実行する(ステップS85)。レジマイナス処理とは、すでに成立している取引について、当該取引をキャンセルする処理である。そして制御部11(変更レシートデータ生成手段112)は、レジマイナス処理に基づいてレジマイナスレシートデータ(変更レシートデータ)を生成する(ステップS86)。 Next, the control unit 11 determines whether or not the execution key has been operated (step S84). It waits until it is operated (step S84; No), and when it is determined that it has been operated (step S84; Yes), the control unit 11 executes register minus processing based on the journal data read in step S83 (step S85). The register minus process is a process of canceling a transaction that has already been completed. Then, the control unit 11 (changed receipt data generation means 112) generates cashier minus receipt data (changed receipt data) based on the cashier minus process (step S86).

次に制御部11(判断手段115)は、生成したレジマイナスレシートデータに会員コードが含まれているか否かを判断する(ステップS87)。含まれていると判断した場合は(ステップS87;Yes)、制御部11(制御手段113)は、レジマイナスレシートデータに基づいて、非構造化形式であるレジマイナスレシートデータのデータ形式を、構造化形式に変換することでレジマイナス電子レシートデータを生成する(ステップS88)。この際、ステップS81で入力されたレジマイナスコードを付す。そして制御部11(制御手段113)は、生成したレジマイナス電子レシートデータを、レシート番号を付して電子レシートサーバ3に送信する(ステップS89)。そして制御部11(制御手段113)は、レジマイナスレシートデータを印字部13に出力して印字処理を実行し(ステップS90)、「レジマイナス」のヘッダー文字が印字された店控え用の紙のレジマイナスレシートを発行する。 Next, the control unit 11 (judgment means 115) judges whether or not the generated cash register minus receipt data contains a membership code (step S87). If it is determined that it is included (step S87; Yes), the control unit 11 (control means 113) converts the data format of the unstructured cashier minus receipt data to the structured data format based on the cashier minus receipt data. Then, the electronic receipt data is generated by converting the data into the normalized format (step S88). At this time, the register minus code input in step S81 is attached. Then, the control unit 11 (control means 113) attaches the receipt number to the generated register minus electronic receipt data and transmits it to the electronic receipt server 3 (step S89). Then, the control unit 11 (control means 113) outputs the cashier minus receipt data to the printing unit 13 to execute the printing process (step S90), and prints the paper for store copy on which the header characters "cashier minus" are printed. Issue a cash register receipt.

なお、ステップS87において、レジマイナスレシートデータに会員コードが含まれていないと判断した場合は(ステップS87;No)、制御部11は、ステップS90の処理を実行する。 If it is determined in step S87 that the membership code is not included in the register minus receipt data (step S87; No), the control section 11 executes the process of step S90.

このように、レジマイナスキー125が操作された場合、制御部11は、レジマイナス処理を実行し、レジマイナスレシートデータを生成する。そして、会員コードが含まれている場合は、自動的にレジマイナス電子レシートデータを生成して、電子レシートサーバ3に送信し、かつレジマイナスレシートデータに基づいて印字部13で印字した紙のレシートを発行する。 In this way, when the cash register key 125 is operated, the control unit 11 executes the cash register minus process to generate cash register receipt data. Then, when the member code is included, the cashier minus electronic receipt data is automatically generated, transmitted to the electronic receipt server 3, and a paper receipt printed by the printing unit 13 based on the cashier minus receipt data. to be issued.

次に、図17のフローチャートを用いて、制御部11が、ステップS24で一部取消キー126が操作されたと判断したときのステップS25の制御処理について説明する。
図17において、制御部11は、一部取消キー126が操作された際、一部取消キー126が操作されたことを示すキーコードである一部取消コードを入力する(ステップS141)。そして制御部11は、レシート番号が入力されたか否かを判断する(ステップS142)。レシート番号は、顧客に手渡されたレシート、または顧客端末に表示されている電子レシートデータに記載されており、店員が、このレシート番号を読み取って操作部12から入力する。
Next, the control processing in step S25 when the control unit 11 determines that the partial cancel key 126 has been operated in step S24 will be described with reference to the flowchart of FIG.
In FIG. 17, when the partial cancel key 126 is operated, the control unit 11 inputs a partial cancel code, which is a key code indicating that the partial cancel key 126 has been operated (step S141). Then, the control section 11 determines whether or not the receipt number has been input (step S142). The receipt number is written on the receipt handed to the customer or on the electronic receipt data displayed on the customer terminal.

制御部11は、レシート番号が入力されるまで待機し(ステップS142;No)、レシート番号が入力されたと判断した場合は(ステップS1422;Yes)、制御部11は、入力されたレシート番号で管理されているジャーナルデータをデータ記憶部17dから読み出す(ステップS143)。 The control unit 11 waits until the receipt number is input (step S142; No), and when it determines that the receipt number has been input (step S1422; Yes), the control unit 11 manages the input receipt number. The stored journal data is read out from the data storage unit 17d (step S143).

次に制御部11は、取消する商品の商品コードが入力されたか否かを判断する(ステップS144)。入力されるまで待機し(ステップS144;No)、商品コードが入力されたと判断した場合は(ステップS144;Yes)、制御部11は、入力された商品コードをデータ記憶部17dに記憶する(ステップS145)。 Next, the control unit 11 determines whether or not the product code of the product to be canceled has been input (step S144). The control unit 11 waits until the product code is input (step S144; No), and when it is determined that the product code has been input (step S144; Yes), the control unit 11 stores the input product code in the data storage unit 17d (step S145).

次に制御部11は、実行キーが操作されたか否かを判断する(ステップS146)。操作されていないを判断した場合は(ステップS146;No)、制御部11は、ステップS144に戻り、操作されたと判断した場合は(ステップS146;Yes)、制御部11は、読み出したジャーナルデータに基づいて、レジマイナス処理を実行する(ステップSP147)。そして制御部11(変更レシートデータ生成手段112)は、レジマイナス処理に基づいたレジマイナスレシートデータ(変更レシートデータ)を生成する(ステップS148)。 Next, the control unit 11 determines whether or not the execution key has been operated (step S146). If it is determined that the control unit 11 has not operated (step S146; No), the control unit 11 returns to step S144, and if it determines that the operation has been performed (step S146; Based on this, the register minus process is executed (step SP147). Then, the control unit 11 (changed receipt data generating means 112) generates cashier minus receipt data (changed receipt data) based on the cashier minus process (step S148).

次いで制御部11は、ジャーナルデータとステップSP145で記憶した、取消された商品の商品コードとから、取消されていない商品について商品販売データ処理を実行する(ステップS149)。そして制御部11(訂正レシートデータ生成手段114)は、商品販売データ処理に基づいた訂正レシートデータを生成する(ステップS150)。 Next, the control unit 11 executes product sales data processing for products that have not been canceled based on the journal data and the product code of the canceled product stored in step SP145 (step S149). Then, the control unit 11 (corrected receipt data generating means 114) generates corrected receipt data based on the merchandise sales data processing (step S150).

次に制御部11(判断手段115)は、生成したレジマイナスレシートデータおよび訂正レシートデータに会員コードが含まれているか否かを判断する(ステップS151)。 Next, the control unit 11 (judgment means 115) judges whether or not the generated cash register minus receipt data and corrected receipt data contain a membership code (step S151).

含まれていると判断した場合は(ステップS151;Yes)、制御部11(制御手段113)は、レジマイナスレシートデータに基づいて、非構造化形式であるレジマイナスレシートデータのデータ形式を、構造化形式に変換することでレジマイナス電子レシートデータを生成する(ステップS152)。この際、、ステップS141で入力された一部取消コードを付す。レジマイナス電子レシートデータには、「レジマイナス」の文字データが含まれる。 If it is determined that it is included (step S151; Yes), the control unit 11 (control means 113) converts the data format of the unstructured cashier minus receipt data to the structured data format based on the cashier minus receipt data. Then, the cash register minus electronic receipt data is generated by converting the data into the normalized format (step S152). At this time, the partial cancellation code input in step S141 is attached. The cash register minus electronic receipt data includes character data of "regi minus".

また、制御部11(制御手段113)は、訂正レシートデータに基づいて、非構造化形式である訂正レシートデータのデータ形式を、構造化形式に変換することで訂正電子レシートデータを生成する(ステップS153)。この際、ステップS141で入力された一部取消コードを付す。そして制御部11(制御手段113)は、生成したレジマイナス電子レシートデータを電子レシートサーバ3に送信する(ステップS154)。また、制御部11(制御手段113)は、生成した訂正電子レシートデータを、レシート番号を付して電子レシートサーバ3に送信する(ステップS155)。 Further, the control unit 11 (control means 113) generates corrected electronic receipt data by converting the data format of the corrected receipt data, which is a non-structured format, into a structured format based on the corrected receipt data (step S153). At this time, the partial cancellation code entered in step S141 is attached. Then, the control unit 11 (control means 113) transmits the generated register minus electronic receipt data to the electronic receipt server 3 (step S154). Further, the control unit 11 (control means 113) attaches the receipt number to the generated corrected electronic receipt data and transmits it to the electronic receipt server 3 (step S155).

そして制御部11(制御手段113)は、レジマイナスレシートデータを印字部13に出力して印字処理を実行し(ステップS156)、「レジマイナス」のヘッダー文字が印字された店控え用の紙のレジマイナスレシートを発行する。 Then, the control unit 11 (control means 113) outputs the cashier minus receipt data to the printing unit 13 to execute print processing (step S156), and prints the paper for shop copy on which the header characters "cashier minus" are printed. Issue a cash register receipt.

一方、ステップS151において、生成したレジマイナスレシートデータおよび訂正レシートデータに会員コードが含まれていないと判断した場合は(ステップS151;No)、制御部11は、生成したレジマイナスレシートデータを印字部13に出力して印字処理を実行し(ステップS157)、「レジマイナス」のヘッダー文字が印字された店控え用の紙のレジマイナスレシートを発行する。また、制御部11は、生成した訂正レシートデータを印字部13に出力して印字処理を実行し(ステップS158)、「一部取消」の文字が印字された顧客に手渡す紙の訂正レシートを発行する。 On the other hand, if it is determined in step S151 that the generated cashier minus receipt data and corrected receipt data do not contain a membership code (step S151; No), the control unit 11 causes the generated cashier minus receipt data to be printed by the printing unit. 13 and print processing is executed (step S157), and a cashier minus receipt of paper for store copy with the header characters "cashier minus" printed is issued. In addition, the control unit 11 outputs the generated corrected receipt data to the printing unit 13 to execute printing processing (step S158), and issues a paper corrected receipt to be handed to the customer on which characters "partially canceled" are printed. do.

なお、返品キー124、レジマイナスキー125、一部取消キー126を操作したとき以外に、例えば、収入印紙を購入変更するためのキーを操作した場合も、制御部11は、同様の処理を実行する。 In addition to operating the returns key 124, the register minus key 125, and the partial cancel key 126, for example, when a key for changing the purchase of revenue stamps is operated, the control unit 11 executes similar processing. do.

このように、実施形態によれば、生成された変更レシートデータに顧客を特定する顧客特定情報が含まれている場合、前記変更レシートデータから変更電子レシートデータを生成して前記外部装置に送信するとともに、変更電子レシートデータに基づく印字データを印字部に出力するため、変更されたレシートデータについて、電子レシートデータとして顧客に送信するとともに、印字部13でも印字することができる。 As described above, according to the embodiment, when the generated modified receipt data includes customer identification information for identifying a customer, the modified electronic receipt data is generated from the modified receipt data and transmitted to the external device. At the same time, since print data based on the changed electronic receipt data is output to the printing unit, the changed receipt data can be sent to the customer as electronic receipt data and also printed by the printing unit 13 .

また、実施形態によれば、返品処理と一部取消処理が実行された場合、取引情報の変更に伴う変更後の新たな訂正レシートデータを生成するため、変更後の電子レシートデータを送信することができる。 Further, according to the embodiment, when the return processing and the partial cancellation processing are executed, the electronic receipt data after the change is transmitted in order to generate the new corrected receipt data after the change accompanying the change of the transaction information. can be done.

また、実施形態によれば、変更レシートデータに顧客特定情報である会員コードが含まれていると判断した場合に、変更レシートデータから変更電子レシートデータを生成して外部装置に送信するとともに、変更電子レシートデータに基づく印字データを印字部13に出力するため、自動的に電子レシートデータを送信することができる。 Further, according to the embodiment, when it is determined that the changed receipt data contains a membership code, which is the customer identification information, the changed electronic receipt data is generated from the changed receipt data and transmitted to the external device. Since the print data based on the electronic receipt data is output to the printing unit 13, the electronic receipt data can be automatically transmitted.

次に、電子レシートサーバ3の制御部31が、電子レシート管理プログラム33bに従って動作することにより実行される電子レシート管理処理及び情報送信プログラム33cに従って動作することにより実行される情報送信処理の流れを、図18に示すフローチャートを参照しつつ説明する。 Next, the flow of the electronic receipt management processing executed by the control unit 31 of the electronic receipt server 3 operating according to the electronic receipt management program 33b and the information transmission processing executed by operating according to the information transmission program 33c are as follows: Description will be made with reference to the flow chart shown in FIG.

電子レシートサーバ3の制御部31は、POS端末1から送信された電子レシートデータを通信I/F32を介して受信すると(ステップS31;Yes)、記憶部33の電子レシート管理領域33aに企業毎の電子レシートデータとして記憶する(ステップS32)。そして、電子レシートサーバ3の制御部31は、ステップS32で記憶した電子レシートデータを電子レシート管理サーバ4に送信し(ステップS33)、ステップS31に戻る。 When the control unit 31 of the electronic receipt server 3 receives the electronic receipt data transmitted from the POS terminal 1 via the communication I/F 32 (step S31; Yes), the electronic receipt management area 33a of the storage unit 33 stores the It is stored as electronic receipt data (step S32). Then, the control unit 31 of the electronic receipt server 3 transmits the electronic receipt data stored in step S32 to the electronic receipt management server 4 (step S33), and returns to step S31.

また、電子レシートサーバ3の制御部31は、予め設定された送信タイミングになると(ステップS31;No→ステップS34;Yes)、電子レシート管理領域33aに記憶して管理されている電子レシートデータを電子レシート管理サーバ4に送信し(ステップS35)、ステップS31に戻る。このステップS35の送信により、例えばステップS33で送信の対象から漏れた電子レシートデータを、電子レシート管理サーバ4に送信することができる。なお、ステップS35では、未送信の電子レシートデータのみを送信するよう制御してもよい。 In addition, when the preset transmission timing comes (step S31; No→step S34; Yes), the control unit 31 of the electronic receipt server 3 electronically transfers the electronic receipt data stored and managed in the electronic receipt management area 33a. It is transmitted to the receipt management server 4 (step S35), and the process returns to step S31. By the transmission in step S35, for example, the electronic receipt data that was not included in the transmission targets in step S33 can be transmitted to the electronic receipt management server 4. FIG. In step S35, control may be performed so that only unsent electronic receipt data is sent.

また、ステップS34において予め設定された送信タイミングではないと判断した場合(ステップS34;No)、制御部31は、POS端末1からレシートデータの要求があったか否かを判断する(ステップS36)。レシートデータの要求は、ステップS52、ステップS62、ステップS82でPOS端末1から送信される。 If it is determined in step S34 that it is not the preset transmission timing (step S34; No), the control section 31 determines whether or not the POS terminal 1 has requested receipt data (step S36). A request for receipt data is sent from the POS terminal 1 in steps S52, S62, and S82.

レシートデータの要求があったと判断した場合は(ステップS36;Yes)、制御部31は、同時に受信したレシート番号で指定されるレシートデータをPOS端末1に送信する(ステップS37)。また、レシートデータの要求ではないと判断した場合は(ステップS36;No)、制御部31は、ステップS31に戻る。 If it is determined that receipt data has been requested (step S36; Yes), the control section 31 transmits the receipt data specified by the receipt number received at the same time to the POS terminal 1 (step S37). If it is determined that the receipt data is not requested (step S36; No), the control section 31 returns to step S31.

次に、電子レシート管理サーバ4の制御部41が、電子レシート管理プログラム43cに従って動作することにより実行される電子レシート管理処理及び情報送信プログラム43dに従って動作することにより実行される商品情報送信処理の流れを、図19に示す機能ブロック図及び図20に示すフローチャートを参照しつつ説明する。 Next, the flow of electronic receipt management processing executed by the control unit 41 of the electronic receipt management server 4 operating according to the electronic receipt management program 43c and product information transmission processing executed by operating according to the information transmission program 43d. will be described with reference to the functional block diagram shown in FIG. 19 and the flow chart shown in FIG.

図19に示すように、電子レシート管理サーバ4で実行される電子レシート管理プログラム43c及び情報送信プログラム43dは、電子レシートデータ記憶手段411、訂正電子レシートデータ記憶手段412、訂正電子レシートデータ送信手段413、変更電子レシートデータ記憶手段414を含むモジュール構成となっている。実際のハードウェアとしては制御部41のCPUが記憶部43から電子レシート管理プログラム43c及び情報送信プログラム43dを読み出して実行することにより、電子レシートデータ記憶手段411、訂正電子レシートデータ記憶手段412、訂正電子レシートデータ送信手段413、変更電子レシートデータ記憶手段414が実行される。 As shown in FIG. 19, an electronic receipt management program 43c and an information transmission program 43d executed by the electronic receipt management server 4 include electronic receipt data storage means 411, corrected electronic receipt data storage means 412, and corrected electronic receipt data transmission means 413. , and a modified electronic receipt data storage means 414 . As actual hardware, the CPU of the control unit 41 reads out the electronic receipt management program 43c and the information transmission program 43d from the storage unit 43 and executes them. Electronic receipt data transmission means 413 and changed electronic receipt data storage means 414 are executed.

電子レシートデータ記憶手段411は、商品販売データ処理装置1が生成した顧客との一取引に基づく電子レシートデータを閲覧可能に記憶部に記憶する機能を有する。 The electronic receipt data storage means 411 has a function of storing electronic receipt data based on one transaction with a customer generated by the product sales data processing apparatus 1 in a storage section in a browsable manner.

訂正電子レシートデータ記憶手段412は、取引の変更に伴い、電子レシートデータ記憶手段411によって記憶された電子レシートデータを変更した変更後の訂正電子レシートデータを、電子レシートデータに代わって閲覧可能に記憶部に記憶する機能を有する。 The corrected electronic receipt data storage means 412 stores the corrected electronic receipt data after the electronic receipt data stored by the electronic receipt data storage means 411 has been changed in accordance with the change of the transaction in a viewable manner instead of the electronic receipt data. It has the function of storing in the unit.

訂正電子レシートデータ送信手段413は、端末装置7からの閲覧要求に対応して、訂正電子レシートデータ記憶手段412が記憶した訂正電子レシートデータを端末装置7に送信する機能を有する。 The corrected electronic receipt data transmission means 413 has a function of transmitting the corrected electronic receipt data stored in the corrected electronic receipt data storage means 412 to the terminal device 7 in response to a viewing request from the terminal device 7 .

変更電子レシートデータ記憶手段414は、取引の変更に伴い、電子レシートデータ記憶手段411によって記憶された前記電子レシートデータを変更した変更電子レシートデータを記憶部に記憶する機能を有する。 The changed electronic receipt data storage unit 414 has a function of storing changed electronic receipt data obtained by changing the electronic receipt data stored by the electronic receipt data storage unit 411 in accordance with a change in transaction.

図20に示すように、電子レシート管理サーバ4の制御部41は、各企業の電子レシートサーバ3から送信された電子レシートデータを、通信I/F42を介して受信したか否かを判断する(ステップS101)。 As shown in FIG. 20, the control unit 41 of the electronic receipt management server 4 determines whether the electronic receipt data transmitted from the electronic receipt server 3 of each company has been received via the communication I/F 42 ( step S101).

電子レシートデータを受信したと判断した場合(ステップS101;Yes)、制御部41は、同時に受信したレシート番号がすでに存在するか否かを判断する(ステップS102)。この判断は、電子レシート管理領域43aのレシート番号部43a1に、受信したレシート番号が存在するか否かで判断する(ステップS102)。 When determining that the electronic receipt data has been received (step S101; Yes), the control section 41 determines whether or not the receipt number received at the same time already exists (step S102). This determination is made by determining whether or not the received receipt number exists in the receipt number section 43a1 of the electronic receipt management area 43a (step S102).

存在しないと判断した場合は(ステップS102;No)、制御部41は、受信したレシート番号に対応させて新たな電子レシートデータを、電子レシートデータ部43a21に記憶する(ステップS103)。そして制御部41は、記憶した新たな電子レシートデータに対応して、表示許可フラグ部43a22にフラグ「1」を記憶することで、当該電子レシートデータが閲覧可能に設定する(ステップS104)。 If it is determined that it does not exist (step S102; No), the control section 41 stores new electronic receipt data in the electronic receipt data section 43a21 in association with the received receipt number (step S103). Then, the control unit 41 stores the flag "1" in the display permission flag unit 43a22 corresponding to the stored new electronic receipt data, thereby setting the electronic receipt data to be viewable (step S104).

また、受信したレシート番号が存在していると判断した場合は(ステップS102;Yes)、次に制御部41は、受信した電子レシートデータに返品コードが含まれているか否かを判断する(ステップS105)。含まれていると判断した場合は(ステップS105;Yes)、制御部41は、図21に示す返品の電子レシート処理を実行する(ステップS106)。 If it is determined that the received receipt number exists (step S102; Yes), then the control section 41 determines whether or not the received electronic receipt data contains a return code (step S105). If it is determined that it is included (step S105; Yes), the control unit 41 executes the return electronic receipt process shown in FIG. 21 (step S106).

また、受信した電子レシートデータに返品コードが含まれていないと判断した場合は(ステップS105;No)、次に制御部41は、受信した電子レシートデータにレジマイナスコードが含まれているか否かを判断する(ステップS107)。含まれていると判断した場合は(ステップS107;Yes)、制御部41は、図22に示すレジマイナスの電子レシート処理を実行する(ステップS108)。 If it is determined that the received electronic receipt data does not contain a return code (step S105; No), then the control unit 41 determines whether or not the received electronic receipt data contains a register minus code. (step S107). If it is determined that it is included (step S107; Yes), the control unit 41 executes electronic receipt processing of cash register minus shown in FIG. 22 (step S108).

また、受信した電子レシートデータにレジマイナスコードが含まれていないと判断した場合は(ステップS107;No)、次に制御部41は、受信した電子レシートデータに一部取消コードが含まれているか否かを判断する(ステップS109)。含まれていると判断した場合は(ステップS109;Yes)、制御部41は、図23に示す一部取消の電子レシート処理を実行する(ステップS110)。一部取消コードが含まれていないと判断した場合は(ステップS109;No)、制御部41は、ステップS101に戻って待機する。 If it is determined that the received electronic receipt data does not contain the register minus code (step S107; No), then the control unit 41 checks whether the received electronic receipt data contains the partial cancellation code. It is determined whether or not (step S109). If it is determined that it is included (step S109; Yes), the control unit 41 executes the electronic receipt processing for partial cancellation shown in FIG. 23 (step S110). If it is determined that the partial cancellation code is not included (step S109; No), the control section 41 returns to step S101 and waits.

一方、ステップS101において、電子レシートデータを受信していないと判断した場合は(ステップS101;No)、制御部41は、携帯端末7から、電子レシートデータの照会があったか否かを判断する(ステップS121)。あったと判断した場合は(ステップS121;Yes)、制御部41は、該当する電子レシートデータを電子レシート管理領域43aから読み出す(ステップS122)。そして制御部41は、読み出した電子レシートデータを、照会があった携帯端末7に送信する(ステップS123)。 On the other hand, if it is determined in step S101 that the electronic receipt data has not been received (step S101; No), the control section 41 determines whether or not there has been an inquiry about the electronic receipt data from the portable terminal 7 (step S121). If it is determined that there is (step S121; Yes), the control unit 41 reads the corresponding electronic receipt data from the electronic receipt management area 43a (step S122). Then, the control unit 41 transmits the read electronic receipt data to the mobile terminal 7 that made the inquiry (step S123).

図21は、ステップS106に示す、返品の電子レシート処理を示すフローチャートである。制御部41は、受信した返品電子レシートデータを、受信したレシート番号に対応する電子レシートデータ部43a31に記憶する(ステップS161)。また、受信した訂正電子レシートデータを、受信したレシート番号に対応する電子レシートデータ部43a41に記憶する(ステップS161)。 FIG. 21 is a flow chart showing electronic receipt processing for returned goods shown in step S106. The control unit 41 stores the received return electronic receipt data in the electronic receipt data unit 43a31 corresponding to the received receipt number (step S161). Also, the received corrected electronic receipt data is stored in the electronic receipt data section 43a41 corresponding to the received receipt number (step S161).

次に制御部41は、表示許可フラグ部43a22のフラグを「0」にし、元の電子レシートデータを閲覧不可とする(ステップS162)。次に制御部41は、表示許可フラグ部43a32のフラグと、表示許可フラグ部43a42のフラグを「1」にし、電子レシートデータ部43a31に記憶した返品電子レシートデータと、電子レシートデータ部43a41に記憶した訂正電子レシートデータとを、閲覧可能に設定する(ステップS163)。 Next, the control section 41 sets the flag of the display permission flag section 43a22 to "0" to disable viewing of the original electronic receipt data (step S162). Next, the control section 41 sets the flag of the display permission flag section 43a32 and the flag of the display permission flag section 43a42 to "1", and sets the returned electronic receipt data stored in the electronic receipt data section 43a31 and the returned electronic receipt data stored in the electronic receipt data section 43a41. The corrected electronic receipt data is set to be viewable (step S163).

次に制御部41は、返品電子レシートデータと訂正電子レシートデータとが閲覧可能であることを示すメッセージを、該当する携帯端末7に送信する(ステップS164)。 Next, the control unit 41 transmits a message indicating that the returned electronic receipt data and the corrected electronic receipt data can be browsed to the relevant portable terminal 7 (step S164).

図22は、ステップS108に示す、レジマイナスの電子レシート処理を示すフローチャートである。制御部41は、受信したレジマイナス電子レシートデータを、受信したレシート番号に対応する電子レシートデータ部43a31に記憶する(ステップS171)。 FIG. 22 is a flow chart showing electronic receipt processing of cash register minus shown in step S108. The control unit 41 stores the received register minus electronic receipt data in the electronic receipt data unit 43a31 corresponding to the received receipt number (step S171).

次に制御部41は、電子レシートデータ部43a31に記憶したレジマイナス電子レシートデータに基づいて、電子レシートデータ部43a21に記憶している電子レシートデータの消し込み処理を実行する(ステップS172)。そして制御部41は、表示許可フラグ部43a32のフラグを「0」にセットし、電子レシートデータ部43a31に記憶したレジマイナス電子レシートデータを、閲覧を不可とする(ステップS173)。そして制御部41は、表示許可フラグ部43a22のフラグを「0」にセットし、電子レシートデータ部43a21に記憶している元の電子レシートデータを閲覧不可とする(ステップSP174)。 Next, the control unit 41 executes erasing processing of the electronic receipt data stored in the electronic receipt data section 43a21 based on the register-minus electronic receipt data stored in the electronic receipt data section 43a31 (step S172). Then, the control unit 41 sets the flag of the display permission flag section 43a32 to "0", and disables browsing of the cash register minus electronic receipt data stored in the electronic receipt data section 43a31 (step S173). Then, the control section 41 sets the flag of the display permission flag section 43a22 to "0" to disable viewing of the original electronic receipt data stored in the electronic receipt data section 43a21 (step SP174).

図23は、ステップS110に示す、一部取消電子レシート処理を示すフローチャートである。制御部41は、受信したレジマイナス電子レシートデータを、受信したレシート番号に対応する電子レシートデータ部43a31に記憶する(ステップS181)。また、受信した訂正電子レシートデータを、受信したレシート番号に対応する電子レシートデータ部43a41に記憶する(ステップS181)。 FIG. 23 is a flow chart showing the partial cancellation electronic receipt process shown in step S110. The control unit 41 stores the received register minus electronic receipt data in the electronic receipt data unit 43a31 corresponding to the received receipt number (step S181). Also, the received corrected electronic receipt data is stored in the electronic receipt data section 43a41 corresponding to the received receipt number (step S181).

次に制御部41は、電子レシートデータ部43a31に記憶したレジマイナス電子レシートデータに基づいて、電子レシートデータ部43a21に記憶している電子レシートデータの消し込み処理を実行する(ステップS182)。そして制御部41は、表示許可フラグ部43a32のフラグを「0」にセットし、電子レシートデータ部43a31に記憶したレジマイナス電子レシートデータを、閲覧を不可とする(ステップS183)。そして制御部41は、表示許可フラグ部43a22のフラグを「0」にセットし、電子レシートデータ部43a21に記憶している電子レシートデータを閲覧不可とする(ステップSP184)。 Next, the control unit 41 executes erasing processing of the electronic receipt data stored in the electronic receipt data section 43a21 based on the register-minus electronic receipt data stored in the electronic receipt data section 43a31 (step S182). Then, the control unit 41 sets the flag of the display permission flag section 43a32 to "0", and disables viewing of the cash register minus electronic receipt data stored in the electronic receipt data section 43a31 (step S183). Then, the control unit 41 sets the flag of the display permission flag section 43a22 to "0" to disable viewing of the electronic receipt data stored in the electronic receipt data section 43a21 (step SP184).

次に制御部41は、表示許可フラグ部43a42のフラグを「1」にし、電子レシートデータ部43a41に記憶した訂正電子レシートデータとを、閲覧可能に設定する(ステップS185)。 Next, the control section 41 sets the flag of the display permission flag section 43a42 to "1" and sets the corrected electronic receipt data stored in the electronic receipt data section 43a41 to be viewable (step S185).

次に制御部41は、訂正電子レシートデータとが閲覧可能であることを示すメッセージを、該当する携帯端末7に送信する(ステップS186)。 Next, the control unit 41 transmits a message indicating that the corrected electronic receipt data can be browsed to the relevant portable terminal 7 (step S186).

このような実施形態では、取引が終了して電子レシートデータが生成された取引について、返品処理を実行した場合、制御部41は、電子レシートサーバ3から返品電子レシートデータと訂正電子レシートデータを受信する。これらの電子レシートデータを受信した以降は、携帯端末7から電子レシートデータの閲覧照会があった場合、電子レシート管理サーバ4は、フラグが「1」の表示許可フラグ部と対応した返品電子レシートデータと訂正電子レシートデータを携帯端末7に送信する。フラグが「0」にセットされたそれ以前の電子レシートデータは送信しない。すなわち、携帯端末7は、返品処理後は、返品電子レシートデータと訂正電子レシートデータが閲覧可能であるが、元の電子レシートデータは閲覧不可である。 In such an embodiment, when the returned goods processing is executed for the transaction for which the electronic receipt data is generated after the transaction is completed, the control unit 41 receives the returned electronic receipt data and the corrected electronic receipt data from the electronic receipt server 3. do. After receiving these electronic receipt data, when there is an inquiry for browsing the electronic receipt data from the mobile terminal 7, the electronic receipt management server 4 will display the return electronic receipt data corresponding to the display permission flag part with the flag set to "1". and the corrected electronic receipt data is transmitted to the mobile terminal 7 . The electronic receipt data before the flag is set to "0" is not transmitted. In other words, the portable terminal 7 can view the returned electronic receipt data and the corrected electronic receipt data after the return processing, but cannot view the original electronic receipt data.

また、このような実施形態で、取引が終了して電子レシートデータが生成された取引について、レジマイナス処理を実行した場合、制御部41は、電子レシートサーバ3からレジマイナス電子レシートデータを受信する。このレジマイナス電子レシートデータを受信した以降は、携帯端末7から電子レシートデータの閲覧照会があった場合、制御部41は、携帯端末7に対して、元の電子レシートデータもレジマイナス電子レシートデータも送信しない。すなわち、携帯端末7は、元の電子レシートデータもレジマイなす電子レシートデータも、閲覧不可である。 Further, in such an embodiment, when the cashier minus process is executed for a transaction for which electronic receipt data is generated after the transaction is completed, the control unit 41 receives the cashier minus electronic receipt data from the electronic receipt server 3. . After receiving the cash register minus electronic receipt data, when there is an inquiry for browsing the electronic receipt data from the mobile terminal 7, the control unit 41 notifies the mobile terminal 7 of the original electronic receipt data as well as the cash register minus electronic receipt data. do not send either. In other words, the mobile terminal 7 cannot view the original electronic receipt data or the electronic receipt data to be registered.

また、このような実施形態で、取引が終了して電子レシートデータが生成された取引について、一部取消処理を実行した場合、制御部41は、電子レシートサーバ3からレジマイナス電子レシートデータと訂正電子レシートデータを受信する。これらの電子レシートデータを受信した以降は、携帯端末7から電子レシートデータの閲覧照会があった場合、電子レシート管理サーバ4は、フラグが「1」の表示許可フラグ部と対応した訂正電子レシートデータを携帯端末7に送信する。フラグが「0」にセットされた、レジマイナス電子レシートデータと、それ以前の電子レシートデータは送信しない。すなわち、携帯端末7は、一部取消処理後は、訂正電子レシートデータが閲覧可能であるが、レジマイナス電子レシートデータと、元の電子レシートデータは閲覧不可である。 Further, in such an embodiment, when partial cancellation processing is executed for a transaction for which electronic receipt data has been generated after the transaction has been completed, the control unit 41 receives the cash register minus electronic receipt data from the electronic receipt server 3 and corrects the electronic receipt data. Receive electronic receipt data. After receiving these electronic receipt data, when there is an inquiry for browsing the electronic receipt data from the mobile terminal 7, the electronic receipt management server 4 displays the corrected electronic receipt data corresponding to the display permission flag part whose flag is "1". to the mobile terminal 7. The register-minus electronic receipt data whose flag is set to "0" and the previous electronic receipt data are not transmitted. In other words, after the partial cancellation process, the portable terminal 7 can browse the corrected electronic receipt data, but cannot browse the cash register minus electronic receipt data and the original electronic receipt data.

次に、携帯端末7の制御部71が、電子レシート対応プログラム75aに従って動作することにより実行される電子レシート受け取り処理及び電子レシート閲覧プログラム75bに従って動作することにより実行される電子レシート閲覧処理の流れを、図24~図26を参照しつつ説明する。 Next, the flow of the electronic receipt reception processing executed by the control unit 71 of the mobile terminal 7 operating according to the electronic receipt support program 75a and the electronic receipt viewing processing executed by operating according to the electronic receipt viewing program 75b will be described. , with reference to FIGS. 24 to 26. FIG.

図24に示すように、携帯端末7で実行される電子レシート対応プログラム75a及び電子レシート閲覧プログラム75bは、会員対応付け手段711、電子レシート受信手段712、電子レシート表示手段713を含むモジュール構成となっている。実際のハードウェアとしては制御部71のCPUが記憶部75から電子レシート対応プログラム75a及び電子レシート閲覧プログラム75bを読み出して実行することにより上記各部がRAM上にロードされ、会員対応付け手段711、電子レシート受信手段712、電子レシート表示手段713がRAM上に生成されるようになっている。 As shown in FIG. 24, the electronic receipt correspondence program 75a and the electronic receipt viewing program 75b executed by the portable terminal 7 have a module configuration including member association means 711, electronic receipt reception means 712, and electronic receipt display means 713. ing. As actual hardware, the CPU of the control unit 71 reads out and executes the electronic receipt correspondence program 75a and the electronic receipt viewing program 75b from the storage unit 75, thereby loading the above respective units onto the RAM. A receipt receiving means 712 and an electronic receipt displaying means 713 are generated on the RAM.

会員対応付け手段711は、所定の顧客の会員コードを対応付ける。電子レシート受信手段712は、電子レシート管理サーバ4から電子レシートデータを受信する。電子レシート表示手段713は、電子レシート受信手段712により受信した電子レシートデータを表示部73に表示する。 The member association means 711 associates a predetermined customer's membership code. The electronic receipt receiving means 712 receives electronic receipt data from the electronic receipt management server 4 . The electronic receipt display means 713 displays the electronic receipt data received by the electronic receipt reception means 712 on the display section 73 .

図25に示すように、まず、携帯端末7の会員対応付け手段711は、電子レシート管理サーバ4にアクセスして会員コード及びパスワードの入力によって認証処理を実行する(ステップS131)。これにより、携帯端末7と所定の顧客の会員コードとが対応付けられる。 As shown in FIG. 25, first, the member association unit 711 of the portable terminal 7 accesses the electronic receipt management server 4 and executes authentication processing by entering a member code and password (step S131). As a result, the mobile terminal 7 is associated with the member code of the predetermined customer.

認証後、携帯端末7の電子レシート受信手段712は、入力された当該会員コードに対応して電子レシート管理サーバ4の電子レシート管理領域43aに記憶され管理されている電子レシートデータを受信する(ステップS132)。また、電子レシートデータに付加情報が対応付けされている場合には、この付加情報についても電子レシート管理サーバ4から受信する。なお、レシートデータの受信については、電子メールによって受信するものであってもよい。 After authentication, the electronic receipt receiving means 712 of the portable terminal 7 receives the electronic receipt data stored and managed in the electronic receipt management area 43a of the electronic receipt management server 4 corresponding to the entered member code (step S132). Further, when additional information is associated with the electronic receipt data, the additional information is also received from the electronic receipt management server 4 . Receipt data may be received by e-mail.

次に、携帯端末7の電子レシート表示手段713は、電子レシート受信手段712が受信した電子レシートデータ等を表示部73に表示し(ステップS133)、処理を終了する。 Next, the electronic receipt display means 713 of the portable terminal 7 displays the electronic receipt data and the like received by the electronic receipt reception means 712 on the display section 73 (step S133), and the process ends.

図26は、携帯端末7の表示部73に表示された電子レシートG2の一例を示す図である。電子レシートG2は、用紙に印字されるレシートと同様のレイアウトや内容で表示される。また、電子レシートG2内において、操作部72の入力に追従するカーソルにより、取引された商品を示す商品a等にフォーカスを当てることができる。また、図26では、電子レシートG2内に、店名のロゴを表示する店名ロゴ部G21や、広告等を表示するバナー表示部G22等を設けた例を示している。 FIG. 26 is a diagram showing an example of the electronic receipt G2 displayed on the display section 73 of the mobile terminal 7. As shown in FIG. The electronic receipt G2 is displayed with the same layout and content as the receipt printed on paper. Further, in the electronic receipt G2, the cursor that follows the input of the operation unit 72 can be used to focus on the commodity a indicating the traded commodity. In addition, FIG. 26 shows an example in which a store name logo portion G21 for displaying the logo of the store name, a banner display portion G22 for displaying advertisements, etc. are provided in the electronic receipt G2.

なお、レシートデータの表示形態は、必ずしも用紙に印字されるレシートのイメージに合わせる必要はない。しかしながら、レシートデータは、紙のレシートに代わるものであり、商品を購入したことを証明する電子的な商品購入証明情報となるものである。そこで、図26では、商品購入証明情報として提示する場合に使用するため、以下の情報を表示した例を示している。
・店舗名
・購入日時
・購入商品明細
・売上合計額
・預り金額
・お釣り金額
・レジナンバー
・取引ナンバー
It should be noted that the display form of the receipt data does not necessarily have to match the image of the receipt printed on the paper. However, the receipt data replaces the paper receipt and serves as electronic product purchase proof information that proves the purchase of the product. Therefore, FIG. 26 shows an example in which the following information is displayed for use when presented as product purchase proof information.
・Store name ・Purchase date ・Purchase item details ・Total sales amount ・Deposit amount ・Change amount ・Registration number ・Transaction number

ここで、商品aの何れかに対する付加情報として、プロモーション管理サーバ6等のURL(アクセス情報)が設定されている場合には、このURLが該当する商品名にリンクされたり、このURLへのアクセスを指示するため操作子となるアイコンb等が表示される。 Here, when the URL (access information) of the promotion management server 6 or the like is set as additional information for any of the products a, this URL is linked to the corresponding product name, or access to this URL is performed. An icon b or the like serving as an operator is displayed for instructing .

例えば、URLが示すアクセス先が、所定のキャンペーンへの応募を受け付けるサーバ装置(例えば、プロモーション管理サーバ6)である場合、携帯端末7の制御部71は、アイコンb等の押下に応じてプロモーション管理サーバ6にアクセスし、応募に係る処理を実行する。アクセス先へのアクセス時に、レシートデータ等に保持された自装置の会員コードを送信する形態としてもよい。そして、プロモーション管理サーバ6では、各会員を識別するための会員コードに対応付けてキャンペーン種別毎の応募履歴を管理する。 For example, when the access destination indicated by the URL is a server device (for example, the promotion management server 6) that accepts applications for a predetermined campaign, the control unit 71 of the mobile terminal 7 manages the promotion in response to pressing the icon b or the like. It accesses the server 6 and executes processing related to the application. When accessing the access destination, the member code of the own device held in the receipt data or the like may be transmitted. The promotion management server 6 manages the application history for each campaign type in association with the member code for identifying each member.

なお、複数のレシートデータを受信した場合には、レシートデータに含まれる購入日、企業コード等に基づいて、レシートデータの各々を選択可能な選択画面を表示してもよい。この場合、電子レシート表示手段713は、選択画面から選択されたレシートデータを表示部73に表示する。 When a plurality of receipt data are received, a selection screen may be displayed on which each of the receipt data can be selected based on the date of purchase, company code, etc. included in the receipt data. In this case, the electronic receipt display means 713 displays the receipt data selected from the selection screen on the display section 73 .

以上、本発明の実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これらの実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、組み合わせを行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although embodiments of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, replacements, changes, and combinations can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the scope of the invention described in the claims and equivalents thereof.

例えば、上記実施形態では、コード読取部15を用いて会員コード等を入力する形態としたが、これに限らず、他の手法を用いて会員コード等を入力してもよい。具体的には、NFC(Near Field Communication)やBluetooth(登録商標)等の近距離無線通信部をPOS端末1及び携帯端末7が備えることで、近距離無線通信により会員コード等を送受信可能な構成としてもよい。この場合、携帯端末7は、会員コード等を記憶部75や図示しないICタグ等に保持するものとする。 For example, in the above-described embodiment, the code reading unit 15 is used to input the membership code, etc., but the method is not limited to this, and the membership code, etc. may be input using other methods. Specifically, the POS terminal 1 and the mobile terminal 7 are equipped with a short-range wireless communication unit such as NFC (Near Field Communication) or Bluetooth (registered trademark), so that the membership code or the like can be transmitted and received by short-range wireless communication. may be In this case, the mobile terminal 7 stores the membership code and the like in the storage unit 75, an IC tag (not shown), and the like.

また、上記実施形態では、携帯端末7から会員コード等を入力する形態としたが、これに限らず、ICカードや磁気カード等の会員コードを保持することが可能な媒体から入力してもよい。なお、ICカードを用いる場合には、POS端末1は、ICカードリーダライタ等の読取/書込部を備えるものとする。また、磁気カードを用いる場合には、POS端末1は、磁気カードのカードリーダ/カードライタ等を備えるものとする。 In the above embodiment, the member code and the like are input from the portable terminal 7, but the present invention is not limited to this, and may be input from a medium capable of holding the member code, such as an IC card or magnetic card. . When using an IC card, the POS terminal 1 is assumed to have a reading/writing unit such as an IC card reader/writer. When using a magnetic card, the POS terminal 1 is assumed to be equipped with a card reader/writer for the magnetic card.

また、上記実施形態では、本部P2に電子レシートサーバ3を設ける形態としたが、これに限らず、店舗P1内に、当該店舗用の電子レシートサーバ3を設ける形態としてもよい。この場合、POS端末1は、自店舗の店舗内ネットワークN1に接続された電子レシートサーバ3に電子レシートデータを出力し、電子レシートサーバ3は、店舗内ネットワークN1及びネットワークN2を介して電子レシート管理サーバ4に電子レシートデータを送信する。 Further, in the above-described embodiment, the electronic receipt server 3 is provided at the head office P2, but the configuration is not limited to this, and the electronic receipt server 3 for the store may be provided within the store P1. In this case, the POS terminal 1 outputs electronic receipt data to the electronic receipt server 3 connected to the in-store network N1 of its own store, and the electronic receipt server 3 manages electronic receipts via the in-store network N1 and the network N2. The electronic receipt data is transmitted to the server 4.

また、上記実施形態では、POS端末1で生成された電子レシートデータを、電子レシートサーバ3を介して電子レシート管理サーバ4に出力する形態としたが、これに限らず、POS端末1からネットワークN3を介して電子レシート管理サーバ4にアクセスすることで、電子レシート管理サーバ4に電子レシートデータを直接出力する形態としてもよい。 In the above embodiment, the electronic receipt data generated by the POS terminal 1 is output to the electronic receipt management server 4 via the electronic receipt server 3. However, the present invention is not limited to this. The electronic receipt data may be directly output to the electronic receipt management server 4 by accessing the electronic receipt management server 4 via .

また、上記実施形態では、携帯端末7は、電子レシート管理サーバ4を介して電子レシートデータを受信する形態としたが、これに限らず、POS端末1から電子レシートデータを直接受信する形態としてもよい。この場合、POS端末1は、店舗内ネットワークN1や図示しない近距離無線通信部を介して接続された携帯端末7に対し、生成した電子レシートデータを出力する。また、この場合、POS端末1で認証処理を行ってもよい。 In the above embodiment, the mobile terminal 7 receives the electronic receipt data via the electronic receipt management server 4. However, the mobile terminal 7 may receive the electronic receipt data directly from the POS terminal 1. good. In this case, the POS terminal 1 outputs the generated electronic receipt data to the portable terminal 7 connected via the in-store network N1 or a short-range wireless communication unit (not shown). Also, in this case, the POS terminal 1 may perform the authentication process.

また、上記実施形態では、商品データファイルをPOS端末1が記憶する形態としたが、これに限らず、ストアサーバ2が、POS端末1から参照可能に商品データファイルを記憶する形態としてもよい。 In the above embodiment, the POS terminal 1 stores the product data file.

1 POS端末
3 電子レシートサーバ
4 電子レシート管理サーバ
7 携帯端末
11 制御部
12 操作部
13 印字部
14 表示部
15 コード読取部
16 通信I/F
17 記憶部
111 電子レシートデータ送信手段
112 変更レシートデータ生成手段
113 制御手段
114 訂正レシートデータ生成手段
115 判断手段
1 POS terminal 3 electronic receipt server 4 electronic receipt management server 7 portable terminal 11 control unit 12 operation unit 13 printing unit 14 display unit 15 code reading unit 16 communication I/F
17 Storage Unit 111 Electronic Receipt Data Transmission Means 112 Changed Receipt Data Generation Means 113 Control Means 114 Corrected Receipt Data Generation Means 115 Judgment Means

特開2011-90375号公報JP 2011-90375 A

Claims (5)

決済処理した商品の取引情報に基づいて生成したレシートデータから電子レシートデータを生成して外部装置に送信する電子レシートデータ送信手段と、
前記取引情報の変更に伴い、当該変更についての新たな変更レシートデータを生成する変更レシートデータ生成手段と、
前記変更レシートデータ生成手段によって生成された変更レシートデータに顧客を特定する顧客特定情報が含まれている場合、前記変更レシートデータに基づく印字データを印字部に出力し、前記変更レシートデータに基づく変更電子レシートデータの生成を実行しない制御手段と、
を備えた商品販売データ処理装置。
electronic receipt data transmission means for generating electronic receipt data from receipt data generated based on transaction information of products for which payment processing has been performed, and transmitting the electronic receipt data to an external device;
change receipt data generation means for generating new change receipt data for the change in accordance with the change of the transaction information;
When the modified receipt data generated by the modified receipt data generating means includes customer identification information for identifying a customer, print data based on the modified receipt data is output to a printing unit, and the modification based on the modified receipt data is performed. a control means that does not generate electronic receipt data ;
Product sales data processing device with.
決済処理した商品の取引情報に基づいて生成したレシートデータから電子レシートデータを生成して外部装置に送信する電子レシートデータ送信手段と、
前記取引情報の変更に伴い、当該変更についての新たな変更レシートデータを生成する変更レシートデータ生成手段と、
前記変更レシートデータ生成手段によって生成された変更レシートデータに顧客を特定する顧客特定情報が含まれている場合、前記変更レシートデータに基づく印字データを印字部に出力し、前記変更レシートデータに基づく変更電子レシートデータを生成し、生成した当該変更電子レシートデータを前記外部装置への送信を行わない制御手段と、
を備えた商品販売データ処理装置。
electronic receipt data transmission means for generating electronic receipt data from receipt data generated based on transaction information of products for which payment processing has been performed, and transmitting the electronic receipt data to an external device;
change receipt data generation means for generating new change receipt data for the change in accordance with the change of the transaction information;
When the modified receipt data generated by the modified receipt data generating means includes customer identification information for identifying a customer, print data based on the modified receipt data is output to a printing unit, and the modification based on the modified receipt data is performed. a control means for generating electronic receipt data and not transmitting the generated changed electronic receipt data to the external device;
Product sales data processing device with .
前記変更レシートデータは、一括取消処理レシートデータまたは再発行レシートデータである、
請求項またはに記載の商品販売データ処理装置。
The changed receipt data is bulk cancellation receipt data or reissued receipt data,
3. The merchandise sales data processing device according to claim 1 or 2 .
商品販売データ処理装置としてのコンピュータを、
決済処理した商品の取引情報に基づいて生成したレシートデータから電子レシートデータを生成して外部装置に送信する電子レシートデータ送信手段と、
前記取引情報の変更に伴い、当該変更についての新たな変更レシートデータを生成する変更レシートデータ生成手段と、
前記変更レシートデータ生成手段によって生成された変更レシートデータに顧客を特定する顧客特定情報が含まれている場合、前記変更レシートデータに基づく印字データを印字部に出力し、前記変更レシートデータに基づく変更電子レシートデータの生成を実行しない制御手段と、
して機能させるためのプログラム。
A computer as a product sales data processing device,
electronic receipt data transmission means for generating electronic receipt data from receipt data generated based on transaction information of products for which payment processing has been performed, and transmitting the electronic receipt data to an external device;
change receipt data generation means for generating new change receipt data for the change in accordance with the change of the transaction information;
When the modified receipt data generated by the modified receipt data generating means includes customer identification information for identifying a customer, print data based on the modified receipt data is output to a printing unit, and the modification based on the modified receipt data is performed. a control means that does not generate electronic receipt data ;
program to function as
商品販売データ処理装置としてのコンピュータを、A computer as a product sales data processing device,
決済処理した商品の取引情報に基づいて生成したレシートデータから電子レシートデータを生成して外部装置に送信する電子レシートデータ送信手段と、electronic receipt data transmission means for generating electronic receipt data from receipt data generated based on transaction information of products for which payment processing has been performed, and transmitting the electronic receipt data to an external device;
前記取引情報の変更に伴い、当該変更についての新たな変更レシートデータを生成する変更レシートデータ生成手段と、change receipt data generation means for generating new change receipt data for the change in accordance with the change of the transaction information;
前記変更レシートデータ生成手段によって生成された変更レシートデータに顧客を特定する顧客特定情報が含まれている場合、前記変更レシートデータに基づく印字データを印字部に出力し、前記変更レシートデータに基づく変更電子レシートデータを生成し、生成した当該変更電子レシートデータを前記外部装置への送信を行わない制御手段と、When the modified receipt data generated by the modified receipt data generating means includes customer identification information for identifying a customer, print data based on the modified receipt data is output to a printing unit, and the modification based on the modified receipt data is performed. a control means for generating electronic receipt data and not transmitting the generated changed electronic receipt data to the external device;
して機能させるためのプログラム。program to function as
JP2020187026A 2020-11-10 2020-11-10 Merchandise sales data processor and program Active JP7132307B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020187026A JP7132307B2 (en) 2020-11-10 2020-11-10 Merchandise sales data processor and program
JP2022133157A JP7433387B2 (en) 2020-11-10 2022-08-24 Electronic receipt management server and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020187026A JP7132307B2 (en) 2020-11-10 2020-11-10 Merchandise sales data processor and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019200843A Division JP6794521B2 (en) 2019-11-05 2019-11-05 Electronic receipt management server, program and electronic receipt system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2022133157A Division JP7433387B2 (en) 2020-11-10 2022-08-24 Electronic receipt management server and program

Publications (2)

Publication Number Publication Date
JP2021028836A JP2021028836A (en) 2021-02-25
JP7132307B2 true JP7132307B2 (en) 2022-09-06

Family

ID=74667265

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2020187026A Active JP7132307B2 (en) 2020-11-10 2020-11-10 Merchandise sales data processor and program
JP2022133157A Active JP7433387B2 (en) 2020-11-10 2022-08-24 Electronic receipt management server and program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2022133157A Active JP7433387B2 (en) 2020-11-10 2022-08-24 Electronic receipt management server and program

Country Status (1)

Country Link
JP (2) JP7132307B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013097657A (en) 2011-11-02 2013-05-20 Seiko Epson Corp Receipt management device, receipt management system, and control method and program for receipt management device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10188141A (en) * 1996-12-20 1998-07-21 Nec Corp Automation system for item return processing in pos register

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013097657A (en) 2011-11-02 2013-05-20 Seiko Epson Corp Receipt management device, receipt management system, and control method and program for receipt management device

Also Published As

Publication number Publication date
JP2022167963A (en) 2022-11-04
JP7433387B2 (en) 2024-02-19
JP2021028836A (en) 2021-02-25

Similar Documents

Publication Publication Date Title
JP2014206790A (en) Merchandise sales data processor and program
US20180211241A1 (en) Commodity sales data processing apparatus and commodity sales data processing method
JP5827287B2 (en) Electronic receipt management server and program
JP2023001162A (en) Transaction data processor, transaction data processing method, and program
JP6794521B2 (en) Electronic receipt management server, program and electronic receipt system
JP6690037B2 (en) Sales data processor, program and electronic receipt system
JP6388688B2 (en) Server, program, and server data processing method
JP5814432B1 (en) Server, sales data processing apparatus, program, and electronic receipt transmission method
JP7132307B2 (en) Merchandise sales data processor and program
JP7181353B2 (en) Sales data processor and program
JP6395888B2 (en) Sales data processing apparatus and program
JP5891212B2 (en) Product sales data processing apparatus and program
JP6618585B2 (en) Electronic receipt system
JP6921267B2 (en) Sales data processing equipment, programs and electronic receipt systems
JP2015232840A (en) Server, sales data processor, program and electronic receipt transmission method
JP6499263B2 (en) Electronic receipt management server, electronic receipt browsing method and program
JP2018156694A (en) Commodity sales data processing device, program, and electronic receipt data output method
JP7242766B2 (en) mobile terminal and program
JP6940651B2 (en) Electronic receipt system and electronic receipt management method
JP6162755B2 (en) Product sales data processing apparatus and program
JP2017174468A (en) Electronic receipt system
JP2016170795A (en) Server, transaction data processing system and program
JP6118379B2 (en) server
JP2020155147A (en) Server, program, and electronic receipt transmission method
JP2019016368A (en) Electronic receipt system and electronic receipt management method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201111

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220314

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220825

R150 Certificate of patent or registration of utility model

Ref document number: 7132307

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150