JP2024053141A - Payment processing device and payment processing program - Google Patents

Payment processing device and payment processing program Download PDF

Info

Publication number
JP2024053141A
JP2024053141A JP2022159197A JP2022159197A JP2024053141A JP 2024053141 A JP2024053141 A JP 2024053141A JP 2022159197 A JP2022159197 A JP 2022159197A JP 2022159197 A JP2022159197 A JP 2022159197A JP 2024053141 A JP2024053141 A JP 2024053141A
Authority
JP
Japan
Prior art keywords
discount
flag
unit
control unit
payment processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022159197A
Other languages
Japanese (ja)
Inventor
誠 日吉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2022159197A priority Critical patent/JP2024053141A/en
Publication of JP2024053141A publication Critical patent/JP2024053141A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

【課題】 値割引き適用時に効率よく値割引き金額が最大値となる決済処理装置及び決済処理プログラムを提供する。【解決手段】本実施形態の決済処理装置は商品情報取得部と、制御部と、を備える。商品情報取得部は、商品の単価を含む商品情報を取得する。制御部は、商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で単価を値引く値引きフラグと、割引フラグおよび値引きフラグが有効である状態を記憶する記憶部に記憶する情報に基づいて、割引フラグが有効な場合、割引率に基づき単価の割引を行い割引結果を算出し、値引きフラグが有効な場合、値引き額に基づき割引結果から値引きを行う。【選択図】 図6[Problem] To provide a payment processing device and a payment processing program that efficiently maximizes the discount amount when discounts are applied. [Solution] The payment processing device of this embodiment includes a product information acquisition unit and a control unit. The product information acquisition unit acquires product information including the unit price of the product. The control unit, based on the product information, a discount flag that discounts the unit price by a preset discount rate, a discount flag that discounts the unit price by a preset discount amount, and information stored in a storage unit that stores the discount flag and the status of the discount flag being enabled, calculates a discount result by discounting the unit price based on the discount rate if the discount flag is enabled, and calculates a discount result based on the discount amount if the discount flag is enabled. [Selected Figure] Figure 6

Description

本発明の実施形態は、決済処理装置及び決済処理プログラムに関する。 Embodiments of the present invention relate to a payment processing device and a payment processing program.

従来、スーパーマーケット等の小売店において商品や役務を取引する際にPOS(Point Of Sales)端末を用いて決済が行われる。このような決済を処理するPOS端末にはあらかじめ設定されている商品や役務の単価又は小計に対して値割引きを行う機能を有するものがある。
しかしながら、決済に適用する値割引きの組み合わせによっては値割引き金額が最大になるように出力するために時間を要する場合がある。そのような場合、1つの取引に対する顧客の滞在時間が増え、作業効率が低下する。
Conventionally, when a product or service is traded at a retail store such as a supermarket, a POS (Point Of Sales) terminal is used to make a payment. Some POS terminals that process such payments have a function of applying a discount to a preset unit price or subtotal of the product or service.
However, depending on the combination of discounts applied to the payment, it may take time to output the maximum discount amount. In such cases, the customer's stay time for one transaction increases, and work efficiency decreases.

特開2012-226479号公報JP 2012-226479 A

本発明が解決しようとする課題は値割引き適用時に効率よく値割引き金額が最大値となる決済処理装置及び決済処理プログラムを提供することにある。 The problem that this invention aims to solve is to provide a payment processing device and a payment processing program that efficiently maximizes the discount amount when discounts are applied.

上記課題を達成するために本実施形態の決済処理装置は商品情報取得部と、制御部と、を備える。商品情報取得部は、商品の単価を含む商品情報を取得する。制御部は、商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で単価を値引く値引きフラグと、割引フラグおよび値引きフラグが有効である状態を記憶する記憶部に記憶する情報に基づいて、割引フラグが有効な場合、割引率に基づき単価の割引を行い割引結果を算出し、値引きフラグが有効な場合、値引き額に基づき割引結果から値引きを行う。 To achieve the above object, the payment processing device of this embodiment includes a product information acquisition unit and a control unit. The product information acquisition unit acquires product information including the unit price of the product. The control unit, based on the product information, a discount flag that discounts the unit price by a preset discount rate, a discount flag that discounts the unit price by a preset discount amount, and information stored in a storage unit that stores the discount flag and the state in which the discount flag is enabled, calculates a discount result by discounting the unit price based on the discount rate if the discount flag is enabled, and calculates a discount result based on the discount amount if the discount flag is enabled.

第1の実施形態に係るPOS端末の一例を示すブロック図。FIG. 2 is a block diagram showing an example of a POS terminal according to the first embodiment. 第1の実施形態に係るのPLUマスタのデータ構造例を示す図。FIG. 4 is a diagram showing an example of a data structure of a PLU master according to the first embodiment. 第1の実施形態に係る値割引き設定管理ファイルのデータ構造例を示す図。FIG. 4 is a diagram showing an example of the data structure of a discount setting management file according to the first embodiment. 第1の実施形態に係る会計ファイルのデータ構造例を示す図。FIG. 4 is a diagram showing an example of the data structure of an accounting file according to the first embodiment. 第1の実施形態に係る決済処理装置の単価ごとに値割引き操作を行う決済処理の一例を示すフローチャート。11 is a flowchart showing an example of a payment process in which a discount operation is performed for each unit price in the payment processing device according to the first embodiment. 第1の実施形態に係る決済処理装置の再計算処理の一例を示すフローチャート。11 is a flowchart showing an example of a recalculation process of the payment processing device according to the first embodiment. 第1の実施形態に係る決済処理装置の値引きフラグ管理処理の一例を示すフローチャート。11 is a flowchart showing an example of a discount flag management process of the payment processing device according to the first embodiment. 第1の実施形態に係る決済処理装置の小計に対する値割引き操作を行う決済処理の一例を示すフローチャート。11 is a flowchart showing an example of a payment process for performing a discount operation on a subtotal in the payment processing device according to the first embodiment. 第2の実施形態に係る値割引き設定管理ファイルのデータ構造例を示す図。FIG. 11 is a diagram showing an example of the data structure of a discount setting management file according to the second embodiment. 第2の実施形態に係る決済処理装置の単価ごとに値割引き操作を行う決済処理の一例を示すフローチャート。13 is a flowchart showing an example of a payment process in which a discount operation is performed for each unit price in the payment processing device according to the second embodiment. 第2の実施形態に係る決済処理装置の小計に対する値割引き操作を行う決済処理の一例を示すフローチャート。13 is a flowchart showing an example of a payment process for performing a discount operation on a subtotal in the payment processing device according to the second embodiment. 第3の実施形態に係る決済処理装置の単価ごとに値割引き操作を行う決済処理の一例を示すフローチャート。13 is a flowchart showing an example of a payment process in which a discount operation is performed for each unit price in the payment processing device according to the third embodiment. 第3の実施形態に係る決済処理装置の小計に対する値割引き操作を行う決済処理の一例を示すフローチャート。13 is a flowchart showing an example of a payment process for performing a discount operation on a subtotal in the payment processing device according to the third embodiment.

(第1の実施形態)
以下、本実施形態について、図面を参照にしながら説明する。
本実施形態ではスーパーマーケットなど小売店にて使用される決済処理を行う決済処理装置としてPOS端末1を一例に挙げ、説明する。本実施形態における商品の単価は税抜きの金額でも良いし、税込みの金額でもよい。
First Embodiment
Hereinafter, the present embodiment will be described with reference to the drawings.
In this embodiment, a POS terminal 1 will be described as an example of a payment processing device that performs payment processing and is used in retail stores such as supermarkets. The unit price of a product in this embodiment may be an amount excluding tax or an amount including tax.

図1は第1の実施形態に係るPOS端末1の一例を示すブロック図である。
POS端末1は制御部100、記憶部101、商品読取部102、操作部103、店員側表示部104、客面表示部105、印字部106、通信I/F107、決済媒体読取部108によって構成され、各部はバスを通じて接続される。
FIG. 1 is a block diagram showing an example of a POS terminal 1 according to the first embodiment.
The POS terminal 1 is composed of a control unit 100, a memory unit 101, a product reading unit 102, an operation unit 103, a store clerk display unit 104, a customer-facing display unit 105, a printing unit 106, a communication I/F 107, and a payment medium reading unit 108, and each unit is connected via a bus.

制御部100はCPU(Central Processing Unit)1001、ROM(Read Only Memory)1002、RAM(Random Access Memory)1003を備える。CPU1001はPOS端末1全体を制御する。ROM1002はCPU1001の駆動に用いられるプログラムなど各種プログラムや各種データを記憶する。RAM1003は。CPU1001のワークエリアとして使用され、ROM1002や記憶部101に記憶されている各種プログラムと各種データを展開する。制御部101はCPU1001がROM1002や、記憶部101に記憶されRAM1003に展開された情報処理プログラムに従って動作することによってPOS端末1の各種機能処理を実行する。 The control unit 100 includes a CPU (Central Processing Unit) 1001, a ROM (Read Only Memory) 1002, and a RAM (Random Access Memory) 1003. The CPU 1001 controls the entire POS terminal 1. The ROM 1002 stores various programs and various data, such as programs used to drive the CPU 1001. The RAM 1003 is used as a work area for the CPU 1001, and expands the various programs and data stored in the ROM 1002 and the storage unit 101. The control unit 101 executes various functional processes of the POS terminal 1 by the CPU 1001 operating in accordance with the ROM 1002 and information processing programs stored in the storage unit 101 and expanded in the RAM 1003.

記憶部101はHDD(Hard Disc Drive)やフラッシュメモリ等の記憶媒体で構成されている。記憶部101にはPOS端末1が動作するためにオペレーティングシステム及び他の必要なアプリケーションプログラム等のソフトウェアやユーザー情報などを記憶する。また、記憶部101はPLU(Price Look Up)マスタ1011、値割引設定管理ファイル1012、会計ファイル1013等も記憶されている。
なお、PLUマスタ1011、値割引設定管理ファイル1012、会計ファイル1013はPOS端末1からアクセス可能な記憶媒体又は機器に記憶されていればよく、外付けのHDDや店舗内に設置した管理用の端末、サーバなどに記憶されていても良い。
The storage unit 101 is composed of a storage medium such as a HDD (Hard Disc Drive) or a flash memory. The storage unit 101 stores software such as an operating system and other necessary application programs for the operation of the POS terminal 1, user information, etc. The storage unit 101 also stores a PLU (Price Look Up) master 1011, a discount setting management file 1012, an accounting file 1013, etc.
The PLU master 1011, the discount setting management file 1012, and the accounting file 1013 may be stored in a storage medium or device accessible from the POS terminal 1, and may also be stored in an external HDD, a management terminal or server installed in the store, etc.

商品読取部102は商品などに付された商品コードを光学的または撮像を行い認識する。商品コードとはバーコードなどの一次元コード、あるいは2次元コード等のコードシンボルである。商品読取部102は認識したコードシンボルをデコードし、コードシンボルが示すPLUコード等商品に関する情報を取得する。商品読取部102は、色や凹凸等の商品の特徴量に基づいて商品を認識するオブジェクト認識方式で商品を特定しても良い。また、商品読取部102は商品に付された商品コードの他、商品の値割引についての情報が記載された一次元コードあるいは2次元コード等コードシンボルが記載された商品券(以下、クーポン)を読み取り商品の値割引についての情報(以下、クーポン情報)を取得しても良い。なお、取得したコードシンボルをデコードする処理は制御部101が行っても良い。 The product reading unit 102 recognizes product codes attached to products and the like by optically or by imaging. A product code is a code symbol such as a one-dimensional code, such as a barcode, or a two-dimensional code. The product reading unit 102 decodes the recognized code symbol and acquires information about the product, such as a PLU code indicated by the code symbol. The product reading unit 102 may identify the product using an object recognition method that recognizes the product based on product features such as color and unevenness. In addition to the product code attached to the product, the product reading unit 102 may also read a gift certificate (hereinafter, a coupon) that has a code symbol, such as a one-dimensional code or a two-dimensional code, that contains information about a discount on the product, and acquire information about the discount on the product (hereinafter, coupon information). The control unit 101 may perform the process of decoding the acquired code symbol.

操作部103は使用者が入力した命令をPOS端末1に出力する。操作部103はPOS端末1に命令を出力するために「0」ないし「9」の置数キーにて構成されたテンキー、小計の実行を命令する小計キー、値割引きの受付を終了する値割引き終了キーなどを備え、押下されたキーを示す信号を命令として出力する。なお、操作部103には商品の単価又は小計から設定された金額分を値引きする値引きプリセットキーや、商品の単価又は小計から設定された割引率で割引く割引プリセットキーを備えていても良い。また、値引きプリセットキー及び割引プリセットキーはそれぞれ異なる値が設定されていても良い。 The operation unit 103 outputs commands entered by the user to the POS terminal 1. The operation unit 103 is equipped with a numeric keypad consisting of numeric keys "0" through "9" for outputting commands to the POS terminal 1, a subtotal key for issuing a command to execute a subtotal, a discount end key for ending the acceptance of discounts, and the like, and outputs a signal indicating which key has been pressed as a command. The operation unit 103 may also be equipped with a discount preset key for discounting a set amount from the unit price or subtotal of the product, or a discount preset key for discounting a set discount rate from the unit price or subtotal of the product. Also, the discount preset key and the discount preset key may each be set to a different value.

店員側表示部104及び、客面表示部105はPOS端末1に関する情報を表示する。店員側表示部104及び、客面表示部105は液晶ディスプレイ、有機EL(Electro Luminescence)の表示デバイスである。 The clerk display unit 104 and the customer display unit 105 display information related to the POS terminal 1. The clerk display unit 104 and the customer display unit 105 are liquid crystal displays and organic EL (Electro Luminescence) display devices.

店員側表示部104は店員が操作に供するための情報を表示する。店員側表示部104は例えば商品読取部102が読み取った商品情報の他、電子マネーやクレジットカードでの決済に関する画面などを表示する。また、店員側表示部104がタッチパネルである場合、POS端末1に読取から会計処理に移行するための命令を入力するための領域やあらかじめ設定した金額を購入金額である小計に加算するためのプリセットに関する領域などを表示しても良い。なお、店員側表示部104は商品の単価又は小計から設定された金額分を値引きする値引きプリセットに関する領域や、商品の単価又は小計から設定された割引率で割引く割引プリセットに関する領域を表示しても良い。 The clerk display unit 104 displays information for the clerk to operate. For example, the clerk display unit 104 displays product information read by the product reading unit 102, as well as screens related to payments with electronic money or credit cards. If the clerk display unit 104 is a touch panel, it may display an area for inputting a command to move from reading to accounting processing on the POS terminal 1, or an area related to a preset for adding a pre-set amount to the subtotal, which is the purchase amount. The clerk display unit 104 may also display an area related to a discount preset for discounting a set amount from the unit price or subtotal of the product, or an area related to a discount preset for discounting a set discount rate from the unit price or subtotal of the product.

客面表示部105は買い物客に会計を行うために供する情報を表示する。客面表示部105は例えば購入する商品の名称、商品の金額、商品の合計金額である小計等を表示する。また、客面表示機器15は決済方法の選択等のためにタッチパネルであっても良い。 The customer-facing display unit 105 displays information to help the shopper make a payment. For example, the customer-facing display unit 105 displays the name of the product to be purchased, the price of the product, and a subtotal, which is the total price of the products. The customer-facing display device 15 may also be a touch panel for selecting a payment method, etc.

印字部106は例えば感熱紙であるレシート用紙に各種の情報を印刷するサーマルプリンタである。印字部106は客が購入した商品等の名称や単価、小計金額、合計金額、値割引額等が印刷されたレシートを発行させる。 The printing unit 106 is, for example, a thermal printer that prints various information on receipt paper, which is thermal paper. The printing unit 106 issues a receipt on which the name, unit price, subtotal, total amount, discount amount, etc. of the products purchased by the customer are printed.

通信I/F107は有線または無線を介して通信接続された機器との間でデータの送受信を行う。 The communication I/F 107 transmits and receives data to and from devices connected via wired or wireless communication.

決済媒体読取部108は磁気読取やIC(Integrated Circuit)チップ読取、近距離無線通信等を有し、決済媒体を読み取る。決済媒体は例えばキャッシュレス決済用のカードやキャッシュレス決済用のアプリをインストールした携帯端末でありユーザーIDや電子マネー残高等で構成したユーザー情報と関連付けられる。ユーザー情報は、例えば決済媒体が備えるユーザーID等をもとに関連づけられる。また、決済媒体読取部108は、POS端末1と一体に構成してもPOS端末1に接続して動作する外部装置として構成しても良い。 The payment medium reading unit 108 has magnetic reading, IC (Integrated Circuit) chip reading, near-field wireless communication, etc., and reads the payment medium. The payment medium is, for example, a card for cashless payment or a mobile terminal with a cashless payment app installed, and is associated with user information consisting of a user ID, electronic money balance, etc. The user information is associated based on, for example, a user ID provided by the payment medium. The payment medium reading unit 108 may be configured as an integral part of the POS terminal 1, or may be configured as an external device that operates by connecting to the POS terminal 1.

図2は第1の実施形態に係るのPLUマスタ1011のデータ構造例を示す図である。
PLUマスタ1011はPOS端末1が設置された小売店などの店舗で販売される商品のPLUデータによって構成されている。各PLUデータは、商品毎に一意に割り当てられた「PLUコード」、その商品の名称を示す「商品名」、その商品の売値を示す「単価」等の項目で構成されている。
FIG. 2 is a diagram showing an example of a data structure of the PLU master 1011 according to the first embodiment.
The PLU master 1011 is composed of PLU data of products sold at a store such as a retail shop where the POS terminal 1 is installed. Each PLU data is composed of items such as a "PLU code" uniquely assigned to each product, a "product name" indicating the name of the product, and a "unit price" indicating the selling price of the product.

図3は第1の実施形態に係る値割引き設定管理ファイル1012のデータ構造例を示す図である。値割引き設定管理ファイル1012は、商品読取部102が取得したクーポンが記憶している値割引きに関する情報に対応するレコードによって構成されている。各レコードには、値割引種別およびフラグが記述される。フラグは、「0」(無効),「1」(有効)のいずれかに設定される。割引に関する値割引種別のフラグ(以下、割引フラグ)が「1」であるならば、後述の決済処理において入力された値割引種別に示された割引が実施され、「0」であるならば値割引種別に示された割引が実施されない。値引きに関する値割引種別のフラグ(以下、値引きフラグ)が「1」であるならば、後述の決済処理において入力された値割引種別に示された値引きが実施され、「0」であるならば値割引種別に示された値引きが実施されない。また、値引きフラグはあらかじめ有効となる数に制限を設けても良い。なお、値割引き設定管理ファイル1012は操作部103または店員側表示部104が備える値割引きを命令するプリセットキーまたは値割引に関する領域に対応するレコードで一部または全てを構成していても良い。 Figure 3 is a diagram showing an example of the data structure of the discount setting management file 1012 according to the first embodiment. The discount setting management file 1012 is composed of records corresponding to information on discounts stored in the coupons acquired by the product reading unit 102. A discount type and a flag are described in each record. The flag is set to either "0" (invalid) or "1" (valid). If the discount type flag for the discount (hereinafter, discount flag) is "1", the discount indicated in the discount type input in the settlement process described below is implemented, and if it is "0", the discount indicated in the discount type is not implemented. If the discount type flag for the discount (hereinafter, discount flag) is "1", the discount indicated in the discount type input in the settlement process described below is implemented, and if it is "0", the discount indicated in the discount type is not implemented. In addition, the discount flag may be limited in advance to a valid number. The discount setting management file 1012 may be composed in part or in whole of records corresponding to preset keys for issuing discount commands or areas related to discounts provided on the operation unit 103 or the store clerk display unit 104.

このような構成の値割引き設定管理ファイル1012は、例えばPOS端末1にて実行される割引設定処理にて編集される。すなわち、この値割引を適用する処理において商品読取部102で取得したクーポン情報に対し設定する値割引種別と、フラグの値の入力が受け付けられ、入力された値割引種別およびフラグの値にて値割引き設定管理ファイル1012の内容が更新される。 The discount setting management file 1012 configured in this way is edited, for example, by a discount setting process executed by the POS terminal 1. That is, in the process of applying this discount, input of the discount type to be set for the coupon information acquired by the product reading unit 102 and the flag value is accepted, and the contents of the discount setting management file 1012 are updated with the input discount type and flag value.

図4は、会計ファイル1013のデータ構造例を示す図である。会計ファイル1013は、POS端末1によって決済された取引の履歴を示す会計情報によって構成されている。各会計情報は、取引毎に割り当てられた「取引番号」、「取引日時」、その取引で決済された各商品の「PLUデータ」、取引の「小計金額」および「合計金額」、値割引の受付を終了した後に実行する再計算処理の「再計算結果」等の項目で構成されている。 Figure 4 shows an example of the data structure of the accounting file 1013. The accounting file 1013 is composed of accounting information that shows the history of transactions settled by the POS terminal 1. Each piece of accounting information is composed of items such as the "transaction number" and "transaction date and time" assigned to each transaction, the "PLU data" of each product settled in that transaction, the "subtotal amount" and "total amount" of the transaction, and the "recalculation result" of the recalculation process that is executed after the acceptance of the discount has been completed.

