JP2021047726A - Commodity sales data processing device and control program - Google Patents
Commodity sales data processing device and control program Download PDFInfo
- Publication number
- JP2021047726A JP2021047726A JP2019170786A JP2019170786A JP2021047726A JP 2021047726 A JP2021047726 A JP 2021047726A JP 2019170786 A JP2019170786 A JP 2019170786A JP 2019170786 A JP2019170786 A JP 2019170786A JP 2021047726 A JP2021047726 A JP 2021047726A
- Authority
- JP
- Japan
- Prior art keywords
- tax
- payment
- amount
- category
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 76
- 230000029305 taxis Effects 0.000 claims abstract description 6
- 238000004364 calculation method Methods 0.000 claims description 28
- 238000004891 communication Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 description 22
- 238000010586 diagram Methods 0.000 description 13
- 230000008859 change Effects 0.000 description 11
- 101100434207 Arabidopsis thaliana ACT8 gene Proteins 0.000 description 9
- 101100434208 Arabidopsis thaliana ACT9 gene Proteins 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- HEFNNWSXXWATRW-UHFFFAOYSA-N Ibuprofen Chemical compound CC(C)CC1=CC=C(C(C)C(O)=O)C=C1 HEFNNWSXXWATRW-UHFFFAOYSA-N 0.000 description 6
- 101000908384 Bos taurus Dipeptidyl peptidase 4 Proteins 0.000 description 5
- 101150026261 ACT7 gene Proteins 0.000 description 4
- 230000001737 promoting effect Effects 0.000 description 4
- 102100031102 C-C motif chemokine 4 Human genes 0.000 description 3
- 101000777470 Mus musculus C-C motif chemokine 4 Proteins 0.000 description 3
- 235000013361 beverage Nutrition 0.000 description 3
- 235000013305 food Nutrition 0.000 description 3
- 101100490404 Dibothriocephalus dendriticus ACT6 gene Proteins 0.000 description 2
- 102100026620 E3 ubiquitin ligase TRAF3IP2 Human genes 0.000 description 2
- 101710140859 E3 ubiquitin ligase TRAF3IP2 Proteins 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 101150079344 ACT4 gene Proteins 0.000 description 1
- 101150024393 ACT5 gene Proteins 0.000 description 1
- 101100000858 Caenorhabditis elegans act-3 gene Proteins 0.000 description 1
- 101100108071 Dictyostelium discoideum act10 gene Proteins 0.000 description 1
- 101100215368 Dictyostelium discoideum act21 gene Proteins 0.000 description 1
- 101100492334 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) ARP1 gene Proteins 0.000 description 1
- 101100056774 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) ARP3 gene Proteins 0.000 description 1
- 230000004931 aggregating effect Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000005401 electroluminescence Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Cash Registers Or Receiving Machines (AREA)
Abstract
Description
本発明の実施形態は、商品販売データ処理装置及びコンピュータを当該装置として機能させるための制御プログラムに関する。 An embodiment of the present invention relates to a product sales data processing device and a control program for operating a computer as the device.
我が国でも、商品の消費に対して税が課せられる税制に関して、飲料品又は食料品等のように生活に直接関与する商品の税率を他の商品よりも低く抑える、いわゆる軽減税率制度が導入される。軽減税率制度では、軽減税率の対象となる商品に対する税率は、対象とならない商品に対する通常税率よりも低くなる。このため、消費者が複数の商品をまとめて購入した場合、通常税率が適用される商品と軽減税率が適用される商品とが混在する場合があり得る。 In Japan as well, regarding the tax system in which taxes are levied on the consumption of products, a so-called reduced tax rate system will be introduced, which keeps the tax rate of products directly related to daily life such as beverages or food products lower than other products. .. Under the reduced tax rate system, the tax rate for products that are subject to the reduced tax rate is lower than the normal tax rate for products that are not subject to the reduced tax rate. Therefore, when a consumer purchases a plurality of products at once, a product to which a normal tax rate is applied and a product to which a reduced tax rate is applied may coexist.
一方、消費者による代金の支払方法には、現金、クレジットカード、電子マネー、商品券等が広く知られている。また、店舗若しくはその店舗を運営する企業体が発行した金券も支払方法の1つとなり得る。この種の金券としては、消費者が支払った対価に応じてポイントを付与するポイントサービス制度を導入している店舗又は企業体において、累積されたポイントと交換に発行される金券がある。この種の金券は、累積ポイントに応じた金額を額面金額として、商品券と同様に代金の支払いに充当できる。ただし、この種の金券は、税法上、店舗又は企業体の販促費として計上される。 On the other hand, cash, credit cards, electronic money, gift certificates and the like are widely known as payment methods by consumers. In addition, a cash voucher issued by a store or the business entity that operates the store can also be one of the payment methods. This type of cash voucher includes a voucher issued in exchange for accumulated points at a store or a business entity that has introduced a point service system in which points are given according to the consideration paid by the consumer. This type of cash voucher can be used to pay the price in the same way as a gift voucher, with the amount corresponding to the accumulated points as the face value. However, this type of cash voucher is recorded as promotional expenses for stores or business entities under tax law.
軽減税率制度が導入されるにあたり、特に、販促費として計上される支払方法については、通常税率対象の商品に対する支払金額の割合と軽減税率対象の商品に対する支払金額の割合とを求めることが望まれている。店舗又は企業体では、少なくとも販促費として計上される支払方法について、商品に課せられる税の種類毎に支払金額の割合を求めることにより、税管理が容易となるメリットがある。 When the reduced tax rate system is introduced, it is desirable to obtain the ratio of the payment amount to the products subject to the normal tax rate and the ratio of the payment amount to the products subject to the reduced tax rate, especially for the payment method recorded as sales promotion expenses. ing. At a store or a business entity, at least for the payment method recorded as sales promotion expenses, there is an advantage that tax management becomes easy by obtaining the ratio of the payment amount for each type of tax levied on the product.
本発明の実施形態が解決しようとする課題は、少なくとも特定の支払方法について、商品に課せられる税の種類毎に支払金額の割合を求めることができる商品販売データ処理装置を提供しようとするものである。 The problem to be solved by the embodiment of the present invention is to provide a product sales data processing device capable of obtaining a ratio of payment amount for each type of tax levied on a product, at least for a specific payment method. is there.
一実施形態において、商品販売データ処理装置は、合計手段と、金額取得手段と、計算手段と、算出手段と、出力手段とを備える。合計手段は、商品に課せられる税の種類を分類する税区分毎に商品の金額を合計する。金額取得手段は、商品に対する支払金額を取得する。計算手段は、合計手段により税区分毎に合計された金額の比で支払金額を計算する。算出手段は、計算手段により税区分毎に計算された支払金額からその税区分で特定される税の種類の税額を算出する。出力手段は、計算手段により税区分毎に計算された支払金額、または、算出手段により税区分毎に算出された税額の少なくとも一方を出力する。 In one embodiment, the product sales data processing device includes a totaling means, an amount acquisition means, a calculation means, a calculation means, and an output means. The totaling means totals the amount of goods for each tax category that classifies the types of taxes levied on goods. The amount acquisition means acquires the payment amount for the product. The calculation means calculates the payment amount by the ratio of the total amount for each tax category by the total means. The calculation means calculates the tax amount of the type of tax specified in the tax category from the payment amount calculated for each tax category by the calculation means. The output means outputs at least one of the payment amount calculated for each tax category by the calculation means or the tax amount calculated for each tax category by the calculation means.
以下、少なくとも特定の支払方法について、商品に課せられる税の種類毎に支払金額の割合を求めることができる商品販売データ処理装置の実施形態について、図面を用いて説明する。
なお、この実施形態では、食料品等の一部の商品に対しては軽減税率8%が適用され、その他の商品に対しては通常税率10%が適用される税制が導入された場合を例示する。そして、税額を含まない価格で販売される外税商品と、税額を含んだ価格で販売される内税商品とを混在して販売している店舗のPOS(Point Of Sales)端末を、商品販売データ処理装置の一態様とする。
Hereinafter, at least for a specific payment method, an embodiment of a product sales data processing device capable of obtaining a ratio of the payment amount for each type of tax levied on the product will be described with reference to the drawings.
In this embodiment, a case where a reduced tax rate of 8% is applied to some products such as foodstuffs and a tax system in which a normal tax rate of 10% is applied to other products is introduced. To do. Then, the POS (Point Of Sales) terminal of the store that sells a mixture of the tax-excluded product sold at the price not including the tax amount and the tax-included product sold at the price including the tax amount is sold. It is one aspect of the data processing device.
図1は、本実施形態に係るPOS端末10の要部回路構成を示すブロック図である。POS端末10は、プロセッサ101、メインメモリ102、補助記憶デバイス103、時計104、釣銭機インターフェース105、通信インターフェース106、キーボード107、スキャナ108、第1ディスプレイ109、第2ディスプレイ110、プリンタ111及びシステム伝送路112を備える。システム伝送路112は、アドレスバス、データバス、制御信号線等を含む。システム伝送路112は、プロセッサ101と、メインメモリ102、補助記憶デバイス103、時計104、釣銭機インターフェース105、通信インターフェース106、キーボード107、スキャナ108、第1ディスプレイ109、第2ディスプレイ110及びプリンタ111とを相互に接続する。プロセッサ101、メインメモリ102及び補助記憶デバイス103がシステム伝送路112で接続されることにより、POS端末10のコンピュータが構成される。
FIG. 1 is a block diagram showing a main circuit configuration of the
プロセッサ101は、上記コンピュータの中枢部分に相当する。プロセッサ101は、オペレーティングシステム又はアプリケーションプログラムに従って、POS端末10としての各種の機能を実現するべく各部を制御する。プロセッサ101は、例えばCPU(Central Processing Unit)である。
The
メインメモリ102は、上記コンピュータの主記憶部分に相当する。メインメモリ102は、不揮発性のメモリエリアと揮発性のメモリエリアとを含む。メインメモリ102は、不揮発性のメモリエリアではオペレーティングシステム又はアプリケーションプログラムを記憶する。メインメモリ102は、プロセッサ101が各部を制御するための処理を実行する上で必要なデータを不揮発性又は揮発性のメモリエリアで記憶する場合もある。メインメモリ102は、揮発性のメモリエリアを、プロセッサ101によってデータが適宜書き換えられるワークエリアとして使用する。不揮発性のメモリエリアは、例えばROM(Read Only Memory)である。揮発性のメモリエリアは、例えばRAM(Random Access Memory)である。
The
補助記憶デバイス103は、上記コンピュータの補助記憶部分に相当する。例えばEEPROM(Electric Erasable Programmable Read-Only Memory)、HDD(Hard Disk Drive)、あるいはSSD(Solid State Drive)等が補助記憶デバイス103となり得る。補助記憶デバイス103は、プロセッサ101が各種の処理を行う上で使用するデータ、プロセッサ101での処理によって作成されたデータ等を保存する。補助記憶デバイス103は、上記のアプリケーションプログラムを記憶する場合もある。
The
メインメモリ102又は補助記憶デバイス103に記憶されるアプリケーションプログラムには、POS端末10で実行される情報処理に関して記述した制御プログラムが含まれる。制御プログラムをメインメモリ102又は補助記憶デバイス103にインストールする方法は特に限定されるものではない。リムーバブルな記録媒体に制御プログラムを記録して、あるいはネットワークを介した通信により制御プログラムを配信して、メインメモリ102又は補助記憶デバイス103にインストールすることができる。記録媒体は、CD−ROM,メモリカード等のようにプログラムを記憶でき、かつ装置が読み取り可能であれば、その形態は問わない。
The application program stored in the
時計104は、POS端末10の時刻情報源として機能する。プロセッサ101は、時計104によって計時される時刻情報を基に、現在の日付及び時間を計時する。
The
釣銭機インターフェース105は、自動釣銭機との間でデータ通信を行う。釣銭機インターフェース105は、自動釣銭機から投入金額のデータ、貨幣収納枚数のデータ等を受信する。釣銭機インターフェース105は、釣銭データを自動釣銭機へと送信する。
The
通信インターフェース106は、有線LAN(Local Area Network)又は無線LAN等のネットワークを介して接続される店舗サーバ20との間でデータ通信を行う。店舗サーバ20は、商品ファイル21及び支払管理テーブル22を備える。商品ファイル21及び支払管理テーブル22は、店舗サーバ20が内蔵する記憶装置に形成されていてもよいし、店舗サーバ20の外部に接続された記憶装置に形成されていてもよい。
The
商品ファイル21は、商品レコード21R(図2を参照)を保存する。商品レコード21Rは、商品毎に作成される。商品レコード21Rの主要なデータ構造を図2の模式図で表す。図2に示すように、商品レコード21Rは、商品コード、商品名、単価、税区分、属性等の項目のデータを含む。
The
商品コードは、各商品を識別するために商品毎に設定された固有のコードである。通常、各商品には、商品コードをバーコード化したバーコードシンボル、若しくは二次元コード化した二次元コードシンボルが付されている。あるいは、商品コードを記憶したRFID(Radio Frequency Identification)タグが付されていてもよい。POS端末10は、上記のバーコードシンボル、2次元コードシンボル又はRFIDタグのデータを読取装置で読み取ることで、商品の販売データを登録処理することができる。
The product code is a unique code set for each product in order to identify each product. Usually, each product has a bar code symbol in which the product code is bar coded or a two-dimensional code symbol in which the product code is two-dimensionally coded. Alternatively, an RFID (Radio Frequency Identification) tag that stores the product code may be attached. The
商品名及び単価は、商品コードで識別される商品の名称及び1点当たりの価格である。以下、商品コードで識別される商品を当該商品と表す。 The product name and unit price are the name of the product identified by the product code and the price per item. Hereinafter, the product identified by the product code is referred to as the product.
税区分は、当該商品に課せられる税の種類を分類する値である。税の種類には、外税8%、外税10%、内税8%、及び内税10%がある。外税8%は、軽減税率8%が適用された外税商品の区分であり、本実施形態では、その税区分を“1”とする。外税10%は、通常税率10%が適用された外税商品の区分であり、本実施形態では、その税区分を“2”とする。内税8%は、軽減税率8%が適用された内税商品の区分であり、本実施形態では、その税区分を“3”とする。内税10%は、通常税率10%が適用された内税商品の区分であり、本実施形態では、その税区分を“4”とする。
The tax classification is a value that classifies the type of tax levied on the product. The types of tax include tax 8%,
属性は、軽減税率制度の対象となる商品なのか否かを識別する情報である。本実施形態の場合、飲料品又は食料品が軽減税率制度の対象となる。このため、飲料品又は食料品の属性は、軽減税率制度の対象となる商品であることを示す情報となる。その他の商品の属性は、軽減税率制度の対象とならない商品であることを示す情報となる。 The attribute is information that identifies whether or not the product is subject to the reduced tax rate system. In the case of this embodiment, beverages or food products are subject to the reduced tax rate system. Therefore, the attribute of the beverage or food product is information indicating that the product is subject to the reduced tax rate system. The attributes of other products are information indicating that the products are not subject to the reduced tax rate system.
支払管理テーブル22は、図3に示すように、代金の支払方法を分類する支払区分毎に、支払名称と特定フラグの情報が記憶されたデータテーブルである。本実施形態では、支払方法として、現金、クレジットカード、電子マネー、商品券、第1買物券、第2買物券の6種類を例示する。そして、現金に対する支払区分を“1”、クレジットカードに対する支払区分を“2”、電子マネーに対する支払区分を“3”、商品券に対する支払区分を“4”、第1買物券に対する支払区分を“5”、第2買物券に対する支払区分を“6”とする。因みに、第1買物券とは、累積ポイントに応じた金額を額面金額とした金券である。第2買物券とは、優良顧客に対して店舗又はその店舗を運営する企業体から発行される一定金額の金券である。なお、第1買物券及び第2買物券の定義については、これに限定されるものではない。税法上、券の発行元である店舗又は企業体において、販促費として計上される金券であればよい。 As shown in FIG. 3, the payment management table 22 is a data table in which information on the payment name and the specific flag is stored for each payment category that classifies the payment method of the price. In this embodiment, six types of payment methods are illustrated: cash, credit card, electronic money, gift certificate, first shopping ticket, and second shopping ticket. Then, the payment category for cash is "1", the payment category for credit cards is "2", the payment category for electronic money is "3", the payment category for gift certificates is "4", and the payment category for the first shopping voucher is "". 5 ”, the payment category for the second shopping voucher is“ 6 ”. Incidentally, the first shopping voucher is a cash voucher whose face value is the amount corresponding to the accumulated points. The second shopping voucher is a fixed amount of money voucher issued to a good customer by a store or a business entity that operates the store. The definitions of the first shopping voucher and the second shopping voucher are not limited to this. Under tax law, any cash voucher that is recorded as sales promotion expenses at the store or business entity that issues the voucher may be used.
支払名称は、対応する支払区分で分類される支払方法を表す名称である。
特定フラグは、対応する支払区分で分類される支払方法が、税区分別に支払金額の割合を求める特定の支払方法であるか否かを識別するための1ビットデータである。例示した6種目の支払方法のうち、第1買物券又は第2買物券のように販促費として計上される金券は、税区分別に支払金額の割合を求めることが望まれている。すなわち第1買物券又は第2買物券は、特定の支払方法に相当する。本実施形態では、特定の支払方法を示す特定フラグを“1”とし、特定の支払方法以外を示す特定フラグを“0”とする。
The payment name is a name that represents a payment method classified by the corresponding payment category.
The specific flag is 1-bit data for identifying whether or not the payment method classified by the corresponding payment category is a specific payment method for obtaining the ratio of the payment amount for each tax category. Among the six types of payment methods illustrated, it is desired to obtain the ratio of the payment amount for each tax category for the cash vouchers recorded as sales promotion expenses such as the first shopping voucher or the second shopping voucher. That is, the first shopping voucher or the second shopping voucher corresponds to a specific payment method. In the present embodiment, the specific flag indicating the specific payment method is set to "1", and the specific flag indicating other than the specific payment method is set to "0".
図1の説明に戻る。
キーボード107は、点数、金額等の数値を置数するための置数キーの他、乗算キー、小計キー、締めキー等の種々のファンクションキーを配設した専用の入力デバイスである。キーボード107は、汎用のキーボードの任意のキーに、POS端末10で必要な機能を割り付けたものであってもよい。締めキーは、支払方法別に設けられている。すなわち、現金に対応した第1締めキー、クレジットカードに対応した第2締めキー、電子マネーに対応した第3締めキー、商品券に対応した第4締めキー、第1買物券に対応した第5締めキー、及び、第2買物券に対応した第6締めキーがキーボード107に配設されている。
Returning to the description of FIG.
The
スキャナ108は、バーコード、二次元コード等のコードシンボルを読み取る読取装置の一例である。スキャナ108は、レーザ光の走査によりコードシンボルを読み取るタイプであってもよいし、撮像デバイスで撮像した画像からコードシンボルを読み取るタイプであってもよい。キーボード107及びスキャナ108は、POS端末10の入力デバイスとして機能する。
The
第1ディスプレイ109は、オペレータである店員に対して情報の表示を行う。第2ディスプレイ110は、客である消費者に対して情報の表示を行う。この種の表示デバイスとしては、例えば液晶ディスプレイ、有機EL(Electroluminescence)ディスプレイ等を利用できる。第1ディスプレイ109又は第2ディスプレイ110の少なくとも一方は、タッチパネルであってもよい。第1ディスプレイ109及び第2ディスプレイ110は、POS端末10の表示デバイスとして機能する。
The
プリンタ111は、レシート用紙に対して各種の文字列又は画像等を印刷することにより、レシートを発行する。この種のプリンタ111としては、例えばサーマルプリンタ又はドットインパクトプリンタ等を利用できる。プリンタ111は、POS端末10の印刷デバイスとして機能する。
The
図4は、メインメモリ102に形成される主要なデータエリアを示す模式図である。データエリアは、登録商品テーブルエリア31、税区分テーブルエリア32、税込み合計金額エリア33、支払い明細テーブルエリア34、及び、支払合計金額エリア35を含む。各データエリアは、揮発性のメモリエリアに確保されている。
FIG. 4 is a schematic diagram showing a main data area formed in the
登録商品テーブルエリア31は、1取引として売り上げる商品の明細データを記述するためのエリアである。登録商品テーブルエリア31は、図5に示すように、一連の登録番号と関連付けて、商品コード、商品名、単価、税区分及び属性を含む商品データを記述するためのエリアと、販売点数P(P1,P2,P3,…)及び販売金額Q(Q1,Q2,Q3,…)を記述するためのエリアとを有する。また、登録商品テーブルエリア31は、1取引として売り上げる商品の販売点数Pを合算した合計点数P0を記述するためのエリアと、同商品の販売金額Qを合算した合計金額Q0を記述するためのエリアと、を有する。
The registered
税区分テーブルエリア32は、1取引として売り上げる商品の販売金額Qをその商品に課せられる税の税区分別に集計するためのエリアである。税区分テーブルエリア32は、税区分“1”,“2”,“3”,“4”毎に合計金額A1,A2,A3,A4と税額B1,B2,B,B3,B4とを記述するためのエリアを有する。
The tax
税込み合計金額エリア33は、1取引として売り上げる商品の税込み合計金額Cを記述するための領域である。税込み合計金額Cは、1取引として売り上げる商品の合計金額Q0と、当該商品のうち外税商品に課せられる税の税額とを合算して算出される。
The total amount including
支払い明細テーブルエリア34は、1取引に対する支払データを記述するためのエリアである。支払い明細テーブルエリア34は、図6に示すように、“1”〜“6”の支払区分毎に、支払金額E1〜E6と、税区分“1”〜“4”毎の金額G11〜G41、G21〜G42、G13〜G43、G14〜G44、G15〜G45、G16〜G46、及び、税額H11〜H41、H21〜H42、H13〜H43、H14〜H44、H15〜H45、H16〜H46とを記述するためのエリアを有する。
The payment details
支払合計金額エリア35は、1取引に対する支払方法が1種類の場合には、その支払金額が支払合計金額Dとして記述され、支払方法が2種類以上の場合には、各支払金額の合計額が支払合計金額Dとして記述されるエリアである。
In the total
図7及び図8は、プロセッサ101が制御プログラムに従って実行する1取引の主要な処理手順を示す流れ図である。以下、各図を用いてPOS端末10の主要な動作について説明する。なお、以下に説明する動作の内容は一例である。同様な結果が得られるのであればその処理手順などは特に限定されるものではない。
7 and 8 are flow charts showing the main processing procedures of one transaction executed by the
1取引の商品登録を開始するに先立ち、プロセッサ101は、ACT1として初期化を行う。この初期化により、登録商品テーブルエリア31、税区分テーブルエリア32、税込み合計金額エリア33、支払い明細テーブルエリア34及び支払合計金額エリア35がクリアされる。
Prior to starting the product registration of one transaction, the
初期化を終えると、プロセッサ101は、ACT2として1取引として売り上げる商品の商品コードが入力されるのを待ち受ける。そして、キーボード107又はスキャナ108の入力デバイスを介して商品コードが入力されると、プロセッサ101は、ACT2においてYESと判定し、ACT3へと進む。プロセッサ101は、ACT3としてその商品コードで識別される商品の商品データを取得する。すなわちプロセッサ101は、店舗サーバ20に対して商品データの問合せを行う。この問合せにより、店舗サーバ20では、商品ファイル21が検索される。そして、当該商品コードを含む商品レコード21Rに記述された商品データが、問合せ元のPOS端末10へと送信される。かくしてプロセッサ101は、商品データを取得することができる。商品データには、商品コード、商品名、単価、税区分、属性等が含まれている。
When the initialization is completed, the
商品データを取得したプロセッサ101は、ACT4としてその商品データに基づいて商品販売データを生成する。すなわちプロセッサ101は、商品データに含まれる単価に販売点数Pを乗算して販売金額Qを算出する。販売点数Pは、商品コードが入力される直前にキーボード107のテンキーと乗算キーとによって乗数が入力されている場合にはその乗数とし、乗数が入力されていない場合には“1”とする。そしてプロセッサ101は、商品データの商品コード、商品名、単価、税区分、属性に、販売点数P及び販売金額Qを付加して、商品販売データを生成する。
The
商品販売データを生成し終えると、プロセッサ101は、ACT5としてその商品販売データを登録商品テーブルエリア31に登録する。このときプロセッサ101は、登録番号の小さい順に商品販売データを登録する。
When the product sales data has been generated, the
商品販売データの登録を終えると、プロセッサ101は、ACT6としてその商品販売データから税区分mと販売金額Qとを取得する。そしてプロセッサ101は、ACT7として税区分テーブルエリア32の当該税区分mに対応した合計金額Amに、販売金額Qを加算する。
After completing the registration of the product sales data, the
その後、プロセッサ101は、ACT8として次の商品コードが入力されたか否かを確認する。商品コードが入力されていない場合、プロセッサ101は、ACT8においてNOと判定し、ACT9へと進む。プロセッサ101は、ACT9として小計キーが入力されたか否かを確認する。小計キーが入力されていない場合、プロセッサ101は、ACT9においてNOと判定し、ACT8へと戻る。ここにプロセッサ101は、ACT8又はACT9として商品コードが入力されるか小計キーが入力されるのを待ち受ける。
After that, the
ACT8又はACT9の待ち受け状態において、商品コードが入力されると、プロセッサ101は、ACT8においてYESと判定し、ACT3へと戻る。以後、プロセッサ101は、ACT3乃至ACT7の処理を前述したのと同様に実行する。そしてプロセッサ101は、ACT8又はACT9の待ち受け状態に戻る。
When the product code is input in the standby state of ACT8 or ACT9, the
ACT8又はACT9の待ち受け状態において、小計キーが入力された場合には、プロセッサ101は、ACT9においてYESと判定し、ACT10へと進む。プロセッサ101は、ACT10として税区分テーブルエリア32の税額B1〜B4を、以下の(1)〜(4)式により算出する。なお、小数点以下は四捨五入する。
When the subtotal key is input in the standby state of ACT8 or ACT9, the
B1=A1*0.08 …(1)
B2=A2*0.1 …(2)
B3=A3−(A3/1.08) …(3)
B4=A4−(A4/1.1) …(4)
税額B1〜B4を算出し終えると、プロセッサ101は、ACT11として税込み合計金額Cを、以下の(5)式により算出する。
B1 = A1 * 0.08 ... (1)
B2 = A2 * 0.1 ... (2)
B3 = A3- (A3 / 1.08) ... (3)
B4 = A4- (A4 / 1.1) ... (4)
After calculating the tax amounts B1 to B4, the
C=Q0+B1+B2 …(5)
税込み合計金額Cを算出し終えると、プロセッサ101は、その税込み合計金額Cを第1ディスプレイ109及び第2ディスプレイ110に表示する。
C = Q0 + B1 + B2 ... (5)
After calculating the total amount C including tax, the
その後、プロセッサ101は、ACT13として商品コードが入力されたか否かを確認する。商品コードが入力されていない場合、プロセッサ101は、ACT13においてNOと判定し、ACT14へと進む。プロセッサ101は、ACT14として支払いデータが入力されたか否かを確認する。支払いデータが入力されていない場合、プロセッサ101は、ACT14においてNOと判定し、ACT13へと戻る。ここにプロセッサ101は、ACT13又はACT14として商品コードが入力されるか支払いデータが入力されるのを待ち受ける。
After that, the
ACT13又はACT14の待ち受け状態において、商品コードが入力されると、プロセッサ101は、ACT13においてYESと判定し、ACT3へと戻る。以後、プロセッサ101は、ACT3乃至ACT7の処理を前述したのと同様に実行する。そしてプロセッサ101は、ACT8又はACT9の待ち受け状態に戻る。
When the product code is input in the standby state of ACT 13 or ACT 14, the
ACT13又はACT14の待ち受け状態において、いずれかの締めキーが操作されて支払方法と支払金額とを含む支払いデータが入力されると、プロセッサ101は、ACT14においてYESと判定し、図8のACT21へと進む。プロセッサ101は、ACT21としてその支払方法に対応した支払区分nと、支払金額Enとを取得する。そしてプロセッサ101は、ACT22として支払い明細テーブルエリア34の、当該支払区分nに対応した支払金額エリアに支払金額Enを記述する。またプロセッサ101は、ACT23としてその支払金額Enを支払合計金額エリア35に加算して、支払合計金額Dを算出する。
In the standby state of ACT13 or ACT14, when any of the closing keys is operated and payment data including the payment method and payment amount is input, the
プロセッサ101は、ACT24として支払合計金額Dが税込み合計金額C以上になったか否かを確認する。支払合計金額Dが税込み合計金額C未満の場合、支払いは完了していない。プロセッサ101は、ACT24においてNOと判定し、ACT25へと進む。プロセッサ101は、税込み合計金額Cから支払合計金額Dを減額して得られる残金を第1ディスプレイ109及び第2ディスプレイ110に表示する。そしてプロセッサ101は、ACT26として支払いデータが入力されるのを待ち受ける。
The
支払いデータが入力されると、プロセッサ101は、ACT26においてYESと判定し、ACT21へと戻る。そしてプロセッサ101は、ACT21乃至ACT24の処理を前述したのと同様に実行する。
When the payment data is input, the
支払合計金額Dが税込み合計金額C以上になると、支払いは完了となる。プロセッサ101はACT24においてYESと判定し、ACT27へと進む。プロセッサ101は、ACT27としてカウンタrを“0”にリセットする。カウンタrは、例えばメインメモリ102の揮発性エリアに形成されている。次いで、プロセッサ101は、ACT28としてカウンタrを“1”だけカウントアップする。そしてプロセッサ101は、ACT29としてカウンタrが最大値Rを超えたか否かを確認する。最大値Rは、支払方法の種類数である。本実施形態では、最大値Rは“6”である。
When the total payment amount D becomes the total amount C or more including tax, the payment is completed. The
カウンタrが最大値Rを超えていない場合、プロセッサ101は、ACT29においてNOと判定し、ACT30へと進む。プロセッサ101は、ACT30として支払い明細テーブルエリア34を検索して、カウンタrの値を支払区分とする支払金額Erが“0”よりも大きいか否かを確認する。支払金額Erが“0”の場合、支払区分rで識別される支払方法での支払いはない。プロセッサ101は、ACT30においてNOと判定し、ACT28へと戻る。プロセッサ101は、カウンタrをさらに“1”だけカウントアップする。そしてプロセッサ101は、カウンタrが最大値Rを超えたか否かを確認する。
If the counter r does not exceed the maximum value R, the
一方、支払金額Erが“0”よりも大きい場合には、支払区分rで識別される支払方法での支払いがある。プロセッサ101は、ACT30においてYESと判定し、ACT31へと進む。プロセッサ101は、ACT31として当該支払区分rに対する特定フラグFrを取得する。すなわちプロセッサ101は、店舗サーバ20に対して当該支払区分rに対する特定フラグFrを問い合わせる。この問合せにより、店舗サーバ20では、支払管理テーブル22が検索されて、当該支払区分rに対する特定フラグFrが読み出され、問合せ元のPOS端末10へと送信される。かくしてプロセッサ101は、特定フラグFrを取得する。
On the other hand, when the payment amount Er is larger than "0", there is payment by the payment method identified by the payment category r. The
特定フラグFrを取得したプロセッサ101は、ACT32としてその特定フラグFrが“1”であるか否かを確認する。特定フラグFrが“1”でない場合、当該支払区分rの支払方法は、税区分別に支払金額の割合を求める特定の支払方法ではない。プロセッサ101は、ACT32においてNOと判定し、ACT28へと戻る。
The
これに対し、特定フラグFrが“1”である場合には、当該支払区分rの支払方法は、税区分別に支払金額の割合を求める特定の支払方法である。プロセッサ101は、ACT32においてYESと判定し、ACT33へと進む。プロセッサ101は、ACT33として当該支払区分rによる支払金額の税区分“1”〜“4”毎の割合、すなわち金額G1r〜G4rを、以下の(6)〜(9)式により算出する。なお、小数点以下は四捨五入する。
On the other hand, when the specific flag Fr is "1", the payment method of the payment category r is a specific payment method for obtaining the ratio of the payment amount for each tax category. The
G1r=Er*(A1/C) …(6)
G2r=Er*(A2/C) …(7)
G3r=Er*(A3/C) …(8)
G4r=Er*(A4/C) …(9)
税区分“1”〜“4”毎の金額G1r〜G4rを算出し終えると、プロセッサ101は、ACT34としてその金額G1r〜G4rを支払い明細テーブルエリア34の当該支払区分rに対応した税区分“1”〜“4”毎の金額エリアに記述する。
G1r = Er * (A1 / C) ... (6)
G2r = Er * (A2 / C) ... (7)
G3r = Er * (A3 / C) ... (8)
G4r = Er * (A4 / C) ... (9)
After calculating the amounts G1r to G4r for each tax category "1" to "4", the
次いでプロセッサ101は、ACT35として当該支払区分rに対する税区分“1”〜“4”毎の税額H1r〜H4rを、以下の(10)〜(13)式により算出する。なお、小数点以下は四捨五入する。
Next, the
H1r=G1r*0.08 …(10)
H2r=G2r*0.1 …(11)
H3r=G3r−(G3r/1.08) …(12)
H4r=G4r−(G4r/1.1) …(13)
税区分“1”〜“4”毎の税額H1r〜H4rを算出し終えると、プロセッサ101は、ACT36としてその税額H1r〜H4rを支払い明細テーブルエリア34の当該支払区分rに対応した税区分“1”〜“4”毎の税額エリアに記述する。
H1r = G1r * 0.08 ... (10)
H2r = G2r * 0.1 ... (11)
H3r = G3r- (G3r / 1.08) ... (12)
H4r = G4r- (G4r / 1.1) ... (13)
After calculating the tax amounts H1r to H4r for each tax category "1" to "4", the
ACT36の処理を終えると、プロセッサ101は、ACT28へと戻る。プロセッサ101は、カウンタrをさらに“1”だけカウントアップする。そしてプロセッサ101は、カウンタrが最大値Rを超えたか否かを確認する。カウンタrが最大値Rを超えていない場合、プロセッサ101は、ACT30乃至ACT36の処理を前述したのと同様に実行する。
When the processing of the
カウンタrが最大値Rを超えたならば、プロセッサ101は、ACT29においてYE判定し、ACT37へと進む。プロセッサ101は、ACT37として取引データを作成する。取引データは、登録商品テーブルエリア31、税区分テーブルエリア32、税込み合計金額エリア33、支払い明細テーブルエリア34、及び、支払合計金額エリア35にそれぞれ記述されているデータで構成される。取引データは、上述したデータ以外に、時計104によって計時されている現在日時(取引日時)と、一連の取引番号(レシート番号)と、POS端末10に対して設定された固有のレジ番号と、を含む。取引データは、そのほかのデータを含んでいてもよい。
If the counter r exceeds the maximum value R, the
プロセッサ101は、ACT38として取引データを基にレシートデータを作成する。そしてプロセッサ101は、ACT39としてレシートデータをプリンタ111に出力して、レシートを印字するようにプリンタ111を制御する。また、プロセッサ101は、ACT40として取引データを店舗サーバ20へと送信するように通信インターフェース106を制御する。この制御により、取引データはネットワークを介して店舗サーバ20へと送信される。
The
以上で、プロセッサ101は、1取引の処理を終了する。そしてプロセッサ101は、ACT1へと戻り、次の取引の商品登録を待ち受ける。
With the above, the
ここに、コンピュータの主体であるプロセッサ101は、制御プログラムに従って図7のACT2乃至ACT5の処理を実行することにより、処理手段を構成する。すなわちプロセッサ101は、取引として売り上げる商品の販売データ、つまりは商品コード、商品名、単価、税区分、属性、販売点数、販売金額等の項目データを、登録商品テーブルエリア31に登録処理する。
Here, the
またプロセッサ101は、図7のACT6及びACT7の処理を実行することにより、合計手段を構成する。すなわちプロセッサ101は、税区分テーブルエリア32を利用して、商品に課せられる税の種類を分類する税区分m毎に商品の金額Qを合計する。
Further, the
またプロセッサ101は、図8のACT28及びAC30の処理を実行することにより、金額取得手段を構成する。すなわちプロセッサ101は、支払い明細テーブルエリア34を利用して、支払区分r毎に商品に対する支払金額Erを取得する。
Further, the
またプロセッサ101は、図8のACT31及びAC32の処理を実行することにより、データ取得手段を構成する。すなわちプロセッサ101は、記憶部である支払管理テーブル22から、支払金額Erに対する特定フラグFrを取得する。特定フラグFrは、税区分別に支払金額の割合を求める特定の支払方法であるか否かを識別するデータである。
Further, the
またプロセッサ101は、図8のACT33及びACT34の処理を実行することにより、計算手段を構成する。すなわちプロセッサ101は、税区分テーブルエリア32を利用して、税区分毎に合計された金額A1〜A4の比で支払金額Erを按分することによって計算する。そしてプロセッサ101は、税区分毎に計算された支払金額G1r〜G4rを支払い明細テーブルエリア34で記憶する。
Further, the
またプロセッサ101は、図8のACT35及びACT36の処理を実行することにより、算出手段を構成する。すなわちプロセッサ101は、税区分毎に計算された支払金額G1r〜G4rからその税区分で特定される税の種類の税額H1r〜H4rを算出する。そしてプロセッサ101は、税区分毎に計算された税額H1r〜H4rを支払い明細テーブルエリア34で記憶する。
Further, the
さらにプロセッサ101は、図8のACT39の処理を実行することにより、出力手段を構成する。すなわちプロセッサ101は、レシートデータをプリンタ111に出力する。そしてプリンタ111は、発行手段を構成する。すなわちプリンタ111は、レシートデータを受けて一取引のデータが記録されたレシートを発行する。レシートには、支払金額G1r〜G4r及び税額H1r〜H4rが出力される。
Further, the
また通信インターフェース106は、1取引のデータを収集する店舗サーバ20とデータ通信を行う通信手段を構成する。そしてプロセッサ101は、図8のACT36及びACT40の処理により、第2の出力手段を構成する。すなわちプロセッサ101は、1取引のデータに支払金額G1r〜G4r及び税額H1r〜H4rを含ませて店舗サーバ20へと送信出力する。
Further, the
図9は、1取引において、税区分テーブルエリア32、税込み合計金額エリア33、支払い明細テーブルエリア34、及び、支払合計金額エリア35にそれぞれ記述されたデータの一例である。すなわち図9は、税区分が“1”で価格が1000円の外税8%商品と、税区分が“2”で価格が2000円の外税10%商品と、税区分が“3”で価格が3000円の内税8%商品と、税区分が“4”で価格が4000円の内税10%商品とをそれぞれ1品目ずつ計4点を購入した消費者との取引を例示する。そして消費者は、支払区分が“5”の第1買物券で5000円を支払い、支払区分が“1”の現金で6000円を支払った場合である。ここで、支払区分が“1”の現金は特定の支払方法ではないが、支払区分が“5”の第1買物券は特定の支払方法であると仮定する。
FIG. 9 is an example of data described in the tax
この場合、支払区分が“1”の現金については、支払金額E1が6000円なので、図8のACT30においてYESと判定され、ACT31へと進む。ただし、ACT31において店舗サーバ20から取得した特定フラグF1が“0”であり、ACT32においてNOと判定されるので、ACT33乃至ACT36の処理は実行されない。
In this case, for cash whose payment category is "1", since the payment amount E1 is 6000 yen, it is determined as YES in ACT30 of FIG. 8, and the process proceeds to ACT31. However, since the specific flag F1 acquired from the
また、支払区分“2”のクレジットカード、支払区分“3”の電子マネー、支払区分“4”の商品券及び支払区分“6”の第2買物券については、支払金額E2,E3,E4,E6が0円なので、ACT30においてNOと判定される。したがって、ACT31乃至ACT36の処理は実行されない。
For credit cards with payment category "2", electronic money with payment category "3", gift certificates with payment category "4", and second shopping vouchers with payment category "6", payment amounts E2, E3, E4. Since E6 is 0 yen, it is determined as NO in ACT30. Therefore, the processes of
一方、支払区分“5”の第1買物券については、支払金額E5が5000円なので、ACT30においてYESと判定され、ACT31へと進む。そして、ACT31において店舗サーバ20から取得した特定フラグF5が“1”であり、ACT32においてYESと判定されるので、ACT33乃至ACT36の処理が実行される。すなわち、以下の(6a)〜(9a)式により、税区分“1”〜“4”毎の金額G15、G25、G35、G45が算出される。
On the other hand, for the first shopping voucher of the payment category "5", since the payment amount E5 is 5000 yen, it is determined as YES in ACT30, and the process proceeds to ACT31. Then, since the specific flag F5 acquired from the
G15=5,000*(1,000/10,280)=486 …(6a)
G25=5,000*(2,000/10,280)=973 …(7a)
G35=5,000*(3,000/10,280)=1,459 …(8a)
G45=5,000*(4,000/10,280)=1,946 …(9a)
算出された金額G15、G25、G35、G45は、支払い明細テーブルエリア34に記述される。
G15 = 5,000 * (1,000 / 10,280) = 486… (6a)
G25 = 5,000 * (2,000 / 10,280) = 973… (7a)
G35 = 5,000 * (3,000 / 10,280) = 1,459… (8a)
G45 = 5,000 * (4,000 / 10,280) = 1,946… (9a)
The calculated amounts G15, G25, G35, G45 are described in the payment details
また、以下の(10a)〜(13a)式により、税区分“1”〜“4”毎の税額H15、H25、H35、H45が算出される。 Further, the tax amounts H15, H25, H35, and H45 for each tax category "1" to "4" are calculated by the following equations (10a) to (13a).
H15=486*0.08=39 …(10a)
H25=973*0.1=97 …(11a)
H35=1,459−(1,459/1.08)=108 …(12a)
H45=1,946−(1,946/1.1)=177 …(13a)
算出された税額H15、H25、H35、H45は、支払い明細テーブルエリア34に記述される。
H15 = 486 * 0.08 = 39 ... (10a)
H25 = 973 * 0.1 = 97 ... (11a)
H35 = 1,459- (1,459 / 1.08) = 108 ... (12a)
H45 = 1,946- (1,946 / 1.1) = 177 ... (13a)
The calculated tax amounts H15, H25, H35, H45 are described in the payment details
かくして、ACT38及びACT39の処理により、図10に示す印字内容のレシート40が発行される。また、ACT37及びACT40の処理により、当該レシート40に印字された内容を含む取引データが店舗サーバ20へと送信される。
Thus, by the processing of ACT 38 and ACT 39, the
以上詳述したように、本実施形態では、代金の支払方法を分類する支払区分毎に、支払名称と特定フラグの情報が記憶された支払管理テーブル22を店舗サーバ20に設けている。そして、販促費として計上される支払方法のために、通常税率対象の商品に対する支払金額の割合と軽減税率対象の商品に対する支払金額の割合とを求める必要のある支払方法については、特定フラグを“1”にセットしている。そうすることにより、POS端末10においては、特定フラグが“1”にセットされた支払方法について、商品に課せられる税の種類毎に支払金額の割合を求め、さらにその支払金額に対する税額を求めて、レシートへの表示出力あるいは店舗サーバ20への送信出力を行う。
As described in detail above, in the present embodiment, the
したがって、本実施形態によれば、通常税率が適用される商品と軽減税率が適用される商品とが混在する店舗若しくはその店舗を運営する企業体において、税管理に必要なデータを容易に取得することができる。その結果、店舗又は企業体において税管理が容易となり、例えば税務署へ申告するための資料作成に要する負担を軽減することができる。 Therefore, according to the present embodiment, data necessary for tax management can be easily obtained in a store in which a product to which a normal tax rate is applied and a product to which a reduced tax rate is applied coexist, or a business entity operating the store. be able to. As a result, tax management becomes easier in stores or business entities, and the burden of preparing materials for filing tax returns, for example, can be reduced.
また、本実施形態によれば、特定フラグの設定如何によって、支払区分毎に、商品に課せられる税の種類毎に支払金額の割合を求めるか否かを決定することができる。したがって、対象となる支払区分の変更にも容易に対処できる利点がある。 Further, according to the present embodiment, it is possible to determine whether or not to obtain the ratio of the payment amount for each type of tax levied on the product for each payment category depending on how the specific flag is set. Therefore, there is an advantage that the change of the target payment category can be easily dealt with.
また、本実施形態によれば、商品に課せられる税の種類毎に求められた支払金額の割合及びその支払金額に対する税額をレシートに表示出力することができる。したがって、レシートを受け取った消費者は、支払金額に対する税区分毎の割合及び税額を容易に知ることができる。 Further, according to the present embodiment, the ratio of the payment amount obtained for each type of tax levied on the product and the tax amount with respect to the payment amount can be displayed and output on the receipt. Therefore, the consumer who receives the receipt can easily know the ratio of each tax category to the payment amount and the tax amount.
また、本実施形態によれば、商品に課せられる税の種類毎に求められた支払金額の割合及びその支払金額に対する税額を店舗サーバ20へと送信出力することができる。したがって、店舗サーバ20においては、POS端末10から受信したデータを集計することで、税管理に必要なデータの合計を容易に得ることができる。
Further, according to the present embodiment, the ratio of the payment amount obtained for each type of tax levied on the product and the tax amount with respect to the payment amount can be transmitted and output to the
以上、少なくとも特定の支払方法について、商品に課せられる税の種類毎に支払金額の割合を求めることができる商品販売データ処理装置の実施形態について説明したが、かかる実施形態はこれに限定されるものではない。 The embodiment of the product sales data processing device capable of obtaining the ratio of the payment amount for each type of tax levied on the product has been described above for at least a specific payment method, but the embodiment is limited to this. is not it.
例えば前記実施形態では、支払管理テーブル22を店舗サーバ20に設けた。他の実施形態としては、支払管理テーブル22をPOS端末10が備えていてもよい。
For example, in the above embodiment, the payment management table 22 is provided on the
また、前記実施形態では、税区分毎に支払金額の割合を求める支払方法を特定フラグによって識別可能とし、プロセッサ101は、図8のACT32において特定フラグが“1”であった場合に、ACT33乃至ACT36の処理を実行した。この点に関しては、プロセッサ101は、ACT30においてYESと判定したならば、ACT31及びACT32の処理をスキップして、ACT33乃至ACT36の処理を実行する。そしてプロセッサ101は、ACT37において取引データを作成する前に特定フラグを参照する。そしてプロセッサ101は、特定フラグが“1”にセットされている支払区分rの金額G1r〜G4r及び税額H1r〜H4rを支払い明細テーブルエリア34から選択して、取引データに含ませ、レシートに表示出力してもよい。
Further, in the above-described embodiment, the payment method for obtaining the ratio of the payment amount for each tax category can be identified by the specific flag, and the
なお、全ての支払方法について税区分毎に支払金額の割合を求める場合には、支払管理テーブル22を省略することができるのは言うまでもないことである。 Needless to say, the payment management table 22 can be omitted when the ratio of the payment amount is calculated for each tax category for all payment methods.
前記実施形態では、出力手段として、計算手段により税区分毎に計算された支払金額と、算出手段により税区分毎に算出された税額とを同時に出力する場合を例示した。この点に関しては、支払金額又は税額のいずれか一方を出力するだけであってもよい。また、出力方法も、レシートへの表示出力あるいは店舗サーバ20への送信出力のいずれか一方であってもよい。
レシートは、紙レシートに限定されるものではなく、電子レシートであってもよい。すなわち出力手段は、電子レシートを作成するサーバへとレシートデータを出力する手段であってもよい。
In the above embodiment, as the output means, a case where the payment amount calculated for each tax category by the calculation means and the tax amount calculated for each tax category by the calculation means are simultaneously output is illustrated. In this regard, it may only output either the payment amount or the tax amount. Further, the output method may be either display output on the receipt or transmission output to the
The receipt is not limited to the paper receipt, and may be an electronic receipt. That is, the output means may be a means for outputting the receipt data to the server that creates the electronic receipt.
ところで、税額は、店舗若しくはその店舗を運営する企業体が国税庁又はその下部組織である税務署に申告した支払方法で算出すればよい。このため、支払区分毎の税額計算方法は、次のような方法であってもよい。
例えば、販促費として計上されない支払区分について税区分毎の税額を計算し、その税額を各税区分の税額から引き去ることによって、販促費として計上される支払区分の各税額を算出する方法がある。
By the way, the tax amount may be calculated by the payment method declared to the National Tax Agency or its subordinate organization, the tax office, by the store or the business entity that operates the store. Therefore, the tax amount calculation method for each payment category may be as follows.
For example, there is a method of calculating the tax amount for each tax category for payment categories that are not recorded as promotional expenses, and subtracting the tax amount from the tax amount for each tax category to calculate the tax amount for each payment category that is recorded as promotional expenses. ..
図9の例を用いて説明すると、販促費として計上されない支払区分“1”の支払金額E1が6000円なので、以下の(6b)〜(9b)式により、税区分“1”〜“4”毎の金額G11、G21、G31、G41が算出する。 Explaining using the example of FIG. 9, since the payment amount E1 of the payment category “1” that is not recorded as sales promotion expenses is 6000 yen, the tax categories “1” to “4” are calculated according to the following formulas (6b) to (9b). Each amount G11, G21, G31, G41 is calculated.
G11=6,000*(1,000/10,280)=584 …(6b)
G21=6,000*(2,000/10,280)=1,167 …(7b)
G31=6,000*(3,000/10,280)=1,751 …(8b)
G41=6,000*(4,000/10,280)=2,335 …(9b)
次いで、以下の(10b)〜(13b)式により、支払区分“1”の支払金額E1に対する税区分“1”〜“4”毎の税額H11、H21、H31、H41が算出する。
G11 = 6,000 * (1,000 / 10,280) = 584 ... (6b)
G21 = 6,000 * (2,000 / 10,280) = 1,167… (7b)
G31 = 6,000 * (3,000 / 10,280) = 1,751 ... (8b)
G41 = 6,000 * (4,000 / 10,280) = 2,335… (9b)
Next, the tax amounts H11, H21, H31, and H41 for each of the tax categories "1" to "4" for the payment amount E1 of the payment category "1" are calculated by the following equations (10b) to (13b).
H11=584*0.08=47 …(10b)
H21=1,167*0.1=117 …(11b)
H31=1,751−(1,751/1.08)=130 …(12b)
H41=2,335−(2,335/1.1)=212 …(13b)
しかして、以下の(14b)〜(17b)式により、税区分テーブルエリア32に記憶された税区分“1”〜“4”毎の税額から、対応する税区分の税額H11、H21、H31、H41をそれぞれ減算することにより、間接的に、販促費として計上される支払区分“5”の各税額H15,H252,H35,H45を算出する。
H11 = 584 * 0.08 = 47 ... (10b)
H21 = 1,167 * 0.1 = 117 ... (11b)
H31 = 1,751- (1,751 / 1.08) = 130 ... (12b)
H41 = 2,335- (2,335 / 1.1) = 212 ... (13b)
Then, from the tax amount for each tax category "1" to "4" stored in the tax
H15=80-47=33 …(14b)
H25=200-117=83 …(15b)
H35=222-130=92 …(16b)
H45=364-212=152 …(17b)
また、販促費として計上される支払区分での支払いが複数ある場合には、誤差を少なくするため、あえて支払金額が最も大きい支払区分では計算しない。すなわち、支払金額の小さい支払区分について税区分毎の税額を計算し、さらに販促費として計上されない支払区分について税区分毎の税額を計算する。そして、それらの税額を各税区分の税額から引き去ることによって、支払金額が最も大きい支払区分の各税額を算出する方法がある。
H15 = 80-47 = 33 ... (14b)
H25 = 200-117 = 83… (15b)
H35 = 222-130 = 92 ... (16b)
H45 = 364-212 = 152… (17b)
In addition, when there are multiple payments in the payment category recorded as sales promotion expenses, in order to reduce the error, the payment category with the largest payment amount is not calculated. That is, the tax amount for each tax category is calculated for the payment category with a small payment amount, and the tax amount for each tax category is calculated for the payment category that is not recorded as sales promotion expenses. Then, there is a method of calculating each tax amount of the payment category having the largest payment amount by subtracting those tax amounts from the tax amount of each tax category.
図9の例において、販促費として計上されない支払区分“1”の支払金額E1が2000円であり、販促費として計上される他の支払区分“6”の支払金額E6が4000円であると仮定すると、支払金額の小さい支払区分は“6”であるので、以下の(6c)〜(9c)式により、税区分“1”〜“4”毎の金額G16、G26、G36、G46を算出する。 In the example of FIG. 9, it is assumed that the payment amount E1 of the payment category "1" that is not recorded as sales promotion expenses is 2000 yen, and the payment amount E6 of the other payment category "6" that is recorded as sales promotion expenses is 4000 yen. Then, since the payment category with a small payment amount is "6", the amounts G16, G26, G36, and G46 for each tax category "1" to "4" are calculated by the following formulas (6c) to (9c). ..
G16=4,000*(1,000/10,280)=389 …(6b)
G26=4,000*(2,000/10,280)=778 …(7b)
G36=4,000*(3,000/10,280)=1,167 …(8b)
G46=4,000*(4,000/10,280)=1,556 …(9b)
次いで、以下の(10c)〜(13c)式により、支払区分“6”の支払金額E6に対する税区分“1”〜“4”毎の税額H16、H26、H36、H46を算出する。
G16 = 4,000 * (1,000 / 10,280) = 389 ... (6b)
G26 = 4,000 * (2,000 / 10,280) = 778… (7b)
G36 = 4,000 * (3,000 / 10,280) = 1,167… (8b)
G46 = 4,000 * (4,000 / 10,280) = 1,556… (9b)
Next, the tax amounts H16, H26, H36, and H46 for each of the tax categories "1" to "4" for the payment amount E6 of the payment category "6" are calculated by the following equations (10c) to (13c).
H16=389*0.08=31 …(10c)
H26=778*0.1=78 …(11c)
H36=1,167−(1,167/1.08)=86 …(12b)
H46=1,556−(1,556/1.1)=141 …(13b)
また、以下の(6d)〜(9d)式により、支払区分“1”の支払金額E1に対する税区分“1”〜“4”毎の金額G11、G21、G31、G46を算出する。
H16 = 389 * 0.08 = 31 ... (10c)
H26 = 778 * 0.1 = 78 ... (11c)
H36 = 1,167- (1,167 / 1.08) = 86 ... (12b)
H46 = 1,556- (1,556 / 1.1) = 141 ... (13b)
Further, the amounts G11, G21, G31, and G46 for each tax category "1" to "4" for the payment amount E1 of the payment category "1" are calculated by the following equations (6d) to (9d).
G11=2,000*(1,000/10,280)=195 …(6d)
G21=2,000*(2,000/10,280)=389 …(7d)
G31=2,000*(3,000/10,280)=584 …(8d)
G41=2,000*(4,000/10,280)=778 …(9d)
次いで、以下の(10d)〜(13d)式により、支払区分“1”の支払金額E1に対する税区分“1”〜“4”毎の税額H11、H21、H31、H41を算出する。
G11 = 2,000 * (1,000 / 10,280) = 195 ... (6d)
G21 = 2,000 * (2,000 / 10,280) = 389… (7d)
G31 = 2,000 * (3,000 / 10,280) = 584 ... (8d)
G41 = 2,000 * (4,000 / 10,280) = 778… (9d)
Next, the tax amounts H11, H21, H31, and H41 for each of the tax categories "1" to "4" for the payment amount E1 of the payment category "1" are calculated by the following equations (10d) to (13d).
H11=195*0.08=16 …(10d)
H21=389*0.1=39 …(11d)
H31=584−(584/1.08)=43 …(12d)
H41=778−(778/1.1)=71 …(13d)
しかして、以下の(14d)〜(17d)式により、税区分テーブルエリア32に記憶された税区分“1”〜“4”毎の税額から、対応する税区分の税額H16、H26、H36、H46及び税額H11、H21、H31、H41をそれぞれ減算することにより、間接的に、販促費として計上される支払区分“5”の各税額H15,H252,H35,H45を算出する。
H11 = 195 * 0.08 = 16 ... (10d)
H21 = 389 * 0.1 = 39 ... (11d)
H31 = 584- (584 / 1.08) = 43 ... (12d)
H41 = 778- (778 / 1.1) = 71 ... (13d)
Then, from the tax amount for each tax category "1" to "4" stored in the tax
H15=80-31-16=33 …(14)
H25=200-78-39 =83 …(15)
H35=222-86-43=93 …(16)
H45=364-141-71=152 …(17)
因みに、上記の如く算出される支払区分毎の各税額については、レシートには一部を除いて印字されないものの、ジャーナルには出力されている。
H15 = 80-31-16 = 33… (14)
H25 = 200-78-39 = 83… (15)
H35 = 222-86-43 = 93… (16)
H45 = 364-141-71 = 152… (17)
Incidentally, each tax amount calculated as described above for each payment category is not printed on the receipt except for a part, but is output in the journal.
前記実施形態では、支払区分別の支払金額をキー入力する場合を例示した。支払金額の入力方法は、キー入力に限定されるものではない。例えば値引券、金券などに印刷されたバーコードをスキャナなどで読み取ることによって支払金額のデータを入力してもよい。また、顧客が有する携帯端末に保持される電子的な値引券や金券を使用する際には、携帯端末とPOS端末とで無線通信を行って上記支払区分または金額を取得してもよい。 In the above embodiment, the case where the payment amount for each payment category is key-input is illustrated. The payment amount input method is not limited to key input. For example, the payment amount data may be input by scanning a barcode printed on a discount ticket, a cash ticket, or the like with a scanner or the like. Further, when using an electronic discount ticket or a cash ticket held in a mobile terminal owned by a customer, the mobile terminal and the POS terminal may perform wireless communication to obtain the above payment category or amount.
この他、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態及びその変形は、発明の範囲に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 In addition, although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other embodiments, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope of the invention, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.
10…POS端末、20…店舗サーバ、21…商品ファイル、22…支払管理テーブル、31…登録商品テーブルエリア、32…税区分テーブルエリア、33…税込み合計金額エリア、34…支払い明細テーブルエリア、35…支払合計金額エリア、40…レシート、101…プロセッサ、102…メインメモリ、103…補助記憶デバイス、104…時計、105…釣銭機インターフェース、106…通信インターフェース、107…キーボード、108…スキャナ、109…第1ディスプレイ、110…第2ディスプレイ、111…プリンタ、112…システム伝送路。 10 ... POS terminal, 20 ... store server, 21 ... product file, 22 ... payment management table, 31 ... registered product table area, 32 ... tax classification table area, 33 ... total amount area including tax, 34 ... payment details table area, 35 ... total payment area, 40 ... receipt, 101 ... processor, 102 ... main memory, 103 ... auxiliary storage device, 104 ... clock, 105 ... change machine interface, 106 ... communication interface, 107 ... keyboard, 108 ... scanner, 109 ... First display, 110 ... Second display, 111 ... Printer, 112 ... System transmission line.
Claims (5)
前記商品に対する支払金額を取得する金額取得手段と、
前記合計手段により税区分毎に合計された金額の比で前記支払金額を計算する計算手段と、
前記計算手段により税区分毎に計算された前記支払金額からその税区分で特定される税の種類の税額を算出する算出手段と、
前記計算手段により税区分毎に計算された前記支払金額、または、前記算出手段により税区分毎に算出された税額の少なくとも一方を出力する出力手段と、
を具備する商品販売データ処理装置。 A total means of totaling the amount of the goods for each tax category that classifies the types of taxes levied on the goods, and
Amount acquisition means for acquiring the payment amount for the product, and
A calculation means for calculating the payment amount by the ratio of the amounts totaled for each tax category by the total means, and
A calculation means for calculating the tax amount of the type of tax specified in the tax category from the payment amount calculated for each tax category by the calculation means.
An output means that outputs at least one of the payment amount calculated for each tax category by the calculation means or the tax amount calculated for each tax category by the calculation means.
Product sales data processing device equipped with.
をさらに具備し、
前記データ取得手段により取得した前記データが前記特定の支払方法であることを示すデータである場合、その特定の支払方法による支払金額に対して、前記計算手段による計算処理と前記算出手段により算出処理とを実行する、請求項1記載の商品販売データ処理装置。 Classify payment methods Payment for the payment amount acquired by the amount acquisition means from the storage unit that stores data that identifies whether or not the payment method is a specific payment method that calculates the ratio of the payment amount for each tax category. Data acquisition means for acquiring the data of the division,
Further equipped,
When the data acquired by the data acquisition means is data indicating that the specific payment method is used, the payment amount by the specific payment method is calculated by the calculation means and the calculation means. The product sales data processing device according to claim 1, which executes the above.
をさらに具備し、
前記出力手段は、前記レシートに、前記計算手段により税区分毎に計算された前記支払金額、または、前記算出手段により税区分毎に算出された税額の少なくとも一方を記録することで出力する、請求項1又は2記載の商品販売データ処理装置。 Issuing means for issuing receipts containing transaction data,
Further equipped,
The output means outputs by recording on the receipt at least one of the payment amount calculated for each tax category by the calculation means and the tax amount calculated for each tax category by the calculation means. Item 2. The product sales data processing device according to item 1 or 2.
をさらに具備し、
前記出力手段は、前記1取引のデータに、前記計算手段により税区分毎に計算された前記支払金額、または、前記算出手段により税区分毎に算出された税額の少なくとも一方を含ませて、前記通信手段を介して前記サーバへと送信することで出力する、請求項1又は2記載の商品販売データ処理装置。 1 Communication means for data communication with a server that collects transaction data,
Further equipped,
The output means includes, in the data of the one transaction, at least one of the payment amount calculated for each tax category by the calculation means and at least one of the tax amount calculated for each tax category by the calculation means. The product sales data processing device according to claim 1 or 2, which outputs by transmitting to the server via a communication means.
商品に課せられる税の種類を分類する税区分毎に前記商品の金額を合計する合計手段、
前記商品に対する支払金額を取得する金額取得手段、
前記合計手段により税区分毎に合計された金額の比で前記支払金額を計算する計算手段、
前記計算手段により税区分毎に計算された前記支払金額からその税区分で特定される税の種類の税額を算出する算出手段、及び、
前記計算手段により税区分毎に計算された前記支払金額、または、前記算出手段により税区分毎に算出された税額の少なくとも一方を出力する出力手段、
として機能させるための制御プログラム。 The computer of the product sales data processing device,
A total means of totaling the amount of the goods for each tax category that classifies the types of taxes levied on the goods,
Amount acquisition means for acquiring the payment amount for the product,
A calculation means for calculating the payment amount by the ratio of the amounts totaled for each tax category by the total means,
A calculation means for calculating the tax amount of the type of tax specified in the tax category from the payment amount calculated for each tax category by the calculation means, and
An output means that outputs at least one of the payment amount calculated for each tax category by the calculation means or the tax amount calculated for each tax category by the calculation means.
A control program to function as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019170786A JP7353890B2 (en) | 2019-09-19 | 2019-09-19 | Product sales data processing device and control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019170786A JP7353890B2 (en) | 2019-09-19 | 2019-09-19 | Product sales data processing device and control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021047726A true JP2021047726A (en) | 2021-03-25 |
JP7353890B2 JP7353890B2 (en) | 2023-10-02 |
Family
ID=74878545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019170786A Active JP7353890B2 (en) | 2019-09-19 | 2019-09-19 | Product sales data processing device and control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7353890B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03154196A (en) * | 1989-11-10 | 1991-07-02 | Tokyo Electric Co Ltd | Electronic cash register |
JP2004005073A (en) * | 2002-05-31 | 2004-01-08 | Toshiba Tec Corp | Money registration device |
JP2018081520A (en) * | 2016-11-17 | 2018-05-24 | 東芝テック株式会社 | Information processing device and program |
JP2019036003A (en) * | 2017-08-10 | 2019-03-07 | 東芝テック株式会社 | Transaction settlement system, transaction processor, settlement device and program thereof |
-
2019
- 2019-09-19 JP JP2019170786A patent/JP7353890B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03154196A (en) * | 1989-11-10 | 1991-07-02 | Tokyo Electric Co Ltd | Electronic cash register |
JP2004005073A (en) * | 2002-05-31 | 2004-01-08 | Toshiba Tec Corp | Money registration device |
JP2018081520A (en) * | 2016-11-17 | 2018-05-24 | 東芝テック株式会社 | Information processing device and program |
JP2019036003A (en) * | 2017-08-10 | 2019-03-07 | 東芝テック株式会社 | Transaction settlement system, transaction processor, settlement device and program thereof |
Also Published As
Publication number | Publication date |
---|---|
JP7353890B2 (en) | 2023-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7309807B2 (en) | Payment device and its program | |
JP7500823B2 (en) | Product sales data processing system, settlement device and control program thereof | |
JP2023062026A (en) | Commodity sales data processing device and control program | |
JP2009059321A (en) | Commodity sales data processor | |
JP5014648B2 (en) | Register system | |
JP7353890B2 (en) | Product sales data processing device and control program | |
JP2017142752A (en) | POS system | |
JP2012168895A (en) | Sales data processor and program | |
JP7522264B2 (en) | Product sales data processing device and control program | |
JP7326049B2 (en) | Coupon issuing system, coupon management device and its control program | |
JP7401188B2 (en) | Product sales data processing device and control program | |
JP6156802B2 (en) | Receipt issuing device and receipt issuing method | |
CN112053519B (en) | Commodity sales data processing apparatus, display control method, medium, and device | |
JP7167258B2 (en) | Duty exemption processing system, storage device and data processing method | |
JP7111868B2 (en) | Tax exemption processing system, information processing device and its program | |
JP2022070088A (en) | Settlement device and control program therefor, and receipt data creation method | |
JP2021192167A (en) | Settlement device and program | |
JP2001250168A (en) | System and device for pos | |
JP2022148643A (en) | Commodity sales data processing system, commodity sales data processing device and control program therefor, and commodity sales data processing method | |
JP2024030512A (en) | Accounting system, registration machine, accounting machine, and program therefor | |
JP2021119493A (en) | Settlement device, control therefor and settlement method | |
CN116645768A (en) | Checkout machine and storage medium thereof | |
JP2020021306A (en) | Individual commodity management system, individual commodity management device, and program thereof | |
JP2007109030A (en) | Article sales data processing device and computer program | |
JP2015052881A (en) | Commodity sales data-processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220819 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20230104 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230228 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230307 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230508 |
|
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: 20230822 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230920 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7353890 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |