JP2020119602A - Slip processing apparatus and program - Google Patents

Slip processing apparatus and program Download PDF

Info

Publication number
JP2020119602A
JP2020119602A JP2020077263A JP2020077263A JP2020119602A JP 2020119602 A JP2020119602 A JP 2020119602A JP 2020077263 A JP2020077263 A JP 2020077263A JP 2020077263 A JP2020077263 A JP 2020077263A JP 2020119602 A JP2020119602 A JP 2020119602A
Authority
JP
Japan
Prior art keywords
tax
slip
product
delivery destination
amount
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
Application number
JP2020077263A
Other languages
Japanese (ja)
Other versions
JP7287918B2 (en
Inventor
小野寺 弘悦
Hiroyoshi Onodera
弘悦 小野寺
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 JP2020077263A priority Critical patent/JP7287918B2/en
Publication of JP2020119602A publication Critical patent/JP2020119602A/en
Priority to JP2022022515A priority patent/JP2022078993A/en
Application granted granted Critical
Publication of JP7287918B2 publication Critical patent/JP7287918B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

To provide a commodity data processing apparatus for reducing time and labor to change tax rate and incorrect tax rate.SOLUTION: A main body part 10 of a commodity data processing apparatus (slip processing device) includes: input means for inputting a delivery destination to which a commodity is to be delivered; and derivation means that derives a tax amount of the commodity or a tax-inclusive price by applying preset tax rate while associating with the delivery destination input by the input means.SELECTED DRAWING: Figure 2

Description

本発明は、伝票処理装置及びプログラムに関する。 The present invention relates to a slip processing device and a program.

日本では、複数税率の消費税が施行される予定である。この複数税率の消費税が施行された場合、商品やサービスの種類の違いによって、標準税率(例えば、10%)が消費税の伝票処理に適用されたり、標準税率よりも税率の低い軽減税率(例えば、8%)が消費税の伝票処理に適用されたりすることになる。 In Japan, multi-tax consumption tax will be enforced. When the consumption tax of multiple tax rates is enforced, the standard tax rate (for example, 10%) is applied to the processing of the consumption tax slip or the reduced tax rate (the tax rate lower than the standard tax rate is applied depending on the type of product or service. For example, 8%) will be applied to the processing of consumption tax slips.

そこで、複数税率の消費税に対応すべく、例えば、特許文献1に記載の発明が提案されている。この特許文献1に記載の発明は、課税額が異なる複数の商品を組み合わせたパック商品の各商品の課税額と、1つにまとめた商品の課税額とを出力可能としている。 Therefore, in order to deal with the consumption tax of multiple tax rates, for example, the invention described in Patent Document 1 has been proposed. The invention described in Patent Document 1 is capable of outputting the taxable amount of each product of a pack product in which a plurality of products having different taxable amounts are combined and the taxable amount of one combined product.

特開2003−256937号公報JP, 2003-256937, A

将来的には、納品先による軽減税率の適用が想定される。例えば、公共施設建築用の住宅建材を納品する場合には軽減税率が適用され、一般建築用の住宅建材を納品する場合には標準税率が適用されることが想定される。このように、納品先により税率が異なると、伝票入力時に商品の税率を変更する手間がかかり、税率の間違いを起こし易くなる。 In the future, it is expected that the reduced tax rate will be applied by the delivery destination. For example, it is envisaged that the reduced tax rate will be applied when delivering housing building materials for public facility construction, and the standard tax rate will be applied when delivering housing building materials for general construction. In this way, if the tax rate differs depending on the delivery destination, it takes time and effort to change the tax rate of the product when the slip is input, and the tax rate is apt to be mistaken.

本発明の課題は、税率変更の手間及び税率の間違いを軽減することである。 An object of the present invention is to reduce the trouble of changing the tax rate and the mistake of the tax rate.

上記課題を解決するため、本発明に係る伝票処理装置は、商品の税額または税込価格が記載された伝票を出力可能な伝票処理装置であって、商品の取引先を入力する入力手段と、前記入力手段により入力された取引先に対応させて予め設定されている税率を適用して前記商品の税額または税込価格を導出する導出手段と、を備え、前記税率は、出力する伝票の種別毎に予め設定しておくことが可能に構成されている、ことを特徴とする。
また、本発明に係るプログラムは、商品の税額または税込価格が記載された伝票を出力可能な伝票処理装置のコンピュータを、所定の入力手段により入力された取引先に対応させて予め設定されている税率を適用して前記商品の税額または税込価格を導出する導出手段として機能させ、前記税率は、出力する伝票の種別毎に予め設定しておくことが可能に構成されている、ことを特徴とする。
In order to solve the above problems, a slip processing device according to the present invention is a slip processing device capable of outputting a slip in which a tax amount or a tax-included price of a product is output, and an input means for inputting a supplier of the product, Derivation means for deriving the tax amount or the tax-included price of the product by applying a preset tax rate corresponding to the customer input by the input means, and the tax rate for each type of slip to be output. It is characterized in that it can be set in advance.
Further, the program according to the present invention is preset with a computer of a slip processing device capable of outputting a slip in which a tax amount or a tax-included price of a product is described, corresponding to a business partner input by a predetermined input means. The tax rate is applied to function as a derivation means for deriving the tax amount or tax-included price of the product, and the tax rate can be set in advance for each type of slip to be output. To do.

本発明によれば、税率変更の手間及び税率の間違いを軽減することができる。 According to the present invention, the trouble of changing the tax rate and the mistake of the tax rate can be reduced.

伝票処理装置の外観を示す図である。It is a figure which shows the external appearance of a slip processing apparatus. 伝票処理装置の構成を示すブロック図である。It is a block diagram showing a configuration of a slip processing device. 伝票処理の概要を説明する説明図である。It is explanatory drawing explaining the outline|summary of a slip process. 消費税Tの一例を示すデータ構造図である。It is a data structure figure which shows an example of the consumption tax T. 税率登録画面の一例を示す図である。It is a figure which shows an example of a tax rate registration screen. 納品先MTの一例を示すデータ構造図である。It is a data structure figure which shows an example of the delivery destination MT. 納品先登録画面の一例を示す図である。It is a figure which shows an example of a delivery destination registration screen. 商品MTの一例を示すデータ構造図である。It is a data structure figure which shows an example of goods MT. 商品登録画面の一例を示す図である。It is a figure which shows an example of a goods registration screen. (a)は伝票合計の一例を示すデータ構造図であり、(b)は伝票明細の一例を示すデータ構造図である。(A) is a data structure diagram showing an example of a slip total, and (b) is a data structure diagram showing an example of a slip description. (a)は消費税Tの登録例を示す図であり、(b)は納品先MTの登録例を示す図であり、(c)は商品MTの登録例を示す図である。(A) is a figure which shows the example of registration of consumption tax T, (b) is a figure which shows the example of registration of delivery destination MT, (c) is a figure which shows the example of registration of goods MT. 標準税率を参照するときの伝票入力画面の入力例を示す図である。It is a figure which shows the input example of the slip input screen when referring to a standard tax rate. (a)は伝票合計の登録例を示す図であり、(b)は伝票明細の登録例を示す図である。(A) is a figure which shows the registration example of a slip total, (b) is a figure which shows the registration example of a slip description. 軽減税率を参照するときの伝票入力画面の入力例を示す図である。It is a figure which shows the input example of the slip input screen at the time of referring to a reduction tax rate. 伝票処理装置の動作を示すフローチャートである。It is a flowchart which shows operation|movement of a slip processing apparatus.

以降、本発明を実施するための形態を、各図を参照して詳細に説明する。なお、同一の要素が異なる図に示されていても同一の符号を付与して、その重複する説明を省略することがある。 Hereinafter, modes for carrying out the present invention will be described in detail with reference to the drawings. It should be noted that, even if the same element is shown in different drawings, the same reference numeral is given and the duplicated description may be omitted.

[伝票処理装置の構成]
図1,図2を参照して、本実施形態に係る伝票処理装置(商品データ処理装置)1の構成について説明する。
[Configuration of slip processing device]
With reference to FIG. 1 and FIG. 2, the configuration of the slip processing device (product data processing device) 1 according to the present embodiment will be described.

伝票処理装置1は、店舗やオフィスに設置され、伝票を処理する電子装置である。この伝票処理装置1は、図1に示すように、本体・ディスプレイ一体型で構成され、本体部10と、キー入力部11と、印刷部12と、を備える。また、本体部10と、キー入力部11及び印刷部12とは、図示を省略したケーブル等で接続されている。
なお、伝票処理装置1は、本体部10とディスプレイが分離した構成であってもよい。
The slip processing device 1 is an electronic device that is installed in a store or office and processes a slip. As shown in FIG. 1, the slip processing apparatus 1 is configured as a main body/display integrated type, and includes a main body unit 10, a key input unit 11, and a printing unit 12. Further, the main body unit 10, the key input unit 11, and the printing unit 12 are connected by a cable or the like (not shown).
The slip processing device 1 may have a configuration in which the main body 10 and the display are separated.

本体部10は、伝票処理装置1全体を制御すると共に、ユーザに各種画面を表示するものである。この本体部10は、図2に示すように、CPU(Central Processing Unit)100と、RAM(Random Access Memory)101と、主記憶装置102と、通信制御部103と、記憶媒体読み書き部104と、入力表示部105とを備え、各部はバスによって接続されている。 The main body unit 10 controls the entire slip processing apparatus 1 and displays various screens to the user. As shown in FIG. 2, the main body unit 10 includes a CPU (Central Processing Unit) 100, a RAM (Random Access Memory) 101, a main storage device 102, a communication control unit 103, a storage medium reading/writing unit 104, and An input display unit 105 is provided, and each unit is connected by a bus.

CPU100は、主記憶装置102に記憶されているプログラム(不図示)を実行することで伝票処理装置1全体を制御するものである。つまり、CPU100は、主記憶装置102に記憶されているプログラムをRAM101に展開し、展開したプログラムを実行することで、伝票処理装置1の各手段(導出手段、税率変更受付手段、参照手段、算出手段、税区分登録手段、税率登録手段、切替手段、修正手段、出力手段)として機能する。 The CPU 100 controls the entire slip processing apparatus 1 by executing a program (not shown) stored in the main storage device 102. That is, the CPU 100 expands the program stored in the main storage device 102 into the RAM 101, and executes the expanded program, whereby each means (deriving means, tax rate change receiving means, reference means, calculation) of the slip processing apparatus 1 is executed. Means, tax classification registration means, tax rate registration means, switching means, correction means, output means).

RAM101は、前記したプログラムがCPU100によって展開されて動作したり、一時記憶領域として機能したりするメモリである。
主記憶装置102は、後記する消費税テーブル(税率記憶手段)110、納品先マスタテーブル(税区分記憶手段)111、商品マスタテーブル112、伝票合計113、伝票明細114、伝票処理装置1の各種機能を実現するプログラムを記憶するもので、HDD(Hard Disk Drive)や半導体メモリ等である。
以後、消費税テーブルを消費税T、納品先マスタテーブルを納品先MT、商品マスタテーブルを商品MTと略記する。
The RAM 101 is a memory in which the above-mentioned program is expanded and operated by the CPU 100 and functions as a temporary storage area.
The main storage device 102 includes various functions of a consumption tax table (tax rate storage means) 110, a delivery destination master table (tax classification storage means) 111, a product master table 112, a slip total 113, a slip detail 114, and a slip processing device 1 described later. A program for realizing the above is stored, and is an HDD (Hard Disk Drive), a semiconductor memory, or the like.
Hereinafter, the consumption tax table will be abbreviated as consumption tax T, the delivery destination master table as a delivery destination MT, and the product master table as a product MT.

