JP2008234579A - Declaration preparation method, declaration preparation device, declaration preparation system and declaration preparation program - Google Patents

Declaration preparation method, declaration preparation device, declaration preparation system and declaration preparation program Download PDF

Info

Publication number
JP2008234579A
JP2008234579A JP2007077115A JP2007077115A JP2008234579A JP 2008234579 A JP2008234579 A JP 2008234579A JP 2007077115 A JP2007077115 A JP 2007077115A JP 2007077115 A JP2007077115 A JP 2007077115A JP 2008234579 A JP2008234579 A JP 2008234579A
Authority
JP
Japan
Prior art keywords
report
data
year
database
created
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
JP2007077115A
Other languages
Japanese (ja)
Other versions
JP5086674B2 (en
Inventor
Kazuo Tsuchimoto
一生 土本
Masao Kawane
正夫 川音
Kazuo Mikoshiba
一夫 御子柴
Tomohito Iwami
智人 岩見
Hiroaki Maejima
博昭 前島
Ryoji Kobayashi
亮司 小林
Hiroo Ota
宏生 太田
Yasuhiro Ikegami
泰弘 池上
Ryoichi Kawaguchi
亮一 川口
Kazuhiro Nakamura
一洋 中村
Hidemasa Kasaki
英将 傘木
Yukio Suzuki
幸夫 鈴木
Masayuki Yanai
政征 箭内
Hisaya Soeda
尚也 添田
Toshiya Narita
俊也 成田
Naoyuki Imaizumi
直幸 今泉
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.)
Japan Digital Laboratory Co Ltd
Original Assignee
Japan Digital Laboratory 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 Japan Digital Laboratory Co Ltd filed Critical Japan Digital Laboratory Co Ltd
Priority to JP2007077115A priority Critical patent/JP5086674B2/en
Publication of JP2008234579A publication Critical patent/JP2008234579A/en
Application granted granted Critical
Publication of JP5086674B2 publication Critical patent/JP5086674B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a declaration preparation method for keeping a tabulation method and a form consistent, by achieving reflection of financial data and carry-over processing by simple operation. <P>SOLUTION: This declaration preparation method makes a declaration based on the financial data created by the financial application, and includes a step of storing the financial data in a fiscal year database of a corresponding fiscal year by constructing the fiscal year database in a storage part, a step of writing the financial data of a fiscal year of a carry-over source and declaration data in the fiscal year database of the carry-over side, a step S2 of acquiring a tabulation condition, a step S5 of creating the declaration data by tabulating data by acquiring data of the fiscal year database based on the tabulation condition, and a step S15 of writing the created declaration data in the fiscal year database. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、法人税申告書などの申告書を作成する申告書作成方法、申告書作成装置、申告書作成システム、および申告書作成プログラムに関するものであり、特に作成済みの申告書,最新の財務データをもとに、新たな申告書を作成するための申告書作成方法に関するものである。   The present invention relates to a report creation method for creating a report such as a corporate tax return, a report creation apparatus, a report creation system, and a report creation program. The present invention relates to a method for preparing a return for creating a new return based on the data.

従来、計算機上で法人税申告書などの申告書(申告書に添付する書類も含む)の作成が行われている。従来の申告書技術において、会計システム,販売管理システム,給与システム,決算書作成システムなど様々なアプリケーションシステム(以下、財務アプリケーションシステムという)によって作成されたデータを用いる場合には、それぞれのシステムにおいて個別に作成されて管理されているデータを用いていた。これらの財務アプリケーションシステムの管理するデータには、財務アプリケーション間で共通する項目やお互いに関連する項目が存在することが多い。   Conventionally, a tax return such as a corporate tax return (including documents attached to the tax return) has been created on a computer. When using the data created by various application systems (hereinafter referred to as financial application system) such as accounting system, sales management system, salary system, financial statement creation system, etc. The data that was created and managed by was used. The data managed by these financial application systems often includes items common between financial applications and items related to each other.

したがって、データの管理の効率化と不整合を防ぐ観点から、データを連動させて用いることが望ましい。このような連動を行う技術として、たとえば、下記特許文献1〜4に記載されている技術がある。下記特許文献1では、あらかじめ作成された申告書データ間を連動させる技術が開示されている。下記特許文献2では、法人税・地方税申告書の作成において、減価償却・資産管理システムと連動して別表を作成する技術が開示されている。   Therefore, it is desirable to use data in conjunction with each other from the viewpoint of efficient data management and prevention of inconsistencies. As a technique for performing such interlocking, for example, there are techniques described in Patent Documents 1 to 4 below. In the following Patent Document 1, a technique for linking previously created report data is disclosed. Patent Document 2 below discloses a technique for creating a separate table in conjunction with a depreciation / asset management system in the preparation of a corporate tax / local tax return.

また、下記特許文献3では、財務会計システムと連動して法人税申告書に添付する勘定科目内訳明細書および法人事業概況説明書を生成する技術が開示されている。下記特許文献4では、会計システムに関係する複数のシステムによって作成されたデータを連動させる技術が開示されている。   Patent Document 3 below discloses a technique for generating an account item breakdown statement attached to a corporate tax return and a corporate business overview in conjunction with a financial accounting system. In Patent Document 4 below, a technique for linking data created by a plurality of systems related to an accounting system is disclosed.

一方、申告書を作成する際に、年度によって変更の少ない事業所情報,会社住所などについては前年度の申告書を元にして作成することにより申告書の作成効率が向上する。この場合には、前年度の申告書のデータを繰り越す繰越処理を行う必要がある。しかし、一般に、会計データの繰り越しを行う時期は年度の変わり目に行うのに対し、申告書の繰り越しは次の申告書の作成時に行う。したがって、申告書の繰り越し時期と会計データの繰越の時期に、通常、半年から一年の差が生じることになる。   On the other hand, when creating a report, the creation efficiency of the report is improved by creating the office information, company address, etc. that are not changed by the year based on the report of the previous year. In this case, it is necessary to carry over the carry-over process to carry over the data of the report for the previous year. In general, however, the accounting data is carried over at the turn of the fiscal year, whereas the tax return is carried over when the next tax return is created. Therefore, there is usually a difference of six months to one year between the time when the tax return is carried forward and the time when the accounting data is carried forward.

従来の申告書作成技術における繰越処理としては、たとえば、以下の手順により前年度の申告書に基づいた新たな申告書の作成を行っていた。まず、前年の年度の変わり目の時期に会計データの繰越が行われる。そして、たとえば、会計データの繰越から半年から1年後に、前年度の申告書をもとに当期の申告書データを作成するとする。このためには、まず、申告書データの繰越元として前年度の申告書を選択する。そして、繰越方法の指定として、次年度繰越処理の選択を行う。   As the carry-over processing in the conventional report preparation technology, for example, a new report is created based on the report of the previous year by the following procedure. First, accounting data is carried forward at the turn of the previous year. Then, for example, it is assumed that the report data for the current period is created based on the report for the previous year six months to one year after the carry-over of the accounting data. For this purpose, first, the report for the previous year is selected as the carry-over source of the report data. Then, as the carry-over method, the next year carry-over process is selected.

そして、申告書データの繰越先として当期の申告書(作成対象の申告書)を選択する。その後、連動元会計データを指定し、さらに、連動方法の指定を行って連動の開始を指示する。そして、当期の申告書の作成を行っていた。   Then, the report for the current period (declared report) is selected as the carry-over destination of the report data. After that, specify the linkage source accounting data, and further specify the linkage method to instruct the start of linkage. Then, a tax return was prepared for the current term.

特開2003−202996号公報JP 2003-202996 A 特開2001−125969号公報JP 2001-125969 A 特開2001−142959号公報JP 2001-142959 A 特開2001−306776号公報JP 2001-306776 A

しかしながら、上記従来の申告書作成技術では、申告書データをあらかじめ作成しておき、会計データ,他の申告書データなどと連動を行う。また、会計データ、申告書データの管理はそれぞれアプリケーションごとに行っていた。このため、既存の会計データ,他の申告書とデータを連動させるために、手間がかかり、運用が煩雑であるという問題があった。   However, in the above conventional report creation technique, report data is created in advance and linked with accounting data, other report data, and the like. Also, accounting data and tax return data were managed for each application. For this reason, there is a problem that it takes time and effort to link existing accounting data and data with other report forms.

また、上記従来の申告書作成技術の繰越処理では、前年度のデータをもとにして申告書を作成する場合、会計データの繰り越し時期と申告書データの繰越時期が異なり、各々独立の繰越処理を行う必要がある。このため、操作および処理が煩雑となり、さらに、前年度のデータ管理を別々に行う必要があるという問題があった。   In addition, in the above carry-over processing of the conventional report creation technology, when creating a report based on the data of the previous year, the carry-over time of accounting data differs from the carry-over time of the report data, and each carry-over process is independent. Need to do. For this reason, operation and processing became complicated, and further, there was a problem that data management for the previous year had to be performed separately.

また、上記の問題を解決するためには、全ての財務アプリケーションのデータを1つのデータベースとして一元管理することが考えられるが、データベースが巨大化してしまい、小規模なシステムにおいて実現するのが困難である。また、税制や法律の改正によりデータ構造や出力形式などに変更があるため、集計処理の内容,データの内容が全年度で同一ではなく、集計方法,様式などの適用期間の整合性をとるのが困難であるという問題があった。   In order to solve the above problem, it is conceivable to manage all financial application data as a single database, but the database becomes enormous and difficult to implement in a small system. is there. In addition, because the data structure and output format are changed due to the revision of the tax system and laws, the contents of the aggregation process and the data contents are not the same in all years, so the consistency of the application period of the aggregation method, format, etc. There was a problem that was difficult.

本発明は、上記に鑑みてなされたものであって、関連する財務データの内容の反映と繰越処理を簡易な運用で実現し、また、集計方法や様式の整合を保つことができる申告書作成方法、申告書作成装置、申告書作成システム、および申告書作成プログラムの提供を目的とする。   The present invention has been made in view of the above, and is capable of reflecting the contents of relevant financial data and carrying forward processing with a simple operation, and creating a report that can keep the tabulation method and format consistent. An object is to provide a method, a report creation device, a report creation system, and a report creation program.

上述した課題を解決し、目的を達成するために、本発明にかかる申告書作成方法は、財務アプリケーションにより生成された財務データを記憶部に保持し、申告書作成装置が前記財務データに基づき申告書作成を行う、財務アプリケーションシステムにおける申告書作成方法であって、データベース管理部が、年度単位のデータベースである年度データベースを前記記憶部に構築し、前記財務アプリケーションにより生成された財務データをそのデータの属する年度の年度データベースに記憶する年度管理ステップと、年度データベースの次年度繰越において、繰越管理部が、前記記憶部から、繰越元の年度の財務データとともに繰越元の年度の申告書データを読み出し、前記読み出したデータを繰越先の年度の年度データベースに書き込む次年度繰越ステップと、前記申告書作成装置の集計条件設定部が、作成する申告書の種類および集計期間を含む集計条件を取得する集計条件取得ステップと、前記申告書作成装置の集計連動部が、前記集計条件に基づいて、前記データベース管理部に年度データベースのデータの取得または年度データベースのデータの集計を指示するデータ取得指示ステップと、前記データベース管理部が、前記集計連動部からデータ取得の指示があった場合に、その指示に基づき前記年度データベースからデータを読み出して前記集計連動部に返信し、一方で、前記集計連動部から集計の指示があった場合には、その指示に基づき前記年度データベースからデータを読み出してその集計結果を前記集計連動部に返信するデータベース集計ステップと、前記集計連動部が、前記データベース管理部から返信されたデータまたは集計結果に基づき申告書データを生成する申告書データ作成ステップと、前記申告書作成装置の終了処理部が、前記生成された申告書データをその申告書の年度の年度データベースに書き込む申告書データ登録ステップと、を含むことを特徴とする。   In order to solve the above-described problems and achieve the object, the report creation method according to the present invention holds the financial data generated by the financial application in the storage unit, and the report creation apparatus reports based on the financial data. A method for creating a report in a financial application system, in which a database management unit constructs a year database, which is a yearly database, in the storage unit, and generates financial data generated by the financial application In the year management step to be stored in the year database of the year to which the data belongs and the carry-over of the next year in the year database, the carry-over management department reads the financial data of the carry-forward source year from the storage part and reads the declaration data of the carry-over year. Write the read data to the year database for the year carried forward The fiscal year carry-over step, the aggregation condition setting unit of the declaration creation device, the aggregation condition acquisition step of acquiring the aggregation condition including the type of the declaration to be created and the aggregation period, and the aggregation interlocking unit of the declaration creation device, Based on the aggregation condition, a data acquisition instruction step for instructing the database management unit to acquire data of the year database or to aggregate the data of the year database, and the database management unit is instructed to acquire data from the aggregation interlocking unit. If there is, the data is read from the year database based on the instruction and returned to the aggregation interlocking unit. On the other hand, if there is an instruction for aggregation from the aggregation interlocking unit, the year database is based on the instruction. A database counting step of reading data from the database and returning the counting result to the counting interlocking unit; The accounting interlocking unit generates declaration data based on the data returned from the database management unit or the aggregated result, and the termination processing unit of the declaration generating device includes the generated declaration data And a declaration data registration step of writing in the annual database of the declaration year.

つぎの発明にかかる申告書作成方法は、前記申告書作成装置の集計条件設定部が、さらに、作成済みの申告書を元に申告書を作成するか否かを示す作成方法を取得し、さらに、前記記憶部に前記集計条件に対応する申告書がすでに作成済みであると判断した場合に、その作成済みの申告書データを前記年度データベースから読み出し保持する読み込みステップと、前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元に申告書を作成することを指定している場合に、作成済みの申告書のなかから元にする申告書の選択を受付け、選択された申告書に対応する申告書データを前記年度データベースから読み出して保持する申告書データ取得ステップと、前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元にしないことを指定している場合に、新たな空の申告書データを作成して保持する新規データ作成ステップと、を実行し、前記集計連動部が、前記データベース管理部から返信されたデータまたは集計結果に基づき前記保持した申告書データを更新することを特徴とする。   The report creation method according to the next invention, the aggregation condition setting unit of the report creation device further acquires a creation method indicating whether to create a report based on the prepared report, A read step for reading and holding the created report data from the year database when it is determined that a report corresponding to the total condition has already been created in the storage unit, and corresponding to the total condition If it is determined that the tax return to be created has not been created, and the creation method specifies that a tax return should be created based on the tax return that has already been created, the The report data acquisition step that receives the selection of the declaration form to be selected and reads and holds the declaration data corresponding to the selected declaration form from the database of the year, and the creation corresponding to the aggregation condition A new empty report data is created and retained when it is determined that an elephant report has not been created and the creation method specifies that the report has not been created. And a data creation step, wherein the aggregation interlocking unit updates the held report data based on the data returned from the database management unit or the aggregation result.

つぎの発明にかかる申告書作成方法は、前記終了処理部が、さらに申告書データに対応する申告書が提出済みであるか否かを示す情報をその申告書に対応付けて記憶部に書き込む提出済み情報書き込みステップ、を含み、前記作成済みの申告書を提出済みの申告書とすることを特徴とする。   In the report preparation method according to the next invention, the termination processing unit further submits information indicating whether or not a report corresponding to the report data has already been submitted and writes the information in the storage unit in association with the report A completed information writing step, wherein the prepared report is used as a submitted report.

つぎの発明にかかる申告書作成方法は、前記情報を変更可能とすることを特徴とする。   The report preparation method according to the next invention is characterized in that the information can be changed.

つぎの発明にかかる申告書作成方法は、前記申告書作成装置のスナップショット処理部が、前記集計条件取得ステップを開始してから前記申告書データ登録ステップを終了するまでの間に、作成対象の申告書に関連する財務データを年度データベースから読み出し、その財務データの複製を生成し、生成した複製を前記作成対象申告書に対応付けてスナップショットデータとして前記記憶部に記憶するスナップショットデータ記憶ステップ、をさらに含むことを特徴とする。   In the report creation method according to the next invention, the snapshot processing unit of the report creation apparatus starts the aggregation condition acquisition step and ends the report data registration step. Snapshot data storage step of reading financial data related to the tax return from the fiscal year database, generating a copy of the financial data, and storing the generated replica in the storage unit as snapshot data in association with the creation target report , Further included.

つぎの発明にかかる申告書作成方法は、前記スナップショット処理部が、前記作成対象申告書に関連する財務データの更新の有無を識別するための更新識別情報を求める更新識別情報算出ステップと、前記集計条件設定部が、前記作成対象申告書が作成済みでないと判断した場合に、前記更新識別情報を前記作成対象申告書に対応付けて前記記憶部に記憶する更新識別情報記憶ステップと、前記集計条件設定部により前記作成対象申告書が既に作成済みであると判断された場合に、スナップショット処理部が、前記記憶部から前記更新識別情報を読み出し、財務データの種類ごとに前記更新識別情報算出ステップで求めた更新識別情報と前記読み出した更新識別情報とを比較し、比較結果が異なる財務データについてスナップショットデータを更新するスナップショットデータ更新ステップと、をさらに含むことを特徴とする。   In the report creation method according to the next invention, the snapshot processing unit calculates update identification information for obtaining update identification information for identifying whether or not financial data related to the creation target report is updated, and An update identification information storage step of storing the update identification information in the storage unit in association with the creation target declaration when the aggregation condition setting unit determines that the preparation target declaration has not been created; When the condition setting unit determines that the report to be created has already been created, the snapshot processing unit reads the update identification information from the storage unit and calculates the update identification information for each type of financial data. The update identification information obtained in the step is compared with the read update identification information, and snapshot data for financial data having different comparison results And snapshot data updating step of updating, and further comprising a.

つぎの発明にかかる申告書作成方法は、前記更新識別情報をHash値とすることを特徴とする。   The report preparation method according to the next invention is characterized in that the update identification information is a Hash value.

つぎの発明にかかる申告書作成方法は、前記申告書の種類として、消費税申告の確定申告書、中間申告書、修正申告書を含むことを特徴とする。   The method for preparing a report according to the next invention is characterized in that the types of the report include a final tax return, an intermediate report, and a revised report for a consumption tax return.

つぎの発明にかかる申告書作成方法は、前記申告書の種類として、償却資産申告書を含むことを特徴とする。   The report preparation method according to the next invention is characterized in that a depreciable asset report is included as a type of the report.

つぎの発明にかかる申告書作成方法は、前記申告書の種類として、地方税申告の確定申告書、中間申告書、予定申告書、修正申告書を含むことを特徴とする。   The method for preparing a report according to the next invention is characterized in that the types of the report include a final tax return, an interim return, a scheduled return, and a revised return as a local tax return.

つぎの発明にかかる申告書作成方法は、前記申告書の種類として、法人税申告の確定申告書、中間申告書、予定申告書、修正申告書を含むことを特徴とする。   The next report preparation method according to the present invention is characterized in that the tax return includes a final tax return, an interim return, a scheduled return, and a revised return as a type of the return.

つぎの発明にかかる申告書作成方法は、前記申告書の種類に、さらに、勘定科目内訳明細書、法人事業概況説明書、会社事業概況書を含めることを特徴とする。   The report preparation method according to the next invention is characterized in that the type of the report further includes an account item breakdown statement, a corporate business overview, and a company business overview.

つぎの発明にかかる申告書作成装置は、データベース管理部が年度単位のデータベースである年度データベースを記憶部に構築し、財務アプリケーションにより生成された財務データをそのデータの属する年度の年度データベースに記憶する財務アプリケーションシステムにおいて、前記財務データに基づき申告書作成を行う申告書作成装置であって、作成する申告書の種類および集計期間を含む集計条件を取得する集計条件設定部と、前記集計条件に基づいて前記データベース管理部に年度データベースのデータの取得または年度データベースのデータの集計を指示し、前記データベース管理部から返信されたデータまたは集計結果に基づき申告書データを生成する集計連動部と、前記生成された申告書データを、前記記憶部のその申告書の年度の年度データベースに書き込む終了処理部と、を備えることを特徴とする。   In the report creation apparatus according to the next invention, the database management unit constructs a year database, which is a yearly database, in the storage unit, and stores the financial data generated by the financial application in the year database of the year to which the data belongs. In a financial application system, a report creation apparatus for creating a report based on the financial data, a totaling condition setting unit for acquiring a totaling condition including a type of a declaration to be generated and a totaling period, and based on the totaling condition A totaling interlocking unit for instructing the database management unit to acquire data of the fiscal year database or totaling the data of the fiscal year database, and to generate report data based on the data returned from the database management unit or the aggregated result, and the generation The written declaration data is stored in the storage section. Characterized in that it comprises a termination processing unit for writing the annual database year, the.

つぎの発明にかかる申告書作成装置は、前記集計条件設定部が、さらに、作成済みの申告書を元に申告書を作成するか否かを示す作成方法を取得し、前記記憶部に前記集計条件に対応する申告書がすでに作成済みであると判断した場合に、その作成済みの申告書データを前記年度データベースから読み出し保持し、前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元に申告書を作成することを指定している場合に、作成済みの申告書のなかから元にする申告書の選択を受付け、選択された申告書に対応する申告書データを前記年度データベースから読み出して保持し、前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元にしないことを指定している場合に、新たな空の申告書データを作成して保持し、前記集計連動部が、前記データベース管理部から返信されたデータまたは集計結果に基づき前記保持した申告書データを更新することを特徴とする。   In the report creation device according to the next invention, the tabulation condition setting unit further acquires a creation method indicating whether or not to create a report based on the already created report, and stores the tabulation in the storage unit If it is determined that a report corresponding to the conditions has already been created, the created report data is read from the database for the year and held, and the report to be created corresponding to the aggregate condition has not been created. Judgment and if the creation method specifies to create a return based on the created return, accept the selection of the return based on the created return and select The tax return data corresponding to the completed tax return is read from the database of the year and retained, it is determined that the target tax return corresponding to the aggregation condition has not been created, and the creation method has been created If it is specified not to be based on the data, a new empty report data is created and retained, and the aggregation interlocking unit retains the data based on the data returned from the database management unit or the aggregation result. It is characterized by updating the report data.

つぎの発明にかかる申告書作成装置は、前記終了処理部が、申告書データに対応する申告書が提出済みであるか否かを示す情報を、その申告書に対応付けて前記記憶部に書き込み、前記作成済みの申告書を提出済みの申告書とすることを特徴とする。   In the report creation device according to the next invention, the end processing unit writes information indicating whether or not a report corresponding to the report data has been submitted in association with the report in the storage unit The prepared report is used as a completed report.

つぎの発明にかかる申告書作成装置は、前記情報を変更可能とすることを特徴とする。   A report creation apparatus according to the next invention is characterized in that the information can be changed.

つぎの発明にかかる申告書作成装置は、作成対象の申告書に関連する財務データを年度データベースから読み出し、その財務データの複製を生成し、生成した複製を前記作成対象申告書に対応付けてスナップショットデータとして前記記憶部に記憶するスナップショット処理部、をさらに備えることを特徴とする。   A report creation apparatus according to the next invention reads financial data related to a report to be created from a year database, generates a copy of the financial data, and associates the generated copy with the report to be created and snaps it. A snapshot processing unit that stores the shot data in the storage unit as shot data is further provided.

つぎの発明にかかる申告書作成装置は、前記スナップショット処理部が、前記作成対象申告書に関連する財務データの種類ごとにその財務データの更新の有無を識別するための更新識別情報を求め、前記集計条件設定部が、前記作成対象申告書が作成済みでないと判断した場合に、前記更新識別情報を前記作成対象申告書に対応付けて更新識別情報として前記記憶部に記憶し、前記スナップショット処理部が、前記集計条件設定部により前記作成対象申告書が既に作成済みであると判断された場合に、前記記憶部から更新識別情報を読み出し、財務データの種類ごとに前記スナップショット処理部が求めた更新識別情報と前記読み出した更新識別情報とを比較し、比較結果が異なる財務データについてスナップショットデータを更新することを特徴とする。   In the report creation apparatus according to the next invention, the snapshot processing unit obtains update identification information for identifying whether or not the financial data is updated for each type of financial data related to the creation target report, When the aggregation condition setting unit determines that the creation target report has not been created, the update identification information is stored in the storage unit as update identification information in association with the creation target report, and the snapshot When the processing unit determines that the creation target report has already been created by the aggregation condition setting unit, the processing unit reads update identification information from the storage unit, and the snapshot processing unit The obtained update identification information is compared with the read update identification information, and the snapshot data is updated for financial data having different comparison results. And features.

つぎの発明にかかる申告書作成装置は、前記更新識別情報をHash値とすることを特徴とする。   The report creation apparatus according to the next invention is characterized in that the update identification information is a Hash value.

つぎの発明にかかる申告書作成装置は、前記申告書の種類として、消費税申告の確定申告書、中間申告書、修正申告書を含むことを特徴とする。   The report creation apparatus according to the next invention is characterized in that the types of the report include a final tax return report, an intermediate report, and a revised report.

つぎの発明にかかる申告書作成装置は、前記申告書の種類として、償却資産申告書を含むことを特徴とする。   The report creation apparatus according to the next invention is characterized in that the type of the report includes a depreciable asset report.

つぎの発明にかかる申告書作成装置は、前記申告書の種類として、地方税申告の確定申告書、中間申告書、予定申告書、修正申告書を含むことを特徴とする。   The report preparation apparatus according to the next invention is characterized in that it includes a final tax return, an interim return, a scheduled return, and a revised return as a type of the return.

つぎの発明にかかる申告書作成装置は、前記申告書の種類として、法人税申告の確定申告書、中間申告書、予定申告書、修正申告書を含むことを特徴とする。   The report creation apparatus according to the next invention is characterized in that the types of the report include a final tax return, an interim return, a scheduled return, and a revised return as a corporate tax return.

つぎの発明にかかる申告書作成装置は、さらに、勘定科目内訳明細書、法人事業概況説明書、会社事業概況書を含めることを特徴とする。   The report preparation apparatus according to the next invention further includes an account item breakdown statement, a corporate business overview, and a company business overview.

つぎの発明にかかる申告書システムは、年度単位のデータベースである年度データベースを記憶部に構築し、財務アプリケーションにより生成された財務データをそのデータの属する年度の年度データベースに記憶するデータベース管理部と、請求項11〜20のいずれか一つに記載の申告書作成装置と、年度データベースの次年度繰越において、前記記憶部から、繰越元の年度の財務データとともに繰越元の年度の申告書データを読み出し、前記読み出したデータを繰越先の年度の年度データベースに書き込む繰越管理部と、を備え、前記データベース管理部が、前記申告書作成装置からデータ取得の指示があった場合に、その指示に基づき前記年度データベースからデータを読み出して前記申告書作成装置に返信し、一方で、前記申告書作成装置から集計の指示があった場合には、その指示に基づき前記年度データベースからデータを読み出してその集計結果を前記申告書作成装置に返信することを特徴とする。   The tax return system according to the next invention is a database management unit that builds a fiscal year database, which is a fiscal unit database, in a storage unit, and stores financial data generated by the financial application in the fiscal year database to which the data belongs, In the report preparation apparatus according to any one of claims 11 to 20 and carry-over to the next year of the year database, the report data of the carry-forward year is read from the storage unit together with the financial data of the carry-forward year from the storage unit. A carry-over management unit that writes the read data into a year-to-date database of a carry-forward destination, and when the database management unit is instructed to acquire data from the report creation device, the Read data from the annual database and send it back to the report creation device. When instructed aggregated from adult device, characterized in that it returns the result of the counting to the preparation and filing device reads data from the year database based on the instruction.

つぎの発明にかかる申告書作成システムは、サーバと前記サーバにネットワーク経由で接続された端末で構成され、財務アプリケーション装置で生成された財務データに基づき申告書作成を行う申告書作成システムであって、前記サーバは、記憶部と、年度単位のデータベースである年度データベースを前記記憶部に構築し、前記財務アプリケーションにより生成された財務データをそのデータの属する年度の年度データベースに記憶するデータベース管理部と、を備え、前記データベース管理部は、前記端末からデータ取得の指示があった場合に、その指示に基づき前記年度データベースからデータを読み出して前記端末に返信し、一方で、前記端末からの集計の指示があった場合には、その指示に基づき前記年度データベースからデータを読み出してその集計結果を前記端末に返信し、前記端末は、作成する申告書の種類および集計期間を含む集計条件を取得する集計条件設定部と、前記集計条件に基づいて、前記データベース管理部に年度データベースのデータの取得または年度データベースのデータの集計を指示し、前記データベース管理部から返信されたデータまたは集計結果に基づき申告書データを生成する集計連動部と、前記生成された申告書データを、前記記憶部のその申告書の年度の年度データベースに書き込む終了処理部と、を備えることを特徴とする。   A report creation system according to the next invention is a report creation system comprising a server and a terminal connected to the server via a network, and creates a report based on financial data generated by a financial application device. The server includes a storage unit, and a database management unit that builds a fiscal year database, which is a yearly database, in the storage unit, and stores financial data generated by the financial application in a fiscal year database to which the data belongs, The database management unit reads data from the year database based on the instruction and sends it back to the terminal when there is an instruction to acquire data from the terminal. If there is an instruction, the data from the year database is based on the instruction. The result is read and returned to the terminal, and the terminal sends a totaling condition setting unit for acquiring a totaling condition including the type of report to be created and a totaling period to the database management unit based on the totaling condition. An aggregation interlocking unit for instructing acquisition of data in the year database or aggregation of data in the year database, and generating report data based on data returned from the database management unit or a result of aggregation, and the generated report data And an end processing unit for writing into the year database of the year of the report in the storage unit.

つぎの発明にかかる申告書作成システムは、前記集計条件設定部が、さらに、作成済みの申告書を元に申告書を作成するか否かを示す作成方法を取得し、前記記憶部に前記集計条件に対応する申告書がすでに作成済みであると判断した場合に、その作成済みの申告書データを前記年度データベースから読み出し保持し、前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元に申告書を作成することを指定している場合に、作成済みの申告書のなかから元にする申告書の選択を受付け、選択された申告書に対応する申告書データを前記年度データベースから読み出して保持し、前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元にしないことを指定している場合に、新たな空の申告書データを作成して保持し、前記集計連動部が、前記データベース管理部から返信されたデータまたは集計結果に基づき前記保持した申告書データを更新することを特徴とする。   In the declaration creation system according to the next invention, the aggregation condition setting unit further acquires a creation method indicating whether to create a declaration based on the already created declaration, and the aggregation is stored in the storage unit. If it is determined that a report corresponding to the conditions has already been created, the created report data is read from the database for the year and held, and the report to be created corresponding to the aggregate condition has not been created. Judgment and if the creation method specifies to create a return based on the created return, accept the selection of the return based on the created return and select The tax return data corresponding to the completed tax return is read from the database of the year and held, it is determined that the target tax return corresponding to the aggregation condition has not been created, and the creation method has been created. If it is specified not to be based on a report, a new empty report data is created and held, and the aggregation interlocking unit is based on the data returned from the database management unit or the aggregation result. The retained report data is updated.

つぎの発明にかかる申告書作成プログラムは、請求項1〜12のいずれか一つに記載の申告書作成方法をコンピュータに実行させることを特徴とする。   A report creation program according to the next invention is characterized by causing a computer to execute the report creation method according to any one of claims 1 to 12.

本発明にかかる申告書作成方法、申告書作成装置、申告書作成システム、および申告書作成プログラムは、財務データのデータベースを年度単位で管理し、次年度繰越の際に自動で申告書データを同時に繰り越すようにしたので、関連する財務データの内容の反映と繰越処理を簡易な運用で実現し、また、集計方法や様式の整合を保つことができる効果を奏する。   The report creation method, the report creation apparatus, the report creation system, and the report creation program according to the present invention manage the financial data database on a yearly basis and automatically carry out the report data automatically at the time of carrying over to the next year. Since carrying over is carried out, the reflection of the contents of the related financial data and carrying over processing can be realized with a simple operation, and the effect of keeping the aggregation method and format consistent can be achieved.

以下に、本発明にかかる申告書作成方法、申告書作成装置、申告書作成システム、および申告書作成プログラムの実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。   Hereinafter, embodiments of a report creation method, a report creation apparatus, a report creation system, and a report creation program according to the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

図1は、本発明にかかる実施例1の申告書作成方法を実現するための申告書作成装置としての機能を備え、本発明にかかる実施例の申告書作成プログラムを実行可能な計算機システムの構成例を示す図である。この計算機システムは、たとえば、制御部1と入力部2と記憶部3と表示部4と通信部5と印刷部6を備え、これらはシステムバス7を介して接続されている。   FIG. 1 shows the configuration of a computer system that has a function as a report creation apparatus for realizing the report creation method according to the first embodiment of the present invention and can execute the report creation program according to the embodiment of the present invention. It is a figure which shows an example. This computer system includes, for example, a control unit 1, an input unit 2, a storage unit 3, a display unit 4, a communication unit 5, and a printing unit 6, which are connected via a system bus 7.

図1において、制御部1は、本発明にかかる申告書作成プログラムを実行する。入力部2は、たとえばキーボードやマウスなどで構成され、計算機システムのユーザが、各種情報の入力を行うために使用する。記憶部3は、RAM,ROMなどの各種メモリおよびハードディスクなどのストレージデバイスを含み、上記制御部1が実行すべきプログラム,処理の過程で得られた必要なデータ,などを記憶する。また、記憶部3は、プログラムの一時的な記憶領域としても使用される。表示部4は、CRT,LCD(液晶表示パネル)などで構成され、計算機システムのユーザに対して各種画面を表示する。   In FIG. 1, the control unit 1 executes a report creation program according to the present invention. The input unit 2 is composed of, for example, a keyboard and a mouse, and is used by a computer system user to input various information. The storage unit 3 includes various memories such as a RAM and a ROM and a storage device such as a hard disk, and stores programs to be executed by the control unit 1 and necessary data obtained in the course of processing. The storage unit 3 is also used as a temporary storage area for programs. The display unit 4 is composed of a CRT, LCD (liquid crystal display panel), etc., and displays various screens for the user of the computer system.

ここで、本発明にかかる申告書作成プログラムが実行可能な状態になるまでの計算機システムの動作例について説明する。上述した構成をとる計算機システムには、たとえば、CD−ROMドライブ(図示せず)にセットされたCD−ROMから、申告書作成プログラムが記憶部3にインストールされる。そして、申告書作成プログラムの実行時に、記憶部3から読み出された申告書作成プログラムが記憶部3の所定の場所に格納される。この状態で、制御部1は、記憶部3に格納されたプログラムに従って、申告書作成処理を実行する。   Here, an example of the operation of the computer system until the report creation program according to the present invention becomes executable will be described. In the computer system having the above-described configuration, for example, a report creation program is installed in the storage unit 3 from a CD-ROM set in a CD-ROM drive (not shown). Then, when executing the report creation program, the report creation program read from the storage unit 3 is stored in a predetermined location of the storage unit 3. In this state, the control unit 1 executes the report creation process according to the program stored in the storage unit 3.

なお、本実施例においては、CD−ROMを記録媒体として、上記申告書作成処理を記述したプログラムを提供しているが、これに限らず、計算機システムの構成、提供するプログラムの容量などに応じて、たとえば、フロッピー(登録商標)ディスクなどの磁気ディスク,光磁気ディスク,磁気テープなどの記録媒体を用いることも可能である。また、電子メール,インターネットなどの伝送媒体により提供されたプログラムを用いることとしてもよい。   In the present embodiment, a program in which the above-described report creation processing is described is provided using a CD-ROM as a recording medium. However, the present invention is not limited to this, depending on the configuration of the computer system, the capacity of the provided program, and the like. For example, it is also possible to use a recording medium such as a magnetic disk such as a floppy (registered trademark) disk, a magneto-optical disk, or a magnetic tape. Moreover, it is good also as using the program provided by transmission media, such as an email and the internet.

図2は、本実施例の申告書作成装置の機能構成例を示すブロック図である。本実施例の申告書作成装置は、制御部1上の申告書作成部10と、リレーショナルデータベースを管理するデータベース管理部15と、入力部2と、記憶部3と、表示部4と、印刷部6と、を備える。申告書作成部10は、集計条件設定部11と、集計・連動部12と、編集部13と、終了処理部14と、で構成される。また、本実施例の申告書作成装置のデータベース管理部15は、リレーショナルデータベースの管理を行う計算機システム全体の共通的な機能である。   FIG. 2 is a block diagram illustrating a functional configuration example of the report creation apparatus according to the present embodiment. The report creation apparatus of the present embodiment includes a report creation unit 10 on the control unit 1, a database management unit 15 that manages a relational database, an input unit 2, a storage unit 3, a display unit 4, and a printing unit. 6. The report creation unit 10 includes a totaling condition setting unit 11, a totaling / interlocking unit 12, an editing unit 13, and an end processing unit 14. The database management unit 15 of the report creation apparatus of this embodiment is a common function of the entire computer system that manages the relational database.

ここで、本実施例のデータベースについて説明する。本実施例においては、他のアプリケーションで作成されたデータも含め、申告書の作成に関連するデータを全て1つのデータベースとしてデータベース管理部15経由で一元管理する。また、本実施例のデータベースは、年度単位で記憶部3に書き込まれて保持されているものとする。申告書の様式や集計方法は、税制や法律の改正に伴って変更されるが、異なる年度のデータが混在すると、管理が非常に煩雑となるという問題があるため、本実施例では、年度単位で保持することにより、様式と集計方法の管理を単純化している。年度単位でデータベースを保持するために、たとえば、各財務アプリケーションがデータベースを生成する時点で年度ごとのデータベースにデータベース管理部15経由で直接書き込む。または、各財務アプリケーションはそれぞれ独自に記憶部3にデータを書き込み、データベース管理部15が、その記憶部3に書き込まれたデータを読み出し、年度単位のデータベースをして生成して保持するようにしてもよい。なお、本実施例では、インデックスデータをデータベース管理部15経由でデータベースに記憶することとしたが、これに限らず、データベースとは別に記憶部3に記憶するようにしてもよい。   Here, the database of the present embodiment will be described. In the present embodiment, all data related to the creation of a report, including data created by other applications, are centrally managed as one database via the database management unit 15. In addition, it is assumed that the database of the present embodiment is written and held in the storage unit 3 on a yearly basis. The form and tabulation method of the tax return are changed with the revision of the tax system and laws, but there is a problem that the management becomes very complicated if data for different years are mixed. By holding in, the management of style and tabulation method is simplified. In order to hold the database on a year-by-year basis, for example, each financial application writes directly to the database for each year via the database management unit 15 when the database is generated. Alternatively, each financial application independently writes data to the storage unit 3, and the database management unit 15 reads out the data written to the storage unit 3, generates a database for each fiscal year, and holds it. Also good. In this embodiment, the index data is stored in the database via the database management unit 15. However, the present invention is not limited to this, and the index data may be stored in the storage unit 3 separately from the database.

なお、一般に年度とは、4月1日〜翌年3月31日を示すが、本実施例において、年度とは各会社の事業年度を示すものとする。したがって、本実施例における年度は、4月1日〜翌年3月31日に限らず、決算の月日に応じた期間となる。   In general, the fiscal year indicates April 1 to March 31 of the following year. In this embodiment, the fiscal year indicates the business year of each company. Therefore, the fiscal year in the present embodiment is not limited to April 1 to March 31 of the following year, but is a period according to the date of settlement.

具体的には、本実施例のデータベースには、たとえば、図2に示すように、会計データ(仕訳データなど),資産データ,会社情報データ,給与データ,本実施例の申告書作成部10で作成した申告書データ,作成した申告書に関する情報が格納されているインデックステーブルが記憶されている。本実施例の申告書作成部10においては、申告書を作成する年度をN年度とすると、N年度のデータベース(N年度データベース)を使用する。このうち、会計データ(仕訳データなど),資産データ,会社情報データ,給与データは他の財務アプリケーションで作成されたデータである。なお、申告書作成部10において、前年度以前の申告書を作成することの想定がない場合には、現在の年度のデータベースのみが記憶部3に記憶されていればよい。このため、前年度までのデータは、消去する、または、他の媒体に移動させることができる。前年度以前の申告書を作成することが想定される場合には、作成が想定される年度のデータベースを記憶部3に格納しておく必要がある。なお、本実施例では、インデックステーブルはデータベースに含まれるようにしたが、データベースとは別に記憶部3に記憶しておき、データベース管理部15を経由せずに読み書きを行うようにしてもよい。   Specifically, in the database of the present embodiment, for example, as shown in FIG. 2, accounting data (journal data, etc.), asset data, company information data, salary data, and the report creation unit 10 of the present embodiment An index table storing information about the created report data and the created report is stored. In the report creation unit 10 of the present embodiment, if the year in which the report is created is N, a database for N year (N year database) is used. Of these, accounting data (such as journal data), asset data, company information data, and salary data are data created by other financial applications. In addition, in the report preparation part 10, when there is no assumption that the report for the previous year or before is prepared, only the database for the current year may be stored in the storage part 3. For this reason, the data up to the previous year can be deleted or moved to another medium. When it is assumed that a report for the previous year or earlier is to be created, it is necessary to store in the storage unit 3 a database for the year that is expected to be created. In this embodiment, the index table is included in the database. However, the index table may be stored in the storage unit 3 separately from the database and read / written without going through the database management unit 15.

図3は、本実施例の財務アプリケーションシステムの構成例を示す図である。図3の例においては、財務アプリケーションシステムは、会計データの入力と修正などを行う仕訳データ処理装置と、資産データの入力と修正などを行う資産データ処理装置と、財務アプリケーションの共通項目を管理するマスタ管理装置と、会計データなどを用いて決算書を作成する決算書作成装置と、給与管理を行う給与管理装置と、申告書作成装置と、データベースの繰越処理を行う繰越管理装置と、で構成される。図3において、仕訳データ処理部21、資産データ処理部22,マスタ管理部23,決算書作成部24,給与管理部25,申告書作成部10,繰越管理部26は、それぞれ、仕訳データ処理装置、資産データ処理装置,マスタ管理装置,決算書作成装置,給与管理装置,申告書作成装置,繰越管理装置の制御部1上の制御手段を示している。   FIG. 3 is a diagram illustrating a configuration example of the financial application system according to the present embodiment. In the example of FIG. 3, the financial application system manages the common items of the financial application and the journal data processing apparatus that inputs and corrects accounting data, the asset data processing apparatus that inputs and corrects asset data, and the like. Consists of a master management device, a financial statement creation device that creates financial statements using accounting data, etc., a salary management device that performs salary management, a report creation device, and a carry-over management device that performs database carry-over processing Is done. In FIG. 3, the journal data processing unit 21, the asset data processing unit 22, the master management unit 23, the financial statement creation unit 24, the salary management unit 25, the report creation unit 10, and the carry-over management unit 26 are each a journal data processing device. The control means on the control unit 1 of the asset data processing device, master management device, financial statement creation device, salary management device, report creation device, and carry-over management device is shown.

たとえば、会計データは仕訳データ処理装置によって生成され、資産データは資産データ処理装置によって生成され、会社情報データはマスタ管理装置によって生成され、給与データは給与管理装置によって生成される。また、これらの各装置(財務アプリケーション装置の制御手段)は、それぞれお互いが作成したデータベース上の各データを参照する。また、はじめにデータを生成した装置以外の装置がそのデータに対して修正を行う場合もある。データベース管理部15が、これらのお互いに関連するデータの整合をとって管理している。また、データベース管理部15は、データベース上のデータを用いた簡易な計算処理や検索処理も行うことができる。   For example, accounting data is generated by a journal data processing device, asset data is generated by an asset data processing device, company information data is generated by a master management device, and salary data is generated by a salary management device. Each of these devices (control means of the financial application device) refers to each data on the database created by each other. In addition, a device other than the device that first generated data may correct the data. The database management unit 15 manages the data related to each other in a consistent manner. The database management unit 15 can also perform simple calculation processing and search processing using data on the database.

図4は、会社情報データの項目の一例を示す図である。また、図5は、会計データの一部である仕訳データの項目の一例を示す図である。図4に示すように、会社情報データは、会社コード,会社名称,住所(あるいは所在地),電話番号,代表者(あるいは代表者氏名),など財務管理を行う会社ごとの共通的な情報を含んでいる。図5に示すように、仕訳データは、仕訳の区分,日付,借方科目,貸方科目,金額,摘要の項目のデータを含んでいる。図4,図5は一例であり、データの項目はこれに限らず、その財務アプリケーションシステムに応じて必要な項目を設定すればよい。   FIG. 4 is a diagram illustrating an example of items of company information data. FIG. 5 is a diagram showing an example of journal data items which are a part of the accounting data. As shown in FIG. 4, the company information data includes common information for each company that conducts financial management, such as company code, company name, address (or address), telephone number, representative (or representative name), and the like. It is out. As shown in FIG. 5, the journal data includes data of journal entry category, date, debit item, credit item, amount, and summary item. 4 and 5 are examples, the data items are not limited to this, and necessary items may be set according to the financial application system.

また、本実施例においては、N年度のデータベースとして、N年度の申告書データ以外に、前年度申告書データ((N−1)年度の申告書データ)も記憶されている。本実施例では、前年度申告書データは、(N−1)年度からN年度への次年度繰り越しを行う際に、繰越管理部26によって、会計データなどと同時にN年度のデータベースとして記憶される。繰越管理部26の行う繰越処理については、後述する。なお、本実施例では、前年度申告書データのみを記載しているが、これに限らず、前々年度や前々前年度などのように任意の複数年度分の申告書データがあるようにしてもよい。   In the present embodiment, in addition to the N-year report data, the previous-year report data ((N-1) -year report data) is also stored as the N-year database. In the present embodiment, the previous year report data is stored as a database for N years simultaneously with accounting data and the like by the carry-over management unit 26 when carrying over from the (N-1) year to the N year. . The carry-over process performed by the carry-over manager 26 will be described later. In this example, only the previous year's report data is described, but this is not limiting, and there should be any multiple years of report data such as the previous year or the previous year. Also good.

なお、本実施例では、他の装置が生成したデータの例として、会計データ(仕訳データなど),資産データ,会社情報データ,給与データを例にあげたが、これ以外に申告書作成において参照するデータまたは連動させるデータをさらに追加してもよい。また、これらのデータの全てを含む必要はなく、たとえば、仕訳データのみとしてもよい。   In this example, accounting data (journal data, etc.), asset data, company information data, and salary data are given as examples of data generated by other devices. Further data to be linked or linked may be added. Further, it is not necessary to include all of these data, and for example, only journal data may be included.

つづいて、本実施例の申告書作成処理について説明する。本実施例の申告書作成装置において、申告書だけでなく、申告書に添付する書類,関連する書類も含めて申告書類として作成するものとし、以下作成する書類を総称して申告書とよぶこととする。たとえば、本実施例では、消費税申告,法人税申告,償却資産申告書を申告書作成処理の作成対象の申告種別とする。各々の申告種別は、さらに細分化される。たとえば、消費税申告については、さらに、確定申告書,中間申告書(予定納税),中間申告書(仮決算),修正確定申告書,修正中間申告書(仮決算)などの申告書の種類に細分化される。法人税申告については、さらに、確定申告書,中間申告書,予定申告書,修正申告書さらに法人税申告時の添付書類である勘定科目内訳明細書,法人事業概況説明書などの申告書の種類に細分化される。償却資産申告書は、細分化されないため種類も償却資産申告書とする。なお、本実施例においては、法人税申告に会社事業概況書を含めていないが、会社事業概況書も作成対象としてもよい。さらに、本実施例では消費税申告および法人税申告を例として説明しているが、他の申告書、例えば、地方税申告などでも実施可能である。   Next, the report creation process of this embodiment will be described. In the report preparation device of this embodiment, not only the declaration form but also the documents attached to the declaration form and related documents shall be prepared as declaration documents, and the documents to be created are collectively referred to as the declaration form. And For example, in this embodiment, a consumption tax return, a corporate tax return, and a depreciable asset return are set as the return types to be created in the return creation process. Each report type is further subdivided. For example, for consumption tax returns, it can be further classified into the types of returns such as final return, interim return (planned tax payment), intermediate return (provisional settlement), revised final return, and revised interim return (provisional settlement). Subdivided. For corporate income tax returns, the types of tax returns such as final tax return, interim tax return, scheduled tax return, amendment tax return, account breakdown statement, corporate business overview, etc., which are attached to the corporate tax return It is subdivided into. Since the depreciable asset declaration is not subdivided, the type is also depreciable asset declaration. In this embodiment, the corporate tax summary is not included in the corporate tax return, but the corporate business summary may also be created. Further, in this embodiment, the consumption tax return and the corporate tax return are described as examples. However, other tax returns such as a local tax return can also be implemented.

図6は、本実施例の申告書作成処理の一例を示すフローチャートである。図6に示すように、まず、操作者の入力部2の操作により本実施例の申告書作成部10が起動し、申告書作成処理が開始される。申告書作成処理が開始されると、集計条件設定部11が、表示部4に申告書の種類(申告書類の種類)の入力を促す画面を表示し、入力部2からの操作者による入力を受け付ける(ステップS1)。図7は、申告書の種類の入力画面の一例を示す図である。図7は、消費税申告書の確定申告書を選択するときの例であり、段階的に選択できるような入力受付画面としている。この入力受付画面は一例であり、申告書作成装置の作成対象の申告書が選択できるようなものであればどのようなものでもよい。   FIG. 6 is a flowchart showing an example of a report creation process according to the present embodiment. As shown in FIG. 6, first, the report creation unit 10 of the present embodiment is activated by an operation of the input unit 2 by the operator, and the report creation process is started. When the report creation process is started, the aggregation condition setting unit 11 displays a screen for prompting the input of the type of report (type of report document) on the display unit 4, and the operator inputs from the input unit 2. Accept (step S1). FIG. 7 is a diagram showing an example of a report type input screen. FIG. 7 shows an example when a final tax return for a consumption tax return is selected, and an input reception screen that can be selected step by step. This input reception screen is an example, and any screen may be used as long as the report to be created by the report creation apparatus can be selected.

つぎに、集計条件設定部11は、ステップS1で入力された申告書の種類に応じて表示部4に集計条件の入力を促す画面を表示し、入力部2からの操作者による集計条件の入力を受け付ける(ステップS2)。このときに入力される集計条件の項目は、集計期間,作成方法(提出済みの申告書を元に作成するか否か),種類別集計条件である。集計期間,作成方法は、申告書の種類により指定が必要となる項目である。種類別集計条件は、申告書の種類ごとに設定するその申告書類の作成のために必要な条件である。これらの集計条件の入力を促す画面を申告書の種類ごとにあらかじめ設定しておくこととする。   Next, the totaling condition setting unit 11 displays a screen for prompting the input of the totaling condition on the display unit 4 according to the type of the report entered in step S1, and the input of the totaling condition by the operator from the input unit 2 is performed. Is received (step S2). The items of the totaling condition input at this time are a totaling period, a creation method (whether or not to create based on a submitted report), and a totaling condition for each type. The aggregation period and creation method are items that need to be specified depending on the type of return. The type-by-type aggregation condition is a condition necessary for creating the report document set for each report type. A screen that prompts the user to input these aggregation conditions is set in advance for each type of return.

図8−1,8−2に、ステップS2において表示される消費税申告の確定申告書および法人税申告の確定申告書の集計条件の入力受け付け画面の一例を示す。図8−1に示す画面では、集計期間,申告方法,計算方式,仕入控除税額に関する明細書の税処理,科目明細書の集計設定,申告書・付表の修正のそれぞれの項目について入力を受け付ける。図8−1のうち、集計期間以外の項目は、上述した種類別集計条件である。   FIGS. 8A and 8B show an example of a screen for accepting input of aggregate conditions for the final tax return for consumption tax and the final tax return for corporate tax displayed in step S2. In the screen shown in Fig. 8-1, input is accepted for each item of aggregation period, declaration method, calculation method, tax processing of statement regarding purchase deduction tax amount, aggregation setting of subject statement, and correction of declaration / attachment table . In FIG. 8A, items other than the total period are the above-described type-specific total conditions.

図8−2の画面では、作成方法,作成条件,減価償却資産の作成方法のそれぞれの項目について入力をうけつける。作成方法としては、提出済みの申告書を元に作成する(提出済みの申告書のコピーを編集して作成する)か否かを選択するものとし、提出済みの申告書を元に作成する場合には、さらにどの申告書を作成元とするかを選択する。このときの作成元の申告書は、後述の申告書インデックステーブルを参照して提出済みの申告書のなかから選択できるようにする。これらの表示画面および表示項目は一例であり、申告書作成に必要な条件が入力されるようになっていればどのような画面としてもよい。   In the screen of FIG. 8-2, input is made for each item of creation method, creation condition, and creation method of depreciable assets. As a preparation method, select whether to create based on the submitted declaration (edit a copy of the submitted declaration) or not, and create based on the submitted declaration In addition, the user selects which report is to be created. At this time, the original report can be selected from among the submitted reports with reference to a report index table described later. These display screens and display items are merely examples, and any screen may be used as long as necessary conditions for preparing the report are input.

つぎに、集計条件設定部11は、記憶部3のインデックステーブルを検索し、入力された申告書の種類および集計期間に対応する申告書データがインデックステーブルに存在するか否かを判定する(ステップS3)。図9は、本実施例のインデックステーブルの一例を示す図である。インデックステーブルは記憶部3に保持されており、申告書作成装置の初回の起動時においては、項目欄のみが生成されているものとする。インデックスデータは、図9に示すように、作成された申告書を識別するためのID(IDentifier),申告書の種別,申告書の種類,集計期間(集計開始年月日,集計終了年月日),提出済みであるか否かを示すデータ状態などの項目を含む。   Next, the tabulation condition setting unit 11 searches the index table in the storage unit 3 and determines whether or not the report data corresponding to the input report type and the tabulation period exists in the index table (step). S3). FIG. 9 is a diagram illustrating an example of the index table of the present embodiment. It is assumed that the index table is held in the storage unit 3 and only the item column is generated when the report creation apparatus is activated for the first time. As shown in FIG. 9, the index data includes an ID (IDentifier) for identifying the created report, the type of the report, the type of the report, and the counting period (counting start date, counting end date) ), And items such as data status indicating whether or not it has been submitted.

また、本実施例においては、前述のようにインデックステーブルにおいてデータ状態が「提出済み」となっている申告書をステップS2の作成方法の入力画面で作成元として選択できるようにしている。提出済みの申告書のみを作成元とするのは、提出済みでない申告書を作成元としてデータを作成すると、未修正の誤ったデータなどを含む可能性があるためである。データ状態の項目については、初回にIDが割り当てられた時点では、「編集中」と書き込むこととし、その申告書が提出された時点で、「提出済み」に変更する。制御部1の標準機能などによって、記憶部3のインデックスデータを読み出して更新することにより、提出済みに変更する。たとえば、制御部1の標準機能であるエディタにより記憶部3からインデックスデータを読み出し、直接編集してふたたび記憶部3に書き込む。なお、ここではデータ状態を「提出済み」と「編集中」としたが、提出済みか否かを示す情報は、フラグに限らずどのようなものを用いてもよい。   Further, in the present embodiment, as described above, a report whose data state is “submitted” in the index table can be selected as a creation source on the creation method input screen in step S2. The reason that only the submitted report is created is that if data is created using a report that has not been submitted, uncorrected erroneous data may be included. For the data status item, “editing” is written when the ID is assigned for the first time, and it is changed to “submitted” when the report is submitted. The index data in the storage unit 3 is read and updated by the standard function of the control unit 1 or the like, thereby changing to submitted. For example, the index data is read from the storage unit 3 by an editor which is a standard function of the control unit 1, directly edited, and written again in the storage unit 3. Although the data states are “submitted” and “editing” here, the information indicating whether or not the data has been submitted is not limited to the flag, and any information may be used.

入力された申告書の種類および集計期間に対応する申告書が申告書インデックステーブルに存在すると判断した場合(ステップS3 Yes)には、集計条件設定部11は、さらに、ステップS2で、作成方法として提出済みの申告書を元にすると入力されたか否かを判断する(ステップS6a)。提出済みの申告書を元にすると入力されたと判断した場合(ステップS6a Yes)にはステップS8へすすむ。提出済みの申告書を元にしないと入力されたと判断した場合(ステップS6a No)には、集計条件設定部11は、その対応する申告書の申告書データをデータベース管理部15経由で記憶部3のN年度データベースから読み出し、記憶部3に保持する(ステップS4)。そして、集計・連動部12は、集計条件設定部11から、入力された申告書の種類を受け取り、その申告書の作成に用いるN年度データベース上の対象データ(その申告書の作成に使用する連動データおよび参照データ)を用いて集計を行い、集計結果に基づいて記憶部3に保持された申告書データを更新して記憶部3の一次使用領域に書き込む(ステップS5)。   If it is determined that there is a report corresponding to the type of the input report and the total period in the report index table (Yes in step S3), the total condition setting unit 11 further creates a creation method in step S2. It is determined whether or not an input has been made based on the submitted report (step S6a). If it is determined that the input has been made based on the submitted report (Yes in step S6a), the process proceeds to step S8. When it is determined that the input is made based on the submitted report (No in step S6a), the aggregation condition setting unit 11 stores the report data of the corresponding report via the database management unit 15 in the storage unit 3 Are stored in the storage unit 3 (step S4). Then, the aggregation / interaction unit 12 receives the type of the input report from the aggregation condition setting unit 11 and uses the target data on the N-year database used for the creation of the declaration (the interlock used for the creation of the declaration). Data and reference data), and the report data held in the storage unit 3 is updated and written in the primary use area of the storage unit 3 (step S5).

ここで、ステップS5における集計について具体的に説明する。まず、財務アプリケーションシステムの他の装置でも使用が想定されるような共通的な処理についてデータベース管理部15において、集計条件ごとにモジュール化をしておく。そして、モジュール化されている処理については、集計・連動部12が集計を行わずに、データベース管理部15が集計して、その結果を集計・連動部12に送出する。具体的には、まず、集計・連動部12は、対象データの取得指示または対象データの集計結果を取得するための集計条件の指示をデータベース管理部15に送る。データベース管理部15は、対象データの取得の指示である場合には、指示された対象データを読み出して集計・連動部12に送出する。対象データの集計結果を取得するための集計条件の指示であった場合には、その集計条件に対応するそのモジュールを実行することにより、集計結果を算出して、その集計結果を集計・連動部12に送出する。   Here, the aggregation in step S5 will be specifically described. First, the database management unit 15 modularizes common processes that are assumed to be used in other apparatuses of the financial application system for each aggregation condition. For the modularized processing, the totaling / interlocking unit 12 does not perform totalization, but the database management unit 15 totals and sends the result to the totaling / interlocking unit 12. Specifically, first, the aggregation / linkage unit 12 sends an acquisition instruction for target data or an instruction for a totaling condition for acquiring the aggregation result of the target data to the database management unit 15. The database management unit 15 reads the instructed target data and sends it to the tabulation / interlocking unit 12 when it is an instruction to acquire the target data. If the aggregation condition is an instruction for obtaining the aggregation result of the target data, the aggregation result is calculated by executing the module corresponding to the aggregation condition, and the aggregation result is calculated by the aggregation / linkage unit. 12 to send.

そして、共通的な集計処理以外の集計処理は、集計・連動部12が、データベース管理部15から取得した対象データ,取得した集計結果を用いて行う。集計・連動部12の集計処理の方法(集計を行う算出式など)については、あらかじめ申告書ごとに定められており、集計・連動部12が保持しているものとする。   The tabulation processing other than the common tabulation processing is performed by the tabulation / linkage unit 12 using the target data acquired from the database management unit 15 and the acquired tabulation result. The aggregation processing method (calculation formula for performing aggregation) of the aggregation / linkage unit 12 is determined in advance for each report and is held by the aggregation / linkage unit 12.

たとえば、消費税申告書の作成においては、「仕入れ金額上位10件の明細」を求めるが、これについては、データベース管理部15が集計を行う。集計・連動部12は、「仕入れ金額上位10件の明細」の取得をデータベース管理部15に指示し、データベース管理部15は、N年度データベースの会計データを検索して、仕入れ金額の上位10件に相当する仕訳データなどを収集して、集計・連動部12に出力する。   For example, in the creation of the consumption tax return, “details of the top 10 purchase amounts” are calculated, and the database management unit 15 tabulates them. The aggregation / linkage unit 12 instructs the database management unit 15 to acquire “details of the top 10 purchase amounts”, and the database management unit 15 searches the accounting data in the N-year database and searches for the top 10 purchase amounts. Is collected and output to the tabulation / interlocking unit 12.

なお、申告書の種類ごとに対象データが異なるが、対象データと申告書種類の対応は集計・連動部12が保持しているものとする。なお、対象データと申告書種類の対応は、記憶部3にテーブルを設けて、テーブルに対象データと申告書種類の対応を格納しておき、そのテーブルを参照して対応する対象データを取得するようにしてもよい。   It should be noted that the target data differs depending on the type of return, but the correspondence between the target data and the return type is assumed to be held by the tabulation / linkage unit 12. The correspondence between the target data and the report type is provided in a table in the storage unit 3, the correspondence between the target data and the report type is stored in the table, and the corresponding target data is obtained by referring to the table. You may do it.

一方、入力された申告書の種類および集計期間に対応する申告書が申告書インデックステーブルに存在しないと判断した場合(ステップS3 No)には、集計条件設定部11は、さらに、ステップS2で、作成方法として提出済みの申告書を元にすると入力されたか否かを判断する(ステップS6)。提出済みの申告書を元にしないと入力されたと判断した場合(ステップS6 No)には、空の申告書データ(項目の設定のみで各項目の内容が空白のデータ)を作成して記憶部3に保持し、その申告書データに新たなIDを割り当る(ステップS7)。そしてインデックスデータに、レコード追加し、割り当てたID,ステップS1およびステップS2で入力された内容を書き込み、ステップS5にすすむ。データ状態については、「編集中」と書き込む。   On the other hand, when it is determined that the report corresponding to the type of the input report and the total period does not exist in the report index table (No in step S3), the total condition setting unit 11 further performs step S2. It is determined whether or not an input is made based on the submitted report as a creation method (step S6). If it is determined that the input has been made based on the submitted report (No in step S6), empty report data (data for each item is blank with only item settings) is created and stored. 3 and assigns a new ID to the report data (step S7). Then, a record is added to the index data, and the assigned ID and the contents input in steps S1 and S2 are written, and the process proceeds to step S5. For the data state, “editing” is written.

提出済みの申告書を元にすると入力されたと判断した場合(ステップS6 Yes)には、ステップS2において元にする申告書として選択された申告書のデータをデータベース管理部15経由で、記憶部3のN年度データベースから読み出し、記憶部3に保持し(ステップ8)、ステップS5にすすむ。   If it is determined that the input has been made based on the submitted report (Yes in Step S6), the data of the report selected as the original report in Step S2 is stored in the storage unit 3 via the database management unit 15. Is stored in the storage unit 3 (step 8), and the process proceeds to step S5.

ステップS5が終了すると、編集部13が、記憶部3からステップS5で作成された申告書データを読み出し、読み出したデータを編集用のフォーマットに成形して、表示部4に表示する(ステップS9)。つぎに、編集部13は、操作者による入力部2の操作により編集内容の入力を受け付け、入力された内容に基づいて記憶部3の一次記憶領域に記憶されている申告書データを更新する(ステップS10)。   When step S5 ends, the editing unit 13 reads the report data created in step S5 from the storage unit 3, forms the read data into an editing format, and displays it on the display unit 4 (step S9). . Next, the editing unit 13 accepts input of editing content by an operation of the input unit 2 by an operator, and updates report data stored in the primary storage area of the storage unit 3 based on the input content ( Step S10).

つぎに、終了処理部14は、終了,条件変更,再集計,登録のいずれかの選択を促す画面を表示部4に表示して操作者の入力部2の操作による選択を受け付ける(ステップS11)。終了が選択された場合(ステップS11 終了)には、さらに、終了処理部14は、「登録して終了」か「登録せずに終了」かの選択を促す画面を表示部4に表示し、操作者の入力部2の操作による選択を受け付ける(ステップS12)。「登録して終了」が選択された場合(ステップS12 Yes)には、終了処理部14は、さらに提出済みとするか否かの選択を促す画面を表示部4に表示して、操作者の入力部2の操作による選択を受け付ける(ステップS13)。提出済みとしないと選択された場合(ステップS13 No)には、ステップS15へすすむ。提出済みとすると選択された場合(ステップS13 Yes)、登録した申告書に対応する記憶部3のインデックスデータのデータ状態欄を提出済みに更新する(ステップS14)。そして、終了処理部14は、記憶部3の一次記憶領域に記憶された申告書データをデータベース管理部15経由でデータベースに書き込む(ステップS15)。   Next, the termination processing unit 14 displays a screen prompting selection of termination, condition change, recounting, or registration on the display unit 4 and accepts selection by an operation of the operator's input unit 2 (step S11). . When the end is selected (end of step S11), the end processing unit 14 further displays on the display unit 4 a screen prompting selection of “end after registration” or “end without registration”. The selection by the operation of the operator's input unit 2 is accepted (step S12). When “Register and end” is selected (Yes in step S12), the end processing unit 14 further displays on the display unit 4 a screen that prompts the user to select whether or not the submission has been completed. The selection by the operation of the input unit 2 is accepted (step S13). If it is selected that it has not been submitted (No at Step S13), the process proceeds to Step S15. When it is selected that it has been submitted (step S13 Yes), the data status column of the index data in the storage unit 3 corresponding to the registered report is updated to submitted (step S14). Then, the end processing unit 14 writes the report data stored in the primary storage area of the storage unit 3 into the database via the database management unit 15 (step S15).

また、ステップS12で、操作者の入力部2の操作により「登録せずに終了」と選択された場合(ステップS12 No)には、そのまま終了する。なお、この例ではステップS12とステップS14を別々にしたが、これらをひとつにして、「登録して終了」、「登録せずに終了」および「提出済みとする」、「提出済みとしない」の2組の選択をひとつの画面で入力できるようにしてもよい。   In addition, if “end without registration” is selected by the operator's operation of the input unit 2 in step S12 (No in step S12), the process ends as it is. In this example, step S12 and step S14 are separated, but these are combined into one, “Register and end”, “Exit without registration”, “Present”, and “Not submitted” These two sets of selections may be entered on a single screen.