また、会計情報には、割引きに関するクーポン情報が取得され割引が実施された場合にはクーポン情報に対応する「割引フラグ」の項目が追加され、値引きに関するクーポン情報が取得され値引が実施された場合にはクーポン情報に対応する「値引きフラグ」の項目が追加されて、これらの項目に割引金額と値引き金額が書き込まれる。このように、単価に対する値割引が実施されると、その種別に応じた項目が追加されその値割引の金額が書き込まれるので、取引において実施された値割引の金額とその値割引の種別とが識別可能となる。 In addition, when coupon information related to a discount is acquired and a discount is implemented, a "discount flag" item corresponding to the coupon information is added to the accounting information, and when coupon information related to a discount is acquired and a discount is implemented, a "discount flag" item corresponding to the coupon information is added, and the discount amount and the discounted amount are written into these items. In this way, when a discount is implemented on the unit price, an item according to the type is added and the discount amount is written, making it possible to identify the amount of the discount implemented in the transaction and the type of discount.

POS端末1にて実行される商品購入時の決済処理について説明する。 The following describes the payment process that is executed at the POS terminal 1 when purchasing a product.

図5は第1の実施形態に係る決済処理装置の単価ごとに値割引き操作を行う決済処理の一例を示すフローチャートである。本実施形態では値引きまたは割引に関する情報をコードシンボルが記載されたクーポンに記載されているクーポン情報から取得される例で説明する。また、実施形態では値引きフラグが有効となる数を制限する。 Figure 5 is a flowchart showing an example of payment processing for performing discount operations for each unit price in the payment processing device according to the first embodiment. In this embodiment, an example will be described in which the discount or discount information is obtained from coupon information written on a coupon with a code symbol written on it. In addition, in this embodiment, the number of times the discount flag is enabled is limited.

制御部100は商品情報の入力を受け付ける(ACT101)。制御部100は商品読取部102を介して顧客が購入する商品情報を取得する。言い換えれば、制御部100はPLUコードを取得する。PLUコードを取得後、制御部100は取得したPLUコードをもとにPLUコードを含むPLUデータをPLUマスタ1011から抽出し、RAM1003に展開する。また、制御部100はPLUデータから商品名、単価などを抽出し、店員側表示部104と客面表示部105に表示する。 The control unit 100 accepts input of product information (ACT101). The control unit 100 acquires product information purchased by the customer via the product reading unit 102. In other words, the control unit 100 acquires the PLU code. After acquiring the PLU code, the control unit 100 extracts PLU data including the PLU code from the PLU master 1011 based on the acquired PLU code, and expands it in the RAM 1003. The control unit 100 also extracts the product name, unit price, etc. from the PLU data, and displays them on the store clerk display unit 104 and the customer display unit 105.

制御部100はクーポン情報を受け付ける(ACT102)。制御部100は商品読取部102を介してクーポンからクーポン情報を取得する。クーポン情報取得後、制御部100は対応する値引き又は割引に関するフラグをオンにする(ACT103)。制御部100はクーポン情報から対応する値割引種別のフラグを「1」に変更し、値割引きが有効なものとする。また、割引フラグに関しては割引率が最も高い値割引種別のレコードのフラグを「1」に変更する。つまり、複数の割引に関するクーポン情報を取得した場合は割引率が高いフラグを「1」に変更し、それ以外の割引率に関するフラグは「0」に変更する。値割引が有効になった後、制御部100は単価から有効になった値引き額または割引率をもとに計算処理を行う(ACT104)。計算終了後、制御部100は計算結果を店員側表示部104及び客面表示部105に計算結果を表示する(ACT105)。 The control unit 100 receives coupon information (ACT 102). The control unit 100 acquires coupon information from the coupon via the product reading unit 102. After acquiring the coupon information, the control unit 100 turns on the flag related to the corresponding discount or discount (ACT 103). The control unit 100 changes the flag of the corresponding discount type from the coupon information to "1" and makes the discount valid. In addition, regarding the discount flag, the flag of the record of the discount type with the highest discount rate is changed to "1". In other words, when coupon information related to multiple discounts is acquired, the flag of the high discount rate is changed to "1", and the flags related to the other discount rates are changed to "0". After the discount is valid, the control unit 100 performs a calculation process based on the discount amount or discount rate that has become valid from the unit price (ACT 104). After the calculation is completed, the control unit 100 displays the calculation result on the store clerk display unit 104 and the customer display unit 105 (ACT 105).

制御部100は他のクーポンを取得した場合(ACT106のYES)、取得したクーポン情報に対応するフラグを「1」に変更するためにACT103へ戻る。そのため、次に取得したクーポン情報に対応するフラグを有効にした場合、有効となった値引き金額又は割引金額は既に計算されている計算結果から値引きまたは割引きを行う。また、割引きに関するクーポンのクーポン情報を一度受け付けた後に、別の割引率のクーポン情報を受け付けた場合は、割引率の高いレコードのもののみ「1」とし、それ以外はすべて「0」となるようにする。言い換えれば、制御部100は割引率に関するフラグを有効とする場合は1つだけ有効となる状態とするように制御する。 When the control unit 100 acquires another coupon (YES in ACT 106), it returns to ACT 103 to change the flag corresponding to the acquired coupon information to "1." Therefore, when the flag corresponding to the next acquired coupon information is enabled, the enabled discount amount or discount amount is calculated based on the calculation result that has already been calculated. Also, if coupon information for a discount coupon is once accepted, and then coupon information for a different discount rate is accepted, only the record with the higher discount rate is set to "1," and all others are set to "0." In other words, when the control unit 100 enables a flag related to the discount rate, it controls so that only one is enabled.

会計処理に利用される最後のクーポン情報を取得した場合(ACT106のNO)、制御部100は次の商品が入力されたかを確認する(ACT107)。次の商品が入力されていない場合(ACT107のNO)は値割引き終了キーが入力される(ACT108)。POS端末1の使用者は値割引に関する入力を完了したことを命令するために操作部103または店員側表示部104が備える値割引き終了キーを押下またはタップすることで、制御部100は値割引の受け付けを終了する。 When the last coupon information to be used in the transaction has been acquired (ACT 106, NO), the control unit 100 checks whether the next product has been entered (ACT 107). If the next product has not been entered (ACT 107, NO), the discount end key is entered (ACT 108). The user of the POS terminal 1 presses or taps the discount end key provided on the operation unit 103 or the store clerk display unit 104 to indicate that the input related to the discount has been completed, and the control unit 100 ends the acceptance of the discount.

制御部100は商品読取部102を介して別の商品情報を取得した場合(ACT107のYES)、ACT108を飛ばしてACT109に移行する。 If the control unit 100 acquires other product information via the product reading unit 102 (YES in ACT 107), it skips ACT 108 and proceeds to ACT 109.

決済に供する値割引きの受付を終了した後、制御部100は再計算処理を行う(ACT109)。制御部100は抽出した商品の単価を一定の条件の下で再度値割引きする。 After the acceptance of the discount applied to the settlement is completed, the control unit 100 performs a recalculation process (ACT 109). The control unit 100 re-discounts the unit price of the extracted product under certain conditions.