通信制御部103は、PC(Personal Computer)、PDA(Personal Digital Assistant)、タブレット端末、スマートフォン等の外部通信媒体90との通信を制御するものである。
記憶媒体読み書き部104は、SDメモリカード、USB(Universal Serial Bus)メモリ等の記憶媒体91を読み書きするものである。
The communication control unit 103 controls communication with an external communication medium 90 such as a PC (Personal Computer), a PDA (Personal Digital Assistant), a tablet terminal, and a smartphone.
The storage medium read/write unit 104 reads/writes a storage medium 91 such as an SD memory card or a USB (Universal Serial Bus) memory.

入力表示部105は、タッチパネル105aと表示部105bとが積層されて構成され、ユーザからの操作の受け付けと、ユーザに対する操作画面の表示を行うものである。
タッチパネル105aは、入力ペンや指先等により指示された座標を感知し、電磁誘電方式、磁気歪式、感圧式等の座標読み取り原理で指示された位置座標を検出するものである。タッチパネル105aは、検出した位置座標を、本体部10に出力する。
表示部105bは、液晶ディスプレイ、有機ELディスプレイ等で構成され、伝票処理装置1を制御するための各種画面を表示するものである。表示部105bは、本体部10から画面データを入力し、画面上に表示する。なお、表示部105bに表示される画面については、後記する。
The input display unit 105 is configured by stacking a touch panel 105a and a display unit 105b, receives an operation from a user, and displays an operation screen for the user.
The touch panel 105a detects coordinates designated by an input pen, a fingertip, or the like, and detects position coordinates designated by a coordinate reading principle such as an electromagnetic dielectric type, a magnetostrictive type, or a pressure sensitive type. The touch panel 105a outputs the detected position coordinates to the main body unit 10.
The display unit 105b is composed of a liquid crystal display, an organic EL display, or the like, and displays various screens for controlling the slip processing apparatus 1. The display unit 105b inputs screen data from the main body unit 10 and displays it on the screen. The screen displayed on the display unit 105b will be described later.

キー入力部11は、入力ペンによりユーザが手書き入力を行う手書き入力パッドと、各種キーとを備えるキーボードである。キー入力部11は、ユーザが入力した文字を、本体部10に出力する。このキー入力部11及びタッチパネル105aが、入力手段に相当する。 The key input unit 11 is a keyboard including a handwriting input pad for the user to input by handwriting with an input pen and various keys. The key input unit 11 outputs the character input by the user to the main body unit 10. The key input unit 11 and the touch panel 105a correspond to input means.

印刷部12は、例えば、伝票を印刷するサーマルプリンタ、インクジェットプリンタ、ドットインパクト等のプリンタである。この印刷部12は、本体部10から入力される伝票の情報を伝票用紙に印字して出力する。
ここで、伝票処理装置1は、納品先及び商品が伝票に含まれていれば、印刷する伝票が特に制限されない。例えば、伝票処理装置1は、見積書、注文書、納品書、請求書、領収書等の伝票を印刷する。即ち、本実施形態において、伝票とは、見積書、注文書、納品書、請求書、領収書等の各種書類を含むものである。
The printing unit 12 is, for example, a thermal printer, an inkjet printer, a dot impact printer, or the like that prints slips. The printing unit 12 prints slip information input from the main unit 10 on slip paper and outputs it.
Here, the slip processing apparatus 1 is not particularly limited in the slip to be printed as long as the delivery destination and the product are included in the slip. For example, the slip processing device 1 prints slips such as an estimate, an order form, a delivery note, an invoice, and a receipt. That is, in the present embodiment, the slip includes various documents such as a quotation, an order form, a delivery note, an invoice, and a receipt.

[伝票処理]
図3を参照し、伝票処理装置1における伝票処理について説明する(適宜図1,図2参照)。
図3に示すように、伝票処理装置1(CPU100)は、伝票処理として、消費税T110を登録する税率登録と、納品先MT111を登録する納品先登録と、商品MT112を登録する商品登録と、伝票を入力する伝票入力処理とを行う。
[Document Processing]
The slip processing in the slip processing apparatus 1 will be described with reference to FIG. 3 (see FIGS. 1 and 2 as appropriate).
As shown in FIG. 3, the slip processing device 1 (CPU 100) performs, as slip processing, tax rate registration for registering a consumption tax T110, delivery destination registration for registering a delivery destination MT111, and product registration for registering a product MT112. Performs slip input processing for inputting slips.

伝票入力処理では、伝票処理装置1は、商品の税額を算出する際に、その商品を納品する納品先が入力される。すると、伝票処理装置1は、異なる税率のうち、納品先に対応して予め決められた税率を優先して参照し、参照された税率を適用して商品の税額を算出する。そして、伝票処理装置1は、算出した商品の税額が含まれる伝票合計113及び伝票明細114を登録し、伝票を印刷する。
以下、税率登録、納品先登録、商品登録及び伝票入力処理を詳細に説明する。
In the slip input process, the slip processing apparatus 1 inputs the delivery destination to which the product is delivered when calculating the tax amount of the product. Then, the slip processing apparatus 1 preferentially refers to a predetermined tax rate corresponding to the delivery destination among the different tax rates, and applies the referenced tax rate to calculate the tax amount of the product. Then, the slip processing apparatus 1 registers the slip total 113 and the slip details 114 including the calculated tax amount of the product, and prints the slip.
The tax rate registration, delivery destination registration, product registration, and slip input processing will be described in detail below.

<税率登録>
図4,図5を参照し、税率登録について具体的に説明する。
図4には、各項目の項番(No.)と、項目名と、その項目に格納するデータの型(例えば、文字、数値、日付)と、項目の説明である備考とを図示した。ここで、項番及び備考は、説明を分かり易くするために図示したものである。また、‘R’が付された項目は、レコードキーを表す。
<Tax rate registration>
The tax rate registration will be specifically described with reference to FIGS. 4 and 5.
FIG. 4 illustrates the item number (No.) of each item, the item name, the type of data stored in the item (for example, character, numerical value, date), and a remark that is a description of the item. Here, the item numbers and remarks are shown for easy understanding. Further, the item to which “R” is attached represents a record key.

図4に示すように、消費税T110は、税区分に対応づけて税率を記憶するものであり、施行日と、税率と、税区分とを備える。また、消費税T110のレコードキーは、施行日及び税率である。 As shown in FIG. 4, the consumption tax T110 stores a tax rate in association with a tax classification, and includes an enforcement date, a tax rate, and a tax classification. The record key of the consumption tax T110 is an enforcement date and a tax rate.

施行日は、税率が施行される日を表す日付である。
税率は、消費税の税率を表す数値である。
税区分は、その税率が標準税率であるか軽減税率であるかの区分を表す文字である。例えば、税区分が‘1’の場合、標準税率を表し、税区分が‘2’の場合、軽減税率を表す。
The enforcement date is a date representing the date on which the tax rate is enforced.
The tax rate is a numerical value representing the tax rate of the consumption tax.
The tax classification is a character indicating whether the tax rate is a standard tax rate or a reduced tax rate. For example, when the tax classification is "1", it represents the standard tax rate, and when the tax classification is "2", it represents the reduced tax rate.

次に、税率登録を行うときの税率登録画面210を図5に示す。
図5に示すように、税率登録画面210は、施行日TB211と、税率TB212と、税区分TB213とを備える。なお、TBは、テキストボックスを略記したものである。
Next, FIG. 5 shows a tax rate registration screen 210 when performing tax rate registration.
As shown in FIG. 5, the tax rate registration screen 210 includes an enforcement date TB211, a tax rate TB212, and a tax classification TB213. Note that TB is an abbreviation for a text box.

施行日TB211は、消費税T110の施行日に対応し、yyyymmdd形式(日付形式)で入力する。
税率TB212は、消費税T110の税率に対応し、0〜100の数値形式で入力する。
税区分TB213は、消費税T110の税区分に対応し、標準税率を表す‘1’、又は、軽減税率を表す‘2’を入力する。この税区分TB213を入力すると、その入力内容に応じて、‘標準税率’又は‘軽減税率’が税区分TB213の右側に表示される。
The enforcement date TB211 corresponds to the enforcement date of the consumption tax T110 and is entered in the yyyymmdd format (date format).
The tax rate TB212 corresponds to the tax rate of the consumption tax T110 and is entered in a numerical format of 0 to 100.
The tax classification TB213 corresponds to the tax classification of the consumption tax T110, and “1” representing the standard tax rate or “2” representing the reduced tax rate is input. When the tax category TB213 is entered, the'standard tax rate' or the'reduced tax rate' is displayed on the right side of the tax category TB213 according to the input content.

施行日TB211及び税率TB212が入力された後、CPU100は、施行日TB211及び税率TB212の入力内容に該当するキーのレコードが消費税T110に存在するか否かを判定してもよい。そして、CPU100は、該当レコードが消費税T110に存在する場合、そのレコードの税区分を、税区分TB213の初期値として表示してもよい。 After the enforcement date TB211 and the tax rate TB212 are input, the CPU 100 may determine whether or not the record of the key corresponding to the input contents of the enforcement date TB211 and the tax rate TB212 exists in the consumption tax T110. Then, when the corresponding record exists in the consumption tax T110, the CPU 100 may display the tax classification of the record as the initial value of the tax classification TB213.

また、税率登録画面210は、登録ボタン214と、削除ボタン215と、終了ボタン216とを備える。
登録ボタン214は、税率登録画面210の入力内容を消費税T110に登録するボタンである。この登録ボタン214が押された場合、CPU100は、レコードの修正又は追加を行う。つまり、CPU100は、施行日TB211及び税率TB212の入力内容に該当するキーのレコードが消費税T110に存在する場合、税率登録画面210の入力内容で該当レコードを修正する。一方、CPU100は、施行日TB211及び税率TB212の入力内容に該当するキーのレコードが消費税T110に存在しない場合、税率登録画面210の入力内容で新規レコードを追加する。
The tax rate registration screen 210 also includes a registration button 214, a delete button 215, and an end button 216.
The registration button 214 is a button for registering the input content of the tax rate registration screen 210 in the consumption tax T110. When the registration button 214 is pressed, the CPU 100 corrects or adds a record. That is, when the record of the key corresponding to the input contents of the enforcement date TB211 and the tax rate TB212 exists in the consumption tax T110, the CPU 100 corrects the corresponding record with the input content of the tax rate registration screen 210. On the other hand, the CPU 100 adds a new record with the input content of the tax rate registration screen 210 when the record of the key corresponding to the input content of the enforcement date TB211 and the tax rate TB212 does not exist in the consumption tax T110.

削除ボタン215は、税率を削除するボタンである。この削除ボタン215が押された場合、CPU100は、税率登録画面210の入力内容に該当するキーのレコードを消費税T110から削除する。 The delete button 215 is a button for deleting the tax rate. When the delete button 215 is pressed, the CPU 100 deletes the record of the key corresponding to the input content of the tax rate registration screen 210 from the consumption tax T110.

終了ボタン216は、税率登録を終了するボタンである。この終了ボタン216が押された場合、CPU100は、税率登録画面210を閉じて、税率登録を終了する。 The end button 216 is a button for ending the tax rate registration. When the end button 216 is pressed, the CPU 100 closes the tax rate registration screen 210 and ends the tax rate registration.