ステップS11において、登録を行うと選択された場合(ステップS11 登録)には、さらに提出済みとするか否かの選択を促す画面を表示部4に表示して、操作者の入力部2の操作による選択を受け付ける(ステップS13a)。提出済みとしないと選択された場合(ステップS13a No)には、ステップS15aへすすむ。提出済みとすると選択された場合(ステップS13a Yes)、登録した申告書に対応する記憶部3のインデックスデータのデータ状態欄を提出済みに更新する(ステップS14a)。そして、終了処理部14は、記憶部3の一次記憶領域に記憶された申告書データをデータベース管理部15経由でデータベースに書き込む(ステップS15a)。そしてステップS10に戻りステップS10以降の処理を再度行う。   In step S11, if it is selected that registration is to be performed (registration in step S11), a screen prompting the user to select whether or not to submit is further displayed on the display unit 4, and the operator operates the input unit 2 The selection by is accepted (step S13a). If it is selected that the submission has not been made (No at Step S13a), the process proceeds to Step S15a. When it is selected that it has been submitted (step S13a Yes), the data status column of the index data in the storage unit 3 corresponding to the registered report is updated to submitted (step S14a). Then, the termination processing unit 14 writes the report data stored in the primary storage area of the storage unit 3 into the database via the database management unit 15 (step S15a). Then, returning to step S10, the processing after step S10 is performed again.

また、ステップS11において、集計条件変更を行うと選択された場合(ステップS11 条件変更)には、ステップS2に戻りステップS2以降の処理を再度行う。再集計を行うと選択された場合(ステップS11 再集計)には、ステップS5に戻りステップS5以降の処理を再度行う。   In step S11, when it is selected that the aggregation condition is changed (condition change in step S11), the process returns to step S2 and the processes in and after step S2 are performed again. If it is selected that re-aggregation is performed (step S11 re-aggregation), the process returns to step S5 and the processes in and after step S5 are performed again.

なお、図6には、印刷の処理については記載していないが、たとえば、ステップS9において、終了処理部14が、終了,条件変更,再集計,登録のいずれかの選択以外に、印刷実行の指示を受け付ける画面表示を行い、操作者が入力部2の操作により印刷実行の指示のあった場合に、申告書データを所定のフォーマットで印刷するようにすればよい。また、これに限らず、他のステップで印刷を実行できるようにしてもよい。   Although FIG. 6 does not describe the printing process, for example, in step S <b> 9, the termination processing unit 14 performs the printing execution in addition to selecting one of termination, condition change, recounting, and registration. The screen for accepting the instruction may be displayed, and the report data may be printed in a predetermined format when the operator is instructed to execute printing by operating the input unit 2. Further, the present invention is not limited to this, and printing may be executed in other steps.

なお、本実施例においては、元にする申告書を提出済みの申告書のみとしたが、これに限らず、提出済みでない申告書も含めて作成済みの申告書を元にできるようにしてもよい。この場合には、ステップS2において、提出済みの申告書のかわりに作成済みの申告書のなかから元にする申告書を選択するようにすればよい。   In this example, only the report that has been submitted is used as the original report. However, the present invention is not limited to this. Good. In this case, in step S2, instead of the submitted report, the original report may be selected from the prepared reports.

つづいて、本実施例の繰越管理部26について説明する。図10は、本実施例の繰越管理部26の機能構成例を示す図である。図10に示すように、本実施例の繰越管理部26は、繰越の種類などの入力を受け付ける入力受付部31と、次年度繰越の処理を行う繰越処理部32と、再繰越の処理を行う再繰越処理部33と、で構成される。   Next, the carry-over management unit 26 of this embodiment will be described. FIG. 10 is a diagram illustrating a functional configuration example of the carry-over management unit 26 of the present embodiment. As illustrated in FIG. 10, the carry-over management unit 26 according to the present embodiment performs an input reception unit 31 that receives an input such as a carry-over type, a carry-over processing unit 32 that performs a carry-over process for the next year, and a re-carry-over process. And a re-carry processing unit 33.

本実施例においては、次年度繰越と再繰越の2つの繰越に対応する処理を行う。次年度繰越は、たとえば、年度初めにその年度の会計データの入力をはじめて行うとき、または、年度末に次年度の財務処理を行うとき、などに行う繰越処理である。処理の内容としては、N−1年度のデータのうちN年度に必要な全てのデータを繰越処理する。たとえば、会社情報は、年度によって変更されるものではないため、そのまま(N−1)年度の内容が複写される。また、たとえば、会計データに関しては、(N−1)年度の期末の残高が、N年度の期首残高として複写される。どのデータを繰越すかについては、あらかじめ定めておくこととする。   In the present embodiment, processing corresponding to two carry-overs of carry-over and re-carry-over in the next year is performed. The carry-over for the next year is, for example, carry-over processing that is performed when accounting data for the current year is input for the first time at the beginning of the fiscal year, or when financial processing for the next fiscal year is performed at the end of the fiscal year. As the contents of the process, all the data necessary for the N year out of the data for the N-1 year is carried over. For example, since the company information is not changed every year, the contents of the (N-1) year are copied as they are. For example, for accounting data, the balance at the end of (N-1) year is copied as the beginning balance of N year. It is decided in advance which data will be carried over.

このような次年度繰越処理は従来の財務アプリケーションでも行われてきたが、次年度の財務処理に必要なデータのみが複写等されるのが一般的である。本実施例においては、N年度の財務処理に必要なデータのみでなく、申告書作成システムで作成された(N−1)年度の申告書データについても、前年度申告書データとしてN年度のデータベースに複写する。このように前年度申告書データを繰越と同時にN年度データベースに含めてしまうことにより、申告書の作成を、前年度の申告書データを元に行う場合と、今年度の申告書データを元に行う場合とで操作を統一することができ、運用が簡易になる。   Such carry-forward processing for the next year has been performed in the conventional financial application, but only data necessary for the financial processing for the next year is generally copied. In this embodiment, not only the data necessary for financial processing in N year but also the (N-1) year report data created by the report creation system is used as the previous year report data in the N year database. Copy to. In this way, by including the previous year's tax return data in the N year database at the same time as carrying forward, the tax return is created based on the previous year's tax return data and the current year's tax return data. The operation can be unified between the case of performing and the operation becomes simple.

一方、再繰越処理は、決算書を提出するなどにより、決算処理が確定した時点で行う繰越処理であり、次年度繰越の時点では不確定であった項目を確定された数値に置き換えるための繰越処理である。再繰越で書き換えるデータは、本実施例においては、会計データ,資産データ,給与データ,前年度申告書データである。会社情報データについては、再繰越処理によって変わらないために再繰越の項目とはしていない。   On the other hand, the reversal process is a carry-forward process that is performed when the settlement process is finalized, such as by submitting a financial statement. It is processing. In this embodiment, the data to be rewritten by re-forwarding is accounting data, asset data, salary data, and previous year declaration data. The company information data is not a re-forwarding item because it is not changed by the re-forwarding process.

なお、再繰越を行うデータは、これに限らず、その財務アプリケーションシステムに応じて、適切に設定すればよい。たとえば、会社情報データに再繰越で変わる可能性のある項目がある場合などには、会社情報データも再繰越の対象としてもよい。   The data to be carried forward again is not limited to this, and may be set appropriately according to the financial application system. For example, if there is an item in the company information data that may change due to re-forwarding, the company information data may be subject to re-forwarding.

図11は、本実施例の繰越管理部26が行う繰越処理の一例を示すフローチャートである。まず、操作者の操作により、繰越管理部26が起動される。そして、図11に示すように、入力受付部31が、繰越元のデータベースの入力を促す画面を表示し、操作者の入力部2による入力を受付ける(ステップS21)。   FIG. 11 is a flowchart illustrating an example of a carry-over process performed by the carry-over management unit 26 according to the present embodiment. First, the carry-over management unit 26 is activated by the operation of the operator. Then, as shown in FIG. 11, the input receiving unit 31 displays a screen that prompts input of the carry-over source database, and receives input from the operator input unit 2 (step S <b> 21).

つぎに、入力受付部31が、次年度繰越か再繰越かの選択を促す画面を表示部4に表示し、操作者の入力部2による操作による入力を受付ける(ステップS22)。そして、入力受付部31は、次年度繰越の選択を受付けた場合(ステップS22 次年度繰越)には、繰越処理部32に次年度繰越を行うよう指示し、繰越処理部32は、(N−1)年度データベースから、あらかじめ定められた次年度繰越の対象のデータを読み出し、記憶部3の一次記憶領域に保持する(ステップS23)。そして、繰越処理部32は、データベース管理部15経由でN年度データベースを作成して、記憶部3に保持したデータをN年度データベースに書き込む(ステップS24)。   Next, the input receiving unit 31 displays a screen for prompting selection of whether to carry over the next year or to carry over again on the display unit 4, and receives an input by an operation by the input unit 2 of the operator (step S22). When the input acceptance unit 31 accepts the selection of carry-over for the next year (step S22, carry-over to the next year), the carry-in processing unit 32 instructs the carry-over processing unit 32 to carry over the next year. 1) Read data for the next year carry-over determined in advance from the year database and store it in the primary storage area of the storage unit 3 (step S23). Then, the carry-over processing unit 32 creates an N-year database via the database management unit 15 and writes the data held in the storage unit 3 to the N-year database (step S24).

一方、再繰越の選択を受付けた場合(ステップS22 再繰越)には、入力受付部31は、繰越先データベースの選択を促す画面を表示部4に表示し、操作者の入力部2による入力を受付け、再繰越処理部33に再繰越を行うよう指示する(ステップS25)。再繰越処理部33は、ステップS21で指定されたデータベースから、会社情報以外のデータを読み出し、記憶部3の一次記憶領域に保持する(ステップS26)。そして、再繰越処理部33は、データベース管理部15経由で記憶部3に保持したデータをステップS25で選択されたデータベースの対応する部分に上書きする(ステップS27)。   On the other hand, when the selection of re-forwarding is accepted (step S22, re-forwarding), the input receiving unit 31 displays a screen for prompting selection of the carry-over destination database on the display unit 4 and the operator's input unit 2 inputs the screen. Accept and instruct the re-carry processing unit 33 to perform re-carry (step S25). The re-forwarding processing unit 33 reads data other than the company information from the database specified in step S21 and holds it in the primary storage area of the storage unit 3 (step S26). Then, the re-forwarding processing unit 33 overwrites the data held in the storage unit 3 via the database management unit 15 on the corresponding part of the database selected in step S25 (step S27).

なお、ここでは、繰越管理部26を、申告書作成部10とは独立した装置の制御手段として説明したが、これに限らず、申告書作成部10と繰越管理部26を1つの装置の制御手段として統合してもよい。そして、統合した装置の起動時に、申告書作成処理と繰越処理のどちらを行うかを選択できるようにすればよい。   Here, the carry-over management unit 26 has been described as a device control unit independent of the report creation unit 10. However, the present invention is not limited to this, and the report creation unit 10 and the carry-over management unit 26 are controlled by one device. You may integrate as a means. Then, it is only necessary to select whether to perform the report creation process or the carry-over process when the integrated apparatus is activated.

また、本実施例においては、共通的な管理を行うデータベース管理部15を用いて、データベースの管理および共通的な集計を行うようにしたが、データベース管理部15を申告書作成部10のなかに含むようにしてもよい。   In this embodiment, the database management unit 15 that performs common management is used to perform database management and common tabulation, but the database management unit 15 is included in the report creation unit 10. It may be included.

このように、本実施例においては、申告書作成に関係する財務アプリケーションシステムにおいて、各装置は、生成する財務データを年度単位で管理するようにし、繰越管理部が、次年度繰越および再繰越においてN年度のデータベースには(N−1)年度の申告書データ(前年度申告書データ)を含んで繰越すようにした。そして、申告書作成システムにおいては、前年度申告書データを含む申告書データを元に新たな申告書を作成できるようにした。このため、申告書作成処理において、関連する財務データの内容の反映と繰越処理を簡易な運用で実現することができる。また、年度管理としているため、集計方法や様式の整合がとりやすく、煩雑な様式管理を不要とすることができる。   As described above, in this embodiment, in the financial application system related to the report preparation, each device manages the generated financial data on a year-by-year basis. The N year database includes the (N-1) year report data (previous year report data) and carries it over. And in the report creation system, a new report can be created based on the report data including the previous year's report data. For this reason, in the report creation process, the reflection of the contents of the related financial data and the carry-over process can be realized with a simple operation. In addition, since yearly management is used, it is easy to match the counting methods and styles, and complicated style management can be eliminated.

図12は、実施例2の申告書作成部10aの機能構成例を示すブロック図である。本実施例の申告書作成部10aは、図1と同様の計算機システム上で動作する。また、本実施例の財務アプリケーションシステムの構成例は、図3において申告書作成部10を申告書作成部10aに替える以外は、実施例1と同様である。図12に示すように、本実施例の申告書作成部10aは、図2の申告書作成部10に、スナップショット処理部34を追加しているが、それ以外は実施例1の申告書作成部10と同様である。実施例1と同様の機能のものは、同一の符号を付して説明を省略する。   FIG. 12 is a block diagram illustrating a functional configuration example of the report creation unit 10a according to the second embodiment. The report creation unit 10a of the present embodiment operates on the same computer system as in FIG. The configuration example of the financial application system of the present embodiment is the same as that of the first embodiment except that the report creation unit 10 is replaced with the report creation unit 10a in FIG. As shown in FIG. 12, the report creation unit 10a of the present embodiment adds a snapshot processing unit 34 to the report creation unit 10 of FIG. 2, but otherwise creates the declaration form of the first embodiment. This is the same as the unit 10. Components having the same functions as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

本実施例における処理は、スナップショット処理以外は、実施例1と同様である。以下、実施例1と異なる部分のみ説明する。   The processing in this embodiment is the same as that in the first embodiment except for the snapshot processing. Only the parts different from the first embodiment will be described below.

まず、本実施例のスナップショットデータについて説明する。本実施例のスナップショットデータは、申告書の種類ごとに、作成済みの申告書に対して、その申告書を作成した時点のデータベース上の申告書作成に関連するデータ(会計データなど)を保存したデータである。申告書の作成時には、前述のとおり、会計データなど他の装置の生成したデータベース上のデータを用いる。一方、会計データなどは、日々更新されており、過去に作成した申告書に対して、その申告書が元にした会計データそのものを確認することができない。したがって、元になる会計データなどを参照したい場合には、その時点のデータを保存しておく必要がある。スナップショットデータは、そのためのデータである。なお、本実施例では、スナップショットデータとして申告書作成に関連するデータを保存することにしたが、これに加えてその申告書の申告書データも保存するようにしてもよい。なお、本実施例では、スナップショットデータ,Hash値管理テーブルをデータベース管理部15経由でデータベースに記憶することとしたが、これに限らず、データベースとは別に記憶部3に記憶するようにしてもよい。   First, snapshot data of this embodiment will be described. For the snapshot data of this example, data (accounting data, etc.) related to the creation of the declaration on the database at the time when the declaration is created is saved for each type of declaration. Data. As described above, data on a database generated by another device such as accounting data is used when creating a report. On the other hand, accounting data and the like are updated daily, and it is not possible to confirm the accounting data itself based on a report created in the past. Therefore, when it is desired to refer to the original accounting data, it is necessary to save the data at that time. The snapshot data is data for that purpose. In this embodiment, data related to the creation of the declaration form is saved as snapshot data. However, in addition to this, the declaration form data of the declaration form may be saved. In this embodiment, the snapshot data and the hash value management table are stored in the database via the database management unit 15. However, the present invention is not limited to this, and may be stored in the storage unit 3 separately from the database. Good.

本実施例においては、申告書作成処理が開始された時点で、その時点のデータベース上の対象データをコピーし、スナップショットデータとしてデータベースに保存する。スナップショットデータは、作成された申告書ごとに保存される。しかし、1つの申告書の作成のための申告書作成処理が数日にわたって行われる可能性もあり、処理の開始時点でスナップショットデータを生成すると、申告書作成処理のたびに生成されることになり1つの申告書に対してもスナップショットデータが複数作成されてしまう。   In this embodiment, when the report creation process is started, the target data on the database at that time is copied and stored in the database as snapshot data. Snapshot data is stored for each created report. However, there is a possibility that the declaration creation process for creating one declaration may be performed over several days. If snapshot data is generated at the start of the process, it is generated each time the declaration creation process is performed. That is, a plurality of snapshot data are created for one report.

