JP2511397Y2 - Sales data processing device with tax calculation function - Google Patents

Sales data processing device with tax calculation function

Info

Publication number
JP2511397Y2
JP2511397Y2 JP1987141720U JP14172087U JP2511397Y2 JP 2511397 Y2 JP2511397 Y2 JP 2511397Y2 JP 1987141720 U JP1987141720 U JP 1987141720U JP 14172087 U JP14172087 U JP 14172087U JP 2511397 Y2 JP2511397 Y2 JP 2511397Y2
Authority
JP
Japan
Prior art keywords
amount data
tax
taxable
destination
sales
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.)
Expired - Lifetime
Application number
JP1987141720U
Other languages
Japanese (ja)
Other versions
JPS6446888U (en
Inventor
秀則 大塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP1987141720U priority Critical patent/JP2511397Y2/en
Publication of JPS6446888U publication Critical patent/JPS6446888U/ja
Application granted granted Critical
Publication of JP2511397Y2 publication Critical patent/JP2511397Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

【考案の詳細な説明】 [産業上の利用分野] この考案は電子レジスタ等の売上金額データ処理装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a sales amount data processing device such as an electronic register.

[従来の技術] 一般に、米国における課税システムにおいては、買上
げられた商品に対する税額を求める場合、課税対象商品
の合計価格を課税対象額とし、この合計価格に対応する
税金が記憶されている課税一覧表を参照することによっ
て算出していた。この場合、地域によっては、「州」、
「郡」、「市」の組合せで課税される。
[Prior Art] Generally, in a taxation system in the United States, when a tax amount for a purchased product is obtained, the total price of taxable products is set as the taxable amount, and the tax corresponding to the total price is stored in the taxation list. It was calculated by referring to the table. In this case, depending on the region, "state",
It is taxed by the combination of "county" and "city".

ところで、近年、既に一部の州で実施済であるが、全
米規模で、フードスタンプと呼ばれる金券での支払に対
して免税しようとするシステムが採用されようとしてい
るが、フードスタンプとは所得の低い人達を保護するた
めに発行された商品と引き換え可能な金券であり、政府
によって所定期間毎に予め決められた額が支給される。
しかし、フードスタンプで商品と引き換えができる商品
は正確に不可欠となる正確必需品(ミルク、炭酸飲料
等)であり、生活には必要のない贅沢品等(ダイヤ等)
は除外される。そして、このようなフードスタンプを用
いたシステムが採用される過渡期にある。
By the way, in recent years, although it has already been implemented in some states, a system called a food stamp called tax exemption for payment with cash vouchers is about to be adopted, but food stamps are It is a voucher that can be exchanged for products issued to protect low-ranking people, and the amount paid in advance is predetermined by the government every predetermined period.
However, products that can be redeemed with food stamps are precisely essential items (milk, carbonated drinks, etc.) that are absolutely indispensable, and luxury items (diamonds, etc.) that are not necessary for daily life.
Is excluded. Then, there is a transitional period in which a system using such a food stamp is adopted.

この場合、従来の電子レジスタ(ECR)においては、
一取引分の合計額に対する支払がフードスタンプの他、
一部現金で支払われたものとすると、本来、現金で支払
った分だけを課税対象額とすべきところ、フードスタン
プで支払った分も含めて課税対象となり、フードスタン
プで支払った分を各税率毎に適正に免税することができ
なかった。
In this case, in the conventional electronic register (ECR),
Payment for the total amount of one transaction other than food stamps,
If it is assumed that some of the money was paid in cash, the taxable amount should be the amount paid in cash, but the taxable amount includes the amount paid in food stamps. I was not able to properly exempt each tax.

この考案の課題は、フードスタンプ等による支払がな
され、その金額だけ免税すべき場合、税率別に記憶され
た課税対象金額から適正に免税金額を減算し免税するこ
とができるようにすることである。
An object of the present invention is to enable tax exemption by appropriately subtracting the tax exemption amount from the taxable amount stored for each tax rate when payment is made by a food stamp or the like and the tax is exempted.

[課題を解決するための手段] 前記課題を解決するための本考案の手段は次の通りで
ある。
[Means for Solving the Problems] Means of the present invention for solving the above problems are as follows.

免税金額データおよび売上金額データを入力する入力
手段と、 入力された免税金額データを記憶する記憶手段と、 納税先が異なり、かつ免税可能な同一商品に適用され
る複数種類の税率を記憶する税率記憶手段と、 前記入力手段から入力された売上金額データを前記税
率のうち1種類以上の税率と対応づけて指定する指定手
段と、 前記指定手段で指定された2種類以上の各税率の組合
わせ別に売上金額データを累計して記憶する第1の売上
金額データ記憶手段と、 納税先別に売上金額データを累計して記憶する第2の
売上金額データ記憶手段と、 前記入力手段による前記免税金額データの入力に応答
し、各税率の組み合わせ数及び組み合わせ種類に対応し
て設定される優先順位に従って、前記第2の売上金額デ
ータ記憶手段に記憶された納税先別売上金額データ累計
額から、前記第1の売上金額データ記憶手段に記憶され
た各税率の組合せ別売上金額データ累計額を、納税先別
に減算する第1の課税対象金額データ算出手段と、 各税率の組み合わせ数及び組み合わせ種類に対応して
設定される優先順位に従って、前記第1の売上金額デー
タ記憶手段に記憶された各税率の組合せ別売上金額デー
タ累計額を納税先別に累計して納税先別の免税額を求め
る免税額算出手段と、 前記記憶手段に記憶された免税金額データから前記第
1の売上金額記憶手段に記憶された組合わせ別の売上金
額データを減算した場合に、その減算後の免税金額デー
タが0以下の値になったか否かを判別する判別手段と、 前記判別手段にて減算後の免税金額データが0以下の
値になったと判別された場合は、前記第2の売上金額デ
ータ記憶手段に記憶された納税先別売上金額データ累計
額から、前免税額算出手段で算出された納税先別の免税
金額データを夫々減算して、その減算後の金額を課税金
額データとする第1の課税金額データ決定手段と、 前記判別手段にて減算後の免税金額データが正の値と
判別された場合は、前記第1の課税対象金額データ算出
手段にて減算後の納税先別売上金額データ累計額から、
前記減算後の免税金額データを所定比率で減算する第2
の課税対象金額データ算出手段と、 前記第2の課税対象金額データ算出手段で減算後の納
税先別売上金額データ累計額のいずれかがマイナスとな
った場合に、そのマイナスとなった納税先別売上金額デ
ータ累計額をゼロに補正し、かつ前記マイナスの絶対値
に相当する金額データを所定比率で他の納税先別補正金
額データに分割し、該他の納税先別補正金額データを、
前記 第2の課税対象金額データ算出手段で減算後の、
納税先別売上金額データ累計額から減算補正する課税対
象金額データ補正手段と、 前記第2の課税対象金額データ算出手段で減算後の納税
先別売上金額データ累計額の全てがマイナスでない場合
は、該減算後の納税先別売上金額データ累計額を課税金
額データとし、前記第2の課税対象金額データ算出手段
で減算後の納税先別売上金額データ累計額のいずれかが
マイナスとなった場合は、前記課税対象金額データ補正
手段で補正後の納税先別売上金額データ累計額を課税金
額データとする第2の課税金額データ決定手段とを具備
する。
Input means for inputting tax exemption amount data and sales amount data, storage means for storing the input tax exemption amount data, and tax rates for storing multiple types of tax rates applied to the same tax-exempt item and different tax-exempt items A combination of a storage unit, a designation unit that designates the sales amount data input from the input unit in association with one or more types of tax rates among the tax rates, and a combination of two or more types of tax rates designated by the designation unit. First sales amount data storage means for separately storing accumulated sales amount data, second sales amount data storage means for accumulating and storing sales amount data for each tax destination, and the tax exemption amount data by the input means In response to the input of, the second sales amount data is stored in the second sales amount data storage means in accordance with the priority order set corresponding to the number and combination type of the tax rates. A first taxable amount data calculating means for subtracting, for each taxee, the cumulative amount of sales amount data for each combination of tax rates stored in the first amount of sales data storage means from the cumulative amount of sales amount data for each tax destination. , The cumulative sales amount data for each combination of tax rates stored in the first sales amount data storage means is accumulated for each taxee according to the priority order set corresponding to the number and combination type of each tax rate. When the tax exemption amount calculating means for obtaining the tax exemption amount for each tax payee and the sales amount data for each combination stored in the first sales amount storage means are subtracted from the tax exemption amount data stored in the storage means, If the tax exemption amount data after the subtraction has a value of 0 or less, and the determination unit determines that the tax exemption amount data after the subtraction has a value of 0 or less, The tax-exempt amount data for each tax recipient calculated by the previous tax exemption amount calculating unit is subtracted from the cumulative sales amount data for each tax destination stored in the second sales amount data storage unit, and the amount after the subtraction If the tax exemption amount data after the subtraction is determined to be a positive value by the first taxable amount data determining means that determines the taxable amount data as the taxable amount data, the first taxable amount data calculating means From the cumulative sales amount data by tax destination after subtraction,
Second, subtracting the tax exemption amount data after the subtraction at a predetermined ratio
If either of the taxable amount data calculating means and the second taxable amount data calculating means subtracts one of the cumulative sales amount data by tax destination after subtraction, by tax destination The cumulative amount of sales amount data is corrected to zero, and the amount data corresponding to the negative absolute value is divided at a predetermined ratio into the corrected amount data for each tax destination, and the corrected amount data for each other tax destination is
After subtraction by the second taxable amount data calculation means,
When all the taxable amount data correction means for subtracting and correcting from the sales amount data by tax destination and the cumulative amount of sales amount data by tax destination after subtraction by the second taxable amount data calculation means are not negative, When the cumulative amount of sales amount data by tax destination after the subtraction is used as taxable amount data, and any of the cumulative amounts of sales amount data by tax destination after subtraction is negative by the second taxable amount data calculating means, And a second taxable amount data determining unit that uses the cumulative amount of sales amount data for each tax payer corrected by the taxable amount data correcting unit as taxable amount data.

[作用] 本考案の手段の作用は次の通りである。[Operation] The operation of the means of the present invention is as follows.

入力手段からは免税金額データおよび売上金額データ
が入力され、この入力された免税金額データは記憶手段
に記憶される。税率記憶手段には、例えば、「州」、
「郡」、「市」等のように納税先が異なり、かつ免税可
能な同一商品に適用される複数種類の税率が記憶されて
いる。また、前記入力手段から入力された売上金額デー
タは前記税率のうち1種類以上の税率と対応づけて指定
手段によって指定されており、この指定された2種類以
上の各税率(「州」、「郡」、「市」の全てに課税され
たり、「郡」、「市」に課税されたりなど)の組合わせ
別に売上金額データが累計されて第1の売上金額データ
記憶手段に記憶される。また、納税先別(「州」、
「郡」、「市」毎など)に売上金額データが累計されて
第2の売上金額データ記憶手段に記憶される。そして、
前記入力手段による前記免税額データの入力に応答し、
各税率の組み合わせ数及び組み合わせ種類に対応して設
定される優先順位に従って、前記第2の売上金額データ
記憶手段に記憶された納税先別売上金額データ累計額か
ら、前記第1の売上金額データ記憶手段に記憶された各
税率の組合せ別売上金額データ累計額が第1の課税対象
金額データ算出手段によって納税先別に減算されて、さ
らに、免税額算出手段により、各税率の組み合わせ数及
び組み合わせ種類に対応して設定される優先順位に従っ
て、前記第1の売上金額データ記憶手段に記憶された各
税率の組合せ別売上金額データ累計額が納税先別に累計
されて納税先別の免税額が求められる。そして、前記記
憶手段に記憶された免税金額データから前記第1の売上
金額記憶手段に記憶された組合わせ別の売上金額データ
を減算した場合に、その減算後の免税金額データが0以
下の値となったか否かが判別手段によって判別されて、
減算後の免税金額データが0以下の値となったと判断さ
れた場合は、前記第2の売上金額データ記憶手段に記憶
された納税先別売上金額データ累計額から、前記免税額
算出手段で算出された納税先別の免税金額データを夫々
減算して、その減算後の金額を第1の課税金額データ決
定手段は課税金額データとする。
Tax exemption amount data and sales amount data are input from the input means, and the input tax exemption amount data is stored in the storage means. The tax rate storage means, for example, "state",
A plurality of types of tax rates, such as "counties" and "city", to which different tax payment destinations are applied and which are applied to the same tax exempt product are stored. Further, the sales amount data inputted from the input means is designated by the designating means in association with one or more types of tax rates among the tax rates, and each of the designated two or more types of tax rates (“state”, “ The sales amount data is accumulated for each combination of "county" and "city", or taxed on "county" and "city", and stored in the first sales amount data storage means. Also, by tax destination (“state”,
Sales amount data is accumulated for each "county", "city", etc. and stored in the second sales amount data storage means. And
In response to the input of the tax exemption amount data by the input means,
The first sales amount data is stored from the accumulated amount of sales amount data by tax destination stored in the second sales amount data storage means in accordance with the priority order set corresponding to the number and combination type of each tax rate. The cumulative amount of sales amount data for each combination of tax rates stored in the means is subtracted by the first taxable amount data calculation means for each tax payee, and further, by the tax exemption amount calculation means, the number of combinations and combination types of each tax rate are calculated. According to the priority order correspondingly set, the cumulative sales amount data for each combination of the tax rates stored in the first sales amount data storage means is accumulated for each tax payee to obtain the tax exemption amount for each tax payee. Then, when the sales amount data for each combination stored in the first sales amount storage unit is subtracted from the tax exemption amount data stored in the storage unit, the tax exemption amount data after the subtraction is a value of 0 or less. Is determined by the determination means,
When it is determined that the tax exemption amount data after the subtraction has a value of 0 or less, the tax exemption amount calculating means calculates from the sales amount data for each taxee stored in the second sales amount data storage means. The tax exemption amount data for each tax destination is subtracted, and the amount after the subtraction is used as the taxable amount data by the first taxable amount data determination means.

また、前記判別手段にて減算後の免税金額データが正
の値と判別された場合は、前記第1の課税対象金額デー
タ算出手段で減算後の納税先別売上金額データ累計額か
ら、前記減算後の免税金額データが所定比率で第2の課
税対象金額データ算出手段によって減算される。そし
て、前記減算後の納税先別売上金額データ累計額の全て
がマイナスでない場合は、第2の金額データ決定手段に
て、前記減算後の納税先別売上金額データ累計額を課税
金額データとする。しかし、前記減算後の納税先別売上
金額データ累計額のいずれかがマイナスとなった場合
は、課税対象金額データ補正手段により、前記マイナス
となった納税先別売上金額データ累計額をゼロに補正
し、かつ前記マイナスの絶対値に相当する金額データを
所定比率で他の納税先別補正金額データに分割し、前記
第2の課税対象金額データ算出手段で減算後の納税先別
売上金額データ累計額から前記納税先別補正金額データ
を減算補正して、その補正後の納税先別売上金額データ
累計額を第2の金額データ決定手段にて課税金額データ
とする。
When the tax exemption amount data after subtraction is determined to be a positive value by the determination means, the subtraction is performed from the cumulative amount of sales amount data by tax destination after subtraction by the first taxable amount data calculation means. The subsequent tax exemption amount data is subtracted at a predetermined ratio by the second taxable amount data calculating means. Then, if all of the cumulative amount of sales amount data by tax destination after subtraction are not negative, the second amount data determination means sets the cumulative amount of sales amount data by tax destination after subtraction as taxable amount data. . However, if any of the cumulative sales amount data by tax destination after the subtraction becomes negative, the taxable amount data correction means corrects the cumulative amount of sales amount data by tax destination to zero. In addition, the amount data corresponding to the negative absolute value is divided into other correction amount data by tax destination at a predetermined ratio, and the sales amount data by tax destination after the subtraction by the second taxable amount data calculation means is accumulated. The correction amount data for each tax recipient is subtracted from the amount and corrected, and the corrected cumulative sales amount data for each tax destination is used as taxable amount data by the second amount data determination means.

したがって、フードスタンプ等による支払がなされ、
その金額だけ免税すべき場合、税率別に記憶された課税
対象額から適正に免税金額を減算し免税することができ
る。
Therefore, payments such as food stamps are made,
If only the taxable amount should be exempted, the tax exempted amount can be appropriately subtracted from the taxable amount stored for each tax rate, and the tax can be exempted.

〈実施例〉 以下、一実施例を第1図ないし第4図を参照しながら
説明する。なお、本実施例は米国仕様の税額演算機能付
ECRに適用したものである。
<Example> Hereinafter, one example will be described with reference to FIGS. 1 to 4. In addition, this embodiment has a US-specific tax calculation function.
It is applied to ECR.

第1図はこのECRの基本的構成を示したブロック回路
図である。図中キー入力部11のキーボード上には、テン
キーKA、部門キーKB、クリアーキーKC、乗算キーKD、フ
ードスタンプシフトキーKE、タックスシフトキーKF、フ
ードスタンプ小計キーKG、フードスタンプテンキーKH、
小計キーKI、現金/預かり金キーKJ、モード切換スイッ
チMSが設けられている。
FIG. 1 is a block circuit diagram showing the basic configuration of this ECR. On the keyboard of the key input unit 11 in the figure, the numeric keypad KA, department key KB, clear key KC, multiplication key KD, food stamp shift key KE, tax shift key KF, food stamp subtotal key KG, food stamp numeric keypad KH,
Subtotal key KI, cash / deposit key KJ, and mode switch MS are provided.

なお、モード切換スイッチMSはその切換位置に応じて
P(設定)、REG(登録)、OFF(電源オフ)、X(点
検)、Z(精算)の各モードを指定するいわゆるコント
ロール・ロックである。しかして、キー入力部11から操
作キーに対応して出力されるキー入力信号は、入力制御
部12で対応するキーコードに変換された後、CPU13に取
り込まれる。
The mode changeover switch MS is a so-called control lock that designates each mode of P (setting), REG (registration), OFF (power off), X (inspection), and Z (settlement) according to its switching position. . Then, the key input signal output from the key input unit 11 corresponding to the operation key is converted into the corresponding key code by the input control unit 12 and then taken into the CPU 13.

CPU13はROM14に予め記憶されているマイクロプログラ
ムにしたがってこのECRの各種の動作、即ち、登録処
理、課税処理等を制御する。
The CPU 13 controls various operations of the ECR, that is, registration processing, taxation processing, etc., according to a microprogram stored in the ROM 14 in advance.

ROM15は部門別合計メモリ等の他、3種類の課税一覧
表であるタックステーブル(1)、(2)、(3)が設
けられている。ここで、タックステーブル(1)は
「州」、タックステーブル(2)は「郡」、タックステ
ーブル(3)は「市」の税率が記憶されていると共に各
タックステーブル(1)〜(3)には、任意にプリセッ
ト可能な免税対象フラグFおよび課税分配比率R1、R2、
R3が記憶されている。ここで、免税対象フラグFは、フ
ードスタンプでの支払いに対しては原則的に免税対象と
なるが、フードスタンプでの支払いであっても課税する
場合にはオフされる。分配比率R1、R2、R3は「州」、
「郡」、「市」に対応して例えば「60%」、「30%」、
「10%」の如くレートで設定されたもので、フードスタ
ンプでの支払いの他、一部入金されたときに、フードス
タンプの支払いに対する免税を各地域に対応して適正な
比率で免税する為に用いられる。
The ROM 15 is provided with tax tables (1), (2), and (3), which are three types of taxation table, in addition to the total memory for each department. Here, the tax table (1) stores the tax rates of “state”, the tax table (2) of “county”, and the tax table (3) of “city”, and the tax tables (1) to (3). Is a tax exemption target flag F and taxable distribution ratios R1, R2,
R3 is remembered. Here, the tax exemption target flag F is in principle subject to tax exemption for food stamp payments, but is turned off when tax is applied even for food stamp payments. Distribution ratios R1, R2, R3 are "states",
Corresponding to "county" and "city", for example, "60%", "30%",
It is set at a rate such as "10%", and in addition to payment with food stamps, when some deposits are made, tax exemption for food stamp payment is exempted at an appropriate ratio corresponding to each region. Used for.

また、RAM15には免税演算用の7種類のFSTA1TA2TA3、
FSTA1TA2……FSTA3レジスタが用意されている。ここ
で、各演算レジスタは、1つの買上商品に対して課税さ
れる対象地域に組み合せに応じた課税対象額(以下、FS
TA1TA2TA3、……FSTA3と称する)を記憶し、その課税対
象となる場合はフードスタンプで支払える商品を購買し
て一部をフードスタンプで支払い残りを現金で支払った
場合である。また、FSTA1TA2TA3とは「州」、「郡」、
「市」の3者に課税対象となることを示し、FSTA1TA2、
FSTA2TA3、FSTA1TA3とは「州」、「郡」、「市」のいず
れか2者に課税対象となることを示し、FSTA1、FSTA2、
FSTA3とは「州」、「郡」、「市」のいずれか1者に課
税対象となることを示している。
Also, RAM15 has seven types of FSTA1TA2TA3 for tax exemption calculation,
FSTA1TA2 ... FSTA3 register is prepared. Here, each calculation register is a taxable amount according to the combination of the target regions where one purchased product is taxed (hereinafter, FS
(TA1TA2TA3, ... called FSTA3) is memorized, and if it is subject to taxation, it is the case where a product that can be paid with a food stamp is purchased and a part is paid with a food stamp and the rest is paid with cash. In addition, with FSTA1TA2TA3 "state", "county",
Indicates that the tax will be levied on the three parties of the "city", FSTA1TA2,
FSTA2TA3 and FSTA1TA3 indicate that any two of "state", "county" and "city" are taxable, and FSTA1, FSTA2,
FSTA3 indicates that any one of "state", "county", and "city" is taxable.

また、ROM15にはフードスタンプ支払対象商品の小計
を記憶するFSSTレジスタ、フードスタンプでの支払い額
を記憶するFSTDレジスタが設けられている。更に、各タ
ックステーブル(1)、(2)、(3)に対応した免税
額を記憶するFS1、FS2、FS3レジスタ、各タックステー
ブル(1)、(2)、(3)に対応したフードスタンプ
での課税対象額を記憶するTA1、TA2、TA3レジスタが設
けられている。なお、上述した各レジスタの記憶内容を
以下、FSST、FSTD、FS1、FS2、FS3、TA1、TA2、TA3と称
する。
Further, the ROM 15 is provided with an FSST register that stores a subtotal of food stamp payment target products and an FSTD register that stores a payment amount of food stamps. Furthermore, the FS1, FS2, and FS3 registers that store the tax exemption amount corresponding to each tax table (1), (2), and (3), and the food stamp corresponding to each tax table (1), (2), and (3) There are TA1, TA2, and TA3 registers that store the taxable amount in. The storage contents of the above-mentioned registers are hereinafter referred to as FSST, FSTD, FS1, FS2, FS3, TA1, TA2, TA3.

なお、CPU13から出力された売上データ等は表示制御
部16で表示駆動信号に変換され、表示部17に表示され
る。また、CPU13から出力された売上データ等は印字制
御部18で印字駆動信号に変換され、印字部19にセットさ
れているレシート/ジャーナル用紙に印字される。ま
た、CPU13はドロア20の開放動作を制御する。
The sales data output from the CPU 13 is converted into a display drive signal by the display control unit 16 and displayed on the display unit 17. Further, the sales data and the like output from the CPU 13 are converted into a print drive signal by the print control unit 18 and printed on the receipt / journal paper set in the print unit 19. Further, the CPU 13 controls the opening operation of the drawer 20.

以下、動作につき説明する。 The operation will be described below.

第2図は本実施例の要部に係わる動作を示したジェネ
ラルフローチャートである。先ず、登録モードにおいて
通常のキー操作手順にしたがって入力された部門別売上
データをRAM15内の部門別合計メモリに累計する部門別
登録処理が実行される(ステップA1)。なお、部門別登
録操作は、部門キーKB、フードスタンプでの支払いが可
能な商品を指定する為にフードスタンプシフトキーKE、
商品に課税される対象地域を指定する為に、タックスシ
フトキーKFを操作することによって行なわれる。
FIG. 2 is a general flow chart showing the operation relating to the main part of this embodiment. First, a departmental registration process of accumulating departmental sales data input in the registration mode according to a normal key operation procedure in the departmental total memory in the RAM 15 is executed (step A1). In addition, the registration operation for each department is performed by the department key KB, the food stamp shift key KE to specify the products that can be paid with the food stamp,
This is done by operating the tax shift key KF to specify the target area where the goods are taxed.

しかして、一取引の登録が終了すると、フードスタン
プでの支払いがあった場合に操作されるフードスタンプ
テンキーKHの操作有無が調べられる(ステップA2)。こ
こで、フードスタンプでの支払いがあった場合には金額
フードスタンプでの支払いか、つまり、一部入金があっ
たことを調べる(ステップA3)。ここで、フードスタン
プの他一部入金があった場合には、タックステーブル
(1)、(2)、(3)の各免税対象フラグFと各分配
比率R1、R2、R3に基づいて、フードスタンプでの支払い
に対する免税演算を行なう際の優先順位の決定処理(後
述する)が実行されたのち(ステップA4)、その優先順
位にしたがって免税して実質課税対象額をタックステー
ブル(1)、(2)、(3)に対応して求める課税演算
処理(後述する)が実行される(ステップA5)。なお、
この課税演算処理は金額フードスタンプで支払われた場
合にも実行される。このようにして課税額が算出される
と、締め処理が実行される(ステップA6)。なお、フー
ドスタンプでの支払いがない場合には、釣銭計算等が実
行されたのち(ステップA7)、締め処理(ステップA6)
に進む。
Then, when the registration of one transaction is completed, it is checked whether or not the food stamp ten-key KH operated when the food stamp is paid (step A2). Here, if the payment is made with the food stamp, it is checked whether the amount is the payment with the food stamp, that is, the partial deposit is made (step A3). Here, if there is a partial deposit in addition to the food stamp, the food is based on each tax exemption target flag F and each distribution ratio R1, R2, R3 of the tax tables (1), (2), and (3). After the priority determination process (described later) when performing tax exemption calculation for stamp payments is executed (step A4), tax exemption is performed according to the priority and the actual taxable amount is set in the tax table (1), ( The tax calculation processing (described later) that is obtained corresponding to 2) and (3) is executed (step A5). In addition,
This tax calculation processing is also executed when the amount of food stamp is paid. When the taxable amount is calculated in this way, the closing process is executed (step A6). If the food stamp is not paid, change calculation is executed (step A7), and then closing process (step A6).
Proceed to.

〈優先順位決定処理(第3図)〉 第3図は第2図で示した優先順位決定処理(ステップ
A4)の具体的内容を示したフローチャートである。い
ま、タックステーブル(1)〜(3)内の免税対象フラ
グFが全てオンされ、フードスタンプでの支払いに対し
て州、郡、市全ての地域が免税対象となる場合、その分
配比率R1、R2、R3をR1=60%、R2=30%、R3=10%とと
し、またR12、R23、R31をR12=R1×R2、R23=R2×R3、R
31=R3×R1とすると、免税計算を行なう優先順位は分配
比率R1、R2、R3のレートにしたがって (I) R123=R1×R2×R3を優先し、FSTA1TA2TA3 (II) R12、R23、R31の大きい順に、FSTA1TA2、FSTA1
TA3、FSTA2TA3 (III) R1、R2、R3の大きい順にFSTA1、FSTA2、FSTA3
が決定される。
<Priority Order Determination Process (FIG. 3)> FIG. 3 shows the priority order determination process (steps shown in FIG. 2).
It is a flow chart showing the specific contents of (A4). If all the tax exemption target flags F in the tax tables (1) to (3) are turned on and all provinces, counties, and cities are exempt from taxation for food stamp payment, the distribution ratio R1, R2 and R3 are R1 = 60%, R2 = 30%, R3 = 10%, and R12, R23 and R31 are R12 = R1 x R2, R23 = R2 x R3, R
If 31 = R3 x R1, the priority of tax exemption calculation is according to the rates of distribution ratios R1, R2, R3 (I) R123 = R1 x R2 x R3 has priority, FSTA1TA2TA3 (II) R12, R23, R31 FSTA1TA2, FSTA1 in descending order
TA3, FSTA2TA3 (III) FSTA1, FSTA2, FSTA3 in descending order of R1, R2, R3
Is determined.

〈課税演算処理(第4図)〉 第4図は第2図で示した課税演算処理(ステップA5)
の具体的内容を示したフローチャートである。
<Taxation calculation process (Fig. 4)> Fig. 4 shows the taxation calculation process shown in Fig. 2 (step A5).
3 is a flowchart showing the specific contents of the above.

いま、第4図のフローチャートの説明に当たり、以下
に示す登録があった場合を例に挙げて具体的に説明す
る。
Now, in the explanation of the flowchart of FIG. 4, the case where the following registration is made will be described as an example in detail.

DEPT1 FST×1 $2.00 DEPT2 FST×2 $4.00 DEPT3 FST×3 $5.00 DEPT4 FST×1、2 $1.00 DEPT1 FST×2、3 $2.00 DEPT1 FST×1、3 $3.00 DEPT3 FST×1、2、3$4.00 ここでDEPT1〜4は部門、FSはフードスタンプ、TX1〜
TX3はタックスシフトを示している。したがって、最初
のDEPT1 FST×1 $2.00は、部門1の商品(単価$2.0
0)がフードスタンプで支払いに対してタックステーブ
ル(1)の「州」に対してのみ課税されるが、最後のDE
PT3 FST×1、2、3 $4.00は部門3の商品(単価$
4.00)がフードスタンプでの支払いに対してタックステ
ーブル(1)、(2)、(3)の「州」、「郡」、
「市」に対して課税されることになる。
DEPT1 FST x 1 $ 2.00 DEPT2 FST x 2 $ 4.00 DEPT3 FST x 3 $ 5.00 DEPT4 FST x 1, 2 $ 1.00 DEPT1 FST x 2, 3 $ 2.00 DEPT1 FST x 1, 3 $ 3.00 DEPT3 FST x 1, 2, 3, $ 4.00 where DEPT1 ~ 4 are departments, FS is food stamp, TX1 ~
TX3 indicates tax shift. Therefore, the first DEPT1 FST x 1 $ 2.00 is a product of department 1 (unit price $ 2.0
0) is taxed only on the “state” of the tax table (1) for payment with food stamp, but the last DE
PT3 FST x1,2,3 $ 4.00 is a product of department 3
4.00) responded to payment by food stamp with “state”, “county” of tax tables (1), (2) and (3),
The "city" will be taxed.

このような一取引分の登録があった場合において、オ
リジナル時のフードスタンプでの課税対象額は TA1 $2.00+$1.00+$3.00+$4.00=$10.00 TA2 $4.00+$1.00+$2.00+$4.00=$11.00 TA3 $5.00+$2.00+$3.00+$4.00=$14.00 また、フードスタンプの小計FSSTは$21.00となる。
When such a transaction is registered, the taxable amount of the original food stamp is TA1 $ 2.00 + $ 1.00 + $ 3.00 + $ 4.00 = $ 10.00 TA2 $ 4.00 + $ 1.00 + $ 2.00 + $ 4.00 = $ 11.00 TA3 $ 5.00 + $ 2.00 + $ 3.00 + $ 4.00 = $ 14.00 Also, the food stamp subtotal FSST is $ 21.00.

ここで、FSSTは$21.00に対して一部入金としてFSTD
$15.00が支払われた場合、 FSTA1TA2TA3 $4.00 FSTA1TA2 $1.00 FSTA1TA3 $3.00 FSTA2TA3 $2.00 の$10.00分が優先順位にしたがって FSTA1($10.00)より(4+1+3)=$8.00 FSTA2($11.00)より(4+1+2)=$7.00 FSTA3($14.00)より(4+3+2)=$9.00 差し引かれ、FSTA1=$2.00、FSTA2=$4.00、FSTA3
=$5.00となる。
Here, FSST is FSTD as a partial deposit for $ 21.00
If $ 15.00 is paid, FSTA1TA2TA3 $ 4.00 FSTA1TA2 $ 1.00 FSTA1TA3 $ 3.00 FSTA2TA3 $ 2.00 $ 10.00 minutes will be according to priority from FSTA1 ($ 10.00) (4 + 1 + 3) = $ 8.00 FSTA2 ($ 11.00) (4 + 1 + 2) = $ 7.00 (4 + 3 + 2) = $ 9.00 deducted from FSTA3 ($ 14.00), FSTA1 = $ 2.00, FSTA2 = $ 4.00, FSTA3
= $ 5.00

即ち、ステップC1〜C5は、この場合の処理を示してい
る。
That is, steps C1 to C5 show the processing in this case.

先ず、ステップC1 FSTA1($ 6.00)=$10.00−$4.00 FSTA2($ 7.00)=$11.00−$4.00 FSTA3($10.00)=$14.00−$4.00 FSTD ($11.00)=$15.00−$4.00 FS1 ($ 4.00)=$ 0.00+$4.00 FS2 ($ 4.00)=$ 0.00+$4.00 FS3 ($ 4.00)=$ 0.00+$4.00 ここで、FSTD>0であるからステップC3〜C6のループ
が実行されるが、優先順位にしたがってステップC3、C
5、C4の順位に処理される。
First, step C1 FSTA1 ($ 6.00) = $ 10.00- $ 4.00 FSTA2 ($ 7.00) = $ 11.00- $ 4.00 FSTA3 ($ 10.00) = $ 14.00- $ 4.00 FSTD ($ 11.00) = $ 15.00- $ 4.00 FS1 ( $ 4.00) = $ 0.00 + $ 4.00 FS2 ($ 4.00) = $ 0.00 + $ 4.00 FS3 ($ 4.00) = $ 0.00 + $ 4.00 Since FSTD> 0, the loop of steps C3 to C6 is executed. But according to priority, steps C3, C
5, processed in the order of C4.

ステップC3 FSTA1($ 5.00)=$ 6.00−$1.00 FSTA2($ 6.00)=$ 7.00−$1.00 FSTD ($10.00)=$11.00−$1.00 FS1 ($ 5.00)=$ 4.00+$1.00 FS2 ($ 5.00)=$ 4.00+$1.00 ステップC5 FSTA3($ 7.00)=$10.00−$3.00 FSTA1($ 2.00)=$ 5.00−$3.00 FSTD ($ 7.00)=$10.00−$3.00 FS3 ($ 7.00)=$ 4.00+$3.00 FS1 ($ 8.00)=$ 5.00+$3.00 ステップC4 FSTA2($ 4.00)=$ 6.00−$2.00 FSTA3($ 5.00)=$ 7.00−$2.00 FSTD ($ 5.00)=$ 7.00−$2.00 FS2 ($ 7.00)=$ 5.00+$2.00 FS3 ($ 9.00)=$ 7.00+$2.00 結局、FSTA1=$2.00、FSTA2=$4.00、FSTA3=$5.0
0、FS1=$8.00、FS2=$7.00、FS3=$9.00、FSTD=$
5.00となる。
Step C3 FSTA1 ($ 5.00) = $ 6.00- $ 1.00 FSTA2 ($ 6.00) = $ 7.00- $ 1.00 FSTD ($ 10.00) = $ 11.00- $ 1.00 FS1 ($ 5.00) = $ 4.00 + $ 1.00 FS2 ($ 5.00 ) = $ 4.00 + $ 1.00 Step C5 FSTA3 ($ 7.00) = $ 10.00- $ 3.00 FSTA1 ($ 2.00) = $ 5.00- $ 3.00 FSTD ($ 7.00) = $ 10.00- $ 3.00 FS3 ($ 7.00) = $ 4.00 + $ 3.00 FS1 ($ 8.00) = $ 5.00 + $ 3.00 Step C4 FSTA2 ($ 4.00) = $ 6.00- $ 2.00 FSTA3 ($ 5.00) = $ 7.00- $ 2.00 FSTD ($ 5.00) = $ 7.00- $ 2.00 FS2 ($ 7.00) = $ 5.00 + $ 2.00 FS3 ($ 9.00) = $ 7.00 + $ 2.00 After all, FSTA1 = $ 2.00, FSTA2 = $ 4.00, FSTA3 = $ 5.0
0, FS1 = $ 8.00, FS2 = $ 7.00, FS3 = $ 9.00, FSTD = $
It will be 5.00.

ここで、FSTD>0であるから(ステップS7)、次に、
ステップC8〜C11のループが実行される。即ち、残りのF
STD$5.00の分配比率R1、R2、R3に応じた値がFSTA1、FS
TA2、FSTA3より差し引かれる。この場合においても優先
順位にしたがってステップC8、C9、C10の順に処理され
る。
Here, since FSTD> 0 (step S7), next,
The loop of steps C8 to C11 is executed. That is, the remaining F
The value according to the distribution ratio R1, R2, R3 of STD $ 5.00 is FSTA1, FS
Subtracted from TA2 and FSTA3. Even in this case, steps C8, C9, and C10 are processed in the order of priority.

ステップC8 FSTA1(−$ 1.00)=$ 2.00−(5×60%) FS1 ($11.00)=$ 8.00+(5×60%) ステップC9 FSTA2($ 2.50)=$ 4.00−(5×30%) FS2 ($ 8.50)=$ 7.00+(5×30%) ステップC10 FSTA3($ 4.50)=$ 5.00−(5×10%) FS3 ($ 9.50)=$ 9.00+(5×10%) したがって、オリジナル時のフードスタンプでの課税
対象額FSTA1($10.00)から合計$11.00差し引かれ、F
STA1=−$1.00、FSTA2($11.00)から合計$8.50差し
引かれ、FSTA2=$2.50、FSTA3($14.00)から合計9.5
0差し引かれ、FSTA3=$4.50となる。この場合、FSTA1
は負となる為、差額$1.00分がFSTA2、FSTA3よりもう一
度分配比率によって差し引かれる。この場合の処理はス
テップC12〜C17によって行なわれる。ここで、ステップ
C13はFSTA1の値が負になった場合、FSTA2の値が負にな
った場合、ステップC17はFSTA3の値が負になった場合の
処理である。いま、FSTA1の値が負になった場合である
から、ステップC13が実行され、この結果、FSTD=$1.0
0、FSTA1=$0.00、R2=75%、R3=25%、R1=0%が得
られる。
Step C8 FSTA1 (-$ 1.00) = $ 2.00- (5 x 60%) FS1 ($ 11.00) = $ 8.00 + (5 x 60%) Step C9 FSTA2 ($ 2.50) = $ 4.00- (5 x 30%) FS2 ($ 8.50) = $ 7.00+ (5x30%) Step C10 FSTA3 ($ 4.50) = $ 5.00- (5x10%) FS3 ($ 9.50) = $ 9.00+ (5x10%) Therefore, the original The total amount of taxable FSTA1 ($ 10.00) deducted from the food stamp at the time is deducted by $ 11.00 and F
STA1 =-$ 1.00, a total of $ 8.50 is deducted from FSTA2 ($ 11.00), FSTA2 = $ 2.50, a total of 9.5 from FSTA3 ($ 14.00)
0 will be deducted and FSTA3 will be $ 4.50. In this case, FSTA1
Is negative, the difference of $ 1.00 will be deducted from FSTA2 and FSTA3 again by the distribution ratio. The processing in this case is performed by steps C12 to C17. Where the steps
C13 is a process when the value of FSTA1 becomes negative, when the value of FSTA2 becomes negative, and step C17 is a process when the value of FSTA3 becomes negative. Now, since the value of FSTA1 has become negative, step C13 is executed, and as a result, FSTD = $ 1.0
0, FSTA1 = $ 0.00, R2 = 75%, R3 = 25%, R1 = 0% are obtained.

その後、ステップC8〜C11のループに戻り、ステップC
8〜C10の順で実行される結果、ステップC8でFSTA1=$
0.00、FS1=$10.00、ステップC9でFSTA2=($1.75)
=$2.50−(1×75%)、FS2($9.25)=$8.50+
(1×75%)、ステップC10でFSTA3=($4.25)=$4.
50−(1×25%)、FS3($9.75)=$9.50+(1×25
%)となる。これによってFSTA1、FSTA2、FSTA3が全て
正となるので、ステップC18に進み、TA1より$10.00、T
A2より$9.25、TA3より$9.75が差し引かれ結局TA1=$
0.00、TA2=$1.75、TA3=$4.25となり、これが実質的
な課税対象額となる。この場合、FSTA1は金額免税さ
れ、これに基づいて課税計算が行なわれる(ステップC1
9)。
Then return to the loop of steps C8 to C11 and
As a result of being executed in the order of 8 to C10, FSTA1 = $ in step C8
0.00, FS1 = $ 10.00, FSTA2 = ($ 1.75) at step C9
= $ 2.50- (1 x 75%), FS2 ($ 9.25) = $ 8.50 +
(1 x 75%), Step C10 FSTA3 = ($ 4.25) = $ 4.
50- (1 x 25%), FS3 ($ 9.75) = $ 9.50 + (1 x 25
%). As a result, FSTA1, FSTA2, and FSTA3 all become positive, so proceed to Step C18, and from TA1 $ 10.00, T
$ 9.25 is deducted from A2 and $ 9.75 is deducted from TA3, so TA1 = $
0.00, TA2 = $ 1.75, TA3 = $ 4.25, which is the actual taxable amount. In this case, FSTA1 is exempt from the amount and tax calculation is performed based on this (Step C1
9).

また、以下に、他の登録があった場合の概略をまず説
明し、その後に具体例を挙げて説明する。
In addition, an outline of the case where other registrations are made will be first described below, and then a concrete example will be described.

まず、フードスタンプの仕様可能な商品(FSTA1TA2TA
3)と、(FSTA1TA3)とを購入した場合に、客がフード
スタンプを用いて支払った金額に応じて免税金額が異な
ってくる。
First of all, the products that can be used as food stamps (FSTA1TA2TA
If you purchase 3) and (FSTA1TA3), the tax exemption amount will differ depending on the amount paid by the customer using the food stamp.

今、第1生活必需品をミルクやパン等としてFSTA1TA2
TA3の3者の課税対象にし、第1生活必需品に次いで必
要となる炭酸飲料等を第2生活必需品としてTA1TA2の2
者の課税対象にし、さほど生活に必要のない酒等を準生
活必需品としていずれか1者の課税対象にした場合を説
明する。
FSTA1TA2 is now the first daily necessities as milk and bread
The taxables of the three parties of TA3 are included, and the carbonated drinks that are needed after the first daily necessities are the second daily necessities of TA1TA2.
A case will be described in which one person is taxable and liquor, etc., which is not necessary for daily life, is taxed by any one person as a semi-living essential item.

このようにした場合、第1生活必需品(ミルクやパン
等)の買物を1品した場合に、その購買金額の一部でも
フードスタンプを使用したら全額を免税にする。例え
ば、ミルク等は第1生活必需品であるため一般の人達か
らは税を幅広く取れるように全ての納税先に納税するよ
うTA1TA2TA3を課税対象にしておく。これにより、ミル
クを購買した場合にフードスタンプを使用しない一般の
人からは幅広く税を徴収でき、また、購買金額の一部で
もフードスタンプを使用したならば全額を免税にするこ
とができ低所得者の保護ができる。また、第1生活必需
品に次いで必要となる第2生活必需品(炭酸飲料等)に
ついても1品で購入すれば購買金額の一部でもフードス
タンプを使用したならば第1生活必需品と同様に全額を
免税にする。これは、第1生活必需品と第2生活必需品
とを組合せて多数の商品を購入する者については余裕の
ある者と見なして課税し、第1生活必需品あるいは第2
生活必需品のいずれかの1品だけをその都度購入する者
は余裕がないと見なして免税するためである。さらに、
第1生活必需品と第2生活必需品とを組合せて商品を購
入したとしても第1生活必需品の購入金額以上のフード
スタンプを使用した時には免税するようにしている。こ
れは、複数種の生活必需品(第1生活必需品と第2生活
必需品)を購入していても、メインとなる商品の購入は
第1生活必需品であると見なしているためである。しか
し、準生活必需品(酒等)はさほど生活に必要のない商
品であり、いずれかの納税先に対しての課税対象とし
て、支払の一部についてフードスタンプを使用した場合
には課税対象とする。
In this case, if one purchase of the first daily necessities (milk, bread, etc.) is made, even if a part of the purchase amount is used for the food stamp, the entire amount is exempted. For example, milk is the first daily necessities, so TA1TA2TA3 is taxable so that taxpayers can pay a wide range of taxes to the general public. As a result, a wide range of taxes can be collected from ordinary people who do not use food stamps when purchasing milk, and even if a part of the purchase amount is used, the entire amount can be exempted from tax if food stamps are used. Person can be protected. Also, if you purchase the second daily necessities (carbonated beverages, etc.) that are needed after the first daily necessities in one item, if you use a food stamp even if a part of the purchase amount is used, the full amount will be the same as the first daily necessities. Exempt from tax. This is because the person who purchases a large number of commodities by combining the first daily necessities and the second daily necessities is regarded as having a margin and is taxed.
This is because those who purchase only one of the daily necessities each time are considered to be unable to afford and are tax exempt. further,
Even if a product is purchased by combining the first daily necessities and the second daily necessities, tax is exempted when a food stamp with a purchase amount equal to or more than the purchase amount of the first daily necessities is used. This is because even if a plurality of types of daily necessities (first daily necessities and second daily necessities) are purchased, the purchase of the main product is regarded as the first daily necessities. However, quasi daily necessities (liquor, etc.) are products that are not very necessary for daily life, and are subject to taxation if any one of the tax recipients is taxed if a food stamp is used. .

具体例による説明($1以下は端数がないことにして
説明する)。
Explanation using a specific example (I will assume that there is no fraction for $ 1 or less).

FSTA1TA2TA3の課税対象の第1生活必需商品を$5購
入し、フードスタンプにより$3を支払った場合。
If you purchase $ 5 of the 1st daily necessities product subject to taxation under FSTA1TA2TA3 and pay $ 3 with a food stamp.

ステップC1 FSTA1($0)=$5−$5 FSTA2($0)=$5−$5 FSTA3($0)=$5−$5 FSTD(−$2)=$3−$5 FS1 ($5)=$0+$5 FS2 ($5)=$0+$5 FS3 ($5)=$0+$5 この後、ステップC2へ進み、このステップC2ではFSTD
=$0のためステップC18へ進む。
Step C1 FSTA1 ($ 0) = $ 5- $ 5 FSTA2 ($ 0) = $ 5- $ 5 FSTA3 ($ 0) = $ 5- $ 5 FSTD (-$ 2) = $ 3- $ 5 FS1 ($ 5) = $ 0 + $ 5 FS2 ($ 5) = $ 0 + $ 5 FS3 ($ 5) = $ 0 + $ 5 After that, the process proceeds to step C2, and in this step C2, FSTD
== 0, so proceed to step C18.

ステップC18では、 TA1 ($0)=$5−$5 TA2 ($0)=$5−$5 TA3 ($0)=$5−$5 従って、第1生活必需商品の単品目の購入で一部をフ
ードスタンプで使用した場合は全額を免税金額として求
める。
At step C18, TA1 ($ 0) = $ 5- $ 5 TA2 ($ 0) = $ 5- $ 5 TA3 ($ 0) = $ 5- $ 5 Therefore, it is possible to purchase a single item of the first daily necessities product. If part of the stamp is used as a food stamp, the full amount will be calculated as the tax-free amount.

FSTA1TA3の課税対象の第2生活必需商品を$6購入し
てフードスタンプにより$3を支払った場合。
If you purchase $ 6 of a second daily necessities item subject to taxation under FSTA1TA3 and pay $ 3 with a food stamp.

先ず、ステップC1 FSTA1($6)=$6−$0 FSTA2($0)=$0−$0 FSTA3($6)=$6−$0 FSTD ($3)=$3−$0 FS1 ($0)=$0+$0 FS2 ($0)=$0+$0 FS3 ($0)=$0+$0 この後、ステップC2ではFSTD=$3のためステップC3
へ進む。
First, step C1 FSTA1 ($ 6) = $ 6- $ 0 FSTA2 ($ 0) = $ 0- $ 0 FSTA3 ($ 6) = $ 6- $ 0 FSTD ($ 3) = $ 3- $ 0 FS1 ( $ 0) = $ 0 + $ 0 FS2 ($ 0) = $ 0 + $ 0 FS3 ($ 0) = $ 0 + $ 0 After that, in step C2, FSTD = $ 3, so step C3
Proceed to.

しかし、ステップC3とステップC4との処理には、FSTA
1TA3の処理はないため、ステップC5へと進む。
However, in the processing of step C3 and step C4, FSTA
Since there is no processing for 1TA3, the process proceeds to step C5.

ステップC5 FSTA1($0)=$6−$6 FSTA3($0)=$6−$6 FSTD(−$3)=$3−$6 FS1 ($6)=$0+$6 FS3 ($6)=$0+$6 となる。しかし、ステップC7に進むとこのステップC7
ではFSTD=−$3のためステップC18へ進む ステップC18 TA1 ($0)=$6−$6 TA2 ($0)=$0−$0 TA3 ($0)=$6−$6 従って、第2生活必需商品の単品目の購入で一部をフ
ードスタンプで使用した場合は全額を免税金額として求
める。
Step C5 FSTA1 ($ 0) = $ 6- $ 6 FSTA3 ($ 0) = $ 6- $ 6 FSTD (-$ 3) = $ 3- $ 6 FS1 ($ 6) = $ 0 + $ 6 FS3 ($ 6 ) = $ 0 + $ 6. However, if you proceed to step C7, this step C7
Then FSTD =-$ 3, so proceed to step C18. Step C18 TA1 ($ 0) = $ 6- $ 6 TA2 ($ 0) = $ 0- $ 0 TA3 ($ 0) = $ 6- $ 6 Therefore, 2 If you purchase a single item for daily necessities and use a part of it as a food stamp, the full amount will be calculated as the tax-free amount.

FSTA1TA2TA3の課税対象の第1生活必需商品を4$購
入し、FSTA1TA3の課税対象の第2生活必需商品を3$を
購入してフードスタンプにより5$を支払った場合。
If you purchase 4 $ of the 1st daily necessities products subject to taxation by FSTA1TA2TA3, 3 $ of the 2nd daily necessities products subject to taxation of FSTA1TA3, and pay 5 $ by food stamp.

先ず、ステップC1 FSTA1($3)=$7−$4 FSTA2($0)=$4−$4 FSTA3($3)=$7−$4 FSTD ($1)=$5−$4 FS1 ($4)=$0+$4 FS2 ($4)=$0+$4 FS3 ($4)=$0+$4 この後、ステップC2ではFSTD=$1のためステップC3
へ進む。
First, step C1 FSTA1 ($ 3) = $ 7- $ 4 FSTA2 ($ 0) = $ 4- $ 4 FSTA3 ($ 3) = $ 7- $ 4 FSTD ($ 1) = $ 5- $ 4 FS1 ( $ 4) = $ 0 + $ 4 FS2 ($ 4) = $ 0 + $ 4 FS3 ($ 4) = $ 0 + $ 4 After that, in step C2, FSTD = $ 1, so step C3
Proceed to.

しかし、ステップC3とステップC4との処理には、FSTA
1TA3に関する処理はないため、ステップC5へと進む。
However, in the processing of step C3 and step C4, FSTA
Since there is no processing related to 1TA3, the process proceeds to step C5.

ステップC5 FSTA1($0)=$3−$3 FSTA3($0)=$3−$3 FSTD(−$2)=$1−$3 FS1 ($7)=$4+$3 FS3 ($7)=$4+$3 となる。しかし、ステップC7に進むとこのステップC7
ではFSTD=−$2のためステップC18へ進む。
Step C5 FSTA1 ($ 0) = $ 3- $ 3 FSTA3 ($ 0) = $ 3- $ 3 FSTD (-$ 2) = $ 1- $ 3 FS1 ($ 7) = $ 4 + $ 3 FS3 ($ 7 ) = $ 4 + $ 3. However, if you proceed to step C7, this step C7
Since FSTD =-$ 2, proceed to Step C18.

ステップC18 TA1 ($0)=$7−$7 TA2 ($0)=$4−$4 TA3 ($0)=$7−$7 従って、第1生活必需商品と第2生活必需商品の購入
で一部フードスタンプ使用の場合に、第1生活必需商品
の金額の$4を越えてフードスタンプの支払金額が$5
であれば全額を免税金額として求める。
Step C18 TA1 ($ 0) = $ 7- $ 7 TA2 ($ 0) = $ 4- $ 4 TA3 ($ 0) = $ 7- $ 7 Therefore, purchasing the first daily necessities and the second daily necessities When using some food stamps, the amount of food stamp payment is $ 5, exceeding the $ 4 of the first daily necessities
If so, the full amount will be calculated as the tax-free amount.

FSTA1TA2TA3の課税対象の第1生活必需商品を4$購
入し、FSTA1TA3の課税対象の第2生活必需商品を3$を
購入してフードスタンプにより2$を支払った場合。
If you purchase 4 $ of the taxable first daily necessities product of FSTA1TA2TA3, purchase 3 $ of the taxable second daily necessities of FSTA1TA3, and pay 2 $ with a food stamp.

ステップC1 FSTA1($3)=$7−$4 FSTA2($0)=$4−$4 FSTA3($3)=$7−$4 FSTD(−$1)=$3−$4 FS1 ($4)=$0+$4 FS2 ($4)=$0+$4 FS3 ($4)=$0+$4 この後、ステップC2へ進むこのステップC2ではFSTD=
$−1のためステップC18へ進む。
Step C1 FSTA1 ($ 3) = $ 7- $ 4 FSTA2 ($ 0) = $ 4- $ 4 FSTA3 ($ 3) = $ 7- $ 4 FSTD (-$ 1) = $ 3- $ 4 FS1 ($ 4) = $ 0 + $ 4 FS2 ($ 4) = $ 0 + $ 4 FS3 ($ 4) = $ 0 + $ 4 After that, proceed to step C2 In this step C2, FSTD =
Since it is $ -1, proceed to step C18.

ステップC18 TA1 ($3)=$7−$4 TA2 ($0)=$4−$4 TA3 ($3)=$7−$4 従って、第1生活必需商品と第2生活必需商品の購入
で一部フードスタンプ使用の場合に、第1生活必需商品
の金額の$4を越えないフードスタンプの支払$5であ
れば、課税対象TA1の$3と課税対象TA3の$3を課税対
象金額として求める。
Step C18 TA1 ($ 3) = $ 7- $ 4 TA2 ($ 0) = $ 4- $ 4 TA3 ($ 3) = $ 7- $ 4 Therefore, purchasing the first daily necessities and second daily necessities If you use some food stamps, and you pay $ 5 for food stamps that do not exceed the $ 4 amount of the first daily necessities, taxable TA1 is $ 3 and taxable TA3 is $ 3. Ask as.

FSTA1TA2TA3の課税対象の第1生活必需商品を$3購
入し、FSTA1TA3の課税対象の第2生活必需商品を$4を
購入してフードスタンプにより$3を支払った場合。
If you purchase $ 3 of the taxable first daily necessities of FSTA1TA2TA3 and $ 4 of the taxable second daily necessities of FSTA1TA3 and pay $ 3 with a food stamp.

ステップC1 FSTA1($4)=$7−$3 FSTA2($0)=$3−$3 FSTA3($4)=$7−$3 FSTD ($0)=$3−$3 FS1 ($3)=$0+$3 FS2 ($3)=$0+$3 FS3 ($3)=$0+$3 この後、ステップC2に進みこのステップC2ではFSTD=
0のためステップC18へ進む。
Step C1 FSTA1 ($ 4) = $ 7- $ 3 FSTA2 ($ 0) = $ 3- $ 3 FSTA3 ($ 4) = $ 7- $ 3 FSTD ($ 0) = $ 3- $ 3 FS1 ($ 3 ) = $ 0 + $ 3 FS2 ($ 3) = $ 0 + $ 3 FS3 ($ 3) = $ 0 + $ 3 After that, the process proceeds to step C2 and FSTD =
Since it is 0, the process proceeds to step C18.

ステップC18 TA1 ($4)=$7−$3 TA2 ($0)=$4−$4 TA3 ($4)=$7−$3 従って、第1生活必需商品と第2生活必需商品の購入
で一部フードスタンプ使用の場合に、第1生活必需商品
の金額の$3とフードスタンプの支払金額$3が同じで
あるので、課税対象TA1の$4と課税対象TA3の$4を課
税対象金額として求めることができる。
Step C18 TA1 ($ 4) = $ 7- $ 3 TA2 ($ 0) = $ 4- $ 4 TA3 ($ 4) = $ 7- $ 3 Therefore, purchasing the first daily necessities and second daily necessities When using some food stamps, the $ 3 of the amount of the first daily necessities product and the payment amount of the food stamp of $ 3 are the same, so taxable TA1 is $ 4 and taxable TA3 is $ 4. It can be calculated as the amount of money.

なお、上述の例ではRAM15に設けられ州、郡、市など
の納税先に対応づけられた3つのタックステーブル
(1)、(2)、(3)の免税フラグFが全てオンさ
れ、免税対象トナル場合を示したが、例えば、タックス
テーブル(1)については免税対象とならないように免
税フラグFをオフしていた場合(タックステーブル
(1)の対象商品はフードスタンプによる購入であって
も免税しない場合)は、タックステーブル(1)につい
ては免税せずに通常のタックス演算を行なわせる。即
ち、一部をフードスタンプにより支払って免税の演算を
行なう場合は、免税演算にはFSTA1を除く(FSTA1を除く
ものについてはFSTA1だけではなくFSTA1TA2TA3、FSTA1T
A3、FSTA1TA2を除く)FSTA2TA3、FSTA2、STA3等が用い
られる。
In the above example, the tax exemption flags F of the three tax tables (1), (2), and (3) provided in the RAM 15 and associated with tax destinations such as states, counties, and cities are all turned on, and the tax exemption target For example, when the tax exemption flag F is turned off so that the tax table (1) is not tax exempt for the tax table (1) (even if the target product of the tax table (1) is a food stamp purchase, the tax exemption is exempt). If not), the tax table (1) is not tax exempted and the normal tax operation is performed. In other words, when part of the tax exemption is calculated by using food stamps, FSTA1 is excluded from the tax exemption calculation (except for FSTA1, not only FSTA1 but also FSTA1TA2TA3, FSTA1T
Except A3, FSTA1TA2) FSTA2TA3, FSTA2, STA3 etc. are used.

[考案の効果] この考案によれば、フードスタンプ等による支払がな
され、その金額だけ免税すべき場合、税率別に記憶され
た課税対象額から適正に免税金額を減算し免税すること
ができる。
[Effect of the Invention] According to the present invention, when payment is made by a food stamp or the like and only the amount of the tax should be exempted, the tax exemption amount can be appropriately subtracted from the taxable amount stored for each tax rate, and the tax can be exempted.

【図面の簡単な説明】[Brief description of drawings]

第1図〜第4図は一実施例を示し、第1図はECRの基本
的な構成を示すブロック回路図、第2図は全体動作の概
要を示したゼネラルフローチャート、第3図は第2図で
示した優先順位決定処理の具体的内容を示したフローチ
ャート、第4図は第2図で示した課税演算処理の具体的
内容を示したフローチャートである。 13……CPU、14……ROM、15……RAM、(1)、(2)、
(3)……タックステーブル。
1 to 4 show an embodiment, FIG. 1 is a block circuit diagram showing a basic configuration of an ECR, FIG. 2 is a general flow chart showing an outline of the entire operation, and FIG. FIG. 4 is a flowchart showing the specific contents of the priority order determination process shown in FIG. 4, and FIG. 4 is a flowchart showing the specific contents of the taxation calculation process shown in FIG. 13 …… CPU, 14 …… ROM, 15 …… RAM, (1), (2),
(3) …… Tax table.

Claims (1)

(57)【実用新案登録請求の範囲】(57) [Scope of utility model registration request] 【請求項1】免税金額データおよび売上金額データを入
力する入力手段と、 入力された免税金額データを記憶する記憶手段と、 納税先が異なり、かつ免税可能な同一商品に適用される
複数種類の税率を記憶する税率記憶手段と、 前記入力手段から入力された売上金額データを前記税率
のうち1種類以上の税率と対応づけて指定する指定手段
と、 前記指定手段で指定された2種類以上の各税率の組合わ
せ別に売上金額データを累計して記憶する第1の売上金
額データ記憶手段と、 納税先別に売上金額データを累計して記憶する第2の売
上金額データ記憶手段と、 前記入力手段による前記免税金額データの入力に応答
し、各税率の組み合わせ数及び組み合わせ種類に対応し
て設定される優先順位に従って、前記第2の売上金額デ
ータ記憶手段に記憶された納税先別売上金額データ累計
額から、前記第1の売上金額データ記憶手段に記憶され
た各税率の組合せ別売上金額データ累計額を、納税先別
に減算する第1の課税対象金額データ算出手段と、 各税率の組み合わせ数及び組み合わせ種類に対応して設
定される優先順位に従って、前記第1の売上金額データ
記憶手段に記憶された各税率の組合せ別売上金額データ
累計額を納税先別に累計して納税先別の免税額を求める
免税額算出手段と、 前記記憶手段に記憶された免税金額データから前記第1
の売上金額記憶手段に記憶された組合わせ別の売上金額
データを減算した場合に、その減算後の免税金額データ
が0以下の値になったか否かを判別する判別手段と、 前記判別手段にて減算後の免税金額データが0以下の値
になったと判別された場合は、前記第2の売上金額デー
タ記憶手段に記憶された納税先別売上金額データ累計額
から、前免税額算出手段で算出された納税先別の免税金
額データを夫々減算して、その減算後の金額を課税金額
データとする第1の課税金額データ決定手段と、 前記判別手段にて減算後の免税金額データが正の値と判
別された場合は、前記第1の課税対象金額データ算出手
段にて減算後の納税先別売上金額データ累計額から、前
記減算後の免税金額データを所定比率で減算する第2の
課税対象金額データ算出手段と、 前記第2の課税対象金額データ算出手段で減算後の納税
先別売上金額データ累計額のいずれかがマイナスとなっ
た場合に、そのマイナスとなった納税先別売上金額デー
タ累計額をゼロに補正し、かつ前記マイナスの絶対値に
相当する金額データを所定比率で他の納税先別補正金額
データに分割し、該他の納税先別補正金額データを、前
記第2の課税対象金額データ算出手段で減算後の、納税
先別売上金額データ累計額から減算補正する課税対象金
額データ補正手段と、 前記第2の課税対象金額データ算出手段で減算後の納税
先別売上金額データ累計額の全てがマイナスでない場合
は、該減算後の納税先別売上金額データ累計額を課税金
額データとし、前記第2の課税対象金額データ算出手段
で減算後の納税先別売上金額データ累計額のいずれかが
マイナスとなった場合は、前記課税対象金額データ補正
手段で補正後の納税先別売上金額データ累計額を課税金
額データとする第2の課税金額データ決定手段と、 を具備したことを特徴とする売上金額データ処理装置。
[Claim 1] Input means for inputting tax exemption amount data and sales amount data, storage means for storing the input tax exemption amount data, and a plurality of types of tax payment destinations different from each other and applied to the same tax exempt product Tax rate storage means for storing the tax rate; designation means for designating the sales amount data input from the input means in association with one or more types of tax rates among the tax rates; and two or more types designated by the designation means. First sales amount data storage means for accumulating and storing sales amount data for each combination of tax rates, second sales amount data storage means for accumulating and storing sales amount data for each tax destination, and the input means In response to the input of the tax exemption amount data by the second sales amount data storage means in accordance with the priority order set corresponding to the number and combination type of each tax rate. First taxable amount data for subtracting, for each taxee, the cumulative sales amount data for each combination of tax rates stored in the first sales amount data storage means from the stored total amount of sales amount data for each tax destination The sales amount data for each combination of each tax rate stored in the first sales amount data storage unit is calculated according to the priority order set corresponding to the number of combinations and the combination type of each tax rate for each tax destination. From the tax exemption amount calculation means for accumulating the tax exemption amount for each tax payment destination and the tax exemption amount data stored in the storage means,
Discriminating means for discriminating whether or not the tax exemption amount data after the subtraction becomes less than or equal to 0 when the sales amount data for each combination stored in the sales amount storage means of If it is determined that the tax exemption amount data after subtraction has become a value of 0 or less, the previous tax exemption amount calculation means calculates from the cumulative sales amount data for each taxee stored in the second sales amount data storage means. The first taxable amount data determining means for subtracting the calculated tax exemption amount data for each tax destination and the subtracted amount as taxable amount data, and the tax exemption amount data after subtraction by the determining means are positive. When it is determined that the tax exemption amount data after the subtraction is subtracted from the cumulative amount of sales amount data by tax destination after the subtraction by the first taxable amount data calculating means in the second ratio, Calculate taxable amount data If any one of the cumulative sales amount data by tax destination after subtraction by the second taxable amount data calculating means becomes negative, the accumulated sales amount data by tax destination becomes negative. The amount data corresponding to the negative absolute value is corrected to zero and divided into other tax destination correction amount data at a predetermined ratio, and the other tax destination correction amount data is divided into the second taxable amount. A taxable amount data correction means for subtracting and correcting from the cumulative sales amount data by tax destination after the subtraction by the data calculating means, and an accumulated sales amount data by tax destination after subtraction by the second taxable amount data calculation means When all of the above are not negative, the cumulative amount of sales amount data by tax destination after the subtraction is used as taxable amount data, and the cumulative amount of sales amount data by tax destination after subtraction is performed by the second taxable amount data calculation means. If any of the values becomes negative, the second taxable amount data determining means for setting the taxable amount data to the cumulative amount of sales amount data by tax destination after being corrected by the taxable amount data correcting means is provided. Characteristic sales amount data processing device.
JP1987141720U 1987-09-18 1987-09-18 Sales data processing device with tax calculation function Expired - Lifetime JP2511397Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987141720U JP2511397Y2 (en) 1987-09-18 1987-09-18 Sales data processing device with tax calculation function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987141720U JP2511397Y2 (en) 1987-09-18 1987-09-18 Sales data processing device with tax calculation function

Publications (2)

Publication Number Publication Date
JPS6446888U JPS6446888U (en) 1989-03-23
JP2511397Y2 true JP2511397Y2 (en) 1996-09-25

Family

ID=31407041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987141720U Expired - Lifetime JP2511397Y2 (en) 1987-09-18 1987-09-18 Sales data processing device with tax calculation function

Country Status (1)

Country Link
JP (1) JP2511397Y2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60251497A (en) * 1984-05-29 1985-12-12 東芝テック株式会社 Electronic cash register

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5623712Y2 (en) * 1976-04-19 1981-06-03

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60251497A (en) * 1984-05-29 1985-12-12 東芝テック株式会社 Electronic cash register

Also Published As

Publication number Publication date
JPS6446888U (en) 1989-03-23

Similar Documents

Publication Publication Date Title
US4821186A (en) Bar code reading electronic cash register having an automatic discount function
JP2511397Y2 (en) Sales data processing device with tax calculation function
JPS5840233B2 (en) Digital cash register
JP4834643B2 (en) Product sales data processing device
JP2999656B2 (en) Product sales registration data processing device
JPH10269462A (en) Register provided with rate changing function
JPH05217074A (en) Pos device
JPS594350Y2 (en) electronic cash register
JPS60251497A (en) Electronic cash register
JPS6318797B2 (en)
JP2506622B2 (en) Accounting processor
JPH0628580A (en) Sales data processor
JPH071516B2 (en) Electronic cash register
JPH02193298A (en) Account processor
CA2301242A1 (en) Method and apparatus for the calculation of taxes
JPH0496896A (en) Sales data processor
KR20030064266A (en) Managing method for settlement of accounts of a card-terminal
JPS6349773Y2 (en)
JPH0128429Y2 (en)
JP2885571B2 (en) Cash register
JPH01181194A (en) Electronic cash register
JPS5663662A (en) Electronic cash register
JPS5847476Y2 (en) electronic cash register
JPS5929239Y2 (en) electronic register
JPH1125360A (en) Electronic cash register