<納品先登録>
図6,図7を参照し、納品先登録について具体的に説明する。
図6に示すように、納品先MT111は、納品先に対応づけて税区分を記憶するものであり、納品先コードと、納品先名と、郵便番号と、住所と、電話番号と、適用税区分とを備える。また、納品先MT111のレコードキーは、納品先コードである。
<Delivery destination registration>
Delivery destination registration will be specifically described with reference to FIGS. 6 and 7.
As shown in FIG. 6, the delivery destination MT111 stores the tax classification in association with the delivery destination. The delivery destination code, the delivery destination name, the postal code, the address, the telephone number, and the applicable tax. And division. The record key of the delivery destination MT111 is a delivery destination code.

納品先コードは、納品先を一意に識別するコードを表す文字である。
納品先名は、納品先の名称を表す文字である。
郵便番号は、納品先の郵便番号を表す文字である。
住所は、納品先の住所を表す文字である。
電話番号は、納品先の電話番号を表す文字である。
適用税区分は、納品先に対応づけた税区分を表す文字である。例えば、適用税区分が‘1’の場合、その納品先に標準税率を適用することを表す。また、適用税区分が‘2’の場合、その納品先に軽減税率を適用することを表す。
The delivery destination code is a character that represents a code that uniquely identifies the delivery destination.
The delivery destination name is a character representing the name of the delivery destination.
The postal code is a character that represents the postal code of the delivery destination.
The address is a character that represents the address of the delivery destination.
The telephone number is a character that represents the telephone number of the delivery destination.
The applicable tax category is a character representing the tax category associated with the delivery destination. For example, when the applicable tax classification is “1”, it means that the standard tax rate is applied to the delivery destination. Further, when the applicable tax classification is “2”, it means that the reduced tax rate is applied to the delivery destination.

このように、伝票処理装置1は、納品先に応じた適用税区分を納品先MT111に予め登録できるので、納品先毎に標準税率又は軽減税率を自動的に適用し、消費税金額を算出することができる。 In this way, the slip processing apparatus 1 can pre-register the applicable tax classification according to the delivery destination in the delivery destination MT111, so that the standard tax rate or the reduced tax rate is automatically applied to each delivery destination and the consumption tax amount is calculated. be able to.

次に、納品先登録を行うときの納品先登録画面220を図7に示す。
図7に示すように、納品先登録画面220は、納品先コードTB221と、納品先名TB222と、郵便番号TB223と、住所TB224と、電話番号TB225と、適用税区分TB226とを備える。
Next, FIG. 7 shows a delivery destination registration screen 220 when the delivery destination is registered.
As shown in FIG. 7, the delivery destination registration screen 220 includes a delivery destination code TB 221, a delivery destination name TB 222, a postal code TB 223, an address TB 224, a telephone number TB 225, and an applicable tax classification TB 226.

納品先コードTB221は、納品先MT111の納品先コードに対応し、文字形式で入力する。
納品先名TB222は、納品先MT111の納品先名に対応し、文字形式で入力する。
郵便番号TB223は、納品先MT111の郵便番号に対応し、ハイフン区切りの文字形式で入力する。
住所TB224は、納品先MT111の住所に対応し、文字形式で入力する。
電話番号TB225は、納品先MT111の電話番号に対応し、ハイフン区切りの文字形式で入力する。
適用税区分TB226は、納品先MT111の適用税区分に対応し、標準税率を表す‘1’、又は、軽減税率を表す‘2’を入力する。この適用税区分TB226を入力すると、その入力内容に応じて、‘標準税率’又は‘軽減税率’が適用税区分TB226の右側に表示される。
The delivery destination code TB221 corresponds to the delivery destination code of the delivery destination MT111 and is input in a character format.
The delivery destination name TB222 corresponds to the delivery destination name of the delivery destination MT111 and is input in a character format.
The postal code TB223 corresponds to the postal code of the delivery destination MT111 and is input in a hyphen-delimited character format.
The address TB224 corresponds to the address of the delivery destination MT111 and is input in a character format.
The telephone number TB225 corresponds to the telephone number of the delivery destination MT111 and is entered in a hyphen-delimited character format.
The applicable tax category TB226 corresponds to the applicable tax category of the delivery destination MT111, and inputs "1" representing the standard tax rate or "2" representing the reduced tax rate. When the applicable tax category TB226 is input, the'standard tax rate' or the'reduced tax rate' is displayed on the right side of the applicable tax category TB226 according to the input content.

納品先コードTB221が入力された後、CPU100は、納品先コードTB221の入力内容に該当するキーのレコードが納品先MT111に存在するか否かを判定してもよい。そして、CPU100は、該当レコードが納品先MT111に存在する場合、そのレコードの内容を、納品先名TB222、郵便番号TB223、住所TB224、電話番号TB225及び適用税区分TB226の初期値として表示してもよい。 After the delivery destination code TB221 is input, the CPU 100 may determine whether the key record corresponding to the input content of the delivery destination code TB221 exists in the delivery destination MT111. Then, when the corresponding record exists in the delivery destination MT111, the CPU 100 displays the content of the record as the initial value of the delivery destination name TB222, the postal code TB223, the address TB224, the telephone number TB225, and the applicable tax classification TB226. Good.

また、納品先登録画面220は、登録ボタン227と、削除ボタン228と、終了ボタン229とを備える。
登録ボタン227は、納品先登録画面220の入力内容を納品先MT111に登録するボタンである。この登録ボタン227が押された場合、CPU100は、レコードの修正又は追加を行う。つまり、CPU100は、納品先コードTB221の入力内容に該当するキーのレコードが納品先MT111に存在する場合、納品先登録画面220の入力内容で該当レコードを修正する。一方、CPU100は、納品先コードTB221の入力内容に該当するキーのレコードが納品先MT111に存在しない場合、納品先登録画面220の入力内容で新規レコードを追加する。
Further, the delivery destination registration screen 220 includes a registration button 227, a delete button 228, and an end button 229.
The registration button 227 is a button for registering the input content of the delivery destination registration screen 220 in the delivery destination MT111. When the registration button 227 is pressed, the CPU 100 corrects or adds a record. That is, when the key record corresponding to the input content of the delivery destination code TB221 exists in the delivery destination MT111, the CPU 100 corrects the corresponding record with the input content of the delivery destination registration screen 220. On the other hand, when the key record corresponding to the input content of the delivery destination code TB221 does not exist in the delivery destination MT111, the CPU 100 adds a new record with the input content of the delivery destination registration screen 220.

削除ボタン228は、納品先を削除するボタンである。この削除ボタン228が押された場合、CPU100は、納品先登録画面220の入力内容に該当するキーのレコードを納品先MT111から削除する。 The delete button 228 is a button for deleting the delivery destination. When the delete button 228 is pressed, the CPU 100 deletes the record of the key corresponding to the input content of the delivery destination registration screen 220 from the delivery destination MT111.

終了ボタン229は、納品先登録を終了するボタンである。この終了ボタン229が押された場合、CPU100は、納品先登録画面220を閉じて、納品先登録を終了する。 The end button 229 is a button for ending the delivery destination registration. When the end button 229 is pressed, the CPU 100 closes the delivery destination registration screen 220 and ends the delivery destination registration.

<商品登録>
図8,図9を参照し、商品登録について具体的に説明する。
図8に示すように、商品MT112は、商品に対応づけて税区分を記憶するものであり、商品コードと、商品名と、単価と、税区分とを備える。また、商品MT112のレコードキーは、商品コードである。
<Product registration>
Product registration will be specifically described with reference to FIGS. 8 and 9.
As shown in FIG. 8, the product MT 112 stores a tax classification in association with a product, and includes a product code, a product name, a unit price, and a tax classification. The record key of the product MT112 is a product code.

商品コードは、商品を一意に識別するコードを表す文字である。
商品名は、商品の名称を表す文字である。
単価は、商品の税抜き単価を表す数値である。
税区分は、商品に対応づけた税区分を表す文字である。例えば、税区分が‘1’の場合、その商品に標準税率を適用することを表す。また、税区分が‘2’の場合、その商品に軽減税率を適用することを表す。
The product code is a character that represents a code that uniquely identifies a product.
The product name is a character that represents the name of the product.
The unit price is a numerical value indicating the unit price excluding tax of the product.
The tax category is a character representing the tax category associated with the product. For example, when the tax classification is “1”, it means that the standard tax rate is applied to the product. If the tax classification is “2”, it means that the reduced tax rate is applied to the product.

次に、商品登録を行うときの商品登録画面230を図9に示す。
図9に示すように、商品登録画面230は、商品コードTB231と、商品名TB232と、単価TB233と、税区分TB234とを備える。
Next, FIG. 9 shows a product registration screen 230 when performing product registration.
As shown in FIG. 9, the product registration screen 230 includes a product code TB 231, a product name TB 232, a unit price TB 233, and a tax classification TB 234.

商品コードTB231は、商品MT112の商品コードに対応し、文字形式で入力する。
商品名TB232は、商品MT112の商品名に対応し、文字形式で入力する。
単価TB233は、商品MT112の単価に対応し、数値形式で入力する。
税区分TB234は、商品MT112の税区分に対応し、標準税率を表す‘1’、又は、軽減税率を表す‘2’を入力する。この税区分TB234を入力すると、その入力内容に応じて、‘標準税率’又は‘軽減税率’が税区分TB234の右側に表示される。
The product code TB231 corresponds to the product code of the product MT112 and is input in a character format.
The product name TB232 corresponds to the product name of the product MT112 and is input in a character format.
The unit price TB233 corresponds to the unit price of the product MT112 and is input in a numerical format.
The tax classification TB234 corresponds to the tax classification of the product MT112, and inputs "1" representing the standard tax rate or "2" representing the reduced tax rate. When the tax category TB234 is entered, the'standard tax rate' or the'reduced tax rate' is displayed on the right side of the tax category TB234 according to the input content.

商品コードTB231が入力された後、CPU100は、商品コードTB231の入力内容に該当するキーのレコードが商品MT112に存在するか否かを判定してもよい。そして、CPU100は、該当レコードが商品MT112に存在する場合、そのレコードの内容を、商品名TB232、単価TB233及び税区分TB234の初期値として表示してもよい。 After the product code TB231 is input, the CPU 100 may determine whether or not the record of the key corresponding to the input content of the product code TB231 exists in the product MT112. Then, when the corresponding record exists in the product MT112, the CPU 100 may display the content of the record as initial values of the product name TB232, the unit price TB233, and the tax classification TB234.

また、商品登録画面230は、登録ボタン235と、削除ボタン236と、終了ボタン237とを備える。
登録ボタン235は、商品登録画面230の入力内容を商品MT112に登録するボタンである。この登録ボタン235が押された場合、CPU100は、レコードの修正又は追加を行う。つまり、CPU100は、商品コードTB231の入力内容に該当するキーのレコードが商品MT112に存在する場合、商品登録画面230の入力内容で該当レコードを修正する。一方、CPU100は、商品コードTB231の入力内容に該当するキーのレコードが商品MT112に存在しない場合、商品登録画面230の入力内容で新規レコードを追加する。
The product registration screen 230 also includes a registration button 235, a delete button 236, and an end button 237.
The registration button 235 is a button for registering the input content of the product registration screen 230 in the product MT 112. When the registration button 235 is pressed, the CPU 100 corrects or adds a record. That is, when the record of the key corresponding to the input content of the product code TB231 exists in the product MT112, the CPU 100 corrects the corresponding record with the input content of the product registration screen 230. On the other hand, when the record of the key corresponding to the input content of the product code TB231 does not exist in the product MT112, the CPU 100 adds a new record with the input content of the product registration screen 230.

削除ボタン236は、商品を削除するボタンである。この削除ボタン236が押された場合、CPU100は、商品登録画面230の入力内容に該当するキーのレコードを商品MT112から削除する。 The delete button 236 is a button for deleting a product. When the delete button 236 is pressed, the CPU 100 deletes the record of the key corresponding to the input content of the product registration screen 230 from the product MT 112.

終了ボタン237は、商品登録を終了するボタンである。この終了ボタン237が押された場合、CPU100は、商品登録画面230を閉じて、商品登録を終了する。 The end button 237 is a button for ending product registration. When the end button 237 is pressed, the CPU 100 closes the product registration screen 230 and ends the product registration.

<伝票入力処理>
図10〜図14を参照し、伝票入力処理について具体的に説明する。
図10(a)に示すように、伝票合計113は、伝票の合計金額に関する情報を記憶するものであり、伝票番号と、伝票日付と、納品先コードと、課税対象金額と、消費税金額と、合計金額とを備える。また、伝票合計113のレコードキーは、伝票番号、伝票日付及び納品先コードである。
<Voucher input processing>
The slip input process will be specifically described with reference to FIGS. 10 to 14.
As shown in FIG. 10A, the slip total 113 stores information about the total amount of the slip, and includes a slip number, a slip date, a delivery destination code, a taxable amount, and a consumption tax amount. , And the total amount of money. Further, the record key of the slip total 113 is a slip number, a slip date, and a delivery destination code.

伝票番号は、伝票を一意に識別する番号を表す文字である。例えば、伝票番号は、各伝票に連番で割り当てられる。
伝票日付は、伝票の日付を表す日付である。
納品先コードは、伝票の納品先コードを表す文字である。
課税対象金額は、伝票の課税対象金額を表す数値である。この課税対象金額は、伝票明細114の金額を合計した値となる。
消費税金額は、伝票の消費税金額を表す数値である。この消費税金額は、伝票明細114の消費税を合計した値となる。
合計金額は、伝票の合計金額を表す数値である。この合計金額は、伝票明細114の金額及び消費税を合計した値となる。
The slip number is a character that represents a number that uniquely identifies the slip. For example, the slip number is assigned to each slip in a serial number.
The slip date is a date representing the slip date.
The delivery destination code is a character that represents the delivery destination code of the slip.
The taxable amount is a numerical value representing the taxable amount of the slip. The taxable amount is a value obtained by adding up the amounts of the slip details 114.
The consumption tax amount is a numerical value representing the consumption tax amount of the slip. This consumption tax amount is a value obtained by summing up the consumption tax of the slip description 114.
The total amount is a numerical value representing the total amount of the slip. This total amount of money is a value obtained by adding up the amount of money and the consumption tax of the slip description 114.

図10(b)に示すように、伝票明細114は、伝票の明細に関する情報を記憶するものであり、伝票番号と、伝票日付と、納品先コードと、行番号と、商品コードと、数量と、単価と、金額と、税率と、消費税金額とを備える。また、伝票明細114のレコードキーは、伝票番号、伝票日付、納品先コード及び行番号である。 As shown in FIG. 10B, the slip description 114 stores information related to slip specifications, and includes a slip number, a slip date, a delivery destination code, a line number, a product code, and a quantity. , Unit price, amount of money, tax rate, and consumption tax amount. The record key of the slip description 114 is a slip number, a slip date, a delivery destination code, and a line number.

伝票番号、伝票日付及び納品先コードは、伝票合計113と同様のため、説明を省略する。
行番号は、伝票明細の行番号を表す数値である。
商品コードは、伝票明細の商品コードを表す文字である。
数量は、伝票明細の商品数量を表す数値である。
単価は、伝票明細の商品単価を表す数値である。
金額は、伝票明細の商品金額(数量×単価)を表す数値である。
税率は、伝票明細の消費税率を表す数値である。
消費税金額は、伝票明細の消費税額を表す数値である。
Since the slip number, slip date, and delivery destination code are the same as the slip total 113, the description thereof is omitted.
The line number is a numerical value indicating the line number of the slip details.
The product code is a character that represents the product code of the slip description.
The quantity is a numerical value representing the quantity of goods in the slip details.
The unit price is a numerical value indicating the unit price of the product in the slip details.
The amount of money is a numerical value representing the amount of goods (quantity×unit price) of the slip details.
The tax rate is a numerical value representing the consumption tax rate of the slip details.
The consumption tax amount is a numerical value representing the consumption tax amount of the slip details.

前記した税率登録、納品先登録及び商品登録において、図11に示すように消費税T110、納品先MT111及び商品MT112が登録されたこととして、説明を続ける。
図11(a)の消費税T110では、施行日‘2017年4月1日’において、標準税率が‘10%’で軽減税率が‘8%’であることを表す。
In the tax rate registration, the delivery destination registration, and the merchandise item registration, the description will be continued assuming that the consumption tax T110, the delivery destination MT111, and the merchandise item MT112 are registered as shown in FIG.
In the consumption tax T110 of FIG. 11A, the standard tax rate is “10%” and the reduced tax rate is “8%” on the enforcement date “April 1, 2017”.

次に、伝票入力処理を行うときの伝票入力画面240を図12,図14に示す。
図12,図14に示すように、伝票入力画面240は、伝票ヘッダフィールド250と、伝票明細フィールド260と、伝票合計フィールド270とを備える。
Next, FIGS. 12 and 14 show the slip input screen 240 when the slip input processing is performed.
As shown in FIGS. 12 and 14, the slip input screen 240 includes a slip header field 250, a slip description field 260, and a slip total field 270.

伝票ヘッダフィールド250は、伝票番号ラベル251と、伝票日付TB252と、納品先コードTB253と、納品先名ラベル254とを備える。
伝票番号ラベル251は、伝票合計113及び伝票明細114の伝票番号に対応し、CPU100が割り当てた伝票番号を表示する。
伝票日付TB252は、伝票合計113及び伝票明細114の伝票日付に対応し、yyyymmdd形式(日付形式)で入力する。
納品先コードTB253は、伝票合計113及び伝票明細114の納品先コードに対応し、文字形式で入力する。
納品先名ラベル254は、納品先コードTB253の納品先コードに対応した納品先名
を表示する。
The slip header field 250 includes a slip number label 251, a slip date TB 252, a delivery destination code TB 253, and a delivery destination name label 254.
The slip number label 251 corresponds to the slip numbers in the slip total 113 and the slip details 114, and displays the slip numbers assigned by the CPU 100.
The slip date TB252 corresponds to the slip dates of the slip total 113 and the slip description 114, and is input in the yyyymmdd format (date format).
The delivery destination code TB 253 corresponds to the delivery destination code of the slip total 113 and the slip description 114, and is input in a character format.
The delivery destination name label 254 displays the delivery destination name corresponding to the delivery destination code of the delivery destination code TB253.

伝票明細フィールド260は、商品コードTB261と、数量TB262と、単価ラベル263と、金額ラベル264と、消費税ラベル265と、税率ラベル266とを備える。
商品コードTB261は、伝票明細114の商品コードに対応し、文字形式で入力する。また、商品コードTB261は、入力された商品コードに対応した商品名を右側に表示する。
The slip description field 260 includes a product code TB 261, a quantity TB 262, a unit price label 263, an amount label 264, a consumption tax label 265, and a tax rate label 266.
The product code TB261 corresponds to the product code of the slip description 114 and is input in a character format. Further, the product code TB261 displays the product name corresponding to the input product code on the right side.

数量TB262は、伝票明細114の数量に対応し、数値形式で入力する。
単価ラベル263は、伝票明細114の単価に対応し、商品コードTB261の商品コードに対応した商品単価を表示する。
金額ラベル264は、伝票明細114の金額に対応し、CPU100が算出した金額を表示する。
消費税ラベル265は、伝票明細114の消費税金額に対応し、CPU100が算出した消費税額を表示する。
税率ラベル266は、伝票明細114の税率に対応し、適用する税率を表示する。
The quantity TB 262 corresponds to the quantity of the slip description 114 and is input in a numerical format.
The unit price label 263 corresponds to the unit price of the slip description 114 and displays the product unit price corresponding to the product code of the product code TB261.
The amount label 264 displays the amount calculated by the CPU 100 corresponding to the amount of the slip description 114.
The consumption tax label 265 corresponds to the consumption tax amount of the slip description 114 and displays the consumption tax amount calculated by the CPU 100.
The tax rate label 266 corresponds to the tax rate of the slip description 114 and displays the tax rate to be applied.

伝票合計フィールド270は、課税対象ラベル271と、消費税ラベル272と、合計ラベル273とを備える。
課税対象ラベル271は、伝票合計113の課税対象金額に対応し、CPU100が算出した課税対象金額を表示する。
消費税ラベル272は、伝票合計113の消費税金額に対応し、CPU100が算出した消費税金額を表示する。
合計ラベル273は、伝票合計113の合計金額に対応し、CPU100が算出した合計金額を表示する。
The slip total field 270 includes a taxable label 271, a consumption tax label 272, and a total label 273.
The taxable label 271 corresponds to the taxable amount of the slip total 113 and displays the taxable amount calculated by the CPU 100.
The consumption tax label 272 corresponds to the consumption tax amount of the slip total 113 and displays the consumption tax amount calculated by the CPU 100.
The total label 273 corresponds to the total amount of the slip total 113 and displays the total amount calculated by the CPU 100.

また、伝票入力画面240は、登録ボタン281と、明細終了ボタン283と、削除ボタン285と、終了ボタン287とを備える。
登録ボタン281は、伝票を登録、印刷するボタンである。
明細終了ボタン283は、伝票明細フィールド260の入力を終了するボタンである。
The slip input screen 240 also includes a registration button 281, a statement end button 283, a delete button 285, and an end button 287.
The registration button 281 is a button for registering and printing a slip.
The detail end button 283 is a button for ending the input of the slip detail field 260.

削除ボタン285は、伝票を削除するボタンである。この削除ボタン285が押された場合、CPU100は、伝票入力画面240の入力内容に該当するキーのレコードを伝票合計113及び伝票明細114から削除する。
終了ボタン287は、伝票入力処理を終了するボタンである。
The delete button 285 is a button for deleting a slip. When the delete button 285 is pressed, the CPU 100 deletes the record of the key corresponding to the input content of the slip input screen 240 from the slip total 113 and the slip description 114.
The end button 287 is a button for ending the slip input process.

[伝票処理装置の動作:伝票入力処理]
図15を参照し、伝票処理装置1の動作として、伝票入力処理について説明する(適宜図2,図11〜図14参照)。
ここでは、図11に示すように、消費税T110、納品先MT111及び商品MT112が既に登録されていることとする。
[Operation of slip processing device: slip input processing]
With reference to FIG. 15, a slip input process will be described as an operation of the slip processing apparatus 1 (see FIGS. 2 and 11 to 14 as appropriate).
Here, as shown in FIG. 11, it is assumed that the consumption tax T110, the delivery destination MT111, and the product MT112 have already been registered.

この伝票入力処理において、CPU100は、納品先MT111の適用税区分に応じて、納品先に対応して予め決められた税率を参照する納品先参照モード、又は、商品に対応して予め決められた税率を参照する商品参照モードの何れかに切り換える。そして、CPU100は、納品先参照モード又は商品参照モードで参照した税率を適用して商品の税額を算出し、伝票を登録する。以下、具体的に伝票入力処理を説明する。 In this slip input process, the CPU 100 determines a destination tax reference mode that refers to a predetermined tax rate corresponding to the delivery destination according to the applicable tax classification of the delivery destination MT111, or a predetermined determination corresponding to the product. Switch to any of the product reference modes that refer to the tax rate. Then, the CPU 100 calculates the tax amount of the product by applying the tax rate referred to in the delivery destination reference mode or the product reference mode, and registers the slip. The slip input process will be specifically described below.