このため、本実施例においては、申告書作成に関連するデータ(以下、対象データという)ごとに、同一の申告書に前回のスナップショットデータに記憶されているものから更新されているか否かを判断し、更新されていない場合はスナップショットデータは新たに作成しない。スナップショットを生成する時点で、対象データのHash値を算出する。そして、記憶されているHash値と算出したHash値が異なる分類のデータのみを保存するようにする。   For this reason, in this embodiment, whether or not the data related to the preparation of the report (hereinafter referred to as target data) has been updated from the data stored in the previous snapshot data in the same report. If it is determined that the snapshot data has not been updated, no new snapshot data is created. At the time when the snapshot is generated, the Hash value of the target data is calculated. And only the data of the classification from which the stored Hash value differs from the calculated Hash value are saved.

具体的には、本実施例では、作成された申告書に対して割り当てられているIDと対象データのHash値を関連付けて記憶するものとする。このIDは、実施例1で説明した図6の申告書作成処理のステップS7において割り当てられるID(インデックステーブルに記憶されるID)である。図13は、IDごとに対象データとHash値を管理するHash値管理テーブルの一例を示す図である。このように、IDごとに、そのIDに対応する対象データについてそれぞれHash値が記憶されている。   Specifically, in this embodiment, the ID assigned to the created report and the hash value of the target data are stored in association with each other. This ID is the ID (ID stored in the index table) assigned in step S7 of the report creation process of FIG. 6 described in the first embodiment. FIG. 13 is a diagram illustrating an example of a hash value management table for managing target data and hash values for each ID. Thus, for each ID, a Hash value is stored for the target data corresponding to the ID.

また、大きな会計データのような場合には、月ごとに分割したデータごとにHash値を生成するようにして、スナップショットデータを保存する処理時間を短くすることもできる。さらに、月や区分などで対象データを細分化し、それぞれについてHash値を保存することで、更新の対象となるデータを細かく設定できるようになる。それにより、対象データ内にある不要なデータを減らせるので、処理時間の短縮や、少ないリソースで実行することができるようになる。その場合、図13において、月や区分などを表す列を追加してもよい。   Further, in the case of large accounting data, the processing time for storing snapshot data can be shortened by generating a Hash value for each data divided every month. Furthermore, the data to be updated can be set in detail by subdividing the target data by month or category and storing the hash value for each. Thereby, unnecessary data in the target data can be reduced, so that the processing time can be shortened and the processing can be executed with less resources. In that case, in FIG. 13, you may add the column showing a month or a division.

図14は、本実施例のスナップショットデータの保存および更新に関する処理の一例を示すフローチャートである。まず、スナップショット処理部34は、集計条件設定部11から申告書作成処理の対象として入力された申告書のIDを取得する(ステップS31)。具体的には、申告書作成部10aの起動後に、集計条件設定部11が図6のステップS1〜ステップS3の処理を行い、ステップS3でインデックステーブルに存在する申告書であると判断された場合には、インデックステーブルに記憶されているその申告書に対応するIDをスナップショット処理部34に渡す。ステップS3でインデックステーブルに存在する申告書でないと判断された場合には、集計条件設定部11はステップS7のIDの割り当て後に、その割り当てたIDをスナップショット処理部34に渡す。   FIG. 14 is a flowchart illustrating an example of processing related to saving and updating of snapshot data according to the present embodiment. First, the snapshot processing unit 34 acquires the ID of the report input as a report creation process target from the total condition setting unit 11 (step S31). Specifically, after the report creation unit 10a is activated, the aggregation condition setting unit 11 performs the processing of steps S1 to S3 in FIG. 6 and when it is determined in step S3 that the report exists in the index table. The ID corresponding to the report stored in the index table is passed to the snapshot processing unit 34. If it is determined in step S3 that the report does not exist in the index table, the aggregation condition setting unit 11 passes the assigned ID to the snapshot processing unit 34 after assigning the ID in step S7.

つぎに、スナップショット処理部34は、そのIDに対応する申告書の種類に基づいて、その申告書の種類に対応する対象データのそれぞれについてHash値を計算する(ステップ32)。申告書の種類と対象データの対応は、スナップショット処理部34が保持しているものとする。たとえば、消費税申告書の確定申告書の申告書作成処理において、会計データ,会社情報データの2つを用いて集計を行う場合には、この2つが対象データとなる。   Next, the snapshot processing unit 34 calculates a Hash value for each of the target data corresponding to the type of report based on the type of report corresponding to the ID (step 32). It is assumed that the snapshot processing unit 34 holds the correspondence between the type of report and the target data. For example, in the report creation processing of the final tax return for the consumption tax return, when aggregation is performed using accounting data and company information data, these two are the target data.

つぎに、スナップショット処理部34は、記憶部3に記憶されているHash値管理テーブルを検索して、集計条件設定部11から取得したID(以下、選択IDという)と一致するIDのデータが存在するか否かを判断する(ステップS33)。一致するIDのデータが存在すると判断した場合(ステップS33 Yes)は、スナップショット処理部34は、Hash値管理テーブルから、選択IDに対応するすべてのデータをよみだし、まず、はじめの対象データのHash値が、ステップS32で算出したその対象データのHash値と同じか否かを判断する(ステップS34)。ステップS32で算出したHash値と同じでないと判断した場合(ステップS34 No)には、スナップショット処理部34は、その対象データのスナップショットデータを更新する(ステップS35)。具体的には、スナップショット処理部34はデータベース管理部15経由でデータベース上のその対象データを読み出し、複製を作成して、スナップショットデータとしてデータベース管理部15経由でデータベースに書き込む。そして、記憶部3のHash値管理テーブルの選択IDのその対象データのHash値の欄をステップS32で計算した値に更新する(ステップS36)。   Next, the snapshot processing unit 34 searches the Hash value management table stored in the storage unit 3, and data with an ID that matches the ID acquired from the aggregation condition setting unit 11 (hereinafter referred to as a selection ID) is found. It is determined whether or not it exists (step S33). If it is determined that there is data with a matching ID (Yes in step S33), the snapshot processing unit 34 reads all the data corresponding to the selected ID from the Hash value management table. It is determined whether or not the Hash value is the same as the Hash value of the target data calculated in Step S32 (Step S34). When it is determined that it is not the same as the Hash value calculated in step S32 (No in step S34), the snapshot processing unit 34 updates the snapshot data of the target data (step S35). Specifically, the snapshot processing unit 34 reads the target data on the database via the database management unit 15, creates a replica, and writes it as snapshot data to the database via the database management unit 15. Then, the Hash value column of the target data of the selection ID in the Hash value management table of the storage unit 3 is updated to the value calculated in Step S32 (Step S36).

つぎに、選択IDに対応するすべての対象データについて、ステップS34〜ステップS36の処理が行われた場合には、処理を終了し、選択IDに対応する対象データのうち処理が行われていない対象データが残っている場合には、ステップS34に戻る。このとき、はじめの対象データのかわりに処理が行われていない対象データについてステップS34〜ステップS36の処理を行う(ステップS37)。   Next, when the processing of step S34 to step S36 is performed for all target data corresponding to the selection ID, the processing ends, and the target of the target data corresponding to the selection ID that has not been processed. If data remains, the process returns to step S34. At this time, the processing of step S34 to step S36 is performed on the target data that has not been processed instead of the first target data (step S37).

また、ステップS34で、ステップS32で算出したその対象データのHash値と同じと判断した(ステップS34 Yes)場合には、ステップS37にすすむ。   If it is determined in step S34 that the Hash value of the target data calculated in step S32 is the same (Yes in step S34), the process proceeds to step S37.

また、ステップS33で、一致するIDのデータが存在しないと判断した場合(ステップS33 No)は、選択IDに対応するすべての対象データのスナップショットデータを保存する(ステップS38)。具体的には、スナップショット処理部34はデータベース管理部15経由でデータベース上の選択IDに対応するすべての対象データを読み出し、複製を作成して、スナップショットデータとしてデータベース管理部15経由でデータベースに書き込む。   If it is determined in step S33 that there is no data with a matching ID (No in step S33), snapshot data of all target data corresponding to the selected ID is stored (step S38). Specifically, the snapshot processing unit 34 reads all target data corresponding to the selected ID on the database via the database management unit 15, creates a copy, and stores it as snapshot data in the database via the database management unit 15. Write.

つぎに、スナップショット処理部34は、データベース管理部15経由でデータベース上のHash値管理テーブルに選択IDに対応するデータを登録する(ステップS39)。具体的には、スナップショット処理部34は、データベース管理部15経由でデータベースにHash値管理テーブルに新しいレコードを追加し、IDの欄には選択IDを、対象データの欄にはそのIDに対応する対象データを、Hash値の欄にはステップS32で算出した対象データごとのHash値を、それぞれ書き込む。   Next, the snapshot processing unit 34 registers the data corresponding to the selection ID in the hash value management table on the database via the database management unit 15 (step S39). Specifically, the snapshot processing unit 34 adds a new record to the Hash value management table in the database via the database management unit 15, and corresponds to the selection ID in the ID column and the ID in the target data column. In the Hash value column, the Hash value for each target data calculated in step S32 is written.

なお、本実施例では、対象データごとにHash値を算出して、更新されているか否かを判定するようにしたが、対象データをいくつかあわせたもの(たとえば、会計データと資産データ)を1つの対象データ分類とし、その分類ごとにHash値を生成して、その分類単位で更新されたか否かを判定するようにしてもよい。分類の際、同時に更新される可能性の高いものを同一分類としておくと、算出するHash値の数が減り、処理時間を削減することができる。   In this embodiment, the hash value is calculated for each target data and it is determined whether or not it has been updated. However, some of the target data (for example, accounting data and asset data) is combined. One target data classification may be used, a hash value may be generated for each classification, and it may be determined whether or not it has been updated in that classification unit. If classifications that are likely to be updated at the same time are classified into the same classification, the number of hash values to be calculated can be reduced and the processing time can be reduced.

なお、本実施例では、Hash値を算出して、対象データの更新の有無を判断するようにしたが、これに限らず、たとえば、対象データのタイムスタンプを用いるなど、更新が判断できる方法であれば、どのような方法を用いて判断するようにしてもよい。   In this embodiment, the hash value is calculated to determine whether or not the target data is updated. However, the present invention is not limited to this. For example, a method that can determine the update such as using a time stamp of the target data. Any method may be used for determination.

なお、本実施例では、スナップショットデータ,Hash値管理テーブルをデータベース管理部15経由でデータベースに記憶することとしたが、これに限らず、データベースとは別に記憶部3に記憶するようにしてもよい。   In this embodiment, the snapshot data and the hash value management table are stored in the database via the database management unit 15. However, the present invention is not limited to this, and may be stored in the storage unit 3 separately from the database. Good.

このように、本実施例においては、実施例1と同様の処理に加え、申告書ごとに、その申告書が作成された時点の申告書作成に関連するデータをスナップショットデータとして保存するようにした。さらに、ひとつの申告書に対して1式の対象データのみを保存することとし、2回目以上に同一の申告書に対して、申告書作成処理が行われるときには、前回のスナップショットデータと更新があった対象データのスナップショットデータのみを更新するようにした。このため、実施例1の効果に加え、さらに、申告書作成時点の会計データなどの関連データを正しく参照することができる。   As described above, in this embodiment, in addition to the processing similar to that in the first embodiment, for each report, data related to the preparation of the report at the time when the report is generated is stored as snapshot data. did. In addition, only one set of target data is saved for one report, and when the same tax form is processed for the same report for the second time or more, the previous snapshot data and update are updated. Only the snapshot data of the target data was updated. For this reason, in addition to the effects of the first embodiment, it is possible to correctly refer to related data such as accounting data at the time of creating the report.

図15は、実施例3の申告書作成システムの構成例を示す図である。図15に示すように、本実施例では、データベースを保持している計算機システムであるサーバ41と、申告書作成処理を行う計算機システム(端末)であるWS(ワークステーション)42−1〜42−6で構成されている。実施例1または実施例2と同様の機能のものは同一の符号を付して説明を省略する。   FIG. 15 is a diagram illustrating a configuration example of a report creation system according to the third embodiment. As shown in FIG. 15, in the present embodiment, a server 41 that is a computer system that holds a database, and WS (workstations) 42-1 to 42- that are computer systems (terminals) that perform a report creation process. 6 is configured. Components having the same functions as those in the first embodiment or the second embodiment are denoted by the same reference numerals and description thereof is omitted.

図16は、本実施例の申告書作成システムを構成するサーバ41とWS42−1〜42−6の機能構成例を示す図である。本実施例のWS42−1〜42−6は、実施例1の図1で示した計算機システムと同様である。そして、WS42−1〜42−6のそれぞれが、実施例2の計算機システムから、データベース管理部15と記憶部3に記憶されているN年度データベース,インデックスデータ,スナップショットデータを除いた構成となる。また、他の財務アプリケーションについても、同様の機能分担となっており、各財務アプリケーションは、記憶部3の替わりに、ネットワーク経由でサーバ41の記憶部3aに各々の生成したデータを書き込む。   FIG. 16 is a diagram illustrating a functional configuration example of the server 41 and the WSs 42-1 to 42-6 constituting the report creation system of the present embodiment. WSs 42-1 to 42-6 of the present embodiment are the same as the computer system shown in FIG. Each of the WSs 42-1 to 42-6 has a configuration obtained by removing the N-year database, index data, and snapshot data stored in the database management unit 15 and the storage unit 3 from the computer system according to the second embodiment. . Further, other financial applications share the same functions, and each financial application writes the generated data in the storage unit 3a of the server 41 via the network instead of the storage unit 3.

サーバ41は、制御部1a,記憶部3a,通信部5aを備える計算機システムである。そして、サーバ41においては、データベース管理部15が記憶部3aのN年度データベースの管理を行う。データベース管理部15の機能は、集計・連動部12から指示を受け取る替わりに通信部5aから指示を受け取る以外は、実施例1または実施例2のデータベース管理部15と同様である。記憶部3a上のN年度データベースは実施例1または実施例2の記憶部3上のN年度データベースと同様である。WS42−1〜42−6の通信部5とサーバ41の通信部5aは、それぞれ同一のLAN(Local Area Network)またはインターネットなどのネットワークに接続している。   The server 41 is a computer system including a control unit 1a, a storage unit 3a, and a communication unit 5a. In the server 41, the database management unit 15 manages the N-year database in the storage unit 3a. The function of the database management unit 15 is the same as that of the database management unit 15 of the first embodiment or the second embodiment except that it receives an instruction from the communication unit 5a instead of receiving an instruction from the aggregation / interlocking unit 12. The N-year database on the storage unit 3a is the same as the N-year database on the storage unit 3 of the first or second embodiment. The communication units 5 of the WSs 42-1 to 42-6 and the communication unit 5a of the server 41 are connected to the same LAN (Local Area Network) or a network such as the Internet.

以下、実施例1または実施例2と異なる部分のみ説明する。まず、本実施例の申告書作成処理について説明する。本実施例の申告書作成処理は、実施例1の図6で示したフローチャートのうち、データベース管理部15を経由する動作,インデックスデータに対する動作(検索、書き込みなど)を、それぞれ通信部5,LANまたはインターネット,通信部5a経由とする。また、記憶部3のN年度データベース,インデックスデータの替わりに、記憶部3aのN年度データベース,インデックスデータを用いる。たとえば、図6のステップS4の処理では、集計条件設定部11は、通信部5,ネットワーク,通信部5a,データベース管理部15経由で記憶部3aのN年度データベースから申告書データを読み出す。これら以外の処理については、実施例1と同様である。   Hereinafter, only parts different from the first embodiment or the second embodiment will be described. First, the report creation process of the present embodiment will be described. The report creation process of the present embodiment includes the operations via the database management unit 15 and the operations (search, write, etc.) for the index data in the flowchart shown in FIG. Or via the Internet and the communication part 5a. Further, instead of the N year database and index data in the storage unit 3, the N year database and index data in the storage unit 3a are used. For example, in the process of step S4 in FIG. 6, the tabulation condition setting unit 11 reads report data from the N-year database in the storage unit 3a via the communication unit 5, the network, the communication unit 5a, and the database management unit 15. Other processes are the same as those in the first embodiment.

本実施例の繰越管理部26についても、申告書作成処理と同様に、WS42−1〜42−6が備える。そして、実施例1の図11で示した繰越処理において、データベース管理部15を経由する動作を、通信部5,ネットワーク,通信部5a経由とする。それ以外の処理は実施例1と同様である。   As with the report creation process, the WS 42-1 to 42-6 are also provided for the carry-over management unit 26 of the present embodiment. In the carry-over processing shown in FIG. 11 of the first embodiment, the operation via the database management unit 15 is assumed to be via the communication unit 5, the network, and the communication unit 5a. Other processes are the same as those in the first embodiment.