制御部100は決済処理を行う(ACT110)。制御部100は再計算処理した計算結果である再計算処理結果をもとに決済を行う。制御部100は決済時に決済媒体読取部108を用いて決済媒体の情報を取得し、決済を行っても良い。 The control unit 100 performs a payment process (ACT110). The control unit 100 performs payment based on the recalculation process result, which is the result of the recalculation process. The control unit 100 may obtain information on the payment medium using the payment medium reading unit 108 at the time of payment and perform the payment.

制御部100は決済処理の結果をレシートとして発行する(ACT111)。制御部100は決済処理で購入した商品名、単価、小計、合計金額、根割引金額などが記載されたレシートを、印字部106を用いて出力する。 The control unit 100 issues the result of the payment process as a receipt (ACT 111). The control unit 100 uses the printing unit 106 to output a receipt that lists the product name, unit price, subtotal, total amount, and discount amount purchased in the payment process.

制御部100は会計情報を保存する(ACT112)。制御部100は当該取引の情報を会計情報として生成し会計ファイル1013に保存する。 The control unit 100 saves the accounting information (ACT 112). The control unit 100 generates the information on the transaction as accounting information and saves it in the accounting file 1013.

次に、再計算処理について説明する。図6は第1の実施形態に係る決済処理装置の再計算処理の一例を示すフローチャートである。再計算処理は決済処理と並行して処理される。再計算処理はクーポン取得時に実行された割引または値引き計算実行後に実施される一定の条件の下で行う割引または値引き計算である。 Next, the recalculation process will be described. FIG. 6 is a flowchart showing an example of the recalculation process of the payment processing device according to the first embodiment. The recalculation process is performed in parallel with the payment process. The recalculation process is a discount or discount calculation that is performed under certain conditions after the discount or discount calculation that was performed when the coupon was acquired.

制御部100は商品情報を呼び出す(ACT201)。制御部100は決済処理の段階で取得した商品情報をRAM1003に展開する。 The control unit 100 retrieves the product information (ACT 201). The control unit 100 expands the product information acquired during the payment process into the RAM 1003.

制御部100は単価を抽出する(ACT202)。制御部100は値割引を行うために単価のみを抽出しRAM1003に展開する。 The control unit 100 extracts the unit price (ACT 202). The control unit 100 extracts only the unit price to perform a discount and stores it in the RAM 1003.

制御部100は割引フラグを呼び出す(ACT203)。制御部100は値割引設定管理ファイル1012に記憶されている値割引種別の内、割引きに関するレコードから有効となっているレコードを呼び出し、RAM1003に展開する。 The control unit 100 calls the discount flag (ACT 203). The control unit 100 calls a valid record from among the discount types stored in the discount setting management file 1012, and expands it in the RAM 1003.

制御部100は割引率を抽出する(ACT204)。制御部100はRAM1003に展開されたレコードから割引率を抽出する。 The control unit 100 extracts the discount rate (ACT 204). The control unit 100 extracts the discount rate from the record expanded in the RAM 1003.

制御部100は割引計算を行う(ACT205)。制御部100は単価と割引率を抽出すると、単価と割引率で乗算を行う。例えば、フラグが有効となったレコードの割引率が10%とすると単価×0.1で計算を行うことで割引金額を算出する。割引金額の算出後に制御部100は単価から割引金額を減算し、割り引かれた金額を算出する。 The control unit 100 performs a discount calculation (ACT 205). After extracting the unit price and discount rate, the control unit 100 multiplies the unit price by the discount rate. For example, if the discount rate of the record with the enabled flag is 10%, the discount amount is calculated by multiplying the unit price by 0.1. After calculating the discount amount, the control unit 100 subtracts the discount amount from the unit price to calculate the discounted amount.

割引計算終了後、制御部100は値引きフラグを呼び出す(ACT206)。制御部100は値割引設定管理ファイル1012に記憶されている値割引種別の内、値引きに関するレコードから有効となっているレコードを呼び出し、RAM1003に展開する。 After the discount calculation is completed, the control unit 100 calls the discount flag (ACT 206). The control unit 100 calls the records related to discounts that are valid among the records of discount types stored in the discount setting management file 1012, and expands them in the RAM 1003.

制御部100は値引き額を抽出する(ACT207)。制御部100はRAM1003に展開されたレコードから値引き額が最も高いレコードを抽出する。具体的にはRAM1003に展開されているレコードの内、対象商品を500円、100円、50円値引く値引きフラグが有効となっている場合、制御部100は値引き額が最も高い500円値引くレコードを抽出する。また、値引き額を抽出するとき、制御部100は既に値引き額を抽出したレコードから抽出しない。 The control unit 100 extracts the discount amount (ACT 207). The control unit 100 extracts the record with the highest discount amount from the records expanded in RAM 1003. Specifically, if the discount flags for discounting the target product by 500 yen, 100 yen, and 50 yen are enabled among the records expanded in RAM 1003, the control unit 100 extracts the record with the highest discount amount of 500 yen. Furthermore, when extracting the discount amount, the control unit 100 does not extract it from a record from which a discount amount has already been extracted.

制御部100は値引計算を行う(ACT208)。制御部100は割引計算がされた単価に対して抽出した値引き額分減算する。そのため制御部100は単価と値引き額を抽出すると割引計算済み単価-値引き金額を行い値引きした計算結果を出力する。 The control unit 100 performs a discount calculation (ACT 208). The control unit 100 subtracts the extracted discount amount from the unit price after the discount calculation. Therefore, when the control unit 100 extracts the unit price and the discount amount, it subtracts the discounted unit price from the discount amount and outputs the discounted calculation result.

割引計算と値引計算を終了した後、制御部100は残額が0円以下になっているかを確認する(ACT209)。制御部100は割引計算と値引計算の計算の結果である残額が0円以下になっているかを確認する。 After completing the discount calculation and price reduction calculation, the control unit 100 checks whether the remaining amount is 0 yen or less (ACT 209). The control unit 100 checks whether the remaining amount, which is the result of the discount calculation and price reduction calculation, is 0 yen or less.

残高が0円以上の場合(ACT209のNO)、制御部100は他の値引きフラグが有効になっているかを確認する(ACT210)。他の値引きフラグが有効になっている場合(ACT210のYES)、制御部100は抽出していないレコードの中から値引き額が最も高い値引き額を抽出する。 If the balance is 0 yen or more (NO in ACT 209), the control unit 100 checks whether other discount flags are enabled (ACT 210). If other discount flags are enabled (YES in ACT 210), the control unit 100 extracts the highest discount amount from the records that have not been extracted.

残高が0円以上または残高が0円以上であっても有効なフラグが存在しない場合(ACT209のYES、ACT210のNO)、制御部100は取引金額を確定する(ACT211)。制御部100は取引金額が確定すると有効になっているフラグも確定する。 If the balance is 0 yen or more, or if the balance is 0 yen or more but there is no valid flag (YES in ACT 209, NO in ACT 210), the control unit 100 confirms the transaction amount (ACT 211). When the transaction amount is confirmed, the control unit 100 also confirms the valid flag.

図7は第1の実施形態に係る決済処理装置の値引きフラグ管理処理の一例を示すフローチャートである。実施形態では有効となる値引きフラグの数を5つまでに制限する。また、値引きフラグ管理処理は決済処理と再計算処理と並行して処理しても良い。 Figure 7 is a flowchart showing an example of discount flag management processing of the payment processing device according to the first embodiment. In this embodiment, the number of active discount flags is limited to five. In addition, the discount flag management processing may be performed in parallel with the payment processing and recalculation processing.

制御部100は値引きフラグを取得する(ACT301)。制御部100は値割引種別の内、フラグが有効になっている値引きに関するレコードを取得する。 The control unit 100 acquires the discount flag (ACT 301). The control unit 100 acquires records related to discounts for which the flag is enabled among the discount types.

制御部100は有効となっている値引きフラグがあらかじめ設定されている数以下であるかを確認する。有効になっている値引きフラグが設定されている数以下である場合(ACT301のNO)、制御部100は値引きフラグをすべて無効にし、決済処理の値引きに関するクーポン情報を受け付ける処理(ACT102)に戻る。 The control unit 100 checks whether the number of enabled discount flags is equal to or less than a preset number. If the number of enabled discount flags is equal to or less than the preset number (NO in ACT301), the control unit 100 disables all discount flags and returns to the process of accepting coupon information related to discounts in the payment process (ACT102).

図8は第1の実施形態に係る決済処理装置の小計に対する値割引き操作を行う決済処理の一例を示すフローチャートである。決済処理装置であるPOS端末1は単価ごとに決済処理を行うだけでなく小計に対して決済処理を行っても良い。また、図1ないし図7の実施形態の各部と同一部分は同一符号で示す。 Figure 8 is a flow chart showing an example of a payment process in which a discount operation is performed on a subtotal in the payment processing device according to the first embodiment. The POS terminal 1, which is the payment processing device, may perform payment processing not only for each unit price but also for the subtotal. Also, parts that are the same as those in the embodiment of Figures 1 to 7 are indicated with the same reference numerals.

商品情報を取得し店員側表示部104と客面表示部105を表示した後、制御部100は次の商品情報が入力されているかを確認する(ACT401)。商品情報が入力された場合(ACT401のYES)、ACT101へ戻る。すべての商品情報が入力されている場合(ACT401のNO)、制御部100は小計キーが入力されるまで待機する。 After acquiring the product information and displaying it on the clerk display unit 104 and the customer display unit 105, the control unit 100 checks whether the next product information has been entered (ACT 401). If product information has been entered (YES in ACT 401), the process returns to ACT 101. If all product information has been entered (NO in ACT 401), the control unit 100 waits until the subtotal key is entered.

制御部100は小計キーが入力されると(ACT402)、制御部100はクーポン情報を受け付ける(ACT102)。 When the subtotal key is input (ACT 402), the control unit 100 accepts coupon information (ACT 102).

クーポン情報を受け付けた後、制御部100は再計算処理を行う。制御部100は小計に対して割引計算と値引計算の処理を行う。 After accepting the coupon information, the control unit 100 performs a recalculation process. The control unit 100 performs discount and price reduction calculations on the subtotal.

このような構成にすることで決済処理装置は、値引きまたは割引を行うためのフラグを有効にするための受付処理時に一度計算を行い、その後、割引率を1つだけ適用し割引計算を行い、割引計算を行ったのちに値引き計算を行う再計算処理を行うことで効率よく値割引き金額が最大値となる決済を行うことができる。 With this configuration, the payment processing device performs a calculation once during the reception process to activate the flag for discounting or deduction, then applies only one discount rate to perform a discount calculation, and then performs a recalculation process to perform a discount calculation after the discount calculation, thereby efficiently performing a payment with the maximum discount amount.

(第2の実施形態)
第2の実施形態は会員割引を利用する場合の決済処理を行うものである。第2の実施形態の各部について、図1ないし図8の実施形態の各部と同一部分は同一符号で示す。
(Second embodiment)
The second embodiment is directed to a payment process when a member discount is utilized. In the second embodiment, the same components as those in the embodiment shown in Figs. 1 to 8 are designated by the same reference numerals.

会員割引は会員情報を記憶する会員カード等の媒体をPOS端末1が取得した場合に実行される割引計算処理である。会員カードは商品読取部102によって取得される。また、本実施形態では会員カードを取得した場合に有効になる割引を会員割引とし、クーポンや操作部103または店員側表示部104が備えるプリセットで入力されることで有効になる割引を通常割引とする。 The member discount is a discount calculation process that is executed when the POS terminal 1 acquires a medium such as a member card that stores member information. The member card is acquired by the product reading unit 102. In this embodiment, the discount that becomes effective when a member card is acquired is referred to as the member discount, and the discount that becomes effective when a coupon or a preset provided in the operation unit 103 or the store clerk display unit 104 is referred to as the regular discount.

図9は第2の実施形態に係る値割引き設定管理ファイル2012のデータ構造例を示す図である。値割引き設定管理ファイル2012は、通常割引に関するレコードの他、会員割引に関するレコードによって構成される。会員割引に関するレコードは値割引種別およびフラグが記述される。フラグは、「0」(無効),「1」(有効)のいずれかに設定される。このフラグが「1」であるならば、後述の決済処理において入力された値割引種別に示された割引が実施され、「0」であるならば割引種別に示された割引が実施されない。また、本実施形態では制御部100は会員割引とクーポン情報に対応する値割引種別は並列してフラグを有効にしないようにする。 Figure 9 is a diagram showing an example of the data structure of the discount setting management file 2012 according to the second embodiment. The discount setting management file 2012 is composed of records related to regular discounts as well as records related to member discounts. The records related to member discounts describe the discount type and a flag. The flag is set to either "0" (invalid) or "1" (valid). If this flag is "1", the discount indicated in the discount type entered in the payment process described below is implemented, and if the flag is "0", the discount indicated in the discount type is not implemented. Furthermore, in this embodiment, the control unit 100 does not enable the flags for the member discount and the discount type corresponding to the coupon information in parallel.

図10は第2の実施形態に係る決済処理装置の単価ごとに値割引き操作を行う決済処理の一例を示すフローチャートである。通常割引となる値割引に関する情報の受付が完了した後、制御部100は会員カード情報を取得する(ACT501)。商品読取部102または決済媒体読取部108を介して会員カードに関する情報を取得する。 Figure 10 is a flowchart showing an example of payment processing for performing discount operations for each unit price in a payment processing device according to the second embodiment. After the reception of information regarding the discount that will be the normal discount is completed, the control unit 100 acquires member card information (ACT 501). Information regarding the member card is acquired via the product reading unit 102 or the payment medium reading unit 108.

制御部100は会員割引の割引率が通常割引の割引率より高いか判断する(ACT502)。制御部100は会員割引による割引率と通常割引による割引率のどちらの割引率が高いかを判断する。会員割引の割引率が低い場合(ACT502のNO)は通常割引のフラグを有効なまま保持する。会員割引の割引率が高い場合(ACT502のYES)は、通常割引のフラグを無効にする(ACT503)。制御部100は会員割引のレコードに記載されているフラグを有効にする(ACT504)。 The control unit 100 determines whether the discount rate for the member discount is higher than the discount rate for the regular discount (ACT 502). The control unit 100 determines which discount rate is higher, the discount rate for the member discount or the discount rate for the regular discount. If the discount rate for the member discount is lower (NO in ACT 502), the flag for the regular discount remains valid. If the discount rate for the member discount is higher (YES in ACT 502), the flag for the regular discount is invalidated (ACT 503). The control unit 100 validates the flag written in the record for the member discount (ACT 504).

また、決済処理装置であるPOS端末1は小計に対して割引計算と値引き計算を行ってもい。図11は第2の実施形態に係る決済処理装置の小計に対する値割引き操作を行う決済処理の一例を示すフローチャートである。制御部100は図8で説明した小計に対する決済処理に加え、ACT106の処理終了後にACT501ないしACT504の処理を実行する。 The POS terminal 1, which is a payment processing device, may also perform discount and price reduction calculations on the subtotal. Figure 11 is a flowchart showing an example of payment processing for performing a price reduction operation on the subtotal of the payment processing device according to the second embodiment. In addition to the payment processing on the subtotal described in Figure 8, the control unit 100 executes the processing of ACT501 to ACT504 after the processing of ACT106 is completed.

この構成においても決済処理装置であるPOS端末1は効率よく値割引き金額が最大値となる決済を行うことができる。また、有効にするフラグの優先順位を設けることで会員割引を実施している店舗において会員割引とクーポンなどによる割引が同率であっても効率よく処理を行うことが出来る。 Even with this configuration, the POS terminal 1, which is the payment processing device, can efficiently perform payments that maximize the discount amount. In addition, by setting a priority order for the flags to be enabled, efficient processing can be performed in stores that offer member discounts, even if the member discount and discounts provided by coupons, etc., are at the same rate.

(第3の実施形態)
第3の実施形態は決済機能を有する会員カードを利用する場合の決済処理を行うものである。第3の実施形態の各部について、図1ないし図11の実施形態の各部と同一部分は同一符号で示す。
(Third embodiment)
The third embodiment is directed to a payment process when a member card having a payment function is used. The same reference numerals are used for the components of the third embodiment as those of the embodiment shown in Figures 1 to 11.

決済機能付きの会員カードは商品読取部102または決済媒体読取部108によって取得される。また、本実施形態では会員カードを取得した場合に有効になる割引を会員割引とし、クーポンや操作部103または店員側表示部104が備えるプリセットで入力されることで有効になる割引を通常割引とする。 The membership card with payment function is acquired by the product reading unit 102 or the payment medium reading unit 108. In this embodiment, a discount that becomes effective when a membership card is acquired is referred to as a member discount, and a discount that becomes effective by inputting a coupon or a preset provided in the operation unit 103 or the store clerk display unit 104 is referred to as a regular discount.

図12は第3の実施形態に係る決済処理装置の単価ごとに値割引き操作を行う決済処理の一例を示すフローチャートである。制御部100は決済処理を行うとき(ACT110)に会員カード情報を取得する(ACT701)。なお、制御部100は再計算処理終了までに決済を行わない。 Figure 12 is a flowchart showing an example of payment processing in which a discount operation is performed for each unit price in the payment processing device according to the third embodiment. The control unit 100 acquires member card information (ACT 701) when performing payment processing (ACT 110). Note that the control unit 100 does not perform payment until the recalculation process is completed.

値割引き終了キーが入力された後、制御部100は一度目の再計算処理を実行する(ACT109)。制御部100は会員割引の割引率が通常割引の割引率より高いか判断する(ACT702)。制御部100は会員割引による割引率と通常割引による割引率のどちらの割引率が高いかを判断する。会員割引の割引率が低い場合(ACT702のNO)は通常割引のフラグを有効なまま保持し、決算処理に移行する(ACT706)。会員割引の割引率が高い場合(ACT702のYES)は、通常割引のフラグを無効にする(ACT703)。制御部100は会員割引のレコードに記載されているフラグを有効にする(ACT704)。 After the discount end key is entered, the control unit 100 executes the first recalculation process (ACT 109). The control unit 100 determines whether the discount rate of the member discount is higher than the discount rate of the regular discount (ACT 702). The control unit 100 determines which discount rate is higher, the discount rate of the member discount or the discount rate of the regular discount. If the discount rate of the member discount is lower (NO in ACT 702), the flag of the regular discount remains valid and the process moves to the settlement process (ACT 706). If the discount rate of the member discount is higher (YES in ACT 702), the flag of the regular discount is invalidated (ACT 703). The control unit 100 validates the flag written in the record of the member discount (ACT 704).

制御部100は再計算処理を行う(ACT705)。制御部100は会員割引のフラグが有効な場合は会員割引による割引計算を実行する。 The control unit 100 performs a recalculation process (ACT 705). If the member discount flag is enabled, the control unit 100 performs a discount calculation based on the member discount.

制御部100は決済処理を行う(ACT706)。制御部100は取得した会員カード情報をもとに決済を行う。 The control unit 100 performs payment processing (ACT 706). The control unit 100 performs payment based on the acquired membership card information.

また、POS端末1は小計に対する値割引き操作を行う場合であっても再計算処理を行っても良い。図13は第3の実施形態に係る決済処理装置の小計に対する値割引き操作を行う決済処理の一例を示すフローチャートである。
制御部100は小計キー入力後にクーポン情報を受け付け、再計算処理終了後に会員カード情報を取得する。カード情報取得後、制御部100は会員割引の方が通用割引よりも割引率が高いかを確認し、通常割引のフラグを有効にしたまま決済処理を行うか会員割引のフラグを有効にし、再計算処理を行う。
The POS terminal 1 may also perform the recalculation process when performing a discount operation on the subtotal. Fig. 13 is a flowchart showing an example of a payment process for performing a discount operation on the subtotal in the payment processing device according to the third embodiment.
The control unit 100 accepts coupon information after the subtotal key input, and acquires member card information after the recalculation process is completed. After acquiring the card information, the control unit 100 checks whether the member discount is a higher discount rate than the regular discount, and performs the settlement process while keeping the regular discount flag enabled, or activates the member discount flag and performs the recalculation process.

この構成においても決済処理装置であるPOS端末1は効率よく値割引き金額が最大値となる決済を行うことができる。また、決済を再計算処理の後に行うことで値割引き金額が最大値ではない状態での決済を防ぐことが可能となる。 Even with this configuration, the POS terminal 1, which is a payment processing device, can efficiently perform a payment with the maximum discount amount. In addition, by performing the payment after a recalculation process, it is possible to prevent a payment from being made when the discount amount is not the maximum amount.

上記実施形態にて開示した構成は、種々変形実施可能である。具体的な変形例としては
、例えば次のようなものがある。
The configuration disclosed in the above embodiment can be modified in various ways. Specific modifications include, for example, the following.

制御部100が再計算処理を実行し、再計算処理の結果残額が0円以下の状態で且つ、有効なフラグが存在していた場合、取引金額確定後フラグを無効にしてもよい。また、店員は無効にした値割引種別と対応するクーポン情報が記載されたクーポンを買い物客に返還する。 The control unit 100 executes a recalculation process, and if the result of the recalculation process shows that the remaining balance is 0 yen or less and a valid flag exists, the flag may be invalidated after the transaction amount is confirmed. In addition, the store clerk returns to the shopper a coupon that lists the invalidated discount type and the corresponding coupon information.

また、第2の実施形態及び第3の実施形態において再計算処理を2回行っているが、再計算処理を会員カード情報を受け付けた後に一度だけ実行するようにしてもよい。 In addition, in the second and third embodiments, the recalculation process is performed twice, but the recalculation process may be performed only once after the membership card information is accepted.

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

100…制御部
101…記憶部
1011…PLUマスタ
1012…値割引設定管理ファイル
1013…会計ファイル
100: Control unit 101: Storage unit 1011: PLU master 1012: Discount setting management file 1013: Accounting file

Claims (5)

商品の単価を含む商品情報を取得する商品情報取得部と、
前記商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で前記単価を値引く値引きフラグと、前記割引フラグおよび値引きフラグが有効である状態を記憶する記憶部に記憶する情報に基づいて、前記割引フラグが有効な場合、前記割引率に基づき単価の割引を行い割引結果を算出し、前記値引きフラグが有効な場合、前記値引き額に基づき前記割引結果から値引きを行う制御部と、
を備える決済処理装置。
a product information acquisition unit for acquiring product information including a unit price of the product;
a control unit which, based on the product information, a discount flag for discounting the unit price by a preset discount rate, a discount flag for discounting the unit price by a preset discount amount, and information stored in a storage unit which stores the discount flag and a state in which the discount flag is enabled, calculates a discount result by discounting the unit price based on the discount rate when the discount flag is enabled, and calculates a discount result based on the discount amount when the discount flag is enabled;
A payment processing device comprising:
異なる割引率を有する2以上の割引フラグと、異なる値引き金額を有する2以上の値引きフラグを前記記憶部は記憶し、前記制御部はこの情報に基づいて割引率が高い前記割引フラグを有効にし、値引き金額が高い前記値引きフラグから値引きを行う請求項1記載の決済処理装置。 The payment processing device according to claim 1, wherein the storage unit stores two or more discount flags with different discount rates and two or more discount flags with different discount amounts, and the control unit activates the discount flag with the higher discount rate based on this information, and performs discounts starting from the discount flag with the higher discount amount. 商品の単価を含む商品情報を取得する商品情報取得部と、
顧客が購入を希望する商品の入力完了を宣言する操作部と、
前記商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で前記単価を値引く値引きフラグと、前記割引フラグおよび値引きフラグが有効である状態を記憶する記憶部に記憶する情報に基づいて、前記操作部により入力完了が宣言されたとき前記割引フラグが有効な場合、前記割引率に基づき単価の合計に対して割引を行い割引結果を算出し、前記値引きフラグが有効な場合、前記値引き額に基づき前記割引結果から値引きを行う制御部と、
を備える決済処理装置。
a product information acquisition unit for acquiring product information including a unit price of the product;
an operation unit for a customer to declare completion of input of the product he/she wishes to purchase;
a control unit which, based on the product information, a discount flag for discounting the unit price by a preset discount rate, a discount flag for discounting the unit price by a preset discount amount, and information stored in a storage unit which stores the discount flag and a state in which the discount flag is enabled, calculates a discount result by applying a discount to the total unit price based on the discount rate when the discount flag is enabled, and calculates a discount result by applying a discount from the discount result based on the discount amount when the discount flag is enabled;
A payment processing device comprising:
異なる割引率を有する2以上の割引フラグと、異なる値引き金額を有する2以上の値引きフラグを前記記憶部は記憶し、前記制御部はこの情報に基づいて割引率が高い前記割引フラグを有効にし、値引き金額が高い前記値引きフラグから値引きを行う請求項2記載の決済処理装置。 The payment processing device according to claim 2, wherein the storage unit stores two or more discount flags having different discount rates and two or more discount flags having different discount amounts, and the control unit activates the discount flag with the higher discount rate based on this information, and performs discounts starting from the discount flag with the higher discount amount. 決済処理を実行する決済処理装置に、
商品の単価を含む商品情報を取得する商品情報取得手段と、
前記商品情報と、あらかじめ設定された割引率で前記単価を割引く割引フラグと、あらかじめ設定された値引き額で前記単価を値引く値引きフラグと、前記割引フラグおよび値引きフラグが有効である状態を記憶する記憶手段と、
前記割引フラグが有効な場合、前記割引率に基づき単価の割引を行い割引結果を算出する割引算出手段と、
前記値引きフラグが有効な場合、前記値引き額に基づき前記割引結果から値引きを行う値引き算出手段と、
を実現する決済処理プログラム。
A payment processing device that executes payment processing,
A product information acquisition means for acquiring product information including a unit price of the product;
a storage means for storing the product information, a discount flag for discounting the unit price by a preset discount rate, a discount flag for discounting the unit price by a preset discount amount, and a status indicating whether the discount flag and the discount flag are valid;
a discount calculation means for calculating a discount result by discounting a unit price based on the discount rate when the discount flag is valid;
discount calculation means for performing a discount from the discount result based on the discount amount when the discount flag is valid;
A payment processing program that realizes the above.
JP2022159197A 2022-10-03 2022-10-03 Payment processing device and payment processing program Pending JP2024053141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022159197A JP2024053141A (en) 2022-10-03 2022-10-03 Payment processing device and payment processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022159197A JP2024053141A (en) 2022-10-03 2022-10-03 Payment processing device and payment processing program

Publications (1)

Publication Number Publication Date
JP2024053141A true JP2024053141A (en) 2024-04-15

Family

ID=90667430

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022159197A Pending JP2024053141A (en) 2022-10-03 2022-10-03 Payment processing device and payment processing program

Country Status (1)

Country Link
JP (1) JP2024053141A (en)

Similar Documents

Publication Publication Date Title
JP5165219B2 (en) Cash register system
JP7309807B2 (en) Payment device and its program
US20120316947A1 (en) Token Management System and Method
JP4933992B2 (en) Product sales data processing device
JP2023168405A (en) Commodity registration device and program
US20130046597A1 (en) System and method for providing purchase rewards
JP2013131038A (en) Commodity information processor and program
CN111652608B (en) Commodity sales data processing apparatus, commodity sales data processing method, commodity sales data control method, storage medium, and electronic device
JP2024053141A (en) Payment processing device and payment processing program
JP7266837B2 (en) Registration device and product sales data processing system
US20220101699A1 (en) Voucher dispensing device and voucher dispensing method
JPH10124592A (en) Transaction processing system
US20230410141A1 (en) Sales data processing apparatus and sales data processing system
JP7400066B2 (en) Point management system, point management device and information processing program
US20240161143A1 (en) Information processing apparatus and information processing method
US20230419293A1 (en) Checkout device and program
JP2006039619A (en) Commodity sales data processor
JP2024003509A (en) Accounting device and program
JP5095151B2 (en) Cash register system and transaction price derivation method
JP2005276110A (en) Sales promotion system, accounting apparatus and settlement device
JP5781670B2 (en) Product information processing apparatus and program thereof
JP2023173312A (en) Information processor and program
JP2023115961A (en) Commodity sale data processor and commodity sale data processing program
JP2017076446A (en) Commodity information processing apparatus and program thereof
JP2021166092A (en) Sales data processing device and program