CPU100は、伝票入力画面240の終了ボタン287が押されたか否かにより、伝
票入力処理を終了するか否かを判定する(ステップS1)。
終了ボタン287が押された場合(ステップS1でYes)、CPU100は、伝票入力画面240を閉じて、伝票入力処理を終了する。
The CPU 100 determines whether or not to finish the slip input process depending on whether or not the end button 287 of the slip input screen 240 has been pressed (step S1).
When the end button 287 is pressed (Yes in step S1), the CPU 100 closes the slip input screen 240 and ends the slip input processing.

終了ボタン287が押されていない場合(ステップS1でNo)、CPU100は、伝票番号を割り当てて伝票番号ラベル251に表示し、伝票日付TB252の入力を受け付ける(ステップS2)。 When the end button 287 is not pressed (No in step S1), the CPU 100 allocates a slip number and displays it on the slip number label 251, and accepts the input of the slip date TB252 (step S2).

図12の例では、CPU100は、伝票番号‘000001’を割り当てて伝票番号ラベル251に表示し、伝票日付‘20170410’の入力を受け付ける。
図14の例では、CPU100は、伝票番号‘000002’を割り当てて伝票番号ラベル251に表示し、伝票日付‘20170410’の入力を受け付ける。
In the example of FIG. 12, the CPU 100 allocates the slip number “000001” and displays it on the slip number label 251, and receives the input of the slip date “20170410”.
In the example of FIG. 14, the CPU 100 allocates the slip number “000002”, displays it on the slip number label 251, and receives the input of the slip date “20170410”.

CPU100は、納品先コードTB253の入力を受け付ける(ステップS3)。
図12の例では、CPU100は、納品先コード‘0001’の入力を受け付ける。
図14の例では、CPU100は、納品先コード‘0002’の入力を受け付ける。
The CPU 100 receives the input of the delivery destination code TB253 (step S3).
In the example of FIG. 12, the CPU 100 receives the input of the delivery destination code “0001”.
In the example of FIG. 14, the CPU 100 accepts the input of the delivery destination code “0002”.

CPU100は、ステップS3の納品先コードに対応した納品先名を納品先MT111から取得し、納品先名ラベル254に表示する(ステップS4)。
図12の例では、CPU100は、納品先コード‘0001’に対応した納品先名‘納品先01’を納品先名ラベル254に表示する。
図14の例では、CPU100は、納品先コード‘0002’に対応した納品先名‘納品先02’を納品先名ラベル254に表示する。
The CPU 100 acquires the delivery destination name corresponding to the delivery destination code in step S3 from the delivery destination MT111 and displays it on the delivery destination name label 254 (step S4).
In the example of FIG. 12, the CPU 100 displays the delivery destination name “delivery destination 01” corresponding to the delivery destination code “0001” on the delivery destination name label 254.
In the example of FIG. 14, the CPU 100 displays the delivery destination name “delivery destination 02” corresponding to the delivery destination code “0002” on the delivery destination name label 254.

CPU100は、ステップS3の納品先コードに対応した適用税区分を納品先MT111から取得する(ステップS5)
CPU100は、ステップS5で取得した納品先MT111の適用税区分が‘2’、つまり、軽減税率であるか否かを判定する(ステップS6)。
納品先MT111の適用税区分が‘2’の場合(ステップS6でYes)、CPU100は、消費税T110の軽減税率を参照する(ステップS7:納品先参照モード)。
The CPU 100 acquires the applicable tax classification corresponding to the delivery destination code of step S3 from the delivery destination MT111 (step S5).
The CPU 100 determines whether or not the applicable tax classification of the delivery destination MT111 acquired in step S5 is "2", that is, the reduced tax rate (step S6).
When the applicable tax classification of the delivery destination MT111 is “2” (Yes in step S6), the CPU 100 refers to the reduced tax rate of the consumption tax T110 (step S7: delivery destination reference mode).

図14の例では、納品先コードTB253に納品先コード‘0002’が入力されている。この場合、CPU100は、ステップS5において、納品先コード‘0002’に対応した適用税区分‘2’を取得する。従って、CPU100は、ステップS6において、納品先参照モードであると判定し、ステップS7の処理を行う。 In the example of FIG. 14, the delivery destination code “0002” is entered in the delivery destination code TB253. In this case, in step S5, the CPU 100 acquires the applicable tax classification “2” corresponding to the delivery destination code “0002”. Therefore, the CPU 100 determines in step S6 that the delivery destination reference mode is set, and performs the process of step S7.

ステップS7では、CPU100は、消費税T110において、ステップS2の伝票日付以前で直近の施行日、かつ、ステップS5の適用税区分に対応した税率を参照する。そして、CPU100は、参照した税率を、変数であるW税率に代入する。
図14の例では、CPU100は、消費税T110から、税区分‘2’であって伝票日付‘20170410’に直近の施行日‘20170401’の税率である‘8%’を取得し、税率‘8%’をW税率に代入する。このW税率は、ステップS13で参照される。
In step S7, the CPU 100 refers to the consumption tax T110, and refers to the tax rate corresponding to the applicable tax category in step S5, which is the latest effective date before the slip date in step S2. Then, the CPU 100 substitutes the referenced tax rate for the variable W tax rate.
In the example of FIG. 14, the CPU 100 acquires, from the consumption tax T110, the tax rate of “8%”, which is the tax category “2” and the latest enforcement date “201770401” of the slip date “201770410”, and the tax rate of “8”. Substitute %'for W tax rate. This W tax rate is referred to in step S13.

一方、図12の例では、CPU100は、ステップS5において、納品先コード‘0001’に対応した適用税区分‘1’を取得する。この場合、CPU100は、ステップS6において、納品先参照モードでないと判定し、ステップS8の処理に進む。 On the other hand, in the example of FIG. 12, the CPU 100 acquires the applicable tax classification “1” corresponding to the delivery destination code “0001” in step S5. In this case, the CPU 100 determines in step S6 that the delivery destination reference mode is not set, and proceeds to the processing of step S8.

CPU100は、明細終了ボタン283が押されたか否かにより、伝票明細フィールド260の入力を終了するか否かを判定する(ステップS8)。
明細終了ボタン283が押されていない場合(ステップS8でNo)、CPU100は
行番号をインクリメントする(ステップS9)。
The CPU 100 determines whether or not to finish the input of the slip description field 260 depending on whether or not the specification end button 283 is pressed (step S8).
If the statement end button 283 has not been pressed (No in step S8), the CPU 100 increments the line number (step S9).

CPU100は、商品コードTB261と、数量TB262との入力を受け付ける(ステップS10)。
図12の例では、CPU100は、伝票明細フィールド260の1行目において、商品コード‘0001’で数量‘10’の入力を受け付ける。また、CPU100は、伝票明細フィールド260の2行目において、商品コード‘0002’で数量‘10’の入力を受け付ける(図14も同様)。
The CPU 100 receives the input of the product code TB261 and the quantity TB262 (step S10).
In the example of FIG. 12, the CPU 100 accepts the input of the quantity “10” with the product code “0001” in the first line of the slip description field 260. Further, the CPU 100 accepts the input of the quantity “10” with the product code “0002” in the second line of the slip description field 260 (the same applies to FIG. 14).

CPU100は、ステップS10の商品コードに対応した商品名、単価、税区分を商品MT112から取得し、取得した商品名を商品コードTB261に表示し、取得した単価を単価ラベル263に表示する(ステップS11)。 The CPU 100 acquires the product name, unit price, and tax classification corresponding to the product code in step S10 from the product MT112, displays the acquired product name on the product code TB 261, and displays the acquired unit price on the unit price label 263 (step S11). ).

図12の例では、CPU100は、商品MT112から、商品コード‘0001’に対応した商品名‘商品01’、単価‘1,000’、税区分‘1’を取得する。そして、CPU100は、伝票明細フィールド260の1行目において、取得した商品名‘商品01’を商品コードTB261に表示し、取得した単価‘1,000’を単価ラベル263に表示する(図14も同様)。 In the example of FIG. 12, the CPU 100 acquires, from the product MT 112, the product name “product 01” corresponding to the product code “0001”, the unit price “1,000”, and the tax classification “1”. Then, the CPU 100 displays the acquired product name “commodity 01” on the product code TB261 and the acquired unit price “1,000” on the unit price label 263 in the first line of the slip description field 260 (also in FIG. 14). As well).

また、CPU100は、商品MT112から、商品コード‘0002’に対応した商品名‘商品02’、単価‘2,000’、税区分‘2’を取得する。そして、CPU100は、伝票明細フィールド260の2行目において、取得した商品名‘商品02’を商品コードTB261に表示し、取得した単価‘2,000’を単価ラベル263に表示する(図14も同様)。 Further, the CPU 100 acquires, from the product MT 112, the product name “product 02” corresponding to the product code “0002”, the unit price “2,000”, and the tax classification “2”. Then, the CPU 100 displays the acquired product name “commodity 02” on the product code TB 261 and the acquired unit price “2,000” on the unit price label 263 in the second line of the slip description field 260 (also in FIG. 14). As well).

CPU100は、ステップS5で取得した納品先MT111の適用税区分が‘2’、つまり、軽減税率であるか否かを判定する(ステップS12)。
納品先MT111の適用税区分が‘2’の場合(ステップS12でYes)、CPU100は、W税率を商品の税率として参照し、税率ラベル266に表示する(ステップS13:納品先参照モード)。
The CPU 100 determines whether or not the applicable tax classification of the delivery destination MT111 acquired in step S5 is "2", that is, the reduced tax rate (step S12).
When the applicable tax classification of the delivery destination MT111 is “2” (Yes in step S12), the CPU 100 refers to the W tax rate as the tax rate of the product and displays it on the tax rate label 266 (step S13: delivery destination reference mode).

図14の例では、CPU100は、納品先コード‘0002’に対応した適用税区分‘2’であるため、ステップS12において、納品先参照モードであると判定する。そして、ステップS13では、CPU100は、W税率に代入された税率‘8%’を、商品の税率として、伝票明細フィールド260の1行目及び2行目の税率ラベル266に表示する。 In the example of FIG. 14, the CPU 100 determines that the delivery destination reference mode is set in step S12 because the applicable tax classification is “2” corresponding to the delivery destination code “0002”. Then, in step S13, the CPU 100 displays the tax rate ‘8%’ substituted for the W tax rate as the tax rate of the product on the tax rate label 266 in the first and second rows of the slip description field 260.

納品先MT111の適用税区分が‘2’でない場合(ステップS12でNo)、CPU100は、ステップS11で取得した商品MT112の税区分が‘2’、つまり、軽減税率であるか否かを判定する(ステップS14:商品参照モード)。 When the applicable tax classification of the delivery destination MT111 is not “2” (No in step S12), the CPU 100 determines whether the tax classification of the product MT112 acquired in step S11 is “2”, that is, the reduced tax rate. (Step S14: product reference mode).

商品MT112の税区分が‘2’の場合(ステップS14でYes)、CPU100は、軽減税率を参照し、税率ラベル266に表示する(ステップS15)。具体的には、CPU100は、消費税T110において、伝票日付TB252の伝票日付以前で直近の施行日、かつ、税区分が‘2’の税率を参照する。 When the tax classification of the product MT112 is "2" (Yes in step S14), the CPU 100 refers to the reduced tax rate and displays it on the tax rate label 266 (step S15). Specifically, in the consumption tax T110, the CPU 100 refers to the tax rate of the latest enforcement date before the slip date of the slip date TB252 and the tax rate of "2".

図12の例では、CPU100は、納品先コード‘0001’に対応した適用税区分‘1’であるため、ステップS12において、商品参照モードであると判定する。さらに、CPU100は、商品コード‘0002’の税区分が‘2’であるため、ステップS14において、軽減税率を参照すると判定する。 In the example of FIG. 12, the CPU 100 determines that the product reference mode is set in step S12 because the applicable tax classification is “1” corresponding to the delivery destination code “0001”. Further, the CPU 100 determines to refer to the reduced tax rate in step S14 because the tax classification of the product code “0002” is “2”.

この場合、CPU100は、商品コード‘0002’について、税区分‘2’であって、伝票日付‘20170410’に直近の施行日‘20170401’の税率である‘8%’を消費税T110から取得する。その後、CPU100は、伝票明細フィールド260の2行目において、取得した税率‘8%’を、商品の税率として、税率ラベル266に表示する。 In this case, the CPU 100 acquires, from the consumption tax T110, the tax rate of “2%” for the product code “0002” and the tax rate of “8%” on the latest effective date “201770401” of the slip date “201770410”. .. After that, the CPU 100 displays the acquired tax rate of “8%” on the tax rate label 266 as the tax rate of the product in the second line of the slip description field 260.

商品MT112の税区分が‘2’でない場合(ステップS14でNo)、CPU100は、標準税率を参照し、税率ラベル266に表示する(ステップS16)。具体的には、CPU100は、消費税T110において、伝票日付TB252の伝票日付以前で直近の施行日、かつ、税区分が‘1’の税率を参照する。 When the tax classification of the product MT112 is not “2” (No in step S14), the CPU 100 refers to the standard tax rate and displays it on the tax rate label 266 (step S16). Specifically, in the consumption tax T110, the CPU 100 refers to the tax rate of the latest enforcement date before the slip date of the slip date TB252 and the tax rate of which the tax classification is "1".

図12の例では、CPU100は、商品コード‘0001’の税区分が‘1’であるため、ステップS14において、標準税率を参照すると判定する。この場合、CPU100は、商品コード‘0001’について、税区分‘1’であって、伝票日付‘20170410’に直近の施行日‘20170401’の税率である‘10%’を消費税T110から取得する。その後、CPU100は、伝票明細フィールド260の1行目において、取得した税率‘10%’を、商品の税率として、税率ラベル266に表示する。 In the example of FIG. 12, the CPU 100 determines to refer to the standard tax rate in step S14 because the tax classification of the product code “0001” is “1”. In this case, the CPU 100 acquires, from the consumption tax T110, the tax rate of “1”, which is the tax classification “1” for the product code “0001” and which is the tax rate of the latest enforcement date “201570401” of the slip date “201770410”. .. Then, the CPU 100 displays the acquired tax rate of “10%” on the tax rate label 266 as the tax rate of the product in the first line of the slip description field 260.

次に、CPU100は、ステップS10の数量にステップS11の単価を乗算することで金額を算出し、金額ラベル264に表示する(ステップS17)。 Next, the CPU 100 calculates the amount of money by multiplying the quantity of step S10 by the unit price of step S11 and displays it on the amount label 264 (step S17).

図12の例では、CPU100は、商品コード‘0001’の数量‘10’に単価‘1,000’を乗算した金額‘10,000’を算出し、伝票明細フィールド260の1行目において、算出した金額‘10,000’を金額ラベル264に表示する。また、CPU100は、商品コード‘0002’の金額‘20,000’を算出し、伝票明細フィールド260の2行目において、算出した金額‘20,000’を金額ラベル264に表示する(図14も同様)。 In the example of FIG. 12, the CPU 100 calculates the amount “10,000” by multiplying the quantity “10” of the product code “0001” by the unit price “1,000”, and calculates it in the first line of the slip description field 260. The amount of money “10,000” is displayed on the amount label 264. Further, the CPU 100 calculates the amount of money “20,000” of the product code “0002”, and displays the calculated amount of money “20,000” on the amount label 264 in the second line of the slip description field 260 (also in FIG. 14). As well).

そして、CPU100は、ステップS17の金額に、ステップS13,S15,S16で取得した税率を乗算することで消費税金額を算出し、消費税ラベル265に表示し(ステップS18)、ステップS8の処理に戻る。
なお、ステップS18では、消費税金額を算出するようにしたが、ステップS17の金額と、算出した消費税金額とを加算して税込金額を算出するようにしてもよい。
Then, the CPU 100 calculates the consumption tax amount by multiplying the amount in step S17 by the tax rate acquired in steps S13, S15, S16, and displays it on the consumption tax label 265 (step S18), and in the process of step S8. Return.
Although the consumption tax amount is calculated in step S18, the tax amount may be calculated by adding the amount in step S17 and the calculated consumption tax amount.

図12の例では、CPU100は、商品コード‘0001’の金額‘10,000’に税率‘10%’を乗算した消費税金額‘1,000’を算出し、伝票明細フィールド260の1行目において、算出した消費税金額‘1,000’を消費税ラベル265に表示する。また、CPU100は、商品コード‘0002’の金額‘20,000’に税率‘8%’を乗算した消費税金額‘1,600’を算出し、伝票明細フィールド260の2行目において、算出した消費税金額‘1,600’を消費税ラベル265に表示する。 In the example of FIG. 12, the CPU 100 calculates the consumption tax amount “1,000” by multiplying the amount “10,000” of the product code “0001” by the tax rate “10%”, and the first line of the slip description field 260. In, the calculated consumption tax amount “1,000” is displayed on the consumption tax label 265. Further, the CPU 100 calculates a consumption tax amount of “1,600” by multiplying the amount of money “20,000” of the product code “0002” by the tax rate of “8%”, and calculates it in the second line of the slip description field 260. The consumption tax amount “1,600” is displayed on the consumption tax label 265.

図14の例では、CPU100は、商品コード‘0001’の金額‘10,000’に税率‘8%’を乗算した消費税金額‘800’を算出し、伝票明細フィールド260の1行目において、算出した消費税金額‘800’を消費税ラベル265に表示する。また、CPU100は、商品コード‘0002’の金額‘20,000’に税率‘8%’を乗算した消費税金額‘1,600’を算出し、伝票明細フィールド260の2行目において、算出した消費税金額‘1,600’を消費税ラベル265に表示する。 In the example of FIG. 14, the CPU 100 calculates the consumption tax amount “800” by multiplying the amount “10,000” of the product code “0001” by the tax rate “8%”, and in the first line of the slip description field 260, The calculated consumption tax amount “800” is displayed on the consumption tax label 265. Further, the CPU 100 calculates a consumption tax amount of “1,600” by multiplying the amount of money “20,000” of the product code “0002” by the tax rate of “8%”, and calculates it in the second line of the slip description field 260. The consumption tax amount “1,600” is displayed on the consumption tax label 265.

なお、図14の例において、商品コード‘0001’の金額‘10,000’と消費税
金額‘800’とを加算し、加算した税込金額‘10,800’を図示しない税込金額ラベルに表示し、商品コード‘0002’の金額‘20,000’と消費税金額‘1,600’とを加算し、加算した税込金額‘21,600’を図示しない税込金額ラベルに表示するようにしてもよい。
In addition, in the example of FIG. 14, the amount “10,000” of the product code “0001” and the consumption tax amount “800” are added, and the added tax-included amount “10,800” is displayed on the tax-included amount label (not shown). , The amount “20,000” of the product code “0002” and the consumption tax amount “1,600” may be added, and the added tax-included amount “21,600” may be displayed on a tax-included amount label (not shown). ..

明細終了ボタン283が押された場合(ステップS8でYes)、CPU100は、金額ラベル264の金額合計値を課税対象金額として算出し、課税対象ラベル271に表示する(ステップS19)。 When the statement end button 283 is pressed (Yes in step S8), the CPU 100 calculates the total amount of money of the amount label 264 as the taxable amount and displays it on the taxable label 271 (step S19).

図12の例では、CPU100は、伝票明細フィールド260の金額‘10,000’,‘20,000’の合計値である課税対象金額‘30,000’を算出する。そして、CPU100は、算出した課税対象金額‘30,000’を課税対象ラベル271に表示する(図14も同様)。 In the example of FIG. 12, the CPU 100 calculates the taxable amount “30,000” which is the total value of the amounts “10,000” and “20,000” in the slip description field 260. Then, the CPU 100 displays the calculated taxable amount “30,000” on the taxable label 271 (the same applies to FIG. 14).

CPU100は、消費税ラベル265の消費税合計値を消費税金額として算出し、消費税ラベル272に表示する(ステップS20)。 The CPU 100 calculates the consumption tax total value of the consumption tax label 265 as the consumption tax amount and displays it on the consumption tax label 272 (step S20).

図12の例では、CPU100は、伝票明細フィールド260の消費税金額‘1,000’,‘1,600’の合計値である消費税金額‘2,600’を算出する。そして、CPU100は、算出した消費税金額‘2,600’を消費税ラベル272に表示する。 In the example of FIG. 12, the CPU 100 calculates the consumption tax amount “2,600”, which is the total value of the consumption tax amounts “1,000” and “1,600” in the slip description field 260. Then, the CPU 100 displays the calculated consumption tax amount “2,600” on the consumption tax label 272.

図14の例では、CPU100は、伝票明細フィールド260の消費税金額‘800’,‘1,600’の合計値である消費税金額‘2,400’を算出する。そして、CPU100は、算出した消費税金額‘2,400’を消費税ラベル272に表示する。 In the example of FIG. 14, the CPU 100 calculates the consumption tax amount “2,400” which is the total value of the consumption tax amounts “800” and “1,600” in the slip description field 260. Then, the CPU 100 displays the calculated consumption tax amount “2,400” on the consumption tax label 272.

CPU100は、課税対象ラベル271の課税対象金額と、消費税ラベル272の消費税金額とを加算することで合計金額を算出し、合計ラベル273に表示する(ステップS21)。 The CPU 100 calculates the total amount by adding the taxable amount of the taxable label 271 and the consumption tax amount of the consumption tax label 272, and displays it on the total label 273 (step S21).

図12の例では、CPU100は、課税対象金額‘30,000’と消費税金額‘2,600’とを加算した合計金額‘32,600’を算出し、算出した合計金額‘32,600’を合計ラベル273に表示する。 In the example of FIG. 12, the CPU 100 calculates the total amount of money “32,600” obtained by adding the taxable amount of “30,000” and the consumption tax amount of “2,600”, and the calculated total amount of money “32,600”. Is displayed on the total label 273.

図14の例では、CPU100は、課税対象金額‘30,000’と消費税金額‘2,400’とを加算した合計金額‘32,400’を算出し、算出した合計金額‘32,400’を合計ラベル273に表示する。 In the example of FIG. 14, the CPU 100 calculates the total amount of money “32,400” obtained by adding the taxable amount of “30,000” and the consumption tax amount of “2,400”, and the calculated total amount of money “32,400”. Is displayed on the total label 273.

CPU100は、登録ボタン281が押されたか否かにより、伝票を登録するか否かを判定する(ステップS22)。
登録ボタン281が押された場合(ステップS22でYes)、CPU100は、伝票を登録する(ステップS23)。
CPU100は、ステップS23で登録した伝票を印刷部12に出力する(ステップS24)。
The CPU 100 determines whether or not to register the slip depending on whether or not the registration button 281 is pressed (step S22).
When the registration button 281 is pressed (Yes in step S22), the CPU 100 registers the slip (step S23).
The CPU 100 outputs the slip registered in step S23 to the printing unit 12 (step S24).