また、本実施例のスナップショットデータの保存および更新に関する処理は、実施例2の図14で説明した処理において、データベース管理部15を経由する動作,スナップショットデータに対する動作を、通信部5,ネットワーク,通信部5a経由とする。それ以外の処理は実施例2と同様である。   Further, the processing related to saving and updating snapshot data according to the present embodiment is the same as the processing described with reference to FIG. , Via the communication unit 5a. The other processes are the same as those in the second embodiment.

なお、本実施例においては、WS42−1〜42−6に実施例2で説明した申告書作成部10aの機能を持たせるようにしたが、これに限らず、WS42−1〜42−6に実施例1の申告書作成部10の機能をもたせるようにしてもよい。この場合の申告書作成処理および繰越処理については、本実施例と同様である。   In the present embodiment, the WS 42-1 to 42-6 are provided with the function of the report creation unit 10a described in the second embodiment. However, the present invention is not limited to this, and the WS 42-1 to 42-6 are provided. You may make it give the function of the report preparation part 10 of Example 1. FIG. The report creation process and carry-over process in this case are the same as in the present embodiment.

なお、図16の例では、1台のサーバ41を用いる構成としたが、複数の同様の構成をもつサーバが同一の年度別データベースの複製を保持するようにしてもよい。この場合、サーバが故障しても動作ができ、耐久性を高めることができる。また、年度別データベースを、たとえば年度ごとにまたは財務データの種類ごとに保持するサーバを分けてデータを分散させるようにしてもよい。この場合、サーバの負荷を分散させることができる。   In the example of FIG. 16, a single server 41 is used. However, a plurality of servers having the same configuration may hold the same yearly database replica. In this case, operation is possible even if the server fails, and durability can be improved. In addition, data may be distributed by dividing a server that holds a database for each year, for example, for each year or for each type of financial data. In this case, the load on the server can be distributed.

このように、本実施例においては、財務データを記憶するデータベースをサーバ41が保持し、申告書作成装置の機能を備えるWS42−1〜42−6が、ネットワーク経由でサーバにアクセスして申告書を作成するようにした。このため、複数のWS42−1〜42−6が同一のデータを用いて申告書作成を行うことができる。   As described above, in this embodiment, the server 41 holds a database for storing financial data, and the WSs 42-1 to 42-6 having the function of a report creation apparatus access the server via the network and return the report. Was created. For this reason, the plurality of WSs 42-1 to 42-6 can create a report using the same data.

以上のように、本発明にかかる申告書作成方法、申告書作成装置、申告書作成システム、および申告書作成プログラムは、他の財務アプリケーションで作成されたデータを用いて申告書の作成を行う財務アプリケーションシステムに有用であり、特に、作成済みの申告書,最新の財務データをもとに、新たな申告書を作成する財務アプリケーションシステムに適している。   As described above, the report creation method, the report creation apparatus, the report creation system, and the report creation program according to the present invention use the data created by other financial applications to create a report. It is useful for an application system, and is particularly suitable for a financial application system that creates a new report based on a prepared report and the latest financial data.

実施例1の申告書作成方法を実現するための申告書作成装置としての機能を備え、本発明にかかる実施例の申告書作成プログラムを実行可能な計算機システムの構成例を示す図である。It is a figure which shows the structural example of the computer system which has the function as a report preparation apparatus for implement | achieving the report preparation method of Example 1, and can execute the report preparation program of the Example concerning this invention. 実施例1の申告書作成装置の機能構成例を示すブロック図である。It is a block diagram which shows the function structural example of the report creation apparatus of Example 1. FIG. 財務アプリケーションシステムの構成例を示す図である。It is a figure which shows the structural example of a financial application system. 会社情報データの項目の一例を示す図である。It is a figure which shows an example of the item of company information data. 仕訳データの項目の一例を示す図である。It is a figure which shows an example of the item of journal data. 申告書作成処理の一例を示すフローチャートである。It is a flowchart which shows an example of a report preparation process. 申告書の種類の入力画面の一例を示す図である。It is a figure which shows an example of the input screen of the kind of report. 消費税申告の確定申告書の集計条件の入力受け付け画面の一例を示す図である。It is a figure which shows an example of the input reception screen of the total condition of the final income tax return of a consumption tax return. 法人税申告の確定申告書の集計条件の入力受け付け画面の一例を示す図である。It is a figure which shows an example of the input reception screen of the total condition of the final income tax return of a corporate tax return. インデックステーブルの一例を示す図である。It is a figure which shows an example of an index table. 繰越管理部の機能構成例を示す図である。It is a figure which shows the function structural example of a carry-over management part. 繰越処理の一例を示すフローチャートである。It is a flowchart which shows an example of a carry-over process. 実施例2の申告書作成装置の機能構成例を示すブロック図である。It is a block diagram which shows the function structural example of the report preparation apparatus of Example 2. FIG. Hash値管理テーブルの一例を示す図である。It is a figure which shows an example of a Hash value management table. スナップショットデータの保存および更新に関する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process regarding preservation | save and update of snapshot data. 実施例3の申告書作成システムの構成例を示す図である。It is a figure which shows the structural example of the report preparation system of Example 3. FIG. サーバとWSの機能構成例を示す図である。It is a figure which shows the function structural example of a server and WS.

符号の説明Explanation of symbols

1,1a 制御部
2 入力部
3,3a 記憶部
4 表示部
5,5a 通信部
6 印刷部
7 システムバス
10 申告書作成部
11 集計条件設定部
12 集計・連動部
13 編集部
14 終了処理部
15 データベース管理部
21 仕訳データ処理部
22 資産データ処理部
23 マスタ管理部
24 決算書作成部
25 給与管理部
26 繰越管理部
31 入力受付部
32 繰越処理部
33 再繰越処理部
34 スナップショット処理部
DESCRIPTION OF SYMBOLS 1,1a Control part 2 Input part 3, 3a Storage part 4 Display part 5, 5a Communication part 6 Printing part 7 System bus 10 Declaration document creation part 11 Totaling condition setting part 12 Totaling / interlocking part 13 Editing part 14 End processing part 15 Database management unit 21 Journal data processing unit 22 Asset data processing unit 23 Master management unit 24 Financial statement creation unit 25 Salary management unit 26 Carry-over management unit 31 Input reception unit 32 Carry-over processing unit 33 Re-carry-over processing unit 34 Snapshot processing unit

Claims (28)

財務アプリケーションにより生成された財務データを記憶部に保持し、申告書作成装置が前記財務データに基づき申告書作成を行う、財務アプリケーションシステムにおける申告書作成方法であって、
データベース管理部が、年度単位のデータベースである年度データベースを前記記憶部に構築し、前記財務アプリケーションにより生成された財務データをそのデータの属する年度の年度データベースに記憶する年度管理ステップと、
年度データベースの次年度繰越において、繰越管理部が、前記記憶部から、繰越元の年度の財務データとともに繰越元の年度の申告書データを読み出し、前記読み出したデータを繰越先の年度の年度データベースに書き込む次年度繰越ステップと、
前記申告書作成装置の集計条件設定部が、作成する申告書の種類および集計期間を含む集計条件を取得する集計条件取得ステップと、
前記申告書作成装置の集計連動部が、前記集計条件に基づいて、前記データベース管理部に年度データベースのデータの取得または年度データベースのデータの集計を指示するデータ取得指示ステップと、
前記データベース管理部が、前記集計連動部からデータ取得の指示があった場合に、その指示に基づき前記年度データベースからデータを読み出して前記集計連動部に返信し、一方で、前記集計連動部から集計の指示があった場合には、その指示に基づき前記年度データベースからデータを読み出してその集計結果を前記集計連動部に返信するデータベース集計ステップと、
前記集計連動部が、前記データベース管理部から返信されたデータまたは集計結果に基づき申告書データを生成する申告書データ作成ステップと、
前記申告書作成装置の終了処理部が、前記生成された申告書データをその申告書の年度の年度データベースに書き込む申告書データ登録ステップと、
を含むことを特徴とする申告書作成方法。
A financial statement creation method in a financial application system, in which financial data generated by a financial application is stored in a storage unit, and a declaration creation device creates a declaration based on the financial data,
A database management unit constructs a year database, which is a yearly database, in the storage unit, and stores financial data generated by the financial application in the year database of the year to which the data belongs,
In the next year's carry-over of the year database, the carry-over management section reads the financial data of the carry-forward source year together with the financial data of the carry-forward year from the storage section, and stores the read data in the year database of the carry-forward year. The next year carry-forward step to write, and
A totaling condition acquisition step in which the totaling condition setting unit of the report preparation device acquires a totaling condition including a type and a totaling period of the report to be created;
A data acquisition instruction step for instructing the database management unit to acquire data of the year database or total data of the year database based on the aggregation condition, the aggregation interlocking unit of the report creation device,
When the database management unit is instructed to acquire data from the aggregation interlocking unit, the database management unit reads data from the year database based on the instruction and returns the data to the aggregation interlocking unit. When there is an instruction, a database aggregation step of reading data from the year database based on the instruction and returning the aggregation result to the aggregation interlocking unit;
The summary interlocking unit generates a declaration data based on data returned from the database management unit or a summary result;
A completion data processing unit of the declaration preparation device, a declaration data registration step of writing the generated declaration data in a year database of the declaration year,
A method for preparing a return, characterized by including:
前記申告書作成装置の集計条件設定部が、
さらに、作成済みの申告書を元に申告書を作成するか否かを示す作成方法を取得し、
さらに、前記記憶部に前記集計条件に対応する申告書がすでに作成済みであると判断した場合に、その作成済みの申告書データを前記年度データベースから読み出し保持する読み込みステップと、
前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元に申告書を作成することを指定している場合に、作成済みの申告書のなかから元にする申告書の選択を受付け、選択された申告書に対応する申告書データを前記年度データベースから読み出して保持する申告書データ取得ステップと、
前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元にしないことを指定している場合に、新たな空の申告書データを作成して保持する新規データ作成ステップと、
を実行し、
前記集計連動部が、
前記データベース管理部から返信されたデータまたは集計結果に基づき前記保持した申告書データを更新することを特徴とする請求項1に記載の申告書作成方法。
The tabulation condition setting unit of the report creation device,
In addition, a creation method that indicates whether to create a return based on the completed return,
Further, when it is determined that a report corresponding to the totaling condition has already been created in the storage unit, a read step of reading and holding the created report data from the year database,
If it is determined that the report to be created corresponding to the aggregation condition has not been created, and the creation method specifies that a report should be created based on the created report, A declaration data acquisition step of accepting selection of a declaration based on the declaration and reading and holding the declaration data corresponding to the selected declaration from the year database;
When it is determined that the report to be created corresponding to the aggregation condition has not been created, and the creation method specifies that the created report is not based on the created report, new empty report data A new data creation step to create and hold
Run
The aggregation interlocking unit
2. The report creation method according to claim 1, wherein the held report data is updated based on data returned from the database management unit or a total result.
前記終了処理部が、さらに申告書データに対応する申告書が提出済みであるか否かを示す情報をその申告書に対応付けて記憶部に書き込む提出済み情報書き込みステップ、
を含み、
前記作成済みの申告書を提出済みの申告書とすることを特徴とする請求項1または2に記載の申告書作成方法。
Submitted information writing step in which the end processing unit further writes information indicating whether or not a report corresponding to the report data has been submitted to the storage unit in association with the report,
Including
3. The method for preparing a report according to claim 1, wherein the prepared report is used as a completed report.
前記情報を変更可能とすることを特徴とする請求項3に記載の申告書作成方法。   4. The method for preparing a report according to claim 3, wherein the information is changeable. 前記申告書作成装置のスナップショット処理部が、前記集計条件取得ステップを開始してから前記申告書データ登録ステップを終了するまでの間に、作成対象の申告書に関連する財務データを年度データベースから読み出し、その財務データの複製を生成し、生成した複製を前記作成対象申告書に対応付けてスナップショットデータとして前記記憶部に記憶するスナップショットデータ記憶ステップ、
をさらに含むことを特徴とする請求項1〜4のいずれか一つに記載の申告書作成方法。
From the fiscal year database, the snapshot processing unit of the report creation device receives the financial data related to the report to be created from the start of the aggregation condition acquisition step to the end of the report data registration step. A snapshot data storage step of reading, generating a copy of the financial data, and storing the generated copy in the storage unit as snapshot data in association with the creation target report;
The method for creating a report according to any one of claims 1 to 4, further comprising:
前記スナップショット処理部が、前記作成対象申告書に関連する財務データの更新の有無を識別するための更新識別情報を求める更新識別情報算出ステップと、
前記集計条件設定部が、前記作成対象申告書が作成済みでないと判断した場合に、前記更新識別情報を前記作成対象申告書に対応付けて前記記憶部に記憶する更新識別情報記憶ステップと、
前記集計条件設定部により前記作成対象申告書が既に作成済みであると判断された場合に、スナップショット処理部が、前記記憶部から前記更新識別情報を読み出し、財務データの種類ごとに前記更新識別情報算出ステップで求めた更新識別情報と前記読み出した更新識別情報とを比較し、比較結果が異なる財務データについてスナップショットデータを更新するスナップショットデータ更新ステップと、
をさらに含むことを特徴とする請求項5に記載の申告書作成方法。
An update identification information calculation step for obtaining update identification information for identifying whether or not the financial data related to the creation target report is updated by the snapshot processing unit;
An update identification information storage step of storing the update identification information in the storage unit in association with the creation target report when the aggregation condition setting unit determines that the creation target report has not been created;
When it is determined by the aggregation condition setting unit that the creation target report has already been created, a snapshot processing unit reads the update identification information from the storage unit, and the update identification for each type of financial data A snapshot data update step of comparing the update identification information obtained in the information calculation step with the read update identification information, and updating the snapshot data for the financial data having different comparison results;
The method according to claim 5, further comprising:
前記更新識別情報をHash値とすることを特徴とする請求項6に記載の申告書作成方法。   7. The report creation method according to claim 6, wherein the update identification information is a hash value. 前記申告書の種類として、消費税申告の確定申告書、中間申告書、修正申告書を含むことを特徴とする請求項1〜7のいずれか一つに記載の申告書作成方法。   The tax return preparation method according to any one of claims 1 to 7, wherein the tax return includes a final tax return, an interim tax return, and a revised tax return as consumption tax returns. 前記申告書の種類として、償却資産申告書を含むことを特徴とする請求項1〜8のいずれか一つに記載の申告書作成方法。   9. The method for preparing a report according to claim 1, wherein the type of the report includes a depreciable asset report. 前記申告書の種類として、地方税申告の確定申告書、中間申告書、予定申告書、修正申告書を含むことを特徴とする請求項1〜9のいずれか一つに記載の申告書作成方法。   The tax return preparation method according to any one of claims 1 to 9, wherein the tax return includes a final tax return, an interim return, a scheduled return, and a revised return for a local tax return. 前記申告書の種類として、法人税申告の確定申告書、中間申告書、予定申告書、修正申告書を含むことを特徴とする請求項1〜10のいずれか一つに記載の申告書作成方法。   The tax return preparation method according to any one of claims 1 to 10, wherein the tax return includes a final tax return, an interim return, a scheduled return, and a revised return for a corporate tax return . 前記申告書の種類に、さらに、勘定科目内訳明細書、法人事業概況説明書、会社事業概況書を含めることを特徴とする請求項11に記載の申告書作成方法。   12. The method for creating a report according to claim 11, wherein the type of the report further includes an account item breakdown statement, a corporate business overview, and a company business overview. データベース管理部が年度単位のデータベースである年度データベースを記憶部に構築し、財務アプリケーションにより生成された財務データをそのデータの属する年度の年度データベースに記憶する財務アプリケーションシステムにおいて、前記財務データに基づき申告書作成を行う申告書作成装置であって、
作成する申告書の種類および集計期間を含む集計条件を取得する集計条件設定部と、
前記集計条件に基づいて前記データベース管理部に年度データベースのデータの取得または年度データベースのデータの集計を指示し、前記データベース管理部から返信されたデータまたは集計結果に基づき申告書データを生成する集計連動部と、
前記生成された申告書データを、前記記憶部のその申告書の年度の年度データベースに書き込む終了処理部と、
を備えることを特徴とする申告書作成装置。
In the financial application system in which the database management department builds a fiscal year database, which is a yearly database, in the storage part, and stores the financial data generated by the financial application in the fiscal year database to which the data belongs, filing based on the financial data A report creation device for creating a certificate,
The aggregation condition setting section to obtain the aggregation condition including the type of report to be created and the aggregation period;
Aggregation interlocking that instructs the database management unit to acquire data of the year database or totals data of the year database based on the aggregation condition, and generates report data based on the data returned from the database management unit or the aggregation result And
A termination processing unit for writing the generated report data into the year database of the year of the report in the storage unit;
A report preparation apparatus characterized by comprising:
前記集計条件設定部が、
さらに、作成済みの申告書を元に申告書を作成するか否かを示す作成方法を取得し、
前記記憶部に前記集計条件に対応する申告書がすでに作成済みであると判断した場合に、その作成済みの申告書データを前記年度データベースから読み出し保持し、
前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元に申告書を作成することを指定している場合に、作成済みの申告書のなかから元にする申告書の選択を受付け、選択された申告書に対応する申告書データを前記年度データベースから読み出して保持し、
前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元にしないことを指定している場合に、新たな空の申告書データを作成して保持し、
前記集計連動部が、
前記データベース管理部から返信されたデータまたは集計結果に基づき前記保持した申告書データを更新することを特徴とする請求項13に記載の申告書作成装置。
The aggregation condition setting unit
In addition, a creation method that indicates whether to create a return based on the completed return,
When it is determined that a report corresponding to the aggregation condition has already been created in the storage unit, the created report data is read from the year database and held,
If it is determined that the report to be created corresponding to the aggregation condition has not been created, and the creation method specifies that a report should be created based on the created report, Accept the selection of the original declaration from the declarations, read the declaration data corresponding to the selected declaration from the database for the year, and hold it,
When it is determined that the report to be created corresponding to the aggregation condition has not been created, and the creation method specifies that the created report is not based on the created report, new empty report data Create and hold
The aggregation interlocking unit
14. The report creation apparatus according to claim 13, wherein the retained report data is updated based on data returned from the database management unit or a total result.
前記終了処理部が、申告書データに対応する申告書が提出済みであるか否かを示す情報を、その申告書に対応付けて前記記憶部に書き込み、
前記作成済みの申告書を提出済みの申告書とすることを特徴とする請求項13または14に記載の申告書作成装置。
The termination processing unit writes information indicating whether or not a report corresponding to the report data has been submitted, and writes it in the storage unit in association with the report,
15. The report creation apparatus according to claim 13 or 14, wherein the created report is a submitted report.
前記情報を変更可能とすることを特徴とする請求項15に記載の申告書作成装置。   16. The report creation apparatus according to claim 15, wherein the information can be changed. 作成対象の申告書に関連する財務データを年度データベースから読み出し、その財務データの複製を生成し、生成した複製を前記作成対象申告書に対応付けてスナップショットデータとして前記記憶部に記憶するスナップショット処理部、
をさらに備えることを特徴とする請求項13〜16のいずれか一つに記載の申告書作成装置。
Snapshot that reads financial data related to the report to be created from the annual database, generates a copy of the financial data, and stores the generated copy in the storage unit as snapshot data in association with the report to be created Processing section,
The report creation device according to claim 13, further comprising:
前記スナップショット処理部が、前記作成対象申告書に関連する財務データの種類ごとにその財務データの更新の有無を識別するための更新識別情報を求め、
前記集計条件設定部が、前記作成対象申告書が作成済みでないと判断した場合に、前記更新識別情報を前記作成対象申告書に対応付けて更新識別情報として前記記憶部に記憶し、
前記スナップショット処理部が、前記集計条件設定部により前記作成対象申告書が既に作成済みであると判断された場合に、前記記憶部から更新識別情報を読み出し、財務データの種類ごとに前記スナップショット処理部が求めた更新識別情報と前記読み出した更新識別情報とを比較し、比較結果が異なる財務データについてスナップショットデータを更新することを特徴とする請求項17に記載の申告書作成装置。
The snapshot processing unit obtains update identification information for identifying the presence or absence of update of the financial data for each type of financial data related to the creation target report,
When the aggregation condition setting unit determines that the creation target report has not been created, stores the update identification information in the storage unit as update identification information in association with the creation target report,
The snapshot processing unit reads the update identification information from the storage unit when the summary condition setting unit determines that the creation target report has already been created, and stores the snapshot for each type of financial data. 18. The report creation apparatus according to claim 17, wherein the update identification information obtained by the processing unit is compared with the read update identification information, and the snapshot data is updated for the financial data having different comparison results.
前記更新識別情報をHash値とすることを特徴とする請求項18に記載の申告書作成装置。   19. The report creation apparatus according to claim 18, wherein the update identification information is a Hash value. 前記申告書の種類として、消費税申告の確定申告書、中間申告書、修正申告書を含むことを特徴とする請求項13〜19のいずれか一つに記載の申告書作成装置。   20. The tax return creation apparatus according to claim 13, wherein the tax return type includes a final tax return, an interim tax return, and a revised tax return for a consumption tax return. 前記申告書の種類として、償却資産申告書を含むことを特徴とする請求項13〜20のいずれか一つに記載の申告書作成装置。   21. The report creation apparatus according to claim 13, wherein the type of the report includes a depreciable asset report. 前記申告書の種類として、地方税申告の確定申告書、中間申告書、予定申告書、修正申告書を含むことを特徴とする請求項13〜21のいずれか一つに記載の申告書作成装置。   22. The tax return creation apparatus according to any one of claims 13 to 21, wherein the tax return type includes a final tax return, an interim tax return, a scheduled tax return, and a revised tax return for a local tax return. 前記申告書の種類として、法人税申告の確定申告書、中間申告書、予定申告書、修正申告書を含むことを特徴とする請求項13〜22のいずれか一つに記載の申告書作成装置。   23. The tax return creation apparatus according to claim 13, wherein the tax return type includes a final tax return, an interim tax return, a scheduled tax return, and a revised tax return for a corporate tax return. . 前記申告書の種類に、さらに、勘定科目内訳明細書、法人事業概況説明書、会社事業概況書を含めることを特徴とする請求項23に記載の申告書作成装置。   24. The report creation apparatus according to claim 23, wherein the type of report further includes an account item breakdown statement, a corporate business overview, and a company business overview. 年度単位のデータベースである年度データベースを記憶部に構築し、財務アプリケーションにより生成された財務データをそのデータの属する年度の年度データベースに記憶するデータベース管理部と、
請求項13〜24のいずれか一つに記載の申告書作成装置と、
年度データベースの次年度繰越において、前記記憶部から、繰越元の年度の財務データとともに繰越元の年度の申告書データを読み出し、前記読み出したデータを繰越先の年度の年度データベースに書き込む繰越管理部と、
を備え、
前記データベース管理部が、前記申告書作成装置からデータ取得の指示があった場合に、その指示に基づき前記年度データベースからデータを読み出して前記申告書作成装置に返信し、一方で、前記申告書作成装置から集計の指示があった場合には、その指示に基づき前記年度データベースからデータを読み出してその集計結果を前記申告書作成装置に返信することを特徴とする申告書作成システム。
A database management unit that builds a year database, which is a yearly database, in the storage unit, and stores the financial data generated by the financial application in the year database of the year to which the data belongs,
The report preparation device according to any one of claims 13 to 24;
In the carry-over of the next year of the year database, a carry-over management unit that reads from the storage unit the financial data of the year carried forward together with the financial data of the year carried forward and writes the read data into the year database of the year carried forward ,
With
When there is an instruction to acquire data from the report creation device, the database management unit reads data from the year database based on the instruction and sends it back to the report creation device. When there is a totaling instruction from the apparatus, the report creation system is characterized in that data is read from the year database based on the instruction and the totalization result is returned to the report creation apparatus.
サーバと前記サーバにネットワーク経由で接続された端末で構成され、財務アプリケーション装置で生成された財務データに基づき申告書作成を行う申告書作成システムであって、
前記サーバは、
記憶部と、
年度単位のデータベースである年度データベースを前記記憶部に構築し、前記財務アプリケーションにより生成された財務データをそのデータの属する年度の年度データベースに記憶するデータベース管理部と、
を備え、
前記データベース管理部は、前記端末からデータ取得の指示があった場合に、その指示に基づき前記年度データベースからデータを読み出して前記端末に返信し、一方で、前記端末からの集計の指示があった場合には、その指示に基づき前記年度データベースからデータを読み出してその集計結果を前記端末に返信し、
前記端末は、
作成する申告書の種類および集計期間を含む集計条件を取得する集計条件設定部と、
前記集計条件に基づいて、前記データベース管理部に年度データベースのデータの取得または年度データベースのデータの集計を指示し、前記データベース管理部から返信されたデータまたは集計結果に基づき申告書データを生成する集計連動部と、
前記生成された申告書データを、前記記憶部のその申告書の年度の年度データベースに書き込む終了処理部と、
を備えることを特徴とする申告書作成システム。
A report creation system comprising a server and a terminal connected to the server via a network and creating a report based on financial data generated by a financial application device,
The server
A storage unit;
A database management unit that builds a year database, which is a database for each year, in the storage unit, and stores the financial data generated by the financial application in the year database of the year to which the data belongs;
With
When there is an instruction for data acquisition from the terminal, the database management unit reads out data from the year database based on the instruction and sends it back to the terminal, while there is an instruction for aggregation from the terminal. In this case, the data is read from the year database based on the instruction and the counting result is returned to the terminal.
The terminal
The aggregation condition setting section to obtain the aggregation condition including the type of report to be created and the aggregation period;
Aggregation for instructing the database management unit to acquire data of the year database or totaling data of the year database based on the aggregation condition, and to generate report data based on the data returned from the database management unit or the aggregation result Interlocking part,
A termination processing unit for writing the generated report data into the year database of the year of the report in the storage unit;
A report creation system characterized by comprising:
前記集計条件設定部が、
さらに、作成済みの申告書を元に申告書を作成するか否かを示す作成方法を取得し、
前記記憶部に前記集計条件に対応する申告書がすでに作成済みであると判断した場合に、その作成済みの申告書データを前記年度データベースから読み出し保持し、
前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元に申告書を作成することを指定している場合に、作成済みの申告書のなかから元にする申告書の選択を受付け、選択された申告書に対応する申告書データを前記年度データベースから読み出して保持し、
前記集計条件に対応する作成対象申告書が作成されていないと判断し、かつ、前記作成方法が作成済みの申告書を元にしないことを指定している場合に、新たな空の申告書データを作成して保持し、
前記集計連動部が、
前記データベース管理部から返信されたデータまたは集計結果に基づき前記保持した申告書データを更新することを特徴とする請求項26に記載の申告書作成システム。
The aggregation condition setting unit
In addition, a creation method that indicates whether or not to create a return based on the completed return is obtained,
When it is determined that a report corresponding to the aggregation condition has already been created in the storage unit, the created report data is read from the year database and held,
If it is determined that the report to be created corresponding to the aggregation condition has not been created, and the creation method specifies that a report should be created based on the created report, Accept the selection of the original declaration from the declarations, read the declaration data corresponding to the selected declaration from the database for the year, and hold it,
When it is determined that the report to be created corresponding to the aggregation condition has not been created, and the creation method specifies that the created report is not based on the created report, new empty report data Create and hold
The aggregation interlocking unit
27. The report creation system according to claim 26, wherein the held report data is updated based on data returned from the database management unit or a total result.
請求項1〜12のいずれか一つに記載の申告書作成方法をコンピュータに実行させることを特徴とする申告書作成プログラム。   A program for creating a report, which causes a computer to execute the report creation method according to any one of claims 1 to 12.
JP2007077115A 2007-03-23 2007-03-23 Report creation method, report creation device, and report creation program Active JP5086674B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007077115A JP5086674B2 (en) 2007-03-23 2007-03-23 Report creation method, report creation device, and report creation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007077115A JP5086674B2 (en) 2007-03-23 2007-03-23 Report creation method, report creation device, and report creation program

Publications (2)

Publication Number Publication Date
JP2008234579A true JP2008234579A (en) 2008-10-02
JP5086674B2 JP5086674B2 (en) 2012-11-28

Family

ID=39907241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007077115A Active JP5086674B2 (en) 2007-03-23 2007-03-23 Report creation method, report creation device, and report creation program

Country Status (1)

Country Link
JP (1) JP5086674B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6241773B1 (en) * 2017-01-19 2017-12-06 株式会社日本デジタル研究所 Report creation system, report creation method, report creation program
CN111311120A (en) * 2020-03-21 2020-06-19 宁波梦创信息科技有限公司 Self-evaluation method and system for enterprise declared science and technology project
JP2020166869A (en) * 2019-03-29 2020-10-08 株式会社日本デジタル研究所 Accounting processing system, accounting processor, accounting processing program, and accounting processing method
CN116663515A (en) * 2023-07-25 2023-08-29 中国人民解放军国防科技大学 Method and device for generating dynamic reporting form

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002269250A (en) * 2001-03-08 2002-09-20 Obic Business Consultants Ltd Corporation tax-local tax statement preparation work system through internet
JP2005190425A (en) * 2003-12-26 2005-07-14 Nippon Digital Kenkyusho:Kk Consumption tax totaling system, program for simulating amount of consumption tax, and program for creating business case for selecting method of consumption entry
JP2006190425A (en) * 2005-01-07 2006-07-20 Nec Electronics Corp Semiconductor memory device
JP2006190227A (en) * 2005-01-07 2006-07-20 Nippon Digital Kenkyusho:Kk Consumption tax total system and consumption tax notification form management program
JP2006268740A (en) * 2005-03-25 2006-10-05 Nec Corp Replication system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002269250A (en) * 2001-03-08 2002-09-20 Obic Business Consultants Ltd Corporation tax-local tax statement preparation work system through internet
JP2005190425A (en) * 2003-12-26 2005-07-14 Nippon Digital Kenkyusho:Kk Consumption tax totaling system, program for simulating amount of consumption tax, and program for creating business case for selecting method of consumption entry
JP2006190425A (en) * 2005-01-07 2006-07-20 Nec Electronics Corp Semiconductor memory device
JP2006190227A (en) * 2005-01-07 2006-07-20 Nippon Digital Kenkyusho:Kk Consumption tax total system and consumption tax notification form management program
JP2006268740A (en) * 2005-03-25 2006-10-05 Nec Corp Replication system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6241773B1 (en) * 2017-01-19 2017-12-06 株式会社日本デジタル研究所 Report creation system, report creation method, report creation program
JP2018116573A (en) * 2017-01-19 2018-07-26 株式会社日本デジタル研究所 Declaration preparation system, declaration preparation method and declaration preparation program
JP2020166869A (en) * 2019-03-29 2020-10-08 株式会社日本デジタル研究所 Accounting processing system, accounting processor, accounting processing program, and accounting processing method
CN111311120A (en) * 2020-03-21 2020-06-19 宁波梦创信息科技有限公司 Self-evaluation method and system for enterprise declared science and technology project
CN116663515A (en) * 2023-07-25 2023-08-29 中国人民解放军国防科技大学 Method and device for generating dynamic reporting form
CN116663515B (en) * 2023-07-25 2024-01-30 中国人民解放军国防科技大学 Method and device for generating dynamic reporting form

Also Published As

Publication number Publication date
JP5086674B2 (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CA2528583C (en) An automated publishing system that facilitates collaborative editing and accountability through virtual document architecture
Groh et al. Access 2007 Bible
CN101542511A (en) Form making system, network system using same, and form making method
US9760552B2 (en) Document renewal and translation
JP2012146158A (en) Accounting processing system
JP5086674B2 (en) Report creation method, report creation device, and report creation program
US20120131426A1 (en) Document generation and services management
JP2003030397A (en) Enterprise information managing device and program
JP6151560B2 (en) Accounting book information processing apparatus, accounting book information processing apparatus control method, accounting book processing apparatus program, and recording medium
JP2023065627A (en) Information processing system, information processing method, and information processing program
EP4231169A1 (en) One-click paradigm for data processing in data migration
JP2001076042A (en) Device and method for intellectual property evaluation, and computer-readable recording medium where program making computer to implement the method is recorded
CN115409014A (en) Document template generation method and device, computer equipment and storage medium
JPH11296578A (en) Accounting processor, transaction data input device, and regressive correcting method for error data
JP5144974B2 (en) Module management method, module management apparatus, and module management program
JP2016091384A (en) Information processor, program, and information processing method
JP2001325419A (en) Account data preparation method, settlement file preparation method, consolidated accounts method, account data, input picture, recording medium for account data preparing program, settlement file preparing program and consolidated accounts preparing program
JP6950107B1 (en) Accounting data creation equipment, methods, and programs
JP4244997B2 (en) Reporting document creation system and reporting document creation program
JP2006059263A (en) Management system for fixed asset
JP6603426B1 (en) Information processing program, information processing apparatus, and information processing method
JPH11212775A (en) Information processing system
Subrahmanyam The Customer Vendor Integration (CVI)
JPH1115904A (en) Journalized data recording method, recording medium recording journalized data, automatic link correction method for journalized data, and recording medium recording automatic link correction program for journalized data
JP2016018280A (en) Tax accounting processing device, tax accounting processing method, and tax accounting processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111018

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111219

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120619

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120809

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120820

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120904

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120907

R150 Certificate of patent or registration of utility model

Ref document number: 5086674

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150914

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250