図12の伝票入力画面240で登録された伝票合計113及び伝票明細114をそれぞれ図13(a)及び図13(b)に図示した。
図12の例では、CPU100は、伝票番号‘000001’、伝票日付‘20170410’、納品先コード‘0001’、課税対象金額‘30,000’、消費税金額‘2,600’、合計金額‘32,600’を、図13(a)の伝票合計113に登録する。
The slip total 113 and the slip details 114 registered on the slip input screen 240 of FIG. 12 are shown in FIGS. 13(a) and 13(b), respectively.
In the example of FIG. 12, the CPU 100 causes the slip number “000001”, the slip date “20170410”, the delivery destination code “0001”, the taxable amount “30,000”, the consumption tax amount “2,600”, and the total amount “32”. , 600′ are registered in the slip total 113 in FIG.

また、CPU100は、図12の伝票明細フィールド260の1行目に対応させて、伝票番号‘000001’、伝票日付‘20170410’、納品先コード‘0001’、行番号‘001’、商品コード‘0001’、数量‘10’、単価‘1,000’、金額‘10,000’、税率‘10’、消費税金額‘1,000’を、図13(b)の伝票明細114に登録する。 Further, the CPU 100 corresponds to the first line of the slip description field 260 of FIG. 12 with a slip number of “000001”, a slip date of “20170410”, a delivery destination code of “0001”, a line number of “001”, and a product code of “0001”. ", Quantity "10", Unit price "1,000", Amount "10,000", Tax rate "10", Consumption tax amount "1,000" are registered in the slip description 114 of FIG. 13(b).

さらに、CPU100は、図12の伝票明細フィールド260の2行目に対応させて、伝票番号‘000001’、伝票日付‘20170410’、納品先コード‘0001’、行番号‘002’、商品コード‘0002’、数量‘10’、単価‘2,000’、金額‘20,000’、税率‘8’、消費税金額‘1,600’を、図13(b)の伝票明細114に登録する。 Further, the CPU 100 corresponds to the second line of the slip description field 260 of FIG. 12 with the slip number “000001”, the slip date “20170410”, the delivery destination code “0001”, the line number “002”, and the product code “0002”. ", quantity "10", unit price "2,000", amount "20,000", tax rate "8", and consumption tax amount "1,600" are registered in the slip description 114 of FIG. 13B.

図14の伝票入力画面240で登録された伝票合計113及び伝票明細114をそれぞれ図13(a)及び図13(b)に図示した。
図14の例では、CPU100は、伝票番号‘000002’、伝票日付‘20170410’、納品先コード‘0002’、課税対象金額‘30,000’、消費税金額‘2,400’、合計金額‘32,400’を、図13(a)の伝票合計113に登録する。
The slip total 113 and the slip details 114 registered on the slip input screen 240 of FIG. 14 are shown in FIGS. 13(a) and 13(b), respectively.
In the example of FIG. 14, the CPU 100 causes the slip number “000002”, the slip date “20170410”, the delivery destination code “0002”, the taxable amount “30,000”, the consumption tax amount “2,400”, and the total amount “32”. , 400′ are registered in the slip total 113 in FIG.

また、CPU100は、図14の伝票明細フィールド260の1行目に対応させて、伝票番号‘000001’、伝票日付‘20170410’、納品先コード‘0002’、行番号‘001’、商品コード‘0001’数量‘10’、単価‘1,000’、金額‘10,000’、税率‘8’、消費税金額‘800’を、図13(b)の伝票明細114に登録する。 Also, the CPU 100 corresponds to the first line of the slip description field 260 of FIG. 14 with a slip number of “000001”, a slip date of “20170410”, a delivery destination code of “0002”, a line number of “001”, and a product code of “0001”. The "quantity" of 10, the unit price of "1,000", the amount of "10,000", the tax rate of "8", and the consumption tax amount of "800" are registered in the slip description 114 of FIG. 13B.

さらに、CPU100は、図14の伝票明細フィールド260の2行目に対応させて、伝票番号‘000001’、伝票日付‘20170410’、納品先コード‘0002’、行番号‘002’、商品コード‘0002’数量‘10’、単価‘2,000’、金額‘20,000’、税率‘8’、消費税金額‘1,600’を、図13(b)の伝票明細114に登録する。 Further, the CPU 100 corresponds to the second line of the slip description field 260 of FIG. 14 with a slip number of “000001”, a slip date of “20170410”, a delivery destination code of “0002”, a line number of “002”, and a product code of “0002”. The "quantity" of 10, the unit price of "2,000", the amount of "20,000", the tax rate of "8", and the consumption tax amount of "1,600" are registered in the slip description 114 of FIG. 13B.

ステップS24の処理後、CPU100は、伝票入力画面240をクリアする(ステップS25)。
ステップS25の処理後、又は、登録ボタン281が押されていない場合(ステップS22でNo)、CPU100は、ステップS1の処理に戻る。
After the processing of step S24, the CPU 100 clears the slip input screen 240 (step S25).
After the processing of step S25 or when the registration button 281 is not pressed (No in step S22), the CPU 100 returns to the processing of step S1.

以上のように、伝票入力処理では、納品先MT111の適用税区分に応じて、納品先参照モード又は商品参照モードを切り替えて税率を自動的に適用するので、ユーザが税率を変更する手間を軽減することができる。さらに、伝票入力処理では、ユーザが納品先毎に適用する税率を判断する必要がないので、税率の間違いも軽減することができる。 As described above, in the slip input process, the tax rate is automatically applied by switching the delivery destination reference mode or the commodity reference mode according to the applicable tax classification of the delivery destination MT111, so that the user does not have to change the tax rate. can do. Further, in the slip input process, the user does not need to determine the tax rate to be applied to each delivery destination, so that the error in the tax rate can be reduced.

なお、本実施形態において、伝票とは、見積書、注文書、納品書、請求書、領収書等の書類を含む。 In addition, in this embodiment, the slip includes documents such as a quotation, an order form, a delivery note, an invoice, and a receipt.

また、前記した実施形態では、伝票が納品書の場合は、納品先に対応させて予め設定されている税率を適用して商品の税額または税込価格を導出する例を示したが、これに限定されない。
例えば、伝票が見積書の場合は、見積先に対応させて予め設定されている税率を適用して商品の税額または税込価格を導出し、伝票が請求書の場合は、請求先に対応させて予め設定されている税率を適用して商品の税額または税込価格を導出し、伝票が注文書の場合は、注文先に対応させて予め設定されている税率を適用して商品の税額または税込価格を
導出するものとする。
Further, in the above-described embodiment, when the slip is a delivery note, an example of deriving the tax amount or the tax-included price of the product by applying a preset tax rate corresponding to the delivery destination is shown, but the present invention is not limited to this. Not done.
For example, if the voucher is a quote, the tax rate or tax-included price of the product is applied by applying the preset tax rate corresponding to the quoted party. The tax amount or tax-included price of the product is derived by applying the preset tax rate, and if the slip is an order sheet, the tax amount or tax-included price of the product is applied by applying the preset tax rate corresponding to the order destination. Shall be derived.

以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
商品を納品する納品先を入力する入力手段と、
前記入力手段により入力された納品先に対応させて予め設定されている税率を適用して前記商品の税額または税込価格を導出する導出手段と、
を備えたことを特徴とする商品データ処理装置。
<請求項2>
前記導出手段により導出された前記商品の税額または税込価格を一旦表示させた後に、前記商品に適用する税率の変更を受け付ける税率変更受付手段を備えたことを特徴とする請求項1に記載の商品データ処理装置。
<請求項3>
商品を納品する納品先に対応させて予め設定されている税率が適用された前記商品の税額または税込価格を一旦表示させた後に、前記商品に適用する税率の変更を受け付ける税率変更受付手段を備えたことを特徴とする商品データ処理装置。
<請求項4>
コンピュータを、
商品を納品する納品先に対応させて予め設定されている税率が適用された前記商品の税額または税込価格を一旦表示させた後に、前記商品に適用する税率の変更を受け付ける税率変更受付手段、
として機能させるためのプログラム。
<請求項5>
商品の税額を算出する際に、当該商品を納品する納品先を入力する入力手段と、
異なる税率のうち、前記入力手段により入力された納品先に対応して予め決められた税率を優先して参照する参照手段と、
前記参照手段により参照された税率を適用して前記商品の税額を算出する算出手段と、
を備えたことを特徴とする商品データ処理装置。
<請求項6>
前記参照手段は、前記納品先に対応づけて税区分を記憶した税区分記憶手段から前記納品先に対応する税区分を参照し、当該税区分に対応づけて税率を記憶した税率記憶手段から前記納品先の税区分に対応する税率を参照することを特徴とする請求項5に記載の商品データ処理装置。
<請求項7>
前記納品先に対応づける税区分を前記税区分記憶手段に登録する税区分登録手段を更に備えたことを特徴とする請求項6に記載の商品データ処理装置。
<請求項8>
前記税区分に対応づける税率を前記税率記憶手段に登録する税率登録手段を更に備えたことを特徴とする請求項6又は7に記載の商品データ処理装置。
<請求項9>
前記参照手段に対して、前記税区分記憶手段の税区分に応じて、前記納品先に対応して予め決められた税率を参照するモードと、前記商品に対応して予め決められた税率を参照するモードとを切替える切替手段を更に備えたこと特徴とする請求項6から8の何れか一項に記載の商品データ処理装置。
<請求項10>
前記算出手段は、前記納品先に納品する商品毎に、当該商品に適用される税額を算出することを特徴とする請求項5から9の何れか一項に記載の商品データ処理装置。
<請求項11>
前記納品先に対応して予め決められた税率を修正可能とする修正手段を更に備え、
前記算出手段は、前記修正手段により修正された税率を適用して前記商品の税額を算出することを特徴とする請求項5から10の何れか一項に記載の商品データ処理装置。
<請求項12>
算出された前記商品の税額を伝票に出力する出力手段を更に備えたことを特徴とする請求項5から11の何れか一項に記載の商品データ処理装置。
<請求項13>
コンピュータを、
商品の税額を算出する際に、当該商品を納品する納品先を入力する入力手段、
異なる税率のうち、前記入力手段により入力された納品先に対応して予め決められた税率を優先して参照する参照手段、
前記参照手段により参照された税率を適用して前記商品の税額を算出する算出手段、
として機能させるためのプログラム。
Hereinafter, the inventions described in the claims attached to the application of this application will be additionally described. The claim numbers described in the appendices are as set forth in the claims attached first to the application for this application.
[Appendix]
<Claim 1>
An input means for inputting a delivery destination for delivering the product,
Derivation means for deriving the tax amount or the tax-included price of the product by applying a preset tax rate corresponding to the delivery destination input by the input means,
A product data processing device comprising:
<Claim 2>
The product according to claim 1, further comprising a tax rate change receiving unit that receives a tax rate change applied to the product after the tax amount or the tax-included price of the product derived by the derivation unit is temporarily displayed. Data processing device.
<Claim 3>
Providing a tax rate change receiving means for receiving a change in the tax rate applied to the product after displaying the tax amount or the tax-included price of the product to which the preset tax rate is applied corresponding to the delivery destination of the product A product data processing device characterized by the above.
<Claim 4>
Computer,
After displaying the tax amount or the tax-included price of the product to which the preset tax rate is applied corresponding to the delivery destination of the product, the tax rate change receiving means for receiving the change of the tax rate applied to the product,
Program to function as.
<Claim 5>
When calculating the tax amount of a product, input means for inputting a delivery destination to which the product is delivered,
Of different tax rates, reference means for preferentially referring to a predetermined tax rate corresponding to the delivery destination input by the input means,
Calculation means for calculating the tax amount of the product by applying the tax rate referred to by the reference means,
A product data processing device comprising:
<Claim 6>
The reference unit refers to the tax category corresponding to the delivery destination from the tax category storage unit that stores the tax category in association with the delivery destination, and the tax rate storage unit that stores the tax rate in association with the tax category The product data processing apparatus according to claim 5, wherein the tax rate corresponding to the tax category of the delivery destination is referred to.
<Claim 7>
7. The product data processing apparatus according to claim 6, further comprising a tax category registration unit that registers a tax category associated with the delivery destination in the tax category storage unit.
<Claim 8>
8. The product data processing apparatus according to claim 6, further comprising a tax rate registration unit that registers a tax rate associated with the tax classification in the tax rate storage unit.
<Claim 9>
With respect to the reference means, a mode for referring to a predetermined tax rate corresponding to the delivery destination according to the tax classification of the tax classification storage means, and a predetermined tax rate corresponding to the product 9. The product data processing apparatus according to claim 6, further comprising a switching unit that switches between a mode in which the product data is processed.
<Claim 10>
10. The product data processing apparatus according to claim 5, wherein the calculating unit calculates, for each product delivered to the delivery destination, a tax amount applied to the product.
<Claim 11>
Further comprising a correction means capable of correcting a predetermined tax rate corresponding to the delivery destination,
11. The product data processing device according to claim 5, wherein the calculation unit calculates the tax amount of the product by applying the tax rate corrected by the correction unit.
<Claim 12>
12. The product data processing apparatus according to claim 5, further comprising an output unit that outputs the calculated tax amount of the product to a slip.
<Claim 13>
Computer,
When calculating the tax amount of a product, input means for inputting a delivery destination to which the product is to be delivered,
Of the different tax rates, reference means for preferentially referring to a predetermined tax rate corresponding to the delivery destination input by the input means,
Calculation means for calculating the tax amount of the product by applying the tax rate referred to by the reference means,
Program to function as.

1 伝票処理装置(商品データ処理装置)
10 本体部
11 キー入力部
12 印刷部
100 CPU
101 RAM
102 主記憶装置
103 通信制御部
104 記憶媒体読み書き部
105 入力表示部
1 slip processing device (product data processing device)
10 main body 11 key input unit 12 printing unit 100 CPU
101 RAM
102 main storage device 103 communication control unit 104 storage medium read/write unit 105 input display unit

上記課題を解決するため、本発明に係る伝票処理装置は、商品の税額または税込価格が記載された伝票を出力可能な伝票処理装置であって、ユーザ操作によって所定の日付ごとに税区分及び税率の設定を受け付ける第1設定手段と、ユーザ操作によって取引先ごとに前記税区分の中から適用する税区分の設定を受け付ける第2設定手段と、伝票作成時に、商品の取引先情報及び伝票日付についてユーザからの入力を受け付ける入力受付手段と、前記入力受付手段により入力された前記取引先情報に応じて、前記第2設定手段により設定された前記適用する税区分を決定する税区分決定手段と、前記税区分決定手段により前記適用する税区分が決定された際に、当該適用する税区分が、前記第1設定手段により複数の前記所定の日付に対応付けて設定されている場合には、前記入力受付手段により入力された前記伝票日付以前で、かつ、直近の日付である前記所定の日付に対応付けて設定されている前記税率を適用する税率として決定する税率決定手段と、を備えたことを特徴とする。 In order to solve the above problems, a slip processing device according to the present invention is a slip processing device capable of outputting a slip in which a tax amount or a tax-included price of a product is output , and a tax classification and a tax rate for each predetermined date by a user operation. Setting means for accepting the setting of the tax category, second setting means for accepting the setting of the tax category to be applied from among the tax categories for each customer by the user operation, and the supplier information and the voucher date of the commodity at the time of creating the voucher. Input accepting means for accepting an input from a user, and tax category determining means for determining the applicable tax category set by the second setting means according to the supplier information input by the input accepting means, When the tax classification to be applied is determined by the tax classification determining means, the tax classification to be applied is set by the first setting means in association with a plurality of the predetermined dates, Tax rate determining means for determining as the tax rate to be applied, the tax rate set before the slip date input by the input receiving means and in association with the predetermined date which is the latest date. Is characterized by.

Claims (4)

商品の税額または税込価格が記載された伝票を出力可能な伝票処理装置であって、
商品の取引先を入力する入力手段と、
前記入力手段により入力された取引先に対応させて予め設定されている税率を適用して前記商品の税額または税込価格を導出する導出手段と、
を備え、
前記税率は、出力する伝票の種別毎に予め設定しておくことが可能に構成されている、ことを特徴とする伝票処理装置。
A slip processing device capable of outputting a slip in which a tax amount or a tax-included price of a product is written,
Input means to enter the supplier of the product,
Derivation means for deriving the tax amount or the tax-included price of the product by applying a preset tax rate corresponding to the customer input by the input means,
Equipped with
The slip processing device, wherein the tax rate can be set in advance for each type of slip to be output.
前記導出手段により導出された前記商品の税額または税込価格を一旦表示させた後に、前記商品に適用する税率の変更を受け付ける税率変更受付手段を備えたことを特徴とする請求項1に記載の伝票処理装置。 2. The slip according to claim 1, further comprising: a tax rate change receiving unit that receives a change in a tax rate applied to the product after the tax amount or the tax-included price of the product derived by the deriving unit is temporarily displayed. Processing equipment. 前記伝票の種別として、見積書、注文書、納品書、請求書及び領収書のうち、少なくとも1種を含む、
ことを特徴とする請求項1または2に記載の伝票処理装置。
The slip type includes at least one of a quotation, an order, a delivery note, an invoice, and a receipt,
The slip processing apparatus according to claim 1 or 2, wherein
商品の税額または税込価格が記載された伝票を出力可能な伝票処理装置のコンピュータを、
所定の入力手段により入力された取引先に対応させて予め設定されている税率を適用して前記商品の税額または税込価格を導出する導出手段として機能させ、
前記税率は、出力する伝票の種別毎に予め設定しておくことが可能に構成されている、ことを特徴とするプログラム。
A computer of a slip processing device that can output slips containing the tax amount or tax-included price of the product
It functions as a derivation means for deriving a tax amount or a tax-included price of the product by applying a preset tax rate corresponding to the customer input by a predetermined input means,
A program characterized in that the tax rate can be set in advance for each type of slip to be output.
JP2020077263A 2020-04-24 2020-04-24 Slip processing device, slip processing method and program Active JP7287918B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020077263A JP7287918B2 (en) 2020-04-24 2020-04-24 Slip processing device, slip processing method and program
JP2022022515A JP2022078993A (en) 2020-04-24 2022-02-17 Voucher processing device, voucher processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020077263A JP7287918B2 (en) 2020-04-24 2020-04-24 Slip processing device, slip processing method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016122508A Division JP6702017B2 (en) 2016-06-21 2016-06-21 Slip processing device and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2022022515A Division JP2022078993A (en) 2020-04-24 2022-02-17 Voucher processing device, voucher processing method, and program

Publications (2)

Publication Number Publication Date
JP2020119602A true JP2020119602A (en) 2020-08-06
JP7287918B2 JP7287918B2 (en) 2023-06-06

Family

ID=71890998

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2020077263A Active JP7287918B2 (en) 2020-04-24 2020-04-24 Slip processing device, slip processing method and program
JP2022022515A Pending JP2022078993A (en) 2020-04-24 2022-02-17 Voucher processing device, voucher processing method, and program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2022022515A Pending JP2022078993A (en) 2020-04-24 2022-02-17 Voucher processing device, voucher processing method, and program

Country Status (1)

Country Link
JP (2) JP7287918B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000215237A (en) * 1999-01-26 2000-08-04 Nec Information Service Ltd Tax rate changing system and its program recording medium
JP2013164647A (en) * 2012-02-09 2013-08-22 Nomura Research Institute Ltd Time limit data history management system
JP2014010535A (en) * 2012-06-28 2014-01-20 Toshiba Tec Corp Commodity sales management system and program thereof
JP2015141532A (en) * 2014-01-28 2015-08-03 東芝テック株式会社 Selling data processing device and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5138203B2 (en) * 2006-11-01 2013-02-06 東芝テック株式会社 Product sales data processing device
JP6087806B2 (en) * 2013-12-26 2017-03-01 東芝テック株式会社 Point granting device and program thereof
JP6147373B2 (en) * 2016-01-19 2017-06-14 東芝テック株式会社 Sales data processing apparatus and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000215237A (en) * 1999-01-26 2000-08-04 Nec Information Service Ltd Tax rate changing system and its program recording medium
JP2013164647A (en) * 2012-02-09 2013-08-22 Nomura Research Institute Ltd Time limit data history management system
JP2014010535A (en) * 2012-06-28 2014-01-20 Toshiba Tec Corp Commodity sales management system and program thereof
JP2015141532A (en) * 2014-01-28 2015-08-03 東芝テック株式会社 Selling data processing device and program

Also Published As

Publication number Publication date
JP7287918B2 (en) 2023-06-06
JP2022078993A (en) 2022-05-25

Similar Documents

Publication Publication Date Title
US6539363B1 (en) Write input credit transaction apparatus and method with paperless merchant credit card processing
JP5169258B2 (en) Data processing apparatus and program
JP6702017B2 (en) Slip processing device and program
JP2014167738A (en) Receipt printing device and program
JP7287918B2 (en) Slip processing device, slip processing method and program
JP2008210144A (en) Bill issuing system and bill issuing method
US7845550B2 (en) Communication terminal device
JPH08167077A (en) Article sale registration data processor
JP2017167868A (en) Sales data processor and program
JP6668860B2 (en) Sales data processing device and program
TW479210B (en) Control device for vending machine and the summation system for sales data
JP4860528B2 (en) Voucher printing system, voucher canceling method, program and recording medium
JPH11272955A (en) Ordering contents outputting device
JP4257284B2 (en) Accounting processing system, accounting processing apparatus and program
JP6841356B2 (en) Sales data processing equipment and programs
JPH10222760A (en) Pos terminal device
US20050203803A1 (en) POS terminal, method of correcting a quantity, and computer-readable storage medium recording therein a program for causing a computer to correct a quantity
US20180018639A1 (en) Work support device, work support method and computer readable storage medium
JP7432193B1 (en) Program, information processing method, and information processing device
JP2003323536A (en) Input/display screen, method of displaying consumption tax information, consumption tax information display program and memory medium
JP6977810B2 (en) Sales data processing device, receipt issuance method and program
JP2008158851A (en) Printing system and printing method
JP6702450B2 (en) Sales data processing device and program
JP2016218948A (en) Sales data processor, program and electronic apparatus connected to sales data processor
JPH10334142A (en) Order reception system, and computer program recording medium for the system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200511

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210908

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220217

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20220217

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20220301

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20220308

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20220513

C211 Notice of termination of reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C211

Effective date: 20220517

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20220705

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20221012

C13 Notice of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: C13

Effective date: 20230131

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230214

C23 Notice of termination of proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C23

Effective date: 20230411

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230525

R150 Certificate of patent or registration of utility model

Ref document number: 7287918

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150