JP2021165967A - Accounting processor, accounting processing system, accounting processing method and program - Google Patents

Accounting processor, accounting processing system, accounting processing method and program Download PDF

Info

Publication number
JP2021165967A
JP2021165967A JP2020069407A JP2020069407A JP2021165967A JP 2021165967 A JP2021165967 A JP 2021165967A JP 2020069407 A JP2020069407 A JP 2020069407A JP 2020069407 A JP2020069407 A JP 2020069407A JP 2021165967 A JP2021165967 A JP 2021165967A
Authority
JP
Japan
Prior art keywords
journal
information
data
transaction
item
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
JP2020069407A
Other languages
Japanese (ja)
Other versions
JP6895632B1 (en
Inventor
昌樹 加藤
Masaki Kato
弘隆 佐藤
Hirotaka Sato
朝史 嘉陽田
Asashi Kayota
康一 斎藤
Koichi Saito
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 JP2020069407A priority Critical patent/JP6895632B1/en
Application granted granted Critical
Publication of JP6895632B1 publication Critical patent/JP6895632B1/en
Publication of JP2021165967A publication Critical patent/JP2021165967A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Image Analysis (AREA)

Abstract

To perform automatic journaling from voucher data being an image of a voucher.SOLUTION: An accounting processor for performing automatic journaling from voucher data being an image of a voucher includes an image recognition part for extracting transaction information from the voucher data by image recognition processing, a character recognition part for generating text data including transaction detail information from the extracted transaction information by character recognition processing, and a journaling generation part for generating journaling data from the transaction detail information by selecting a combination of account titles corresponding to the transaction detail information.SELECTED DRAWING: Figure 3

Description

本発明は、会計処理装置、会計処理システム、会計処理方法及びプログラムに関するものである。 The present invention relates to accounting equipment, accounting systems, accounting methods and programs.

従来の会計処理において、領収書やレシート等の証憑を仕訳入力する際、税理士や経理担当者が証憑に記載の情報(取引内容)を一件ずつ読み取り、取引内容に該当する勘定科目を経験的に判断して仕訳の入力を行っていた。一件ずつ読み取り作業を行うのでは作業効率が悪い上、仕訳の精度は担当者の経験に依存するところが大きく、仕訳の精度にばらつきが生じるという問題があった。 In conventional accounting processing, when entering a voucher such as a receipt or receipt as a journal, a tax accountant or accounting staff reads the information (transaction content) described on the voucher one by one and empirically examines the account item corresponding to the transaction content. I made a judgment and entered the journal. If the reading work is performed one by one, the work efficiency is poor, and the accuracy of the journal entry largely depends on the experience of the person in charge, and there is a problem that the accuracy of the journal entry varies.

そこで、レシート等をスキャニングや撮影することにより得た伝票画像を用いて、店舗名を決定して家計簿等の記載を支援する技術が開示されている(例えば、特許文献1参照)。
また、取引先毎に発生する取引内容は継続的な取引であることから、同じ取引内容である事が多く、定型的な取引については取引内容から自動的に仕訳データを生成することができる(例えば、特許文献2参照)。
Therefore, there is disclosed a technique for determining a store name and supporting entry in a household account book or the like by using a slip image obtained by scanning or photographing a receipt or the like (see, for example, Patent Document 1).
In addition, since the transaction content that occurs for each business partner is a continuous transaction, it is often the same transaction content, and journal data can be automatically generated from the transaction content for standard transactions (for standard transactions). For example, see Patent Document 2).

特開2017−174309号公報Japanese Unexamined Patent Publication No. 2017-174309 特許3929824号公報Japanese Patent No. 3929824

特許文献1に開示されているシステムでは、レシート等に印字された取引先の情報を利用するものであり、OCR(Optical Character Recognition)を使用した光学的文字認識処理によって、証憑画像からテキストデータを得るものである。
また、特許文献2に開示されているシステムでは、各取引を、各取引内容の記載に基づいて、取引内容の記載に含まれうるキーワードと勘定科目との対応づけを保持する対応テーブルを参照して、特定の勘定科目に自動的に仕訳することが行われる。
The system disclosed in Patent Document 1 uses the information of the business partner printed on the receipt or the like, and text data is obtained from the voucher image by optical character recognition processing using OCR (Optical Character Recognition). What you get.
Further, in the system disclosed in Patent Document 2, each transaction is referred to a correspondence table that holds a correspondence between a keyword and an account that can be included in the description of the transaction content based on the description of each transaction content. Then, journal entry is automatically performed for a specific account.

しかし、証憑画像の品質や文字サイズによってはOCRでうまく認識できない場合がある。また、定型的な取引以外の取引ではキーワードと勘定科目との対応づけを保持する対応テーブルを参照して自動的に仕訳を行うためには、システム管理者等がその都度対応テーブルを作成する必要がある。 However, depending on the quality of the voucher image and the character size, it may not be recognized well by OCR. In addition, in transactions other than standard transactions, the system administrator or the like needs to create a correspondence table each time in order to automatically perform journal entry by referring to the correspondence table that holds the correspondence between keywords and accounts. There is.

そこで、本発明は、かかる事情に鑑みてなされたものであり、人工知能(AI)を利用した証憑からの自動仕訳を行なう会計処理装置(会計処理システム)を提供することを課題とする。 Therefore, the present invention has been made in view of such circumstances, and an object of the present invention is to provide an accounting processing device (accounting processing system) that automatically performs journal entry from a voucher using artificial intelligence (AI).

かかる課題を解決すべく第1の発明は証憑の画像である証憑データから自動仕訳を行なう会計処理装置であって、証憑データを画像認識処理により取引情報を抽出する画像認識部と、抽出した取引情報から文字認識処理により取引明細情報を含むテキストデータを生成する文字認識部と、予め教師データに基づいた機械学習を行い、取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成する仕訳生成部と、を備え、前記仕訳生成AIが作成した仕訳データと前記証憑データと前記取引明細情報を関連付けて並列表示を行う会計処理装置を特徴とする。 In order to solve such a problem, the first invention is an accounting processing device that automatically journalizes from voucher data, which is an image of a voucher, and has an image recognition unit that extracts transaction information from voucher data by image recognition processing, and an extracted transaction. A journal that has learned to select a combination of account items corresponding to transaction detail information by performing machine learning based on teacher data in advance with a character recognition unit that generates text data including transaction detail information from information by character recognition processing. An accounting processing device that includes a journal generation unit that generates journal data from the text data using the generation AI, and displays the journal data created by the journal generation AI, the voucher data, and the transaction details information in parallel. It is characterized by.

第2の発明は、前記取引明細情報と同一または類似する取引明細情報と関連付けされた参照仕訳データと前記仕訳データとを比較照合を行なう仕訳検証部を備え、
前記仕訳検証部は、比較照合する範囲を所定の閾値により判定して前記仕訳生成AIが生成した仕訳データと前記参照仕訳データとを比較照合を行なう第1の発明に記載の会計処理装置。
The second invention includes a journal verification unit that compares and collates the reference journal data associated with the transaction detail information that is the same as or similar to the transaction detail information and the journal data.
The accounting processing device according to the first invention, wherein the journal verification unit determines a range to be compared and collated with a predetermined threshold value, and compares and collates the journal data generated by the journal generation AI with the reference journal data.

第3の発明は、前前記画像認識部は予め教師データに基づいた機械学習を行い、前記証憑データを複数に分割した領域に対応した取引情報から証憑データにある取引情報の位置と内容を学習した画像認識AIを有することを特徴とする第1の発明又は第2の発明に記載の会計処理装置を特徴とする。 In the third invention, the former image recognition unit performs machine learning based on the teacher data in advance, and learns the position and contents of the transaction information in the voucher data from the transaction information corresponding to the area in which the voucher data is divided into a plurality of areas. The accounting apparatus according to the first invention or the second invention, which comprises the image recognition AI.

第4の発明は、前記文字認識部は予め教師データに基づいた機械学習を行い、前記取引情報から仕訳生成に必要な取引明細情報を生成することを学習した文字認識AIを有することを特徴とする第1の発明から第3の発明のいずれかの会計処理装置を特徴とする。 The fourth invention is characterized in that the character recognition unit has a character recognition AI that has learned in advance to perform machine learning based on teacher data and generate transaction detail information necessary for journal generation from the transaction information. It is characterized by the accounting device according to any one of the first to third inventions.

第5の発明は、前記仕訳検証部は予め教師データに基づいた機械学習を行い、前記仕訳データの妥当性を判定することを学習した仕訳検証AIを有することを特徴とする第1の発明から第4の発明のいずれかの会計処理装置を特徴とする。 The fifth invention is based on the first invention, wherein the journal verification unit has a journal verification AI that has learned to perform machine learning based on teacher data in advance and determine the validity of the journal data. It features an accounting device according to any one of the fourth inventions.

第6の発明は、前記仕訳検証部は予め教師データに基づいた機械学習を行い、取引明細情報と対応する仕訳検証範囲を判定することを学習した仕訳検証範囲AIを有することを特徴とする第1の発明から第5の発明いずれかの会計処理装置を特徴とする。 A sixth aspect of the present invention is characterized in that the journal verification unit has a journal verification range AI that has learned to perform machine learning based on teacher data in advance and determine a journal verification range corresponding to transaction detail information. The accounting apparatus according to any one of the inventions 1 to 5 is characterized.

第7の発明は、前記仕訳生成部は取引明細情報の品目を分類分けした分類情報を生成し、分類情報を含む取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする第1の発明から第6の発明のいずれかの会計処理装置を特徴とする。 In the seventh invention, the journal generation unit has learned to generate classification information by classifying items of transaction detail information and select a combination of accounts corresponding to the transaction detail information including the classification information. The accounting device according to any one of the first to sixth inventions, characterized in that journal data is generated from the text data using the above.

第8の発明は、前記仕訳生成部は取引明細情報の品目を分類分けした分類情報及び取引明細情報の金額を段階的に区分分けした金額区分情報を生成し、分類情報と金額区分情報の組み合わせからなる取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする第1の発明から第6の発明のいずれかの会計処理装置を特徴とする。 In the eighth invention, the journal generation unit generates classification information in which items of transaction detail information are classified and amount classification information in which the amount of transaction detail information is classified in stages, and a combination of the classification information and the amount classification information. Any of the first to sixth inventions, characterized in that journal data is generated from the text data using the journal generation AI learned to select a combination of accounts corresponding to transaction detail information consisting of It features the accounting processing device.

第9の発明は、前記仕訳生成部は取引明細情報の品目を分類分けした分類情報を生成し、分類情報と支払方法の組み合わせからなる取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする第1の発明から第6の発明のいずれかの会計処理装置を特徴とする。 In the ninth invention, the journal generation unit generates classification information by classifying the items of the transaction detail information, and selects a combination of accounts corresponding to the transaction detail information consisting of a combination of the classification information and the payment method. The first to sixth inventions characterized in that the journal data is generated from the text data by using the journal generation AI learned to generate the journal data from the text data by using the learned journal generation AI. It features one of the accounting devices of.

第10の発明は、前記仕訳生成部は取引明細情報の金額を段階的に区分分けした金額区分情報を生成し、品目と金額区分情報の組み合わせからなる取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする第1の発明から第6の発明のいずれかの会計処理装置を特徴とする。 In the tenth invention, the journal generation unit generates amount classification information in which the amount of transaction detail information is divided in stages, and a combination of accounts corresponding to the transaction detail information composed of a combination of items and amount classification information. From the first invention characterized in that journal data is generated from the text data using the journal generation AI learned to generate journal data from the text data using the journal generation AI learned to select. It features an accounting device according to any one of the sixth inventions.

第11の発明は、前記仕訳生成部は品目と支払方法の組み合わせからなる取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする第1の発明から第6の発明のいずれかの会計処理装置を特徴とする。 In the eleventh invention, the journal generation unit generates journal data from the text data using the journal generation AI learned to select a combination of accounts corresponding to transaction detail information consisting of a combination of items and payment methods. The accounting apparatus according to any one of the first to sixth inventions is characterized in that journal data is generated from the text data by using the journal generation AI learned to be performed.

第12の発明は、前記仕訳生成部は予め仕訳生成AIに教師データとして業種別に分類した仕訳データを用いた機械学習をさせ、事業者の業種と取引明細情報の組み合わせに対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする第1の発明から第6の発明のいずれかの会計処理装置を特徴とする。 In the twelfth invention, the journal generation unit causes the journal generation AI to perform machine learning using journal data classified by industry as teacher data in advance, and combines accounts corresponding to the combination of the business's industry and transaction detail information. A first invention characterized in that journal data is generated from the text data by using the journal generation AI learned to generate journal data from the text data by using the journal generation AI learned to select. It is characterized by the accounting processing apparatus according to any one of the sixth and sixth inventions.

第13の発明は、証憑の画像である証憑データから自動仕訳を行なう会計処理方法であって、証憑データを画像認識処理により取引情報を抽出する画像認識工程と、抽出した取引情報から文字認識処理により少なくとも品目を含む取引明細情報を含むテキストデータを生成する文字認識工程と、予め教師データに基づいた機械学習を行い、少なくとも品目を分類分けした分類情報を含む取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成する仕訳生成工程と、を備え、前記仕訳生成AIが作成した仕訳データと前記証憑データと前記取引明細情報を関連付けて並列表示を行う会計処理方法を特徴とする。 A thirteenth invention is an accounting processing method for automatically journalizing voucher data, which is an image of a voucher, an image recognition step of extracting transaction information from voucher data by image recognition processing, and a character recognition process from the extracted transaction information. A character recognition process that generates text data including transaction detail information including at least items, and machine learning based on teacher data in advance, and at least an account item corresponding to transaction detail information including classification information that classifies items. A journal generation step of generating journal data from the text data using the journal generation AI learned to select a combination is provided, and the journal data created by the journal generation AI, the voucher data, and the transaction detail information are provided. It features an accounting method that associates and displays in parallel.

第14の発明は、前記取引明細情報と同一または類似する取引明細情報と関連付けされた参照仕訳データと前記仕訳データとを比較照合を行なう仕訳検証工程を備え、
前記仕訳検証工程は、比較照合する範囲を所定の閾値により判定して前記仕訳生成AIが生成した仕訳データと前記参照仕訳データとを比較照合を行なう第13の発明に記載の会計処理方法を特徴とする。
The fourteenth invention includes a journal verification step of comparing and collating the reference journal data associated with the transaction detail information that is the same as or similar to the transaction detail information and the journal data.
The journal verification step is characterized by the accounting method according to the thirteenth invention, wherein the range to be compared and collated is determined by a predetermined threshold value, and the journal data generated by the journal generation AI and the reference journal data are compared and collated. And.

第15の発明は、前記画像認識工程は予め教師データに基づいた機械学習を行い、前記証憑データを複数に分割した領域に対応した取引情報から証憑データにある取引情報の位置と内容を学習した画像認識AIを有することを特徴とする第13の発明又は第14の発明に記載の会計処理方法を特徴とする。 In the fifteenth invention, the image recognition process performs machine learning based on the teacher data in advance, and learns the position and contents of the transaction information in the voucher data from the transaction information corresponding to the area in which the voucher data is divided into a plurality of areas. The accounting method according to the thirteenth invention or the fourteenth invention, which is characterized by having an image recognition AI.

第16の発明は、前記文字認識工程は予め教師データに基づいた機械学習を行い、前記取引情報から仕訳生成に必要な取引明細情報を生成することを学習した文字認識AIを有することを特徴とする第13の発明から第15の発明のいずれかの会計処理方法を特徴とする。 The sixteenth invention is characterized in that the character recognition process has a character recognition AI that has learned to perform machine learning based on teacher data in advance and generate transaction detail information necessary for journal generation from the transaction information. It is characterized by the accounting method according to any one of the thirteenth to fifteenth inventions.

第17の発明は、前記仕訳検証工程は予め教師データに基づいた機械学習を行い、前記仕訳データの妥当性を判定することを学習した仕訳検証AIを有することを特徴とする第13の発明から第16の発明のいずれかの会計処理方法を特徴とする。 The seventeenth invention is based on the thirteenth invention, wherein the journal verification step has a journal verification AI that has learned to perform machine learning based on teacher data in advance and determine the validity of the journal data. It is characterized by the accounting method according to any one of the sixteenth inventions.

第18の発明は、前記仕訳検証工程は予め教師データに基づいた機械学習を行い、取引明細情報と対応する仕訳検証範囲を判定することを学習した仕訳検証範囲AIを有することを特徴とする第13の発明から第17の発明のいずれかの会計処理方法を特徴とする。 The eighteenth invention is characterized in that the journal verification step has a journal verification range AI learned to perform machine learning based on teacher data in advance and determine a journal verification range corresponding to transaction detail information. It is characterized by an accounting method according to any one of the thirteenth invention to the seventeenth invention.

第19の発明は、前記仕訳生成工程は取引明細情報の品目を分類分けした分類情報を生成し、分類情報を含む取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする第13の発明から第18の発明のいずれかの会計処理方法を特徴とする。 In the nineteenth invention, the journal generation AI has learned that the journal generation process generates classification information by classifying items of transaction detail information and selects a combination of accounts corresponding to the transaction detail information including the classification information. The accounting method according to any one of the thirteenth to eighteenth inventions, characterized in that journal data is generated from the text data using the above.

第20の発明は、コンピュータに、第13の発明から第19の発明のいずれかの会計処理方法を実行させるための会計処理プログラムを特徴とする。 The twentieth invention is characterized by an accounting program for causing a computer to execute the accounting method according to any one of the thirteenth invention to the nineteenth invention.

本発明によれば、証憑に記載された取引情報を人手によらずに読み取ることができ、取引情報から読み取った取引明細情報(取引内容)から自動で仕訳を生成できるので、仕訳入力の作業効率を向上させることができる。また、自動仕訳により生成された仕訳データを既存の検証済みの仕訳データと比較照合し、比較照合した結果が正しい仕訳(正常データ)なのか、大きく誤っている仕訳(異常データ)なのか判別でき、誤っている仕訳の差異部分を強調表示することで、自動仕訳により生成された仕訳データの目視確認による仕訳検証の作業効率を向上させることができる。また、仕訳検証を行なうにあたり仕訳検証の範囲を取引内容に応じて変更することができるので、取引内容に対応した最適な仕訳検証対象を自動で設定できる。 According to the present invention, the transaction information described in the voucher can be read without human intervention, and the journal can be automatically generated from the transaction detail information (transaction content) read from the transaction information, so that the work efficiency of journal input can be achieved. Can be improved. In addition, the journal data generated by the automatic journal can be compared and collated with the existing verified journal data, and it can be determined whether the result of the comparison and collation is the correct journal (normal data) or the largely incorrect journal (abnormal data). By highlighting the difference part of the incorrect journal, it is possible to improve the work efficiency of the journal verification by visually confirming the journal data generated by the automatic journal. In addition, since the scope of journal verification can be changed according to the transaction content when performing journal verification, the optimum journal verification target corresponding to the transaction content can be automatically set.

本実施形態に係る会計処理システム100の全体構成を示す図である。It is a figure which shows the whole structure of the accounting processing system 100 which concerns on this embodiment. 本実施形態に係る会計処理装置1の機能ブロックを示す図である。It is a figure which shows the functional block of the accounting processing apparatus 1 which concerns on this embodiment. 本実施形態に係る会計処理装置1での処理を示すフローチャートである。It is a flowchart which shows the processing in the accounting processing apparatus 1 which concerns on this embodiment. 表示部40が表示する証憑データの一例である。This is an example of voucher data displayed by the display unit 40. 画像認識部11が証憑データを複数の領域に分割する一例である。This is an example in which the image recognition unit 11 divides the voucher data into a plurality of areas.

以下、本発明を実施するための実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In addition, since the components with the same reference numerals perform the same operation in the embodiment, the description may be omitted again.

<会計処理システム100の全体構成>
図1は、本実施形態に係る会計処理システム100の全体構成を示す図である。
<Overall configuration of accounting system 100>
FIG. 1 is a diagram showing an overall configuration of the accounting processing system 100 according to the present embodiment.

図1に示す会計処理システム100は、主に会計データ保存や計算処理を行なうサーバ1aと処理を行なうためのデータ入力および指示を行なう端末1bとがネットワークで接続され、協働して会計処理を行なうシステム構成となっている。また、顧問先から依頼を受けた会計事務所のサーバ1a又は端末1bが、各種の業務用アプリケーションプログラム(以下、アプリケーションプログラムのことを、「プログラム」ともいう。)を実行して会計処理を行うシステムである。 In the accounting processing system 100 shown in FIG. 1, a server 1a that mainly performs accounting data storage and calculation processing and a terminal 1b that performs data input and instruction for processing are connected by a network, and accounting processing is performed in cooperation with each other. It is a system configuration to be performed. In addition, the server 1a or terminal 1b of the accounting office that receives the request from the adviser executes various business application programs (hereinafter, the application program is also referred to as a "program") to perform accounting processing. It is a system.

会計処理システム100は、例えば、サーバ1aと、複数台の端末1bとにより構成される。サーバ1aは、端末1bから受信した操作データに基づいて処理を行う。複数台の端末1bは、例えば、税理士や公認会計士である先生やベテラン職員である番頭等の会計事務所で業務を行なう業務処理担当者(以下、「担当者」や会計事務所は「職員」、顧問先(会計事務所と顧問契約を結んだ企業)は「社員」ともいう。)が操作する端末である。なお、会計事務所で説明しているが、企業内の経理や会計処理を行なう部署でもよい。 The accounting processing system 100 is composed of, for example, a server 1a and a plurality of terminals 1b. The server 1a performs processing based on the operation data received from the terminal 1b. The plurality of terminals 1b are, for example, a person in charge of business processing (hereinafter, "person in charge" or "staff" in the accounting office) who performs business in an accounting office such as a tax accountant, a teacher who is a certified accountant, or a veteran employee. , The adviser (the company that has an adviser contract with the accounting firm) is also called an "employee"). As explained in the accounting office, it may be a department that performs accounting and accounting processing within the company.

また、図1では、会計処理システム100を、サーバ1aと、端末1bとからなるものとして説明しているが、これは、一例である。例えば、会計事務所内のサーバと端末をネットワークで接続したシステムや会計事務所と顧問先間の会計処理システムや会計事務所と担当者(在宅)間の会計処理システムや本社営業所間の会計処理システムや本社支社間の会計処理システムや本支店間の会計処理システムであってもよい。 Further, in FIG. 1, the accounting processing system 100 is described as being composed of a server 1a and a terminal 1b, which is an example. For example, a system in which a server and a terminal in an accounting office are connected via a network, an accounting processing system between an accounting office and an advisor, an accounting processing system between an accounting office and a person in charge (at home), and accounting processing between a head office sales office. It may be an accounting system between a system, a head office and a branch office, or an accounting system between a head office and a branch office.

図2は、本実施形態に係る会計処理装置1の機能ブロックを示す図である。
会計処理装置1は、例えば、会計事務所に設けられ、各種会計処理を行う装置であり、図1の会計処理システム100のサーバ1aと、端末1b等の各装置(単体機)が会計処理装置1に該当する。会計処理装置1は、各種の会計処理に対応する複数の業務処理を行う。
FIG. 2 is a diagram showing a functional block of the accounting processing device 1 according to the present embodiment.
The accounting processing device 1 is, for example, a device provided in an accounting office to perform various accounting processing, and the server 1a of the accounting processing system 100 in FIG. 1 and each device (single machine) such as a terminal 1b are accounting processing devices. Corresponds to 1. The accounting processing device 1 performs a plurality of business processing corresponding to various accounting processing.

また、会計処理装置1は、例えば、1台のスタンドアロン(単体機)のコンピュータ(PC)で構成されていてもよい。また、会計処理装置1は、複数台のPCによって構成されたワークステーション(WS)であってもよい。このように、装置構成は、単体機として処理してもよいし、サーバ1aと端末1bをネットワークで接続されたシステムの構成として実現してもよい。 Further, the accounting processing device 1 may be composed of, for example, one stand-alone (single machine) computer (PC). Further, the accounting processing device 1 may be a workstation (WS) composed of a plurality of PCs. As described above, the device configuration may be processed as a single machine, or may be realized as a system configuration in which the server 1a and the terminal 1b are connected by a network.

また、会計処理装置1は、会計事務所ではなく、顧問先企業内にあったり、業務委託等のサービスを行っている企業内であったり、クラウドサービスであってもよい。例えば、端末1bは、必ずしも会計事務所内に設けられる必要はなく、外出先や自宅勤務の職員の端末や、外注先の職員の端末も含まれる。また、会計処理装置1は携帯電話、タブレット等の携帯端末やデジタルカメラやスキャナ等であってもよい。 Further, the accounting processing device 1 may be not in the accounting office but in the consulting company, in the company providing services such as business consignment, or in the cloud service. For example, the terminal 1b does not necessarily have to be provided in the accounting office, and includes a terminal of a staff member who works on the go or at home, and a terminal of a staff member who is outsourced. Further, the accounting processing device 1 may be a mobile terminal such as a mobile phone or a tablet, a digital camera, a scanner, or the like.

また、その他、会計処理装置1は、サーバのみ、あるいは複数のサーバで構成されていてもよく、会計事務所のサーバである場合の他、複数の企業(の従業員)の会計ファイルを預かって管理するサービスを行うIDC(インターネットデータセンター)のサーバでもよい。また、会計処理装置1は、実体が仮想化された仮想マシンやクラウドであってもよい。 In addition, the accounting processing device 1 may be composed of only a server or a plurality of servers, and may be a server of an accounting office, or may store accounting files of a plurality of companies (employees). It may be an IDC (Internet Data Center) server that provides management services. Further, the accounting processing device 1 may be a virtual machine or a cloud whose substance is virtualized.

また、企業の本社等が各部門や各支店(の従業員)等を対象に財務管理を行う場合には、会計処理装置1は、企業内のサーバであってもよい。
会計処理装置1は、本発明の処理を専用的に行う装置であってもよいし、会計処理を行う装置が、様々な機能のうちの1つとして、会計処理装置1の機能を有してもよい。
Further, when the head office or the like of a company performs financial management for each department or each branch (employee) or the like, the accounting processing device 1 may be a server in the company.
The accounting processing device 1 may be a device that exclusively performs the processing of the present invention, or the device that performs accounting processing has the function of the accounting processing device 1 as one of various functions. May be good.

また会計処理装置1は、例えば、顧問先に設けられ、顧問先のレシートや領収書等の伝票(原始証憑)を読み取って、伝票画像を生成する装置のように使用してもよい。伝票(原始証憑)は、例えば、顧問先から郵送によって、又は、顧問先の担当者が持参することによって、会計事務所に届けられたものである。なお、本支店間等で行う場合は、会計処理装置1が本店内又は本社経理部内及び支店内又は各拠点の営業所内や支社内の両方の場所にあればよい。また、会計処理装置1は顧問先に設けてもよいし、会計事務所の担当者が在宅作業を行うために担当者の自宅等に設けてもよい。 Further, the accounting processing device 1 may be used as a device provided at the adviser, for example, reading a slip (primitive voucher) such as a receipt or a receipt of the adviser and generating a slip image. The voucher (primitive voucher) is delivered to the accounting office, for example, by mail from the adviser or by the person in charge of the adviser. When performing between the head office and the branch office, the accounting processing device 1 may be located in the head office, the accounting department of the head office, the branch office, the sales office of each base, or the branch office. Further, the accounting processing device 1 may be provided at the adviser's office, or may be provided at the person in charge's home or the like so that the person in charge of the accounting office can perform the work at home.

上述の実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムで実現され得る。なお、上記プログラムにおいて、情報を送信する送信や、情報を受信する受信などでは、ハードウェアによって行われる処理、例えば、送信におけるモデムやインターフェースカードなどで行われる処理(ハードウェアでしか行われない処理)は含まれない。 The embodiments described above may be implemented in computer hardware and computer programs running on it. In the above program, in the transmission of transmitting information and the reception of receiving information, processing performed by hardware, for example, processing performed by a modem or interface card in transmission (processing performed only by hardware). ) Is not included.

また、上記プログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、あるいは分散処理を行ってもよい。 Further, the number of computers that execute the above program may be singular or plural. That is, centralized processing may be performed, or distributed processing may be performed.

また、上記各実施の形態において、一の装置に存在する2以上の通信手段(端末情報送信部、端末情報受信部など)は、物理的に一の媒体で実現されても良いことは言うまでもない。会計処理装置1は単体機として処理してもよいし、会計処理装置1を使用するサーバ1aと会計処理装置1を使用する端末1bをネットワークで接続された会計処理システム100として実現してもよい。 Further, in each of the above embodiments, it goes without saying that the two or more communication means (terminal information transmitting unit, terminal information receiving unit, etc.) existing in one device may be physically realized by one medium. .. The accounting processing device 1 may be processed as a single machine, or the server 1a using the accounting processing device 1 and the terminal 1b using the accounting processing device 1 may be realized as the accounting processing system 100 connected by a network. ..

また、上記各実施の形態において、各処理(各機能)は、単一の装置(システム)によって集中処理されることによって実現されてもよいし、複数の装置によって分散処理されることによって実現されてもよい。 Further, in each of the above embodiments, each process (each function) may be realized by centralized processing by a single device (system), or may be realized by distributed processing by a plurality of devices. You may.

本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。また、これはあくまでも一例であって、本発明の技術的範囲はこれに限られるものではない。 It goes without saying that the present invention is not limited to the above embodiments, and various modifications can be made, and these are also included in the scope of the present invention. Further, this is only an example, and the technical scope of the present invention is not limited to this.

<会計処理装置1>
図2に示すように、会計処理装置1は、制御部10と、記憶部30と、入力部20と、表示部を40と、通信部50と、分類器60とを備える。図1の会計処理システム100の構成によれば、サーバ1aは、制御部10と、記憶部30と、通信部50と、分類器60とに相当し、端末1bは、入力部20と、表示部40と、通信部50とに相当する会計処理装置1である。
<Accounting device 1>
As shown in FIG. 2, the accounting processing device 1 includes a control unit 10, a storage unit 30, an input unit 20, a display unit 40, a communication unit 50, and a classifier 60. According to the configuration of the accounting processing system 100 of FIG. 1, the server 1a corresponds to the control unit 10, the storage unit 30, the communication unit 50, and the classifier 60, and the terminal 1b displays the input unit 20. It is an accounting processing apparatus 1 corresponding to the unit 40 and the communication unit 50.

入力部20は、キーボードやマウス等の入力装置である。また、入力部20は、タッチパネルやペン入力であってもよい。また、入力部20は、音声入力するためのマイク等や画像入力のためのカメラ(携帯電話、タブレット等の携帯端末やデジタルカメラ等を含む)、スキャナ等の入力装置であってもよい。 The input unit 20 is an input device such as a keyboard or a mouse. Further, the input unit 20 may be a touch panel or pen input. Further, the input unit 20 may be an input device such as a microphone for voice input, a camera for image input (including a mobile terminal such as a mobile phone or a tablet, a digital camera, etc.), a scanner, or the like.

表示部40は、LCD(液晶ディスプレイ)等で構成される表示装置である。 The display unit 40 is a display device composed of an LCD (liquid crystal display) or the like.

通信部50は、例えば、スキャナ等の伝票画像読み取り装置や、通信ネットワークを介して外部装置との間での通信を行うインタフェースである。 The communication unit 50 is, for example, an interface for communicating with an external device via a slip image reading device such as a scanner or a communication network.

制御部10は、各種の会計処理に対応する複数の業務処理におけるプログラムを実行し、データ更新等のデータに関する処理や管理等を行なう。
また、制御部10は、通常、MPUやメモリ等から実現され得る。制御部10の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
The control unit 10 executes a program in a plurality of business processes corresponding to various accounting processes, and performs processing and management related to data such as data update.
Further, the control unit 10 can usually be realized from an MPU, a memory, or the like. The processing procedure of the control unit 10 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

また、制御部10は、会計処理装置1の全体を制御するCPU(中央処理装置)である。制御部10は、記憶部30に記憶されているOS(オペレーティングシステム)やアプリケーションプログラムを適宜読み出して実行することにより、上述したハードウェアと協働し、各種機能を実行する。 Further, the control unit 10 is a CPU (central processing unit) that controls the entire accounting processing device 1. The control unit 10 appropriately reads and executes the OS (operating system) and the application program stored in the storage unit 30 to cooperate with the above-mentioned hardware and execute various functions.

また、制御部10は、データ更新等のデータ管理を行なう管理部(図示せず)、画像認識部11と、文字認識部12と、仕訳生成部13と、仕訳検証部14とを備える。 Further, the control unit 10 includes a management unit (not shown) that manages data such as data update, an image recognition unit 11, a character recognition unit 12, a journal generation unit 13, and a journal verification unit 14.

画像認識部11は、証憑データの画像認識処理を行ない、証憑データから画像認識結果である取引情報を抽出する。なお、画像認識処理は公知の手法を用いてもよい。 The image recognition unit 11 performs image recognition processing of the voucher data and extracts transaction information which is an image recognition result from the voucher data. A known method may be used for the image recognition process.

文字認識部12は、証憑データをOCR(Optical Character Reader)を使用したテキスト化を行なう文字認識処理を行い、文字認識結果からテキストデータを生成する。具体的には、文字認識部12が取引情報の文字列情報一覧(複数行の文字列情報で構成)をテキスト化して取引明細情報を生成する。生成した複数行の取引明細情報からテキストデータを生成し、証憑データと関連付けする。なお、文字認識処理は公知の手法を用いてもよい。 The character recognition unit 12 performs character recognition processing for converting voucher data into text using OCR (Optical Character Reader), and generates text data from the character recognition result. Specifically, the character recognition unit 12 converts a character string information list of transaction information (composed of a plurality of lines of character string information) into text to generate transaction detail information. Generate text data from the generated transaction details information of multiple lines and associate it with the voucher data. A known method may be used for the character recognition process.

仕訳生成部13は、取引明細情報を仕訳処理することにより仕訳データを生成する。仕訳処理を行う際に、取引明細情報が定型的な取引で取引パターンが存在する場合は後述する取引パターン辞書(図示せず)を参照して、仕訳データの各項目の検証項目値や検証確定値を設定する。仕訳データは取引明細情報と証憑データとに関連付けされる。 The journal generation unit 13 generates journal data by processing transaction detail information. When performing journal processing, if the transaction details information is a standard transaction and a transaction pattern exists, refer to the transaction pattern dictionary (not shown) described later, and verify item values and verification confirmation of each item of the journal data. Set the value. Journal data is associated with transaction line information and voucher data.

また、仕訳生成部13は取引明細情報をキーとして後述する仕訳DB31から取引明細情報と同一または類似する取引明細情報と関連付けされた登録仕訳データを検索し、検索した登録仕訳データを参照仕訳データとして取得する。 Further, the journal generation unit 13 searches the registered journal data associated with the transaction detailed information that is the same as or similar to the transaction detailed information from the journal DB 31 described later using the transaction detailed information as a key, and uses the searched registered journal data as the reference journal data. get.

仕訳検証部14は、仕訳生成部13が生成した仕訳データと前記参照仕訳データとを比較照合を行ない、比較照合した結果から生成した仕訳データが正しい仕訳であるか等(大きく誤っている仕訳等の仕訳検証も含む)の仕訳検証を行なう。
また、仕訳検証部14は比較照合する仕訳データの項目(仕訳検証範囲)を取引明細情報の取引パターンに応じて自動で設定できる。
The journal verification unit 14 compares and collates the journal data generated by the journal generation unit 13 with the reference journal data, and whether the journal data generated from the result of the comparison and collation is the correct journal, etc. Perform journal verification (including journal verification).
In addition, the journal verification unit 14 can automatically set the journal data items (journal verification range) to be compared and collated according to the transaction pattern of the transaction detail information.

画像認識部11と、文字認識部12と、仕訳生成部13と、仕訳検証部14等は分類器60を利用する事で各種学習モデルを利用したAIを利用する事ができる。具体的には画像認識部11と、文字認識部12と、仕訳生成部13と、仕訳検証部14等が分類器60へ入力データを入力することで、分類器60が出力した出力データを利用できる。 The image recognition unit 11, the character recognition unit 12, the journal generation unit 13, the journal verification unit 14, and the like can use AI using various learning models by using the classifier 60. Specifically, the image recognition unit 11, the character recognition unit 12, the journal generation unit 13, the journal verification unit 14, and the like input input data to the classifier 60, and the output data output by the classifier 60 is used. can.

分類器60は重みづけWにより調整された所定の関数Y=f(X,W)=X×Wを有しており、入力データXを入力すると所定の関数f(X,W)により出力データYが出力される。 The classifier 60 has a predetermined function Y = f (X, W) = X × W adjusted by the weighting W, and when the input data X is input, the output data is output by the predetermined function f (X, W). Y is output.

また、分類器60は事前に教師データを機械学習させることで、分類するための規則性を数値化した特徴量を学習(大量の教師データから分類したいものの共通点や差異である規則性を見つけ出す)させた学習モデルである。 In addition, the classifier 60 learns the feature quantity that quantifies the regularity for classification by machine learning the teacher data in advance (finds the commonalities and differences of the things to be classified from a large amount of teacher data. ) Is a learning model.

学習モデルを用いたAIが入力データと重みづけから判定条件(特徴量が所定の閾値以上又は所定の閾値以下)を生成し、判定条件を満たす出力データ(判定結果)を抽出する推論(判定)処理を行なう。教師データを使用した機械学習(教師あり学習)は最小二乗法や最尤推定法による線形回帰分析やサポートベクターマシン(SVM)やニューラルネットワーク(NN)を含めた公知の手法を用いてもよい。 Inference (judgment) in which AI using a learning model generates judgment conditions (features are equal to or more than a predetermined threshold value or less than a predetermined threshold value) from input data and weighting, and extracts output data (judgment results) that satisfy the judgment conditions. Perform processing. Machine learning using supervised data (supervised learning) may use known methods including linear regression analysis by the least squares method and the most probable estimation method, a support vector machine (SVM), and a neural network (NN).

判定結果を目視確認し、目視確認の結果判定結果が誤っている場合は判定結果を修正する。判定結果を修正した場合は、修正内容を学習モデルにフィードバックし、学習モデルがフィードバックした修正内容を学習(修正内容が出力対象となるように重みづけを調整)させることで、AIの推論(判定)処理の精度を高めることができる。学習方法は教師あり械学習で説明しているが、教師あり又は教師なし等の機械学習だけでなく、ディープラーニング等の公知のAI学習方法を使用してもよい。 The judgment result is visually confirmed, and if the judgment result is incorrect, the judgment result is corrected. When the judgment result is corrected, the correction content is fed back to the learning model, and the correction content fed back by the learning model is learned (the weighting is adjusted so that the correction content becomes the output target), so that the AI is inferred (judgment). ) The processing accuracy can be improved. The learning method is described in supervised machine learning, but not only machine learning with or without supervised learning, but also known AI learning methods such as deep learning may be used.

画像認識部11は後述する画像DB33にある登録画像データを教師データとして機械学習させた分類器(画像認識学習モデル)を用いた画像認識AIを有する。画像認識AIが画像類似度を判定条件として画像認識処理を行ない、証憑データから取引情報を抽出する。画像類似度は証憑データを複数の領域に分割し、各領域に存在する取引情報(証憑種類、日付、取引先、品目、金額、消費税額、支払方法等)の項目の頻度を特徴量とする値であり、各領域に存在する取引情報の項目の種類と項目数の合計から画像類似度を算出する。また、特徴量として取引情報の項目のばらつきや取引情報の項目の種類の分布でもよい。画像類似度は正規分布等の公知の統計処理を用いて算出してもよい。 The image recognition unit 11 has an image recognition AI using a classifier (image recognition learning model) in which the registered image data in the image DB 33, which will be described later, is machine-learned as teacher data. Image recognition AI performs image recognition processing using image similarity as a determination condition, and extracts transaction information from voucher data. Image similarity divides voucher data into multiple areas, and features the frequency of items of transaction information (voucher type, date, business partner, item, amount, consumption tax amount, payment method, etc.) existing in each area. It is a value, and the image similarity is calculated from the total number of items and the types of transaction information items existing in each area. Further, as the feature amount, the variation of the item of the transaction information or the distribution of the type of the item of the transaction information may be used. The image similarity may be calculated using a known statistical process such as a normal distribution.

文字認識部12は後述する取引DB34にあるテキストデータを教師データとして機械学習させた分類器(文字認識学習モデル)を用いた文字認識AIを有する。文字認識AIが文字類似度を判定条件として文字認識処理を行ない、取引情報から行毎に取引明細情報を抽出する。文字認識部12は抽出した全ての取引明細情報を元にテキストデータを生成する。文字類似度は取引情報の行毎の存在する取引明細情報(証憑種類、日付、取引先、品目、金額、消費税額、支払方法等)の項目の頻度を特徴量とする値であり、取引情報の各行に存在する取引明細情報の項目の種類と項目数の合計から文字類似度を算出する。また、特徴量として取引情報の項目のばらつきや取引情報の項目の種類の分布でもよい。文字類似度は正規分布等の公知の統計処理を用いて算出してもよい。 The character recognition unit 12 has a character recognition AI using a classifier (character recognition learning model) in which text data in the transaction DB 34, which will be described later, is machine-learned as teacher data. The character recognition AI performs character recognition processing using the character similarity as a determination condition, and extracts transaction detail information line by line from the transaction information. The character recognition unit 12 generates text data based on all the extracted transaction detail information. The character similarity is a value characterized by the frequency of items of transaction detail information (voucher type, date, business partner, item, amount, consumption tax amount, payment method, etc.) that exist for each line of transaction information. The character similarity is calculated from the total of the item types and the number of items of the transaction detail information existing in each line of. Further, as the feature amount, the variation of the item of the transaction information or the distribution of the type of the item of the transaction information may be used. The character similarity may be calculated using a known statistical process such as a normal distribution.

仕訳生成部13は後述する仕訳DB31にある登録仕訳データを教師データとして機械学習させた分類器(仕訳生成学習モデル)を用いた仕訳生成AIを有する。仕訳生成AIが仕訳類似度を判定条件として仕訳生成処理を行ない、取引明細情報から仕訳データを生成する。仕訳類似度は取引明細情報に対応した勘定科目(借方勘定科目と貸方勘定科目の組み合わせ)のうち選択した勘定科目の頻度を特徴量とする値であり、選択した勘定科目の種類や発生頻度から仕訳類似度を算出する。また、特徴量として勘定科目のばらつきや勘定科目の種類の分布でもよい。仕訳類似度は正規分布等の公知の統計処理を用いて算出してもよい。 The journal generation unit 13 has a journal generation AI using a classifier (journal generation generation learning model) in which registered journal data in the journal DB 31 described later is machine-learned as teacher data. Journal generation AI performs journal generation processing using journal similarity as a judgment condition, and generates journal data from transaction detail information. The journal similarity is a value characterized by the frequency of the selected account among the accounts (combination of debit and credit accounts) corresponding to the transaction item information, and is based on the type and frequency of occurrence of the selected account. Calculate journal similarity. Further, as the feature amount, the variation of the account item or the distribution of the type of the account item may be used. The journal similarity may be calculated using a known statistical process such as a normal distribution.

仕訳検証部14は後述する仕訳DB31にある登録仕訳データ及び誤仕訳DB32にある誤仕訳データを教師データとして機械学習させた分類器(仕訳検証学習モデル)を用いた仕訳検証AIを有する。仕訳検証AIが参照仕訳データと仕訳データと比較照合した結果に対して仕訳正常値又は仕訳異常値を判定条件として仕訳検証処理を行なう。 The journal verification unit 14 has a journal verification AI using a classifier (journal verification learning model) in which the registered journal data in the journal DB 31 and the erroneous journal data in the erroneous journal DB 32, which will be described later, are machine-learned as teacher data. Journal verification The journal verification process is performed on the result of comparison and collation between the reference journal data and the journal data by the journal verification AI using the journal normal value or the journal abnormal value as a determination condition.

仕訳正常値は取引明細情報や勘定科目等の正しい仕訳データの各項目の頻度を特徴量として、正しい仕訳データの各項目の種類や発生頻度から算出する。また、特徴量として正しい仕訳データの各項目のばらつきや正しい仕訳データの各項目の種類の分布でもよい。仕訳正常値は正規分布等の公知の統計処理を用いて算出してもよい。 The journal normal value is calculated from the type and occurrence frequency of each item of the correct journal data, using the frequency of each item of the correct journal data such as transaction detail information and accounts as a feature quantity. In addition, the variation of each item of the correct journal data or the distribution of the type of each item of the correct journal data may be used as the feature amount. The normal journal entry value may be calculated using a known statistical process such as a normal distribution.

また、仕訳異常値は取引明細情報や勘定科目等の誤り(明らかにデータがおかしいものを含む)のある仕訳データの各項目の頻度を特徴量として、誤りのある仕訳データの各項目の種類や発生頻度から算出する。また、特徴量として誤りのある仕訳データの各項目のばらつきや誤りのある仕訳データの各項目の種類の分布でもよい。仕訳異常値は正規分布等の公知の統計処理を用いて算出してもよい。 In addition, the journal error value is characterized by the frequency of each item of journal data with errors in transaction details information, account items, etc. (including those whose data is clearly incorrect), and the type of each item of journal data with errors and Calculated from the frequency of occurrence. Further, the feature amount may be the variation of each item of the journal data with an error or the distribution of the type of each item of the journal data with an error. The journal outlier may be calculated using a known statistical process such as a normal distribution.

なお、誤り(明らかにデータがおかしいものを含む)のある仕訳データの例としては、軽減税率(8%)対象商品に対して消費税額が通常税率(10%)で計算されている場合や品目の金額(例えば10万円)が消費税額(例えば60円)に比べて異常に大きい場合や消費税額(例えば1000円)が品目の金額(例えば300円)に比べて異常に大きい場合等の通常の誤り(仕訳)よりも特徴のある誤り(仕訳)のことである。 Examples of journal data with errors (including those with clearly incorrect data) include cases where the consumption tax amount is calculated at the normal tax rate (10%) for products subject to the reduced tax rate (8%) and items. Usually when the amount of money (for example, 100,000 yen) is abnormally large compared to the consumption tax amount (for example, 60 yen) or when the consumption tax amount (for example, 1000 yen) is abnormally large compared to the amount of the item (for example, 300 yen). It is an error (journal) that is more characteristic than the error (journal) of.

また、仕訳検証部14は後述する仕訳DB31にある登録仕訳データを教師データとして機械学習させた分類器(仕訳検証範囲学習モデル)を用いた仕訳検証範囲AIを有する。仕訳検証範囲AIが検証確定値を判定条件として仕訳検証処理を行なう仕訳データの項目(日付、借方勘定科目と貸方勘定科目、金額、消費税額、摘要等)を確定する仕訳検証確定処理を行う。 Further, the journal verification unit 14 has a journal verification range AI using a classifier (journal verification range learning model) in which registered journal data in the journal DB 31 described later is machine-learned as teacher data. Journal verification range AI performs journal verification confirmation processing using the verification confirmation value as a judgment condition to determine the items of journal data (date, debit account and credit account, amount, consumption tax amount, description, etc.).

検証確定値は取引明細情報の定型的な取引等の取引パターンに対応した仕訳データの各項目のうち仕訳検証処理を行なった仕訳データの項目(仕訳検証範囲)の分布(ばらつき)を特徴量の値であり、仕訳検証処理を行なった仕訳データの項目の発生頻度から検証確定値を算出する。また、検証確定値は仕訳検証処理を行なった仕訳データの項目のばらつきを正規分布等の公知の統計処理を用いて算出してもよい。取引明細情報の定型的な取引等の取引パターンに対応した仕訳データの各項目の検証項目値と検証確定値を後述する取引パターン辞書(図示せず)に登録して仕訳検証範囲に確定する際に参照してもよい。 The verification final value is characterized by the distribution (variation) of the journal data items (journal verification range) that have undergone journal verification processing among the journal data items that correspond to transaction patterns such as standard transactions in transaction detail information. It is a value, and the verification confirmation value is calculated from the frequency of occurrence of items in the journal data for which the journal verification process has been performed. Further, the verification final value may be calculated by using a known statistical process such as a normal distribution to calculate the variation of the items of the journal data for which the journal verification process has been performed. When registering the verification item value and verification confirmation value of each item of the journal data corresponding to the transaction pattern such as the standard transaction of the transaction detail information in the transaction pattern dictionary (not shown) described later and confirming it in the journal verification range. You may refer to.

記憶部30は、通常、MPUやメモリ等から実現され得る。記憶部30の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The storage unit 30 can usually be realized from an MPU, a memory, or the like. The processing procedure of the storage unit 30 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

また、記憶部30は、制御部10が各種の処理を実行するために必要なプログラム、データ等を記憶するためのハードディスク、半導体メモリ素子等の記憶領域である。 The storage unit 30 is a storage area for a hard disk, a semiconductor memory element, or the like for storing programs, data, and the like necessary for the control unit 10 to execute various processes.

また、記憶部30は、プログラム記憶部(図示せず)と、仕訳DB31と、画像DB33、取引DB34と、誤仕訳DB32と、学習モデル記憶部35を備える。 Further, the storage unit 30 includes a program storage unit (not shown), a journal entry DB 31, an image DB 33, a transaction DB 34, an erroneous journal entry DB 32, and a learning model storage unit 35.

プログラム記憶部は、各種プログラムを記憶する記憶領域である。プログラム記憶部は、会計処理等を行う等の各種機能を実行するためのアプリケーションプログラムを記憶している。 The program storage unit is a storage area for storing various programs. The program storage unit stores application programs for executing various functions such as accounting processing.

仕訳DB31は、仕訳検証部14による仕訳検証処理を行った仕訳データのうち目視確認の結果、正しい仕訳と判定した仕訳データ(修正した仕訳データを含む)を登録仕訳データとして記憶したデータベースである。仕訳データは仕訳生成部13により生成され、取引明細情報と証憑データと関連付けされる。 The journal DB 31 is a database that stores journal data (including corrected journal data) that is determined to be correct as a result of visual confirmation among the journal data that has been subjected to journal verification processing by the journal verification unit 14 as registered journal data. The journal data is generated by the journal generation unit 13 and is associated with the transaction details information and the voucher data.

誤仕訳DB32は、仕訳検証部14による仕訳検証処理を行った仕訳データのうち大きく誤っている仕訳と判定した仕訳データを誤仕訳データとして記憶したデータベースである。 The erroneous journal DB 32 is a database that stores the journal data determined to be a significantly erroneous journal among the journal data that has been subjected to the journal verification process by the journal verification unit 14 as erroneous journal data.

仕訳データ(登録仕訳データ、誤仕訳データ)は仕訳コードと日付と勘定科目(借方勘定科目と貸方勘定科目)と金額と消費税額と摘要と仕訳類似度と空欄フラグと二重計上フラグと取引明細情報と検証項目値(日付、借方勘定科目、貸方勘定科目、金額、消費税額、摘要)と検証確定値の項目と画像コードの項目からなる。 Journal data (registered journal data, incorrect journal data) includes journal code, date, account (debit account and credit account), amount, consumption tax amount, description, journal similarity, blank flag, double accounting flag, and transaction details. It consists of information and verification item values (date, debit account, credit account, amount, consumption tax amount, description), verification final value item, and image code item.

仕訳コードは仕訳データを識別するユニークなコードである。日付は仕訳データの発生日付であり、証憑データに含まれる日付と同じである。勘定科目は会社の取引による資産・負債・資本の増減、および費用・収益の発生の性質をわかりやすく記録するために必要な分類項目の総称である。金額は取引における支払対価の額であり、単一仕訳の借方金額や貸方金額である。消費税額は消費税の金額である。 The journal code is a unique code that identifies the journal data. The date is the date of occurrence of the journal data and is the same as the date contained in the voucher data. Accounts are a general term for classification items necessary to clearly record the changes in assets, liabilities, and capital, and the nature of expenses and income generated by company transactions. The amount is the amount of consideration paid in the transaction, which is the debit or credit amount of a single journal. The amount of consumption tax is the amount of consumption tax.

摘要は、取引の相手方の氏名、名称や資産または役務の提供の内容等の取引内容であり、勘定科目に対する補足内容である。仕訳の摘要は本来、何も記載しなくてもよいが、消費税の課税事業者は仕訳の摘要に消費税の記載要件を記載する必要がある。仕訳類似度は取引明細情報に対応した勘定科目(借方勘定科目と貸方勘定科目の組み合わせを含む)のうち選択した勘定科目(借方勘定科目と貸方勘定科目の組み合わせを含む)の発生頻度である。 The description is the transaction content such as the name, name, asset or service provision content of the other party of the transaction, and is a supplementary content to the account item. Originally, the description of the journal does not have to be described at all, but the taxable business operator of the consumption tax needs to describe the requirements for the description of the consumption tax in the description of the journal. The journal similarity is the frequency of occurrence of the selected account (including the combination of the debit account and the credit account) among the accounts (including the combination of the debit account and the credit account) corresponding to the transaction item information.

空欄フラグは後述する仕訳データの項目に空欄があるかのチェックで空欄がある場合に設定するフラグである。二重計上フラグは後述する仕訳の二重計上があるか(同じ内容の仕訳を複数生成されているか)のチェックで仕訳の二重計上がある場合に設定するフラグである。取引明細情報は仕訳データの根拠となる取引内容である。 The blank flag is a flag to be set when there is a blank in the journal data item described later to check whether there is a blank. The double counting flag is a flag to be set when there is double counting of journals by checking whether there is double counting of journals described later (whether multiple journals with the same content are generated). The transaction details information is the transaction content that is the basis of the journal data.

検証項目値(日付、借方勘定科目、貸方勘定科目、金額、消費税額、摘要)は仕訳検証処理を行なう仕訳データの各項目(仕訳検証範囲)と各項目の(正常又は異常等の)状態を数値で示したものである。検証確定値は仕訳検証処理を行なう仕訳データの範囲(仕訳データのどの項目を仕訳検証処理するか)を仕訳データの各項目(日付、借方勘定科目、貸方勘定科目、金額、消費税額、摘要)に対して判定し、取引明細情報の取引パターンに応じて最適な仕訳検証範囲として設定したものである。 The verification item values (date, debit account, credit account, amount, consumption tax amount, description) indicate each item (journal verification range) of the journal data for which journal verification processing is performed and the status (normal or abnormal, etc.) of each item. It is shown numerically. The verification confirmation value is the range of the journal data for which the journal verification process is performed (which item of the journal data is to be verified) for each item of the journal data (date, debit account, credit account, amount, consumption tax amount, description). Is determined and set as the optimum journal verification range according to the transaction pattern of the transaction detail information.

画像DB33は、入力部20が生成した証憑データに対して画像認識部11が画像認識処理を行ない、画像認識処理結果である取引情報を反映させた証憑データを登録画像データとして記憶したデータベースである。 The image DB 33 is a database in which the image recognition unit 11 performs image recognition processing on the voucher data generated by the input unit 20 and stores the voucher data reflecting the transaction information which is the result of the image recognition processing as registered image data. ..

証憑データ(登録画像データ)は画像コードと証憑画像と取引情報と画像類似度の項目からなる。画像コードは証憑データを識別するユニークなコードである。証憑画像は電子データ化された証憑の画像データ(例えば「レシート20200403.JPG」等)である。画像類似度は証憑データを複数に分割した領域で各領域に存在する取引情報の項目の数量の合計である。 The voucher data (registered image data) consists of an image code, a voucher image, transaction information, and image similarity items. The image code is a unique code that identifies the voucher data. The voucher image is image data of the voucher converted into electronic data (for example, "receipt 20200403.JPG" or the like). The image similarity is the total number of transaction information items existing in each area in the area where the voucher data is divided into a plurality of areas.

取引情報は取引情報項目と取引情報項目数とラベルと文字列情報一覧の項目から構成される。取引情報項目は証憑種類、日付、取引先、品目、金額、消費税額、支払方法等の証憑データの取引情報の項目であり、取引情報項目数は証憑データの取引情報の項目数である。ラベルは証憑データの画像内容を示すものである。文字列情報一覧は証憑データに含まれている複数行の文字列情報であり、文字列情報1、文字列情報2、…、文字列情報行番号のように行数分の文字列情報が設定されている。 Transaction information consists of transaction information items, the number of transaction information items, labels, and items in the character string information list. The transaction information item is the transaction information item of the voucher data such as voucher type, date, business partner, item, amount, consumption tax amount, payment method, etc., and the number of transaction information items is the number of transaction information items of the voucher data. The label indicates the image content of the voucher data. The character string information list is a multi-line character string information included in the voucher data, and character string information for the number of lines such as character string information 1, character string information 2, ..., Character string information line number is set. Has been done.

取引情報の項目として、証憑種類、日付、取引先、品目、金額、消費税額、支払方法等がある。 Items of transaction information include voucher type, date, business partner, item, amount, consumption tax amount, payment method, and the like.

取引情報の「証憑種類」は伝票、領収書、レシートや請求書等の証憑データの種類に関する情報を示す。 "Voucher type" of transaction information indicates information on the type of voucher data such as slips, receipts, receipts and invoices.

取引情報の「日付」はレシート等(証憑)に記載された日付(購入日や発行日等の取引日)に関する情報を示す。 The "date" of the transaction information indicates information related to the date (transaction date such as purchase date and issue date) written on the receipt or the like (voucher).

取引情報の「取引先」はレシート等(証憑)に記載されたレシート等(証憑)の発行元や商品等の購入先の会社名やその店舗名やその連絡先や担当者(店員)名等を含む取引先に関する情報を示す。 The "customer" of the transaction information is the issuer of the receipt (voucher) written on the receipt (voucher), the company name of the purchaser of the product, the store name, the contact information, the person in charge (clerk), etc. Shows information about business partners, including.

取引情報の「品目」はレシート等(証憑)に記載された商品等の品目(商品や商品コードを含む購入内容等や軽減税率を示す記号(マーク)を含む)に関する情報を示す。 The "item" in the transaction information indicates information on an item such as a product (including a purchase content including a product or product code and a symbol (mark) indicating a reduced tax rate) described on a receipt or the like (voucher).

取引情報の「金額」はレシート等(証憑)に記載された品目の金額や合計額等の文字(合計や小計等に含む)や金額に関する情報を示す。 The "amount" of the transaction information indicates the amount of the item written on the receipt (voucher), characters such as the total amount (included in the total or subtotal), and information on the amount.

取引情報の「消費税額」はレシート等(証憑)に記載された品目の消費税額(軽減税率も含む)や消費税合計額等の文字(8%や10%や軽減税率対象商品等も含む)や金額に関する情報を示す。 "Consumption tax amount" in transaction information includes characters such as consumption tax amount (including reduced tax rate) and total consumption tax amount of items listed on receipts (vouchers) (including 8% and 10% and products subject to reduced tax rate). And show information about the amount.

取引情報の「支払方法」は現金やクレジットカードや電子マネー等のレシート等(証憑)に記載された支払方法に関する情報を示す。支払方法がレシート等(証憑)に記載されていない場合はレシート等(証憑)に記載された情報(お釣りやカード会社等の情報等)から支払方法を判定する。 The "payment method" of the transaction information indicates information on the payment method described on the receipt (voucher) of cash, credit card, electronic money, etc. If the payment method is not described on the receipt, etc. (voucher), the payment method is determined from the information (information on change, card company, etc.) described on the receipt, etc. (voucher).

取引DB34は、テキストデータを登録テキストデータとして記憶したデータベースである。テキストデータは証憑データ(取引情報の文字列情報一覧)を文字認識処理した取引明細情報から生成したデータである。テキストデータは証憑データと関連付けて作成される。 The transaction DB 34 is a database that stores text data as registered text data. The text data is data generated from transaction detail information obtained by character-recognizing voucher data (list of character string information of transaction information). Text data is created in association with voucher data.

テキストデータはテキストコードと複数行の取引明細情報と文字類似度と画像コードの項目からなる。テキストコードは登録テキストデータを識別するユニークなコードである。文字類似度は取引情報の行毎の存在する取引明細情報の項目の数量の合計である。
取引明細情報は取引明細文字列情報と取引明細情報項目と取引明細情報項目数から構成される。
The text data consists of text code, multi-line transaction detail information, character similarity and image code items. The text code is a unique code that identifies the registered text data. The character similarity is the total quantity of existing transaction detail information items for each line of transaction information.
The transaction detail information is composed of the transaction detail character string information, the transaction detail information item, and the number of transaction detail information items.

取引明細文字列情報は取引情報の文字列情報一覧の各行の文字列情報の文字認識結果である。取引明細情報項目は証憑種類、日付、取引先、品目、金額、消費税額、支払方法等の証憑データの取引情報の項目であり、取引明細情報項目数は証憑データの取引明細情報の項目数である。 The transaction detail character string information is the character recognition result of the character string information of each line of the character string information list of the transaction information. The transaction details information item is the transaction information item of the voucher data such as voucher type, date, business partner, item, amount, consumption tax amount, payment method, etc., and the number of transaction details information items is the number of transaction details information items of the voucher data. be.

取引情報明細の項目として、証憑種類、日付、取引先、品目、金額、消費税額、支払方法等がある。 Items of transaction information details include voucher type, date, business partner, item, amount, consumption tax amount, payment method, and the like.

取引情報明細の「証憑種類」は取引情報の「証憑種類」を文字認識処理結果であり、伝票、領収書、レシートや請求書等の証憑データの種類に関する情報を示す。 The "voucher type" of the transaction information statement is the result of character recognition processing of the "voucher type" of the transaction information, and indicates information on the type of voucher data such as slips, receipts, receipts and invoices.

取引情報明細の「日付」は取引情報の「日付」を文字認識処理結果であり、レシート等(証憑)に記載された日付(購入日や発行日等の取引日)に関する情報を示す。 The "date" of the transaction information statement is the result of character recognition processing of the "date" of the transaction information, and indicates information on the date (transaction date such as purchase date and issue date) described on the receipt or the like (voucher).

取引情報明細の「取引先」は取引情報の「取引先」を文字認識処理結果であり、レシート等(証憑)に記載されたレシート等(証憑)の発行元や商品等の購入先の会社名やその店舗名やその連絡先や担当者(店員)名等を含む取引先に関する情報を示す。 The "customer" in the transaction information statement is the result of character recognition processing for the "customer" in the transaction information, and the issuer of the receipt, etc. (voucher) described on the receipt, etc. (voucher) or the company name of the purchaser of the product, etc. Information about the business partner, including the name of the store, its contact information, and the name of the person in charge (clerk).

取引情報明細の「品目」は取引情報の「品目」を文字認識処理結果であり、レシート等(証憑)に記載された商品等の品目(商品や商品コードを含む購入内容等や軽減税率を示す記号(マーク)を含む)に関する情報を示す。 The "item" in the transaction information statement is the result of character recognition processing for the "item" in the transaction information, and indicates the item such as the product (purchase content including the product or product code and the reduced tax rate) described on the receipt etc. (voucher). Shows information about (including symbols).

取引情報明細の「金額」は取引情報の「金額」を文字認識処理結果であり、レシート等(証憑)に記載された品目の金額や合計額等の文字(合計や小計等に含む)や金額に関する情報を示す。 The "amount" of the transaction information statement is the result of character recognition processing of the "amount" of the transaction information, and the characters (including in the total and subtotal) and the amount of the item such as the amount and the total amount described on the receipt etc. (voucher). Provides information about.

取引情報明細の「消費税額」は取引情報の「消費税額」を文字認識処理結果であり、レシート等(証憑)に記載された品目の消費税額(軽減税率も含む)や消費税合計額等の文字(8%や10%や軽減税率対象商品等も含む)や金額に関する情報を示す。 The "consumption tax amount" of the transaction information statement is the result of character recognition processing of the "consumption tax amount" of the transaction information, such as the consumption tax amount (including the reduced tax rate) and the total consumption tax amount of the items described on the receipt etc. (voucher). Shows information about characters (including 8% and 10%, products subject to reduced tax rate, etc.) and amount.

取引情報明細の「支払方法」は取引情報の「支払方法」を文字認識処理結果であり、現金やクレジットカードや電子マネー等のレシート等(証憑)に記載された支払方法に関する情報を示す。支払方法がレシート等(証憑)に記載されていない場合はレシート等(証憑)に記載された情報(お釣りやカード会社等の情報等)から支払方法を判定する。 The "payment method" of the transaction information statement is the result of character recognition processing of the "payment method" of the transaction information, and indicates the information on the payment method described on the receipt (voucher) of cash, credit card, electronic money, etc. If the payment method is not described on the receipt, etc. (voucher), the payment method is determined from the information (information on change, card company, etc.) described on the receipt, etc. (voucher).

学習モデル記憶部35を用意し、画像認識学習モデル、文字認識学習モデル、仕訳生成学習モデル、仕訳検証モデル及び仕訳検証範囲学習モデル等の所定の学習モデルを記憶したデータベースである。 A database in which a learning model storage unit 35 is prepared and a predetermined learning model such as an image recognition learning model, a character recognition learning model, a journal generation learning model, a journal verification model, and a journal verification range learning model is stored.

会社DB(図示せず)は会社コードをキーに、会計処理の対象となる事業者の(会社)情報を記憶する。会社DBは、会社コードと、組織コードと、部門コードと、会社名と、業種と、組織名と、部門名と、種類と、年度と、住所と、組織長と、区分と、担当者の項目からなる会社(事業者)データを記憶している。会社(事業者)データは会計事務所がこの会計処理装置1を複数の顧問先に対して使用する場合の他、企業が本支店間(図示せず)や本社支社間(図示せず)や本社と各拠点の営業所間で使用する場合(図示せず)に使用する。 The company DB (not shown) stores (company) information of the business operator subject to accounting processing using the company code as a key. The company DB is a company code, an organization code, a department code, a company name, an industry, an organization name, a department name, a type, a year, an address, an organization manager, a division, and a person in charge. Stores company (business) data consisting of items. For company (business) data, in addition to the case where the accounting office uses this accounting processing device 1 for multiple advisors, the company can use it between the head office and branch offices (not shown) or between the head office and branch offices (not shown). It is used when it is used between the head office and the sales offices of each base (not shown).

会社コードは、顧問先を識別する識別情報であり、組織店コードその企業の本支店や本社支社であり、部門コードは所属部署を識別する識別情報である。業種は製造業や小売業等のその企業の事業の種類である。会社名はその企業(例:ABC工業等)の名称であり、組織名は本社や支社や営業所等のその企業の拠点(例:○島支社等)の名称であり、部門名は経理部や営業等の部署の名称である。種類は会計や税務や経理等の業務の種類である。住所はその企業の組織の住所である。組織長は本社であれば代表者(例:ABC工業なら○山×男)等のその企業の組織の長の名称である。区分は法人や個人等の区分である。担当者は会計処理等の業務の担当者である。 The company code is the identification information that identifies the adviser, the organization store code is the head office or the head office branch office of the company, and the department code is the identification information that identifies the department to which the company belongs. The type of business is the type of business of the company, such as manufacturing or retail. The company name is the name of the company (example: ABC industry, etc.), the organization name is the name of the company's base (example: ○ island branch office, etc.) such as the head office, branch office, sales office, etc., and the department name is the accounting department. It is the name of a department such as sales or sales. The type is the type of work such as accounting, taxation, and accounting. The address is the address of the organization of the company. The head of the organization is the name of the head of the organization of the company, such as the representative (eg, ○ mountain x man for ABC industry) at the head office. The classification is the classification of corporations and individuals. The person in charge is the person in charge of operations such as accounting.

会社DBは、上記記載の各項目の他、例えば、代表者名、企業ロゴ、DB登録日、事業形態、受任業務等を記憶してもよい。代表者名は、例えば、企業の親子関係の紐付けに用いてもよい。DB登録日は、顧問契約日や支店設置日が該当する。事業形態は、法人事業であるか、個人事業であるか、単なる個人であるか等である。受任業務は、会計業務(月次監査、決算等)、税務(法人税申告、青色申告等)である。 In addition to each item described above, the company DB may store, for example, a representative name, a company logo, a DB registration date, a business form, a commissioned business, and the like. The representative name may be used, for example, to link the parent-child relationship of a company. The DB registration date corresponds to the advisory contract date and the branch establishment date. The business form is whether it is a corporate business, an individual business, or a mere individual. The entrusted business is accounting business (monthly audit, settlement of accounts, etc.) and tax affairs (corporate tax filing, blue filing, etc.).

取引先DB(図示せず)は事業者の取引先に関する情報(取引先情報)を含む取引先データを記憶したデータベースである。取引先データは取引先コードと業種と取引先名と住所と店舗名と電話番号と企業ロゴと担当者名と支払方法等の項目から構成される。取引先データに商品コードや取り扱っている品目(商品)等を追加してもよい。 The business partner DB (not shown) is a database that stores business partner data including information (customer information) about the business partner of the business operator. The business partner data is composed of items such as a business partner code, an industry, a business partner name, an address, a store name, a telephone number, a company logo, a person in charge, and a payment method. The product code, the item (product), etc. handled may be added to the customer data.

取引先コードは取引先を識別する識別情報である。会社(事業者)の取引先を示す情報として業種と取引先名と住所と店舗名と電話番号と企業ロゴと取引担当者と取引先への支払方法である。これらの取引先情報は売上、仕入、売掛金、買掛金等の相手先として利用してもよい。 The business partner code is identification information that identifies the business partner. Information indicating the business partner of the company (business operator) is the type of business, the business partner name, the address, the store name, the telephone number, the company logo, the person in charge of the transaction, and the payment method to the business partner. These business partner information may be used as a partner for sales, purchases, accounts receivable, accounts payable, and the like.

アプリケーションプログラムとして1つのプログラムによって上述した制御部10の各種機能を実行して記載したが、機能ごとに細分化した複数のプログラムとして上述した制御部10の各種機能を実行してもよい。 Although the various functions of the control unit 10 described above are executed and described as an application program by one program, the various functions of the control unit 10 described above may be executed as a plurality of programs subdivided for each function.

なお、本発明でいうコンピュータとは、制御部、記憶装置等を備えた情報処理装置をいい、会計処理装置1は制御部10、記憶部30等を備えた情報処理装置であり、本発明のコンピュータの概念に含まれる。 The computer referred to in the present invention refers to an information processing device including a control unit, a storage device, and the like, and the accounting processing device 1 is an information processing device including a control unit 10, a storage unit 30, and the like. Included in the concept of computers.

<会計処理装置1の処理>
次に、会計処理装置1による処理について説明する。
図3は、本実施形態に係る会計処理装置1での処理を示すフローチャートである。
図4は、証憑データの一例である。
図5は、画像認識部11が証憑データを複数の領域に分割する一例である。
実施例1の処理をフローチャートで説明する。なお、実施例1の変形例等の別の記載例については、実施例1との差異のみを記載し、共通部分の記載は省略する。
<Processing of accounting processing device 1>
Next, the processing by the accounting processing apparatus 1 will be described.
FIG. 3 is a flowchart showing processing in the accounting processing apparatus 1 according to the present embodiment.
FIG. 4 is an example of voucher data.
FIG. 5 is an example in which the image recognition unit 11 divides the voucher data into a plurality of areas.
The process of the first embodiment will be described with a flowchart. Regarding another description example such as a modification of Example 1, only the difference from Example 1 is described, and the description of the common part is omitted.

伝票、領収書、レシートや請求書等を含む証憑(以下、レシート等とする)を携帯電話やデジカメ等の携帯端末及びスキャナ等の入力部20で読み取らせ、入力部20はレシート等(証憑)を読み取って、電子化した証憑データを生成する(ステップS1、以下、単に「S1」と表記する)。制御部10は、レシート等(証憑)毎に生成された証憑データを受け付ける。例えば、レシート等(証憑)が1枚であった場合には、証憑データは1つであり、レシート等(証憑)が複数あった場合には複数である。 A voucher (hereinafter referred to as a receipt) including a slip, a receipt, a receipt, an invoice, etc. is read by a mobile terminal such as a mobile phone or a digital camera, and an input unit 20 such as a scanner, and the input unit 20 is a receipt or the like (voucher). Is read to generate digitized voucher data (step S1, hereinafter simply referred to as "S1"). The control unit 10 receives the voucher data generated for each receipt or the like (voucher). For example, when there is one receipt or the like (voucher), there is one voucher data, and when there are a plurality of receipts or the like (voucher), there are a plurality of voucher data.

画像認識部11は、制御部10が受け付けた証憑データの画像認識処理を行なう(S2)。
具体的には、画像認識処理として証憑データを複数の領域に分割し、分割した各領域の取引情報各項目(証憑種類、日付、取引先、品目、金額を含む)の情報と取引情報項目数を取得する。分割した各領域の「取引情報項目(証憑種類、日付、取引先、品目、金額、消費税額、支払方法等)」と「取引情報項目数」を集計する。分割した各領域の「取引情報項目(証憑種類、日付、取引先、品目、金額、消費税額、支払方法等)」と「取引情報項目数」から取引情報と画像類似度を算出して取得する。
The image recognition unit 11 performs image recognition processing of the voucher data received by the control unit 10 (S2).
Specifically, as image recognition processing, voucher data is divided into a plurality of areas, and information on each item of transaction information (including voucher type, date, business partner, item, amount) and the number of transaction information items in each divided area. To get. "Transaction information items (voucher type, date, business partner, item, amount, consumption tax amount, payment method, etc.)" and "number of transaction information items" of each divided area are totaled. Calculate and acquire transaction information and image similarity from "transaction information items (voucher type, date, business partner, item, amount, consumption tax amount, payment method, etc.)" and "number of transaction information items" in each divided area. ..

例えば、図4のレシートを9つの領域に分割した場合は、図5のように左上から右下への順番で左上から順に領域A1、領域A2、領域A3、領域A4、領域A5、領域A6、領域A7、領域A8、領域A9のように9つの領域に分割される。 For example, when the receipt of FIG. 4 is divided into nine areas, the areas A1, the area A2, the area A3, the area A4, the area A5, and the area A6 are arranged in the order from the upper left to the lower right as shown in FIG. It is divided into nine regions such as region A7, region A8, and region A9.

また、画像認識部11がレシート等(証憑)の証憑データを図5のように9つに分割した領域に対して画像認識処理を行なう。 Further, the image recognition unit 11 performs image recognition processing on a region in which voucher data such as a receipt (voucher) is divided into nine as shown in FIG.

領域A1の取引情報項目(複数ある場合は複数設定)は領域A1にストアAの電話番号(取引先)とレジ担当者名(取引先)と発行日付(日付)が記載されている為、領域A1の取引情報項目は「取引先、取引先、日付」が設定され、領域A1の取引情報項目数は3が設定される。 The transaction information item of area A1 (multiple settings if there are multiple items) is the area because the phone number (customer) of store A, the name of the cashier (customer), and the issue date (date) are described in area A1. "Business partner, business partner, date" is set for the transaction information item of A1, and 3 is set for the number of transaction information items in area A1.

また、領域A1の取引情報項目は重複する項目は除外して設定(例えば領域A1は「取引先」の項目は重複しているので、領域A1の取引情報項目は「取引先、日付」が、領域A1の取引情報項目数は2が設定される)してもよいし、最も取引情報の項目のうち数の多い項目を設定(最も数の多い項目は「取引先」なので、領域A1の取引情報項目は「取引先」が、領域A1の取引情報項目数は2が設定される)してもよい。 In addition, the transaction information items in area A1 are set by excluding duplicate items (for example, since the items in "customer" are duplicated in area A1, the transaction information item in area A1 is "customer, date". The number of transaction information items in area A1 may be set to 2), or the item with the largest number of transaction information items may be set (since the item with the largest number is "customer", the transaction in area A1 is set. The information item may be set to "customer", and the number of transaction information items in area A1 may be set to 2).

領域A2に領収書(証憑種類)とストアA(取引先名)と西陽町店(取引先店舗名)と電話番号(取引先)とレジ担当者コード(取引先)と発行日付(日付)が記載されているので、領域A2の取引情報項目は「証憑種類、取引先、取引先、取引先、取引先、日付」が設定され、領域A2の取引情報項目数は6が設定される。 Area A2 contains the receipt (voucher type), store A (customer name), Saiyocho store (customer store name), telephone number (customer), cashier code (customer), and issue date (date). Since it is described, the transaction information item in the area A2 is set to "voucher type, business partner, business partner, business partner, business partner, date", and the number of transaction information items in the area A2 is set to 6.

領域A3にストアAの店コード(取引先)が記載されているので、領域A3の取引情報項目は「取引先」が設定され、領域A3の取引情報項目数は1が設定される。 Since the store code (customer) of the store A is described in the area A3, the transaction information item of the area A3 is set to "customer", and the number of transaction information items of the area A3 is set to 1.

領域A4に30001*(商品コード)等と小計(金額)等が記載されているので、領域A4の取引情報項目は「品目、品目、品目、金額、品目、品目、品目、金額」が設定され、領域A4の取引情報項目数は8が設定される。 Since 30001 * (product code) etc. and subtotal (amount) etc. are described in area A4, "item, item, item, amount, item, item, item, amount" is set as the transaction information item in area A4. , The number of transaction information items in the area A4 is set to 8.

領域A5に牛肉(商品名)等が記載されているので、領域A5の取引情報項目は「品目、品目、品目、品目、品目、品目」が設定され、領域A5の取引情報項目数は6が設定される。 Since beef (product name) and the like are described in the area A5, "item, item, item, item, item, item" is set as the transaction information item in the area A5, and the number of transaction information items in the area A5 is 6. Set.

領域A6に¥5,400(金額)等が記載されているので、領域A6の取引情報項目は「金額、金額、金額、金額、金額、金額、金額、金額」が設定され、領域A6の取引情報項目数は8が設定される。 Since ¥ 5,400 (amount) etc. is described in the area A6, the transaction information item of the area A6 is set to "amount, amount, amount, amount, amount, amount, amount, amount", and the transaction in the area A6. The number of information items is set to 8.

領域A7に合計(金額)や内消費税等(消費税額)やお釣り(支払方法)や「*印の商品は軽減税率対象商品です。」(消費税額)が記載されているので、領域A7の取引情報項目は「消費税額、消費税額、消費税額、消費税額、金額、消費税額、支払方法、支払方法、消費税額」が設定され、領域A7の取引情報項目数は9が設定される。 Area A7 contains the total (amount), consumption tax (consumption tax amount), change (payment method), and "Products marked with * are subject to the reduced tax rate" (consumption tax amount). "Consumption tax amount, consumption tax amount, consumption tax amount, consumption tax amount, amount, consumption tax amount, payment method, payment method, consumption tax amount" are set as transaction information items, and 9 is set as the number of transaction information items in area A7.

領域A8に「*印の商品は軽減税率対象商品です。」(消費税額)が記載されているので、領域A8の取引情報項目は「消費税額」が設定され、領域A8の取引情報項目数は1が設定される。 Since "Products marked with * are products subject to the reduced tax rate" (consumption tax amount) are described in area A8, "consumption tax amount" is set for the transaction information item in area A8, and the number of transaction information items in area A8 is 1 is set.

領域A9に¥16,800(金額)や¥1,522(消費税額)や¥3,200(支払方法)や「*印の商品は軽減税率対象商品です。」(消費税額)が記載されているので、領域A9の取引情報項目は「消費税額、消費税額、消費税額、消費税額、金額、消費税額、支払方法、支払方法、消費税額」が設定され、領域A9の取引情報項目数は9が設定される。 Area A9 contains ¥ 16,800 (amount), ¥ 1,522 (consumption tax), ¥ 3,200 (payment method), and "Products marked with * are subject to the reduced tax rate." (Consumption tax). Therefore, "consumption tax amount, consumption tax amount, consumption tax amount, consumption tax amount, amount, consumption tax amount, payment method, payment method, consumption tax amount" are set as the transaction information items in area A9, and the number of transaction information items in area A9 is 9. Is set.

証憑データを複数に分割した領域毎の取引情報項目数の合計である画像類似度を集計し、画像類似度の高いものから優先的に抽出する。 The image similarity, which is the total number of transaction information items for each area in which the voucher data is divided into a plurality of areas, is totaled, and the one with the highest image similarity is preferentially extracted.

領域A1からA9の取引情報項目数の合計である画像類似度は51(証憑種類の数量1+取引先の数量7+日付の数量2+品目の数量12+金額の数量12+消費税額の数量13+支払方法の数量4=51)となる。 The image similarity, which is the total number of transaction information items in areas A1 to A9, is 51 (quantity of voucher type 1 + quantity of business partner 7 + quantity of date 2 + quantity of item 12 + quantity of amount 12 + quantity of consumption tax 13 + quantity of payment method 4 = 51).

また、取引情報の項目で重要な項目については重みづけを行なってから、画像類似度を設定してもよい。例えば、取引情報の項目にユーザーが設定した重みづけを反映させてもよい。 Further, the image similarity may be set after weighting the important items in the transaction information items. For example, the weighting set by the user may be reflected in the item of transaction information.

算出した画像類似度を検索キーとして、画像DBに対してマッチング(比較・照合)処理を行ない、マッチング結果から画像類似度の最も近い登録画像データを類似登録画像データとして抽出する(S3)。抽出した類似登録画像データから取引情報(ラベル)を取得し、画像認識部11は取得した取引情報(ラベル)から証憑データの判定(画像認識)を行なう。
なお、画像認識処理は、公知の手法を用いて行ってもよい。
Using the calculated image similarity as a search key, matching (comparison / collation) processing is performed on the image DB, and the registered image data having the closest image similarity is extracted as the similar registered image data from the matching result (S3). Transaction information (label) is acquired from the extracted similar registered image data, and the image recognition unit 11 determines voucher data (image recognition) from the acquired transaction information (label).
The image recognition process may be performed by using a known method.

証憑データの判定が終わったら証憑データの文字列情報を行毎に読み取り、後述する取引情報の文字列情報一覧部分に保存する。なお、文字列情報を読み取った時に後述する文字認識(テキスト化)処理も一緒に行なってもよい。よって、画像認識部11は画像認識処理により証憑データ上の取引情報の配置と取引情報の内容を取得できる。 When the judgment of the voucher data is completed, the character string information of the voucher data is read line by line and saved in the character string information list part of the transaction information described later. When the character string information is read, the character recognition (text conversion) process described later may be performed at the same time. Therefore, the image recognition unit 11 can acquire the arrangement of the transaction information on the voucher data and the contents of the transaction information by the image recognition process.

画像DBに画像類似度78である登録画像データ1(ラベルが伝票)と画像類似度が52である登録画像データ2(ラベルがレシート)と画像類似度が45である登録画像データ3(ラベルが請求書)とがある場合(図示せず)、証憑データの画像類似度51に対して画像類似度の近い順として登録画像データ2(画像類似度が52、ラベルがレシート)と登録画像データ1(画像類似度が45、ラベルが請求書)のうち画像類似度の最も近い登録画像データ2(画像類似度が52、ラベルがレシート)が類似登録画像データとして画像DBから抽出される。画像類似度の近い順(類似度)で抽出しているが、例えば画像類似度54と文字類似度48の場合のように2つの類似度の差が同じ場合は画像類似度の高い順(文字類似度54を優先)で抽出してもよい。 Registered image data 1 (label is a slip) having an image similarity of 78, registered image data 2 (label is a receipt) having an image similarity of 52, and registered image data 3 (label is a slip) having an image similarity of 45 in the image DB. If there is an invoice (not shown), the registered image data 2 (image similarity is 52, label is receipt) and the registered image data 1 are in order of closeness to the image similarity 51 of the voucher data. The registered image data 2 (image similarity is 52, label is receipt) having the closest image similarity among (image similarity is 45 and label is invoice) is extracted from the image DB as similar registered image data. The images are extracted in the order of close image similarity (similarity), but when the difference between the two similarities is the same, for example, in the case of image similarity 54 and character similarity 48, the order of image similarity is high (characters). The similarity 54 may be prioritized).

抽出された登録画像データのうち画像類似度の最も近い登録画像データ2(画像類似度が52、ラベルがレシート)から取引情報(ラベル「レシート」)を取得し、画像認識部11は取得した取引情報から証憑データはレシート画像だと判定(画像認識)する。 Transaction information (label "receipt") is acquired from the registered image data 2 (image similarity is 52, label is receipt) having the closest image similarity among the extracted registered image data, and the image recognition unit 11 acquires the acquired transaction. From the information, it is determined that the voucher data is a receipt image (image recognition).

また、画像認識部11は画像認識学習モデルを用いた画像認識AIを有し、画像認識AIに画像認識処理をさせてもよい。図4のレシートを図5のように9つの領域に分割した場合は、画像類似度が51となるので、画像認識AIは画像類似度を判定条件として画像類似度51に近い閾値をもつ登録画像データ2(画像類似度が52、ラベルがレシート)から画像認識AIは証憑データがレシート画像と推論(判定)する。 Further, the image recognition unit 11 may have an image recognition AI using an image recognition learning model, and the image recognition AI may perform an image recognition process. When the receipt of FIG. 4 is divided into nine regions as shown in FIG. 5, the image similarity is 51. Therefore, the image recognition AI is a registered image having a threshold close to the image similarity 51 with the image similarity as a determination condition. From the data 2 (image similarity is 52, label is receipt), the image recognition AI infers (determines) that the voucher data is the receipt image.

表示部40は、証憑データと画像認識処理結果(取引情報)を並べて表示し、目視確認による比較を行なう(S4)。なお、画像認識処理結果と証憑データで差異がある場合は取引情報を修正する。 The display unit 40 displays the voucher data and the image recognition processing result (transaction information) side by side, and makes a comparison by visual confirmation (S4). If there is a difference between the image recognition processing result and the voucher data, the transaction information is corrected.

画像認識処理結果を確認できたら、証憑データの取引情報のラベルの項目に「レシート」を、取引情報の文字列情報一覧に後述する複数行の文字列情報を設定し、証憑データを更新する。更新された証憑データを登録画像データとして画像DB33に登録する。 After confirming the image recognition processing result, set "receipt" in the item of the transaction information label of the voucher data, and set the character string information of a plurality of lines described later in the character string information list of the transaction information, and update the voucher data. The updated voucher data is registered in the image DB 33 as registered image data.

例えば画像コードがP001、証憑画像がレシート20200403.JPG、ラベルがレシートと文字列情報1「領収書」、文字列情報2「ストアA」、…文字列情報23「*印の商品は軽減税率対象商品です。」とした場合、登録画像データは画像コード「P001」と証憑画像「レシート20200403.JPG」と取引情報(取引情報項目と取引情報項目数の組み合わせ部分)「証憑種類1、日付2、取引先7、品目12、金額12、消費税額13、支払方法4」と取引情報(ラベル部分)「レシート」と取引情報(文字列情報一覧部分)「領収書、ストアA、…、*印の商品は軽減税率対象商品です。」と画像類似度「51」で構成される。 For example, the image code is P001 and the voucher image is receipt 20200403. If the label is a receipt and character string information 1 "receipt", character string information 2 "store A", ... character string information 23 "Products marked with * are products subject to the reduced tax rate", the registered image data will be Image code "P001" and voucher image "Receipt 20200403.JPG" and transaction information (combination part of transaction information item and number of transaction information items) "Voucher type 1, date 2, customer 7, item 12, amount 12, consumption tax amount 13. Payment method 4 "and transaction information (label part)" Receipt "and transaction information (character string information list part)" Receipt, store A, ..., products marked with * are eligible for reduced tax rate. " It is composed of degrees "51".

次に、文字認識部12は証憑データの取引情報(複数行の文字列情報部分)に対して文字認識処理を行い(S5)、テキストデータ(取引明細情報から構成される)を生成する(S6)。なお、取引明細情報は取引情報の複数行の文字列情報部分に対する文字認識結果である。 Next, the character recognition unit 12 performs character recognition processing on the transaction information (character string information portion of a plurality of lines) of the voucher data (S5), and generates text data (composed of transaction details information) (S6). ). The transaction detail information is a character recognition result for the character string information portion of a plurality of lines of the transaction information.

具体的には取引情報の複数行の文字列情報部分を1行毎に文字認識(テキスト化)処理を行ない、文字認識結果を取引明細文字列情報に、文字認識結果から判定した取引情報項目の内容を取引明細情報項目に、文字認識結果から判定した取引情報項目の数を取引明細情報項目数に設定する。各行の取引明細情報項目数から文字類似度を算出する。なお、画像認識処理で文字認識(テキスト化)処理を一緒に行った時は、取引情報の文字列情報一覧部分から複数行の文字列情報をそのまま各行の取引明細情報の取引明細文字列情報に設定する。 Specifically, the character string information part of multiple lines of transaction information is subjected to character recognition (text conversion) processing for each line, and the character recognition result is converted into transaction detail character string information, and the transaction information item judged from the character recognition result. The content is set in the transaction detail information item, and the number of transaction information items determined from the character recognition result is set in the number of transaction detail information items. The character similarity is calculated from the number of transaction details information items in each line. When character recognition (text conversion) processing is performed together with the image recognition processing, the character string information of multiple lines from the character string information list part of the transaction information is directly converted into the transaction detail character string information of the transaction detail information of each line. Set.

証憑データの取引情報は文字列情報に複数行の文字列情報部分を含んでおり、例えば、図4のレシートの場合の取引情報の文字列情報一覧は複数行の文字列情報として上から順に文字列情報1「領収書」、文字列情報2「ストアA」、文字列情報3「西陽町店 S0048」、文字列情報4「TEL 03−111−222」、文字列情報5「レジ担当 U0011」、文字列情報6「2019年7月25日(木)12:15」、文字列情報7「30001* 牛肉 ¥5,400」、文字列情報8「30002* 小麦粉 ¥2,160」、文字列情報9「30003* しょうゆ ¥340」、文字列情報10「小計 ¥7,900」、文字列情報11「40001 文房具 ¥200」、文字列情報12「40002 ビール ¥3,300」、文字列情報13「40003 日本酒 ¥5,400」、文字列情報14「小計 ¥8,900」、文字列情報15「(8%対象 ¥7,900)」、文字列情報16「(消費税8% ¥632)」、文字列情報17「(10%対象 ¥8,900)」、文字列情報18「(消費税10% ¥890)」、文字列情報19「合計 ¥16,800」、文字列情報20「(内消費税等 ¥1,522)」、文字列情報21「お預かり ¥20,000」、文字列情報22「お釣り ¥3,200」、文字列情報23「*印の商品は軽減税率対象商品です。」から構成される。 The transaction information of the voucher data includes a multi-line character string information part in the character string information. For example, the character string information list of the transaction information in the case of the receipt of FIG. 4 is a multi-line character string information in order from the top. Column information 1 "receipt", character string information 2 "store A", character string information 3 "Saiyocho store S0048", character string information 4 "TEL 03-111-222", character string information 5 "registration charge U0011" , Character string information 6 "Thursday, July 25, 2019 12:15", Character string information 7 "30001 * Beef ¥ 5,400", Character string information 8 "30002 * Wheat flour ¥ 2,160", Character string Information 9 "30003 * Shoyu ¥ 340", character string information 10 "subtotal ¥ 7,900", character string information 11 "40001 stationery ¥ 200", character string information 12 "40002 beer ¥ 3,300", character string information 13 "4003 Japanese sake ¥ 5,400", character string information 14 "subtotal ¥ 8,900", character string information 15 "(8% target ¥ 7,900)", character string information 16 "(consumption tax 8% ¥ 632)" , Character string information 17 "(10% target ¥ 8,900)", character string information 18 "(consumption tax 10% ¥ 890)", character string information 19 "total ¥ 16,800", character string information 20 " (Internal consumption tax, etc. ¥ 1,522) ”, character string information 21“ custody ¥ 20,000 ”, character string information 22“ change ¥ 3,200 ”, character string information 23“ * -marked products are subject to the reduced tax rate It is a product. "

取引情報の1行目の文字列情報の文字認識結果「領収書」は証憑である。よって、行番号1(1行目)の取引明細文字列情報は「領収書」、行番号1の取引明細情報項目は「証憑種類」、行番号1の取引明細情報項目数は1となる。 The character recognition result "receipt" of the character string information on the first line of the transaction information is a voucher. Therefore, the transaction detail character string information of line number 1 (first line) is "receipt", the transaction detail information item of line number 1 is "voucher type", and the number of transaction detail information items of line number 1 is 1.

取引情報の2行目の文字列情報の文字認識結果「ストアA」は取引先名である。よって、行番号2の取引明細文字列情報は「ストアA」、行番号2の取引明細情報項目は「取引先」、行番号2の取引明細情報項目数は1となる。 The character recognition result "store A" of the character string information in the second line of the transaction information is the business partner name. Therefore, the transaction detail character string information of line number 2 is "store A", the transaction detail information item of line number 2 is "customer", and the number of transaction detail information items of line number 2 is 1.

取引情報の3行目の文字列情報の文字認識結果「西陽町店 S0048」は「西陽町店」(店舗名)と「S0048」(店コード)の組み合わせであり、店舗名と店コードはどちらも取引先になる。よって、行番号3の取引明細文字列情報は「西陽町店、S0048」、行番号3の取引明細情報項目は「取引先、取引先」、行番号3の取引明細情報項目数は2となる。 The character recognition result of the character string information on the third line of the transaction information "Saiyocho store S0048" is a combination of "Saiyocho store" (store name) and "S0048" (store code). Becomes a business partner. Therefore, the transaction detail character string information of line number 3 is "Saiyocho store, S0048", the transaction detail information item of line number 3 is "customer, business partner", and the number of transaction detail information items of line number 3 is 2. ..

取引情報の4行目の文字列情報の文字認識結果「TEL 03−111−222」は「TEL」(電話マーク)と「03−111−222」(電話番号)の組み合わせであり、電話マークと電話番号はどちらも取引先になる。よって、行番号4の取引明細文字列情報は「TEL、03−111−222」、行番号4の取引明細情報項目は「取引先、取引先」となり、行番号4の取引明細情報項目数は2となる。 The character recognition result "TEL 03-111-222" of the character string information on the fourth line of the transaction information is a combination of "TEL" (telephone mark) and "03-111-222" (telephone number). Both phone numbers are business partners. Therefore, the transaction detail character string information of line number 4 is "TEL, 03-111-222", the transaction detail information item of line number 4 is "customer, business partner", and the number of transaction detail information items of line number 4 is. It becomes 2.

取引情報の5行目の文字列情報の文字認識結果「レジ担当 U0011」は「レジ担当」(業務名)と「U0011」(レジ担当者名)の組み合わせであり、業務名とレジ担当社名はどちらも取引先になる。よって、行番号5の取引明細文字列情報は「レジ担当、U0011」、行番号5の取引明細情報項目は「取引先、取引先」となり、行番号5の取引明細情報項目数は2となる。 The character recognition result of the character string information on the fifth line of the transaction information "Registration charge U0011" is a combination of "Registration charge" (business name) and "U0011" (Registration staff name). Both become business partners. Therefore, the transaction detail character string information of line number 5 is "registrant, U0011", the transaction detail information item of line number 5 is "business partner, business partner", and the number of transaction detail information items of line number 5 is 2. ..

取引情報の6行目の文字列情報の文字認識結果「2019年7月25日(木)12:15」は「2019年7月25日(木)12:15」は(取引)日付である。よって、行番号6の取引明細文字列情報は「2019年7月25日(木)12:15」、行番号6の取引明細情報項目は「日付」となり、行番号6の取引明細情報項目数は1となる。 The character recognition result of the character string information on the sixth line of the transaction information "July 25, 2019 (Thursday) 12:15" is "July 25, 2019 (Thursday) 12:15" is the (transaction) date. .. Therefore, the transaction detail character string information of line number 6 is "July 25, 2019 (Thursday) 12:15", the transaction detail information item of line number 6 is "date", and the number of transaction detail information items of line number 6 is Is 1.

取引情報の7行目の文字列情報の文字認識結果「30001* 牛肉 ¥5,400」は「30001*」(商品コード)と「牛肉」(商品名)と「¥5,400」(金額)の組み合わせであり、商品コードと商品名はどちらも品目となる。よって、行番号7の取引明細文字列情報は「30001*、牛肉、¥5,400」、行番号7の取引明細情報項目は「品目、品目、金額」となり、行番号7の取引明細情報項目数は3となる。 Character recognition result of the character string information on the 7th line of transaction information "30001 * beef ¥ 5,400" is "30001 *" (product code), "beef" (product name) and "¥ 5,400" (amount) The product code and product name are both items. Therefore, the transaction detail character string information of line number 7 is "30001 *, beef, ¥ 5,400", the transaction detail information item of line number 7 is "item, item, amount", and the transaction detail information item of line number 7 is. The number will be three.

なお、実施例では「30001*」としているが、「30000」(商品コード)と「*」(軽減税率対象)のように別の項目としてしてもよい。 In the embodiment, "30001 *" is used, but different items such as "30000" (product code) and "*" (subject to reduced tax rate) may be used.

取引情報の8行目の文字列情報の文字認識結果「30002* 小麦粉 ¥2,160」は「30002*」と「小麦粉」と「¥2,160」の組み合わせである。よって、行番号8の取引明細文字列情報は「30002*、小麦粉、¥2,160」、行番号8の取引明細情報項目は「品目、品目、金額」となり、行番号8の取引明細情報項目数は3となる。 The character recognition result "30002 * flour ¥ 2,160" of the character string information on the eighth line of the transaction information is a combination of "30002 *", "flour" and "¥ 2,160". Therefore, the transaction detail character string information of line number 8 is "30002 *, flour, ¥ 2,160", the transaction detail information item of line number 8 is "item, item, amount", and the transaction detail information item of line number 8 is. The number will be three.

取引情報の9行目の文字列情報の文字認識結果「30003* しょうゆ ¥340」は「30003*」と「しょうゆ」と「¥340」の組み合わせである。よって、行番号9の取引明細文字列情報は「30003*、しょうゆ、¥340」、行番号9の取引明細情報項目は「品目、品目、金額」となり、行番号9の取引明細情報項目数は3となる。 The character recognition result "30003 * salty soy sauce ¥ 340" of the character string information on the ninth line of the transaction information is a combination of "30003 *", "salty soy sauce", and "¥ 340". Therefore, the transaction detail character string information of line number 9 is "30003 *, soy sauce, ¥ 340", the transaction detail information item of line number 9 is "item, item, amount", and the number of transaction detail information items of line number 9 is. It becomes 3.

取引情報の10行目の文字列情報の文字認識結果「小計 ¥7,900」は「小計」(金額)と「¥7,900」(金額)の組み合わせであり、どちらも金額となる。よって、行番号10の取引明細文字列情報は「小計、¥7,900」、行番号10の取引明細情報項目は「金額、金額」となり、行番号10の取引明細情報項目数は2となる。 The character recognition result "subtotal ¥ 7,900" of the character string information on the 10th line of the transaction information is a combination of "subtotal" (amount) and "¥ 7,900" (amount), both of which are amounts. Therefore, the transaction detail character string information of line number 10 is "subtotal, ¥ 7,900", the transaction detail information item of line number 10 is "amount, amount", and the number of transaction detail information items of line number 10 is 2. ..

取引情報の11行目の文字列情報の文字認識結果「40001 文房具 ¥200」は「40001」(商品コード)と「文房具」(商品名)と「¥200」(金額)の組み合わせであり、商品コードと商品名はどちらも品目となる。よって、行番号11の取引明細文字列情報は「40001、文房具、¥200」、行番号11の取引明細情報項目は「品目、品目、金額」となり、行番号11の取引明細情報項目数は3となる。 The character recognition result of the character string information on the 11th line of the transaction information "40001 stationery ¥ 200" is a combination of "40001" (product code), "stationery" (product name) and "¥ 200" (amount), and is a product. Both the code and the product name are items. Therefore, the transaction detail character string information of line number 11 is "40001, stationery, ¥ 200", the transaction detail information item of line number 11 is "item, item, amount", and the number of transaction detail information items of line number 11 is 3. It becomes.

取引情報の12行目の文字列情報の文字認識結果「40002 ビール ¥3,300」は「40002」と「ビール」と「¥3,300」の組み合わせである。よって、行番号12の取引明細文字列情報は「40002、ビール、¥3,300」、行番号12の取引明細情報項目は「品目、品目、金額」となり、行番号12の取引明細情報項目数は3となる。 The character recognition result "40002 beer ¥ 3,300" of the character string information on the 12th line of the transaction information is a combination of "40002", "beer" and "¥ 3,300". Therefore, the transaction detail character string information of line number 12 is "40002, beer, ¥ 3,300", the transaction detail information item of line number 12 is "item, item, amount", and the number of transaction detail information items of line number 12 Is 3.

取引情報の13行目の文字列情報の文字認識結果「40003 日本酒 ¥5,400」は「40003」と「日本酒」と「¥5,400」の組み合わせである。よって、行番号13の取引明細文字列情報は「40003、日本酒、¥5,400」、行番号13の取引明細情報項目は「品目、品目、金額」となり、行番号13の取引明細情報項目数は3となる。 The character recognition result "4003 sake ¥ 5,400" of the character string information on the 13th line of the transaction information is a combination of "4003", "sake" and "¥ 5,400". Therefore, the transaction detail character string information of line number 13 is "4003, sake, ¥ 5,400", the transaction detail information item of line number 13 is "item, item, amount", and the number of transaction detail information items of line number 13 Is 3.

取引情報の14行目の文字列情報の文字認識結果「小計 ¥8,900」は「小計」と「¥8,900」の組み合わせである。よって、行番号14の取引明細文字列情報は「小計、¥8,900」、行番号14の取引明細情報項目は「金額、金額」、行番号14の取引明細情報項目数は2となる。 The character recognition result "subtotal ¥ 8,900" of the character string information on the 14th line of the transaction information is a combination of "subtotal" and "¥ 8,900". Therefore, the transaction detail character string information of line number 14 is "subtotal, ¥ 8,900", the transaction detail information item of line number 14 is "amount, amount", and the number of transaction detail information items of line number 14 is 2.

取引情報の15行目の文字列情報の文字認識結果「(8%対象 ¥7,900)」は「(」と「8%対象」(消費税率)と「¥7,900」(消費税金額)と「)」の組み合わせであり、「(」と「)」は取引内容とは無関係な情報であるから、消費税率と消費税金額はどちらも消費税額となる。よって、行番号15の取引明細文字列情報は「8%対象、¥7,900」、行番号15の取引明細情報項目は「消費税額、消費税額」となり、行番号15の取引明細情報項目数は2となる。 The character recognition result "(8% target ¥ 7,900)" of the character string information on the 15th line of the transaction information is "(" and "8% target" (consumption tax rate) and "¥ 7,900" (consumption tax amount). ) And ")", and "(" and ")" are information irrelevant to the transaction content, so both the consumption tax rate and the consumption tax amount are consumption tax amounts. Therefore, the transaction detail character string information of line number 15 is "8% target, ¥ 7,900", the transaction detail information item of line number 15 is "consumption tax amount, consumption tax amount", and the number of transaction detail information items of line number 15 Is 2.

取引情報の16行目の文字列情報の文字認識結果「(消費税8% ¥632)」は「(」と「消費税8%」(消費税率)と「¥632」(消費税金額)と「)」の組み合わせであり、「(」と「)」は取引内容とは無関係な情報であるから、消費税率と消費税金額はどちらも消費税額となる。よって、行番号16の取引明細文字列情報は「消費税8%、¥632」、行番号16の取引明細情報項目は「消費税額、消費税額」となり、行番号16の取引明細情報項目数は2となる。 The character recognition result "(consumption tax 8% ¥ 632)" of the character string information on the 16th line of the transaction information is "(" and "consumption tax 8%" (consumption tax rate) and "¥ 632" (consumption tax amount). Since it is a combination of ")" and "(" and ")" are information irrelevant to the transaction content, both the consumption tax rate and the consumption tax amount are the consumption tax amount. Therefore, the transaction detail character string information of line number 16 is "consumption tax 8%, ¥ 632", the transaction detail information item of line number 16 is "consumption tax amount, consumption tax amount", and the number of transaction detail information items of line number 16 is. It becomes 2.

取引情報の17行目の文字列情報の文字認識結果「(10%対象 ¥8,900)」は「(」と「10%対象」と「¥8,900」(消費税金額)と「)」の組み合わせである。よって、行番号17の取引明細文字列情報は「10%対象、¥8,900」、行番号17の取引明細情報項目は「消費税額、消費税額」となり、行番号17の取引明細情報項目数は2となる。 The character recognition result "(10% target ¥ 8,900)" of the character string information on the 17th line of the transaction information is "(", "10% target", "¥ 8,900" (consumption tax amount) and "). Is a combination of. Therefore, the transaction detail character string information of line number 17 is "10% target, ¥ 8,900", the transaction detail information item of line number 17 is "consumption tax amount, consumption tax amount", and the number of transaction detail information items of line number 17 Is 2.

取引情報の18行目の文字列情報の文字認識結果「(消費税10% ¥890)」は「(」と「消費税10%」と「¥890」と「)」の組み合わせである。よって、行番号18の取引明細文字列情報は「消費税10%、¥890」、行番号18の取引明細情報項目は「消費税額、消費税額」となり、行番号18の取引明細情報項目数は2となる。 The character recognition result "(consumption tax 10% ¥ 890)" of the character string information on the 18th line of the transaction information is a combination of "(", "consumption tax 10%", "¥ 890", and ")". Therefore, the transaction detail character string information of line number 18 is "consumption tax 10%, ¥ 890", the transaction detail information item of line number 18 is "consumption tax amount, consumption tax amount", and the number of transaction detail information items of line number 18 is. It becomes 2.

取引情報の19行目の文字列情報の文字認識結果「合計 ¥16,800」は「合計」(合計)と「¥16,800」(合計金額)の組み合わせであり、合計と合計金額はどちらも金額となる。よって、行番号19の取引明細文字列情報は「合計、¥16,800」、行番号19の取引明細情報項目は「金額、金額」となり、行番号19の取引明細情報項目数は2となる。 The character recognition result "total ¥ 16,800" of the character string information on the 19th line of the transaction information is a combination of "total" (total) and "¥ 16,800" (total amount). Is also an amount. Therefore, the transaction detail character string information of line number 19 is "total, ¥ 16,800", the transaction detail information item of line number 19 is "amount, amount", and the number of transaction detail information items of line number 19 is 2. ..

取引情報の20行目の文字列情報の文字認識結果「(内消費税等 ¥1,522)」は「(」と「内消費税等」(消費税)と「¥1,522」(消費税金額)と「)」の組み合わせであり、「(」と「)」は取引内容とは無関係な情報であるから、消費税と消費税金額はどちらも消費税額となる。よって、行番号20の取引明細文字列情報は「内消費税等、¥1,522」、行番号20の取引明細情報項目は「消費税額、消費税額」となり、行番号20の取引明細情報項目数は2となる。 The character recognition result of the character string information on the 20th line of the transaction information "(consumption tax, etc. ¥ 1,522)" is "(" and "consumption tax, etc." (consumption tax) and "¥ 1,522" (consumption). Since it is a combination of tax amount) and ")" and "(" and ")" are information irrelevant to the transaction content, both consumption tax and consumption tax amount are consumption tax amounts. Therefore, the transaction detail character string information of line number 20 is "consumption tax, etc., ¥ 1,522", the transaction detail information item of line number 20 is "consumption tax amount, consumption tax amount", and the transaction detail information item of line number 20. The number is 2.

取引情報の21行目の文字列情報の文字認識結果「お預かり ¥20,000」は「お預かり」(支払方法)と「¥20,000」(支払金額)の組み合わせであり、支払方法と支払金額はどちらも支払方法となる。よって、行番号21の取引明細文字列情報は「お預かり、¥20,000」、行番号21の取引明細情報項目は「支払方法、支払方法」となり、行番号21の取引明細情報項目数は2となる。 The character recognition result of the character string information on the 21st line of the transaction information "Custody ¥ 20,000" is a combination of "Custody" (payment method) and "¥ 20,000" (payment amount). Both payment amounts are payment methods. Therefore, the transaction detail character string information of line number 21 is "deposit, ¥ 20,000", the transaction detail information item of line number 21 is "payment method, payment method", and the number of transaction detail information items of line number 21 is. It becomes 2.

取引情報の22行目の文字列情報の文字認識結果「お釣り ¥3,200」は「お釣り」(支払方法)と「¥3,200」(支払金額)の組み合わせであり、支払方法と支払金額はどちらも支払方法となる。よって、行番号22の取引明細文字列情報は「お釣り、¥3,200」、行番号22の取引明細情報項目は「支払方法、支払方法」となり、行番号22の取引明細情報項目数は2となる。 The character recognition result of the character string information on the 22nd line of the transaction information "change ¥ 3,200" is a combination of "change" (payment method) and "¥ 3,200" (payment amount), and the payment method and payment amount Are both payment methods. Therefore, the transaction detail character string information of line number 22 is "change, ¥ 3,200", the transaction detail information item of line number 22 is "payment method, payment method", and the number of transaction detail information items of line number 22 is 2. It becomes.

取引情報の23行目の文字列情報の文字認識結果「*印の商品は軽減税率対象商品です。」(軽減税率)は軽減税率関連の情報であり、軽減税率は消費税額となる。よって、行番号23の取引明細文字列情報は「*印の商品は軽減税率対象商品です。」、行番号23の取引明細情報項目は「消費税額」となり、取引明細情報23の項目数は1となる。 The character recognition result of the character string information on the 23rd line of the transaction information "Products marked with * are products subject to the reduced tax rate." (Reduced tax rate) is information related to the reduced tax rate, and the reduced tax rate is the consumption tax amount. Therefore, the transaction detail character string information of line number 23 is "Products marked with * are products subject to the reduced tax rate.", The transaction detail information item of line number 23 is "consumption tax amount", and the number of items of transaction detail information 23 is 1. It becomes.

テキストデータの各行の取引明細情報項目数の合計である文字類似度(証憑種類の数量1+取引先の数量7+日付の数量1+品目の数量12+金額の数量12+消費税額の数量11+支払方法の数量4=48)なので48となる。 Character similarity (quantity of voucher type 1 + quantity of business partner 7 + quantity of date 1 + quantity of item 12 + quantity of amount 12 + quantity of consumption tax 11 + quantity of payment method 4) = 48), so it becomes 48.

また、取引明細情報の項目で重要な項目については各行の取引明細情報項目数に重みづけを行なってから、文字類似度を設定してもよい。例えば、取引明細情報の項目にユーザーが設定した重みづけを反映させる。 Further, for important items of transaction detail information, the number of transaction detail information items in each line may be weighted, and then the character similarity may be set. For example, the weighting set by the user is reflected in the item of transaction detail information.

例えば、重みづけの計数として取引先に1.1、品目に2.0、金額に1.5、日付に0.3と設定した場合(他の項目は1.0とする)は、テキストデータの各行の取引明細情報項目数の合計である文字類似度は66(証憑種類の数量1×重みづけ1.0+取引先7の数量×重みづけ1.1+日付の数量1×重みづけ0.3+品目の数量12×重みづけ2.0+金額の数量12×重みづけ1.5+消費税額の数量11×重みづけ1.0+支払方法の数量4×重みづけ1.0=66)となる。 For example, if the weighting count is set to 1.1 for the business partner, 2.0 for the item, 1.5 for the amount, and 0.3 for the date (other items are 1.0), the text data. The character similarity, which is the total number of transaction details information items in each line, is 66 (quantity of voucher type 1 x weighting 1.0 + quantity of customer 7 x weighting 1.1 + date quantity 1 x weighting 0.3 + Item quantity 12 x weighting 2.0 + amount quantity 12 x weighting 1.5 + consumption tax quantity 11 x weighting 1.0 + payment method quantity 4 x weighting 1.0 = 66).

文字認識部12は文字認識処理結果である各行の取引明細情報を元にテキストデータを生成する。テキストデータは複数行の取引明細情報から構成され、証憑データと関連付けされて生成される。テキストデータの各行の取引明細情報項目数の合計である文字類似度を算出する。 The character recognition unit 12 generates text data based on the transaction detail information of each line, which is the result of the character recognition process. The text data is composed of multiple lines of transaction detail information and is generated in association with the voucher data. Calculate the character similarity, which is the total number of transaction details information items in each line of text data.

算出した文字類似度を検索キーとして、取引DBに対してマッチング(比較・照合)処理を行ない、マッチング結果から文字類似度の最も近い登録テキストデータを類似登録テキストデータとして抽出する。 Using the calculated character similarity as a search key, matching (comparison / collation) processing is performed on the transaction DB, and the registered text data having the closest character similarity is extracted as the similarity registered text data from the matching result.

取引DBに文字類似度51である登録テキストデータ1と文字類似度が72である登録テキストデータデータ2と文字類似度が43である登録テキストデータデータ3とがある場合(図示せず)、テキストデータの文字類似度48に対して文字類似度の近い順として登録テキストデータ1(文字類似度51)と登録テキストデータ3(文字類似度43)がヒットするので、2つの登録テキストデータのうち文字類似度の最も近い登録テキストデータ1(文字類似度51)が類似登録テキストデータとして取引DBから抽出される。
文字類似度の近い順(類似度)で抽出しているが、例えば文字類似度51と文字類似度45の場合のように2つの類似度の差が同じ場合は文字類似度の高い順(文字類似度51を優先)で抽出してもよい。
When there are registered text data 1 having a character similarity of 51, registered text data data 2 having a character similarity of 72, and registered text data data 3 having a character similarity of 43 in the transaction DB (not shown), the text. Since the registered text data 1 (character similarity 51) and the registered text data 3 (character similarity 43) are hit in the order of the character similarity to the character similarity 48 of the data, the characters of the two registered text data are hit. The registered text data 1 (character similarity 51) having the closest similarity is extracted from the transaction DB as the similar registered text data.
The characters are extracted in the order of closeness (similarity), but when the difference between the two similarities is the same, for example, in the case of character similarity 51 and character similarity 45, the order of character similarity is high (characters). The similarity 51 may be prioritized).

また、文字認識部12は文字認識AIを有し、文字認識AIに文字認識処理をさせてもよい。登録テキストデータを「T001、『2019/6/25、30001*、牛肉、¥5,600、¥432』、『日付、品目、品目、金額、消費税額』、5、50』とすると、文字列情報「2019/7/25 30001* 牛肉 ¥5,600 ¥432」とすると、文字認識AIは文字類似度を判定条件として文字類似度48に近い閾値をもつ登録テキストデータ(文字類似度が50)から文字認識AIは証憑データの文字認識結果がテキストデータ「T001、(2019/7/25、30001*、牛肉、¥5,600、¥432)、(日付、品目、品目、金額、消費税額)、5、48」と推論(判定)する。 Further, the character recognition unit 12 has a character recognition AI, and the character recognition AI may perform character recognition processing. If the registration text data is "T001," 2019/6/25, 30001 *, beef, ¥ 5,600, ¥ 432 "," date, item, item, amount, consumption tax amount ", 5,50", the character string Assuming that the information is "2019/7/25 30001 * beef ¥ 5,600 ¥ 432", the character recognition AI is registered text data having a threshold close to the character similarity 48 with the character similarity as a judgment condition (character similarity is 50). Character recognition AI is text data "T001, (2019/7/25, 30001 *, beef, ¥ 5,600, ¥ 432), (date, item, item, amount, consumption tax amount)" , 5, 48 "is inferred (determined).

表示部40は証憑データとテキストデータと類似登録テキストデータを並べて表示し、目視確認による比較を行なう(S7)。 The display unit 40 displays the voucher data, the text data, and the similar registered text data side by side, and makes a comparison by visual confirmation (S7).

本実施例では証憑データとテキストデータと登録テキストデータを並べて表示しているが、テキストデータと登録テキストデータを並べて表示して目視確認による比較を行ってもよい。 In this embodiment, the voucher data, the text data, and the registered text data are displayed side by side, but the text data and the registered text data may be displayed side by side for comparison by visual confirmation.

また、目視確認を行なう前に、類似登録テキストデータとテキストデータとの比較照合(マッチング)処理を行なってもよい。抽出した類似登録テキストデータとテキストデータとのマッチング処理を行ない、マッチング結果から不一致部分(差異)がある場合、表示部40はテキストデータの不一致部分を強調表示にする。強調表示は、通常表示と異なる表示であればよく、表示形式は特に限定されず、例えば不一致部分に下線を記載したり、文字色を異ならせたり、文字を太くしたり、不一致部分の近くにフラグを表示する等して表現する。また、強調表示の種類も整合性に応じて複数設定してもよいし、1種類のみでもよい。 Further, before the visual confirmation, a comparison and collation (matching) process of the similar registered text data and the text data may be performed. Matching processing is performed between the extracted similar registered text data and the text data, and when there is a mismatched portion (difference) from the matching result, the display unit 40 highlights the mismatched portion of the text data. The highlighting may be a display different from the normal display, and the display format is not particularly limited. For example, underlining the inconsistent part, making the character color different, thickening the character, or near the inconsistent part. Express by displaying a flag or the like. Further, a plurality of highlighting types may be set according to the consistency, or only one type may be set.

目視確認の結果、誤りがある場合はテキストデータを修正する。テキストデータを登録テキストデータとして取引DB34に登録する。 If there is an error as a result of visual confirmation, correct the text data. Register the text data as registered text data in the transaction DB 34.

取引明細情報項目の各項目の値は例えば、取引明細情報項目の「日付」の項目の値は取引明細文字列情報のうち取引明細情報項目が日付と判定する文字列を日付情報と、取引明細情報項目の「取引先」の項目の値は取引明細情報項目が取引先と判定する文字列を取引先情報と、取引明細情報項目の「品目」の項目の値は取引明細情報項目が品目と判定する文字列を品目情報と、取引明細情報項目の「金額」の項目の値は取引明細情報項目が金額と判定する文字列を金額情報と、取引明細情報項目の「消費税額」の項目の値は取引明細情報項目が消費税額と判定する文字列を消費税額情報と、取引明細情報項目の「支払方法」の項目の値は取引明細情報項目が支払方法と判定する文字列を支払方法情報とする。 For example, the value of each item of the transaction detail information item is the value of the "date" item of the transaction detail information item. The value of the item "Account" of the information item is the customer information, and the value of the item of "Item" of the transaction item information item is the item of the transaction item information item. The character string to be judged is the item information, and the value of the "amount" item of the transaction detail information item is the amount information of the character string to be judged by the transaction detail information item as the amount. For the value, the character string that the transaction detail information item determines as the consumption tax amount is the consumption tax amount information, and for the value of the "payment method" item of the transaction detail information item, the character string that the transaction detail information item determines as the payment method is the payment method information. And.

取引明細情報は、取引明細情報7〜9及び取引明細情報11〜13のような仕訳データを生成するのに使用される取引明細情報(以下、仕訳生成用取引明細情報)とそれ以外の(仕訳データを生成するのに使用されない)取引明細情報(以下、補助用取引明細情報)の2種類が存在する。また、テキストデータは仕訳生成用取引明細情報と補助用取引明細情報から構成される。 The transaction detail information includes transaction detail information (hereinafter referred to as journal generation transaction detail information) used to generate journal data such as transaction detail information 7 to 9 and transaction detail information 11 to 13, and other (journals). There are two types of transaction detail information (hereinafter referred to as auxiliary transaction detail information) that are not used to generate data. The text data is composed of journal entry generation transaction detail information and auxiliary transaction detail information.

仕訳生成用取引明細情報に日付情報と取引先情報と消費税額情報と支払方法情報が設定されていない場合がある。その場合は日付情報と取引先情報と消費税額情報と支払方法情報等が含まれている補助用取引明細情報から日付情報と取引先情報と消費税額情報と支払方法情報等を取得して仕訳生成用取引明細情報に設定する。 Date information, business partner information, consumption tax amount information, and payment method information may not be set in the transaction details information for journal generation. In that case, the date information, the business partner information, the consumption tax amount information, the payment method information, etc. are acquired from the auxiliary transaction detail information including the date information, the business partner information, the consumption tax amount information, the payment method information, etc., and the journal is generated. Set in transaction details information.

仕訳生成部13は補助用取引明細情報から日付情報と取引先情報と消費税額情報と支払方法情報等を取得し、取得した日付情報と取引先情報と消費税額情報と支払方法情報等を仕訳生成用取引明細情報に設定する(以下、取引明細情報補充処理)ことで、仕訳データを生成するのに必要な取引明細情報が準備される。仕訳を大量に生成する場合、負荷分散のため、仕訳生成部13の代わりに文字認識部12が取引明細情報補充処理を行なってもよい。 The journal generation unit 13 acquires date information, business partner information, consumption tax amount information, payment method information, etc. from the auxiliary transaction detail information, and generates journals for the acquired date information, business partner information, consumption tax amount information, payment method information, etc. By setting in the transaction detail information for use (hereinafter, transaction detail information supplement processing), the transaction detail information necessary for generating the journal data is prepared. When a large number of journals are generated, the character recognition unit 12 may perform the transaction detail information replenishment process instead of the journal generation unit 13 for load balancing.

消費税額情報は消費税率(軽減税率と通常税率の2種類)と税表示情報(税抜と税込の2種類)が必要になる。また、仕訳生成用取引明細情報(品目情報等)によって、必要な消費税額情報(軽減税率又は通常税率)が異なるため、複数の消費税額情報が必要になる。 Consumption tax information requires consumption tax rate (two types of reduced tax rate and normal tax rate) and tax display information (two types of tax-excluded and tax-included). In addition, since the required consumption tax amount information (reduced tax rate or normal tax rate) differs depending on the transaction detail information for journal generation (item information, etc.), a plurality of consumption tax amount information is required.

複数の補助用取引明細情報(例えば取引明細情報15から取引明細情報18まで)から消費税率(8%と10%)と税表示情報(税抜)を取得する。消費税額情報(例えば行番号16の取引明細文字列情報「消費税8%、¥632」、文行番号17の取引明細文字列情報「10%対象、¥8,900」、行番号18の取引明細文字列情報「消費税10%、¥890」)から消費税率(8%と10%)と税表示情報(税抜)を取得する。 The consumption tax rate (8% and 10%) and the tax display information (excluding tax) are acquired from a plurality of auxiliary transaction detail information (for example, from transaction detail information 15 to transaction detail information 18). Consumption tax amount information (for example, transaction detail character string information of line number 16 "consumption tax 8%, ¥ 632", transaction detail character string information of sentence line number 17 "10% target, ¥ 8,900", transaction of line number 18 Obtain the consumption tax rate (8% and 10%) and tax display information (excluding tax) from the detailed character string information "consumption tax 10%, ¥ 890").

取得した消費税額情報から消費税率(軽減税率又は通常税率)と税表示情報が「税抜」となる。また、品目情報(牛肉)は食料品なので消費税率は軽減税率(例えば8%)となり、金額情報(¥5,400)に軽減税率(8%)を乗算することで、消費税として¥432(消費税額情報)が算出される。 From the acquired consumption tax amount information, the consumption tax rate (reduced tax rate or normal tax rate) and tax display information will be "tax excluded". Also, since the item information (beef) is food, the consumption tax rate is the reduced tax rate (for example, 8%), and by multiplying the amount information (¥ 5,400) by the reduced tax rate (8%), the consumption tax is ¥ 432 (for example). Consumption tax amount information) is calculated.

仕訳生成用取引明細情報(例えば取引明細情報7)の品目情報「牛肉」から必要な消費税額情報(消費税率と税表示情報)を判断し、仕訳生成用取引明細情報(例えば取引明細情報7)の金額情報「¥5,400」と消費税額情報(軽減税率と税抜)から後述する消費税額の計算式を用いて消費税額情報「¥432」を算出する。 The necessary consumption tax amount information (consumption tax rate and tax display information) is determined from the item information "beef" of the transaction detail information for journal generation (for example, transaction detail information 7), and the transaction detail information for journal generation (for example, transaction detail information 7) is determined. The consumption tax amount information "¥ 432" is calculated from the amount information "¥ 5,400" and the consumption tax amount information (reduced tax rate and tax excluded) using the calculation formula of the consumption tax amount described later.

仕訳生成用取引明細情報(例えば取引明細情報7)の消費税額情報として取得した税表示情報(税抜)と軽減税率(8%)と¥432(消費税金額)を設定する(行番号7の取引明細文字列情報に「税抜、8%、¥432」を、行番号7の取引明細情報項目に「消費税額、消費税額、消費税額」を追加で設定する)。 Set the tax display information (excluding tax), reduced tax rate (8%), and ¥ 432 (consumption tax amount) acquired as the consumption tax amount information of the transaction detail information for journal generation (for example, transaction detail information 7) (line number 7). "Excluding tax, 8%, ¥ 432" is additionally set in the transaction detail character string information, and "consumption tax amount, consumption tax amount, consumption tax amount" is additionally set in the transaction detail information item of line number 7).

補助用取引明細情報(取引明細情報6)から日付情報「2019年7月25日(木)12:15」を取得する。仕訳生成部13は取得した日付情報「2019年7月25日(木)12:15」は曜日や時刻が含まれているので、年月日のみに変換した日付情報「2019年7月25日」を仕訳生成用取引明細情報(例えば取引明細情報7)の日付情報として設定する(行番号7の取引明細情報文字列「2019年7月25日」と行番号7の取引明細情報項目「日付」を追加で設定する)。 The date information "July 25, 2019 (Thursday) 12:15" is acquired from the auxiliary transaction detail information (transaction detail information 6). Since the date information "July 25, 2019 (Thursday) 12:15" acquired by the journal generation unit 13 includes the day and time, the date information "July 25, 2019" converted only to the date. Is set as the date information of the transaction detail information for journal generation (for example, transaction detail information 7) (transaction detail information character string "July 25, 2019" of line number 7 and transaction detail information item "date" of line number 7. Is additionally set).

補助用取引明細情報(取引明細情報2)から取引先情報「ストアA」を取得する。仕訳生成部13は取得した取引先情報「ストアA」を仕訳生成用取引明細情報(例えば取引明細情報7)の取引先情報として設定する。補助用取引明細情報から直接取引先名が取得できない場合は取引先DB(図示せず)を参照して取引先名を取引先情報として取得後、仕訳生成用取引明細情報(例えば取引明細情報7)の取引先情報として設定する(行番号7の取引明細情報文字列「ストアA」と行番号7の取引明細情報項目「取引先」を追加で設定する)。 Acquire the customer information "Store A" from the auxiliary transaction detail information (transaction detail information 2). The journal generation unit 13 sets the acquired supplier information "Store A" as the supplier information of the transaction detail information for journal generation (for example, transaction detail information 7). If the customer name cannot be obtained directly from the auxiliary transaction detail information, refer to the customer DB (not shown) to obtain the customer name as the customer information, and then obtain the transaction detail information for journal generation (for example, transaction detail information 7). ) Is set as the customer information (the transaction detail information character string "store A" of line number 7 and the transaction detail information item "customer" of line number 7 are additionally set).

支払方法情報は仕訳生成用取引明細情報や補助用取引明細情報に明示されていない場合があり、複数の補助用取引明細情報から取得した支払方法情報から後述する支払判定辞書(図示せず)を参照して取得した支払方法情報を仕訳生成用取引明細情報(例えば取引明細情報7)に設定する。 The payment method information may not be specified in the journal generation transaction detail information or the auxiliary transaction detail information, and the payment judgment dictionary (not shown) described later is used from the payment method information obtained from the plurality of auxiliary transaction detail information. The payment method information obtained by reference is set in the transaction detail information for journal generation (for example, transaction detail information 7).

支払判定辞書(図示せず)はレシート等に記載された1以上のキーワード(「お預かり」、「その他決済」、「お釣り」や「釣銭」等)と支払方法(現金やクレジットカードや電子マネーや後払い等)を関連付けた辞書である。 The payment judgment dictionary (not shown) includes one or more keywords ("deposit", "other payment", "change", "change", etc.) and payment method (cash, credit card, electronic money, etc.) described on the receipt, etc. It is a dictionary associated with (or postpay, etc.).

行番号7の取引明細情報項目に支払方法がないため、テキストデータの全行から支払方法情報のある取引明細情報として取引明細情報21(行番号21の取引明細文字列情報「お預かり、¥20,000」と行番号21の取引明細情報項目「支払方法、支払方法」)から取引明細情報21の支払方法情報(行番号21の取引明細文字列情報「お預かり」)と取引明細情報22(行番号22の取引明細文字列情報「お釣り、¥3,200」と行番号22の取引明細情報項目「支払方法、支払方法」)から取引明細情報22の支払方法情報(行番号22の取引明細文字列情報「お釣り」)を抽出する。 Since there is no payment method in the transaction detail information item of line number 7, transaction detail information 21 (transaction detail character string information of line number 21 "Custody, ¥ 20" has transaction detail information with payment method information from all lines of text data. From the transaction detail information item "payment method, payment method" of line number 21 and ", 000", the payment method information of transaction detail information 21 (transaction detail character string information "keeping" of line number 21) and transaction detail information 22 ( From the transaction details character string information "change, ¥ 3,200" of line number 22 and the transaction details information item "payment method, payment method" of line number 22, the payment method information of transaction detail information 22 (transaction details of line number 22) Extract the character string information "change").

複数の補助用取引明細情報(例えば取引明細情報21と取引明細情報22)から抽出した支払方法情報「お預かりとお釣り」(取引明細情報21の支払方法情報「お預かり」と取引明細情報22の支払方法情報「お釣り」)を取得する。支払方法情報「お預かり」を元に支払判定辞書を参照し、支払方法情報「お預かり」に対応する支払方法「現金、クレジットカード、電子マネー」の3つ抽出される。支払方法情報「お釣り」を元に支払判定辞書を参照し、支払方法情報「お釣り」に対応する支払方法「現金」が抽出される。 Payment method information "deposit and change" extracted from a plurality of auxiliary transaction detail information (for example, transaction detail information 21 and transaction detail information 22) (payment method information "deposit" of transaction detail information 21 and transaction detail information 22) Obtain payment method information "change"). The payment judgment dictionary is referred to based on the payment method information "deposit", and three payment methods "cash, credit card, electronic money" corresponding to the payment method information "deposit" are extracted. The payment method "cash" corresponding to the payment method information "change" is extracted by referring to the payment judgment dictionary based on the payment method information "change".

抽出した支払方法情報「お預かりとお釣り」を満たす支払方法は「現金」のみなので、支払方法は「現金」だと確定できるので、仕訳生成用取引明細情報(例えば取引明細情報7)の支払方法情報に「現金」を設定する(行番号7の取引明細情報文字列「現金」と行番号7の取引明細情報項目「支払方法」を追加で設定する)。 Since "cash" is the only payment method that satisfies the extracted payment method information "deposit and change", it can be confirmed that the payment method is "cash". Set "cash" in the information (additionally set the transaction detail information character string "cash" of line number 7 and the transaction detail information item "payment method" of line number 7).

また、取引先によって支払方法が指定されている場合は支払判定辞書で取得した支払方法ではなく、取引先DB(図示せず)を参照して支払方法を取得する。 When the payment method is specified by the business partner, the payment method is acquired by referring to the business partner DB (not shown) instead of the payment method acquired in the payment determination dictionary.

また、品目情報で同じ特徴をもつものをグループ化した分類を設定することで、品目情報と分類を関連付けした品目辞書(図示せず)を用意してもよい。また、消費税率と分類を関連付けて品目辞書(図示せず)に登録してもよい。 Further, an item dictionary (not shown) in which the item information and the classification are associated may be prepared by setting the classification in which the item information having the same characteristics is grouped. Further, the consumption tax rate and the classification may be associated and registered in the item dictionary (not shown).

取得した取引明細情報項目が品目である場合は、後述する品目情報(取引明細文字列情報のうち取引明細情報項目が品目と判定する文字列)が品目辞書(図示せず)を参照して、品目情報と一致する分類(情報)を取得する。 When the acquired transaction detail information item is an item, the item information (character string for determining that the transaction detail information item is an item in the transaction detail character string information) described later refers to the item dictionary (not shown). Obtain the classification (information) that matches the item information.

例えば、品目辞書(図示せず)に食品(分類情報)と牛肉(品目情報)を関連付けて登録することで、品目辞書(図示せず)で食品(分類情報)と消費税率が関連付けされていれば、牛肉(品目情報)は品目辞書(図示せず)を参照することで品目毎の消費税率がわかる。 For example, by registering food (classification information) and beef (item information) in the item dictionary (not shown) in association with each other, food (classification information) and consumption tax rate can be associated in the item dictionary (not shown). For example, for beef (item information), the consumption tax rate for each item can be found by referring to the item dictionary (not shown).

例えば、図4のレシートの場合、テキストデータの7行目は取引明細情報7(行番号7の取引明細文字列情報「30001*、牛肉、¥5,400」と行番号7の取引明細情報項目「品目、品目、金額」)である。 For example, in the case of the receipt of FIG. 4, the seventh line of the text data is the transaction detail information 7 (transaction detail character string information "30001 *, beef, ¥ 5,400" of line number 7 and the transaction detail information item of line number 7. "Item, item, amount").

品目辞書を使用する場合は、取引明細情報7(行番号7の取引明細文字列情報「30001*、牛肉、¥5,400、食料品」と行番号7の取引明細情報項目「品目、品目、金額、分類」)となる。 When using the item dictionary, transaction detail information 7 (transaction detail character string information "30001 *, beef, ¥ 5,400, groceries in line number 7" and transaction detail information item "item, item, in line number 7" Amount, classification ").

日付情報「2019/7/25」と取引先情報「ストアA」と支払方法情報「現金」と消費税額情報「税抜、8%、¥432」が追加されるため、更新前の取引明細情報7(行番号7の取引明細文字列情報「30001*、牛肉、¥5,400」と行番号7の取引明細情報項目「品目、品目、金額」)は更新後の取引明細情報7(行番号7の取引明細文字列情報「30001*、牛肉、¥5,400、食料品、税抜、8%、¥432、2019/7/25、ストアA、現金」と行番号7の取引明細情報項目「品目、品目、金額、分類、消費税額、消費税額、消費税額、日付、取引先、支払方法」)に更新される。 Since the date information "July 25, 2019", the customer information "Store A", the payment method information "cash", and the consumption tax amount information "tax excluded, 8%, ¥ 432" are added, the transaction details information before the update. 7 (transaction detail character string information "30001 *, beef, ¥ 5,400" in line number 7 and transaction detail information item "item, item, amount" in line number 7) is the updated transaction detail information 7 (line number). Transaction detail information item of line number 7 with transaction detail character string information "30001 *, beef, ¥ 5,400, groceries, tax excluded, 8%, ¥ 432, 2019/7/25, store A, cash" Updated to "Item, Item, Amount, Classification, Consumption Tax Amount, Consumption Tax Amount, Consumption Tax Amount, Date, Business Partner, Payment Method").

仕訳生成部13は後述する勘定科目辞書(図示せず)を参照して又は仕訳生成AIを使用してテキストデータに含まれる取引明細情報から仕訳処理を行ない、仕訳データ(図示せず)を生成する(S8)。 The journal generation unit 13 performs journal processing from the transaction detail information included in the text data by referring to the account dictionary (not shown) described later or using the journal generation AI, and generates journal data (not shown). (S8).

勘定科目辞書(図示せず)は少なくとも勘定科目、貸借、品目、支払方法、仕訳類似度の項目からなる。取引明細情報の品目(分類を含む)や支払方法を勘定科目及び貸借と関連付けて勘定科目辞書に登録する。仕訳類似度は勘定科目(勘定科目の組み合わせも含む)毎に設定されている。 The account dictionary (not shown) consists of at least account, lending, item, payment method, and journal similarity items. Register the item (including classification) and payment method of transaction detail information in the account dictionary in association with the account and balance. Journal similarity is set for each account (including combinations of accounts).

取引明細情報に対応する勘定科目のうち仕訳類似度の高い勘定科目から優先的に抽出する。また、取引明細情報に対応する勘定科目が複数ある場合、よく使われる勘定科目については重みづけを行なってから、仕訳類似度を設定してもよい。 Among the accounts corresponding to the transaction detail information, the accounts with high journal similarity are preferentially extracted. Further, when there are a plurality of accounts corresponding to the transaction details information, the frequently used accounts may be weighted and then the journal similarity may be set.

具体的にはテキストデータから取引明細情報を取得し、勘定科目辞書(図示せず)を参照して取引明細情報に対応する勘定科目(勘定科目の組み合わせを含む)を選択して仕訳データを生成する。 Specifically, transaction detail information is acquired from text data, and the account (including the combination of accounts) corresponding to the transaction detail information is selected by referring to the account dictionary (not shown) to generate journal data. do.

仕訳生成部13は取引明細情報7(行番号7の取引明細文字列情報「30001*、牛肉、¥5,400、食料品、税抜、8%、¥432、2019/7/25、ストアA、現金」と行番号7の取引明細情報項目「品目、品目、金額、分類、消費税額、消費税額、消費税額、日付、取引先、支払方法」)から仕訳データ「2019/7/25(日付)、NULL(借方勘定科目)、NULL(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、NULL(摘要)、NULL(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、NULL(検証項目値日付)、NULL(検証項目値借方勘定科目)、NULL(検証項目値貸方勘定科目)、NULL(検証項目値金額)、NULL(検証項目値消費税額)、NULL(検証項目値摘要)、NULL(検証確定値)」が生成される。 The journal generation unit 13 uses transaction detail information 7 (transaction detail character string information “30001 *, beef, ¥ 5,400, groceries, tax excluded, 8%, ¥ 432, 2019/7/25, store A” of line number 7. , Cash ”and the transaction statement information item“ Item, Item, Amount, Classification, Consumption Tax Amount, Consumption Tax Amount, Consumption Tax Amount, Date, Business Partner, Payment Method ”) to the journal data“ 2019/7/25 (Date) ), NUML (debit account), NULL (credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax), NULL (summary), NULL (journal similarity), NULL (blank flag), NUML (Double accounting flag), transaction detail information 7 (transaction detail information), NUML (verification item value date), NUML (verification item value debit account), NUML (verification item value credit account), NULL (verification item value) Amount), NUML (verification item value consumption tax amount), NULL (verification item value summary), NULL (verification confirmed value) ”is generated.

仕訳生成部13は「30001*」(品目情報)は品目辞書(図示せず)を参照して「商品コード」の分類を取得する。「30001*」(品目情報)と「商品コード」(分類)は勘定科目辞書(図示せず)を参照し、該当する勘定科目がないため、勘定科目は設定しない。 The journal generation unit 13 acquires the classification of the "product code" by referring to the item dictionary (not shown) for "30001 *" (item information). For "30001 *" (item information) and "product code" (classification), refer to the account dictionary (not shown), and since there is no corresponding account, no account is set.

「牛肉」(品目情報)は品目辞書(図示せず)を参照して「食品」の分類を取得する。「牛肉」(品目情報)と「食品」(分類)と「現金」(支払方法情報)は勘定科目辞書(図示せず)を参照し、該当する勘定科目「仕入」と貸借「借方」の組み合わせと勘定科目「現金」と貸借「貸方」の組み合わせと仕訳類似度「0.6」を取得する。
なお、取引明細情報に対応する勘定科目を絞れない場合は、さらに事業者の業種(例えば、飲食業や小売業等)や仕訳類似度を条件に追加してもよい。
For "beef" (item information), refer to the item dictionary (not shown) to obtain the classification of "food". For "beef" (item information), "food" (classification), and "cash" (payment method information), refer to the account dictionary (not shown), and for the corresponding accounts "purchase" and credit "debit". Obtain the combination and account item "cash" and debit "credit" combination and journal similarity "0.6".
If it is not possible to narrow down the account items corresponding to the transaction details information, the business type (for example, restaurant business, retail business, etc.) and journal similarity may be added as conditions.

仕訳生成部13は取得した勘定科目「仕入」と貸借「借方」の組み合わせから仕訳データの借方勘定科目に「仕入」を、勘定科目「現金」と貸借「貸方」の組み合わせから仕訳データの貸方勘定科目に「現金」を、仕訳類似度に「0.6」を設定する。 The journal generation unit 13 debits the journal data from the combination of the acquired account "purchase" and the debit "debit", and the journal data from the combination of the account "cash" and the debit "credit". Set "Cash" for the credit account and "0.6" for the journal similarity.

摘要は後述する摘要辞書を参照して又は新しく作成する場合は後述する一定のルール(摘要設定ルール)に従って生成する。 The description is generated by referring to the description dictionary described later, or when creating a new one, according to a certain rule (summary setting rule) described later.

仕訳生成部13は取引明細情報から摘要辞書(図示せず)を参照して仕訳データの摘要を設定する。摘要辞書は取引明細情報に対応する摘要を登録した辞書である。例えば、「牛肉」と「8%」と「ストアA」を含む取引明細文字列情報と「ストアA」の支払方法が「現金」を指定されている場合に摘要辞書に摘要「ストアA・牛肉・現金・軽減税率対応品目」が対応付けされているとする。 The journal generation unit 13 sets the description of the journal data by referring to the description dictionary (not shown) from the transaction detail information. The description dictionary is a dictionary in which the description corresponding to the transaction detail information is registered. For example, when the transaction statement character string information including "beef", "8%" and "store A" and the payment method of "store A" are specified as "cash", the description "store A / beef" is added to the description dictionary. -Cash / reduced tax rate compatible items "are associated.

取引明細情報7(行番号7の取引明細文字列情報「30001*、牛肉、¥5,400、食料品、税抜、8%、¥432、2019/7/25、ストアA、現金」と行番号7の取引明細情報項目「品目、品目、金額、分類、消費税額、消費税額、消費税額、日付、取引先、支払方法」、取引明細情報項目数10)から摘要「ストアA・牛肉・現金・軽減税率対応品目」を取得する。 Transaction detail information 7 (transaction detail character string information of line number 7 "30001 *, beef, ¥ 5,400, groceries, tax excluded, 8%, ¥ 432, 2019/7/25, store A, cash" Description from the transaction statement information item "Item, item, amount, classification, consumption tax amount, consumption tax amount, consumption tax amount, date, business partner, payment method", transaction statement information item number 10) of number 7, "Store A, beef, cash"・ Acquire "Items compatible with reduced tax rates".

また、仕訳生成部13は取引パターン辞書(図示せず)を参照し、取引明細情報7が定型的な取引等の取引パターンに該当する場合は取引パターン辞書から取得した各項目の検証項目値(日付、借方勘定科目、貸方勘定科目、金額、摘要)と検証確定値を仕訳データの各項目の検証項目値(日付、借方勘定科目、貸方勘定科目、金額、摘要)と検証確定値として設定する。取引パターン辞書に該当する取引パターンがない場合は、仕訳データの各項目の検証項目値(日付、借方勘定科目、貸方勘定科目、金額、摘要)と検証確定値に1.0を設定する。 Further, the journal generation unit 13 refers to the transaction pattern dictionary (not shown), and when the transaction detail information 7 corresponds to a transaction pattern such as a standard transaction, the verification item value of each item acquired from the transaction pattern dictionary ( Set the date, debit account, credit account, amount, description) and verification confirmation value as the verification item value (date, debit account, credit account, amount, description) and verification confirmation value of each item of the journal data. .. If there is no transaction pattern corresponding to the transaction pattern dictionary, set the verification item value (date, debit account, credit account, amount, description) and verification confirmation value of each item of the journal data to 1.0.

取引パターン辞書(図示せず)は定型的な取引等の取引パターン(取引明細情報)と対応する仕訳検証範囲である仕訳データの各項目の検証項目値(日付、借方勘定科目、貸方勘定科目、金額、摘要)と検証確定値を登録した辞書である。 The transaction pattern dictionary (not shown) is the verification item value (date, debit account, credit account, date, debit account, credit account, etc.) of each item of the journal data, which is the journal verification range corresponding to the transaction pattern (transaction detail information) such as standard transactions. It is a dictionary that registers the amount of money, description) and the verification confirmation value.

例えば、取引パターン辞書に取引パターン「新聞代取引」と取引明細情報30(取引明細文字列情報「新聞代、¥3,000、口座引落し」、取引明細情報項目「品目、金額、支払方法」、取引明細情報項目30(取引明細情報)、1.0(検証項目値日付)、2.0(検証項目値借方勘定科目)、2.0(検証項目値貸方勘定科目)、2.0(検証項目値金額)、2.0(検証項目値消費税額)、2.0(検証項目値摘要)、1.5(検証確定値)が関連付けされているとする。 For example, in the transaction pattern dictionary, the transaction pattern "newspaper transaction" and transaction detail information 30 (transaction statement character string information "newspaper fee, ¥ 3,000, direct debit", transaction detail information item "item, amount, payment method" , Transaction detail information item 30 (transaction detail information), 1.0 (verification item value date), 2.0 (verification item value debit account), 2.0 (verification item value credit account), 2.0 ( It is assumed that the verification item value amount), 2.0 (verification item value consumption tax amount), 2.0 (verification item value summary), and 1.5 (verification confirmed value) are associated.

取引明細情報30から作成された仕訳データ「NULL(日付)、新聞図書費(借方勘定科目)、普通預金(貸方勘定科目)、¥3,000(金額)、¥240(消費税額)、○○新聞・税抜・8%・口座引落し(摘要)、0.8(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報30(取引明細情報)、1.0(検証項目値日付)、2.0(検証項目値借方勘定科目)、2.0(検証項目値貸方勘定科目)、2.0(検証項目値金額)、2.0(検証項目値消費税額)、2.0(検証項目値摘要)、1.5(検証確定値)」となり、仕訳検証範囲は判定条件である1.5(検証確定値)以上を満たす勘定科目と金額と消費税額の項目となる。 Journal data created from transaction statement information 30 "NUML (date), newspaper book expenses (debit account), ordinary deposit (credit account), ¥ 3,000 (amount), ¥ 240 (consumption tax), ○○ Newspaper, tax excluded, 8%, direct debit (summary), 0.8 (journal similarity), NUML (blank flag), NUML (double account flag), transaction statement information 30 (transaction statement information), 1. 0 (verification item value date), 2.0 (verification item value debit account), 2.0 (verification item value credit account), 2.0 (verification item value amount), 2.0 (verification item value consumption) Tax amount), 2.0 (verification item value summary), 1.5 (verification confirmed value) ”, and the journal verification range is the account item, amount, and consumption tax amount that satisfy the judgment condition 1.5 (verification confirmed value) or more. It becomes the item of.

また、取引明細情報7は取引パターン辞書に該当する取引パターンではないため、仕訳生成部13は取引明細情報7から仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA(摘要)、0.6(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」が生成される。 Further, since the transaction detail information 7 is not a transaction pattern corresponding to the transaction pattern dictionary, the journal generation unit 13 uses the transaction detail information 7 to enter the journal data "2019/7/25 (date), purchase (debit account), cash". (Credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax amount), store A (summary), 0.6 (journal similarity), NUML (blank flag), NULL (double accounting flag), Transaction detail information 7 (transaction detail information), 1.0 (verification item value date), 1.0 (verification item value debit account), 1.0 (verification item value credit account), 1.0 (verification item) Value amount), 1.0 (verification item value consumption tax amount), 1.0 (verification item value summary), 1.0 (verification confirmed value) ”is generated.

また、仕訳生成部13は仕訳生成AIを有し、仕訳生成AIに仕訳生成処理をさせてもよい。例えば、取引明細情報7(行番号7の取引明細文字列情報「30001*、牛肉、¥5,400」と行番号7の取引明細情報項目「品目、品目、金額」、取引明細情報項目数3)とし、登録仕訳データ「2019/6/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA・牛肉・現金・軽減税率対応品目(摘要)、0.7(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報27(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.2(検証確定値)」とする。 Further, the journal generation unit 13 may have a journal generation AI, and the journal generation AI may perform the journal generation process. For example, transaction detail information 7 (transaction detail character string information "30001 *, beef, ¥ 5,400" in line number 7, transaction detail information item "item, item, amount" in line number 7, number of transaction detail information items 3 ), Registered journal data "2019/6/25 (date), purchase (debit account), cash (credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax), store A / beef -Cash / reduced tax rate compatible items (summary), 0.7 (journal similarity), NUML (blank flag), NUML (double account flag), transaction detail information 27 (transaction detail information), 1.0 (verification item) Value date), 1.0 (verification item value debit account), 1.0 (verification item value credit account), 1.0 (verification item value amount), 1.0 (verification item value consumption tax amount), 1 .0 (summary of verification item value), 1.2 (verification confirmed value) ”.

仕訳生成AIは取引明細情報7と対応する勘定科目の組み合わせ(借方勘定科目「仕入」と貸方勘定科目「現金」)から仕訳類似度が0.6となるので、仕訳類似度を判定条件として仕訳類似度0.6に近い閾値をもつ登録仕訳データ(仕訳類似度が0.7)から仕訳生成AIは取引明細情報7から生成される仕訳データは「2019/7/25(日付)、仕訳(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA・牛肉・現金・軽減税率対応品目(摘要)、0.6(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、NULL(検証項目値日付)、NULL(検証項目値借方勘定科目)、NULL(検証項目値貸方勘定科目)、NULL(検証項目値金額)、NULL(検証項目値消費税額)、NULL(検証項目値摘要)、NULL(検証確定値)」と推論(判定)する。 Since the journal similarity is 0.6 from the combination of the transaction item information 7 and the corresponding account (debit account "purchase" and credit account "cash"), the journal generation AI uses the journal similarity as a judgment condition. Journal generation from registered journal data (journal similarity is 0.7) with a threshold close to journal similarity 0.6 The journal data generated from transaction detail information 7 is "2019/7/25 (date), journal (Debit account), Cash (Credit account), ¥ 5,400 (Amount), ¥ 432 (Consumption tax amount), Store A / Beef / Cash / Reduced tax rate compatible item (Summary), 0.6 (Journal similarity ), NULL (blank flag), NULL (double accounting flag), transaction detail information 7 (transaction detail information), NUML (verification item value date), NULL (verification item value debit account), NULL (verification item value credit) "Account), NUML (verification item value amount), NULL (verification item value consumption tax amount), NULL (verification item value summary), NULL (verification confirmed value)" is inferred (judged).

従来の仕訳AIは取引明細情報と対応する勘定科目の判定を行なうのに対し、本発明の仕訳AIは取引明細情報と対応する勘定科目の組み合わせの判定を行なうことができるため、取引明細情報から精度の高い仕訳データを生成することができる。 Whereas the conventional journal AI determines the account item corresponding to the transaction detail information, the journal AI of the present invention can determine the combination of the transaction detail information and the corresponding account, and therefore, from the transaction detail information. It is possible to generate highly accurate journal data.

従来の仕訳AIを利用した場合、取引明細情報7と対応する勘定科目は借方勘定科目「仕入」となり、勘定科目の組み合わせを指定しないため、支払方法が確定できず、従来の仕訳AIは仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、NULL(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、牛肉(摘要)、NULL(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、NULL(検証確定値)」となる。仮に貸方勘定科目を設定された場合でも支払方法が確定されたことによる貸方勘定科目の設定ではないため、貸方勘定科目が偶然設定されたにすぎない。 When the conventional journal AI is used, the account corresponding to the transaction item information 7 is the debit account "purchase", and since the combination of accounts is not specified, the payment method cannot be determined, and the conventional journal AI is the journal. Data "2019/7/25 (date), purchase (debit account), NUML (credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax), beef (summary), NULL (similar to journal entry) Degree), NUML (blank flag), NULL (double accounting flag), transaction detail information 7 (transaction detail information), NULL (verification confirmed value) ”. Even if a credit account is set, the credit account is not set because the payment method is fixed, so the credit account is only set by chance.

しかし、本発明の仕訳生成AIは取引明細情報7と対応する勘定科目として勘定科目の組み合わせを指定をするため、仕訳生成AIは仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA・牛肉・現金・軽減税率対応品目(摘要)、0.6(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、NULL(検証項目値日付)、NULL(検証項目値借方勘定科目)、NULL(検証項目値貸方勘定科目)、NULL(検証項目値金額)、NULL(検証項目値消費税額)、NULL(検証項目値摘要)、NULL(検証確定値)」を生成する。 However, since the journal generation AI of the present invention specifies the combination of accounts as the account corresponding to the transaction detail information 7, the journal generation AI is the journal data "2019/7/25 (date), purchase (debit account). Subject), Cash (credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax), Store A / Beef / Cash / Reduced tax rate compatible item (Summary), 0.6 (Journal similarity), NUML (Blank flag), NUML (double accounting flag), transaction detail information 7 (transaction detail information), NUML (verification item value date), NULL (verification item value debit account), NULL (verification item value credit account) , NULL (verification item value amount), NULL (verification item value consumption tax amount), NULL (verification item value summary), NULL (verification confirmed value) ”is generated.

また、同じ品目でも金額の区分によって勘定科目が変化する場合がある。金額の区分とは金額によって勘定科目が変化する範囲をいい、例えば固定資産であれば金額の区分は10万円未満(勘定科目は消耗事務用品費)、10万円以上20万円未満(勘定科目は一括償却資産)、20万円以上(勘定科目は工具器具備品)の3つになる。また、同じ商品の取引であっても、事業者の業種や取引の状況(取引先、支払方法、金額の区分)に応じて勘定科目が変化する場合がある。 In addition, even for the same item, the account may change depending on the classification of the amount. The amount classification is the range in which the account changes depending on the amount. For example, in the case of fixed assets, the amount classification is less than 100,000 yen (account is consumable office supplies), 100,000 yen or more and less than 200,000 yen (account). There are three items: lump-sum depreciable assets) and 200,000 yen or more (accounts are tools and fixtures). In addition, even for transactions of the same product, the account item may change depending on the type of business of the business operator and the transaction status (customer, payment method, amount classification).

仕訳生成部13は後述する仕訳検証判定で使用する参照仕訳データを生成する(S9)。
参照仕訳データは仕訳DBから取引明細情報をキーに抽出した登録仕訳データであり、少なくとも仕訳検証判定を行なう項目である日付、勘定科目(借方勘定科目と貸方勘定科目)、金額、消費税額、摘要の項目からなる。
The journal generation unit 13 generates reference journal data to be used in the journal verification determination described later (S9).
The reference journal data is registered journal data extracted from the journal DB using transaction detail information as a key, and is at least the date, account (debit account and credit account), amount, consumption tax amount, and description of items for which journal verification judgment is performed. It consists of the items of.

仕訳検証部14は取引明細情報をキーにして仕訳DBから類似する取引明細情報(以下類似取引明細情報)を検索し、検索でヒットした類似取引明細情報と関連付けされた登録仕訳データを抽出する。また、S3で抽出した類似登録画像データから類似登録画像データと関連付けされた登録仕訳データを取得してもよい。 The journal verification unit 14 searches for similar transaction detail information (hereinafter referred to as similar transaction detail information) from the journal DB using the transaction detail information as a key, and extracts registered journal data associated with the similar transaction detail information hit in the search. Further, the registered journal data associated with the similar registered image data may be acquired from the similar registered image data extracted in S3.

取引明細情報と類似取引明細情報を比較照合し、一致する類似取引明細情報の項目と対応する仕訳データの各項目(日付、借方勘定科目と貸方勘定科目、金額、消費税額、摘要等)に関して抽出した登録仕訳データを参照仕訳データとして設定する。参照仕訳データのうち、未設定の項目は取引明細情報から取得して設定する。 Compare and collate transaction detail information with similar transaction detail information, and extract for each item (date, debit account and credit account, amount, consumption tax amount, description, etc.) of matching similar transaction detail information items and corresponding journal data. Set the registered journal data as the reference journal data. Of the reference journal data, items that have not been set are acquired from the transaction details information and set.

仕訳検証部14は仕訳生成部13が生成した仕訳データが正しく仕訳されているかを検証する仕訳検証判定を行なう(S10)。 The journal verification unit 14 makes a journal verification determination to verify whether the journal data generated by the journal generation unit 13 is correctly journalized (S10).

仕訳データが正しく仕訳されているかの検証として仕訳データの項目に空欄があるかのチェックや仕訳の二重計上があるか(同じ内容の仕訳を複数生成されているか)のチェックを行う。仕訳データの項目に空欄がある場合は、仕訳データの空欄フラグ(図示せず)にチェックを入れ、そこで仕訳検証を終了する。 As a verification of whether the journal data is correctly journalized, it is checked whether there is a blank in the journal data item and whether there is double counting of journals (whether multiple journals with the same content are generated). If there is a blank in the journal data item, check the blank flag (not shown) in the journal data and end the journal verification there.

仕訳データの項目に空欄がない場合は、仕訳の二重計上のチェックを行い、二重計上がある場合は重複している仕訳データの二重計上フラグ(図示せず)にチェックを入れ、二重計上フラグの入っている仕訳データを削除または無効化する重複仕訳解消処理を行なう。 If there is no blank in the journal data item, check the double counting of journals, and if there is double counting, check the double counting flag (not shown) of the duplicate journal data. Performs duplicate journal elimination processing to delete or invalidate journal data containing the reprint flag.

また、重複仕訳解消処理を実行した場合または二重計上がない場合は、仕訳データが正しく仕訳されているかの検証として仕訳データと参照仕訳データを比較照合することによる「税表示情報と消費税率の組み合わせによる仕訳データの金額と消費税額の検証」(消費税を含む金額検証)と「取引明細情報から生成した仕訳データが参照仕訳データと一致するか(仕訳正常値による判定)」(仕訳精度検証)を検証する仕訳検証判定を行なう。 In addition, when the duplicate journal elimination process is executed or there is no double accounting, "tax display information and consumption tax rate" by comparing and collating the journal data and the reference journal data as verification of whether the journal data is correctly journalized. Verification of the amount of journal data and consumption tax amount by combination "(verification of amount including consumption tax) and" whether the journal data generated from transaction detail information matches the reference journal data (judgment based on normal journal value) "(verification of journal accuracy) ) Is verified.

消費税を含む金額検証の場合は、テキストデータから各品目金額と品目金額合計と各品目消費税額と品目消費税額合計を取得する。取得した各品目金額と品目金額合計と各品目消費税額と品目消費税額合計が税込と仮定した場合に各品目金額(税抜)と品目金額合計(税抜)を算出し、取得した各品目金額と品目金額合計と各品目消費税額と品目消費税額合計が税抜と仮定した場合に各品目金額(税込)と品目金額合計(税込)を算出する。 In the case of amount verification including consumption tax, each item amount, total item amount, each item consumption tax amount, and total item consumption tax amount are obtained from the text data. Assuming that the acquired item amount, total item amount, each item consumption tax amount, and total item consumption tax amount are tax-included, each item amount (tax excluded) and item amount total (tax excluded) are calculated, and each item amount acquired. And the total item amount (tax included) and the total item amount (tax included) are calculated assuming that the total item amount, each item consumption tax amount, and the total item consumption tax amount do not include tax.

消費税率が軽減税率と通常税率の2種類がある場合は、軽減税率と通常税率の各品目金額(税抜)と品目金額合計(税抜)と各品目金額(税込)と品目金額合計(税込)を算出する。 If there are two types of consumption tax rates, reduced tax rate and normal tax rate, each item amount (tax excluded) and item amount total (tax excluded), each item amount (tax included), and item amount total (tax included) of the reduced tax rate and normal tax rate ) Is calculated.

税表示情報は外税(税込)、内税(税抜)の2種類があり、消費税率は軽減税率又は通常税率の2種類があるため、金額と消費税額は税表示情報と消費税率の組み合わせは4種類となる。各品目金額が税抜価格の場合は、「消費税額=税抜価格×消費税率」の式で消費税額を算出する。各品目金額が税込価格の場合は、「税抜価格=税込価格÷(1+消費税率)」の式で税抜価格を算出できる。 There are two types of tax display information, tax-excluded (tax included) and tax-included (tax excluded), and there are two types of consumption tax rate, reduced tax rate or normal tax rate, so the amount and consumption tax amount are a combination of tax display information and consumption tax rate. There are four types. If the price of each item is the tax-excluded price, the consumption tax amount is calculated by the formula "consumption tax amount = tax-excluded price x consumption tax rate". If the price of each item is tax-included, the tax-excluded price can be calculated by the formula "tax-excluded price = tax-included price ÷ (1 + consumption tax rate)".

消費税額は「消費税額=税抜価格×消費税率」の式で消費税額を算出する。「消費税額=税抜価格×消費税率」の式で算出した消費税額と「消費税額=税込価格−税抜価格」で算出した消費税額を比較照合も行い、各品目消費税額(税抜)と品目消費税額合計(税抜)と各品目消費税額(税込)と品目消費税額合計(税込)を算出する。 The consumption tax amount is calculated by the formula "consumption tax amount = tax-excluded price x consumption tax rate". The consumption tax amount calculated by the formula "consumption tax amount = tax-excluded price x consumption tax rate" and the consumption tax amount calculated by "consumption tax amount = tax-included price-tax-excluded price" are also compared and collated with each item consumption tax amount (tax-excluded). Calculate the total item consumption tax amount (excluding tax), each item consumption tax amount (tax included), and the total item consumption tax amount (tax included).

取得した各品目金額と品目金額合計と各品目消費税額と品目消費税額合計と算出した各品目金額(税抜)と品目金額合計(税抜)と各品目金額(税込)と品目金額合計(税込)と各品目消費税額(税抜)と品目消費税額合計(税抜)と各品目消費税額(税込)と品目消費税額合計(税込)を比較照合することで、取引明細情報の税表示情報(税込又は税抜)が
判定(金額検証)できる。
Acquired item amount, item amount total, item consumption tax amount, item consumption tax amount total, each item amount (tax excluded), item amount total (tax excluded), each item amount (tax included), and item amount total (tax included) ), Each item consumption tax amount (tax excluded), item consumption tax total (tax excluded), each item consumption tax amount (tax included), and item consumption tax total (tax included) Tax-included or tax-excluded) can be judged (amount verification).

金額検証の結果、税表示情報(税込又は税抜)が誤っている場合は、金額検証により不一致部分の取引明細情報の項目を強調表示し、参照仕訳データの項目で取引明細情報から取得している項目(品目金額、品目消費税額等)がある場合は、正しい税表示情報(税込又は税抜)で算出した品目金額、品目消費税額等を参照仕訳データに再設定する。 If the tax display information (tax included or tax excluded) is incorrect as a result of the amount verification, highlight the item of the transaction detail information of the inconsistent part by the amount verification, and obtain it from the transaction detail information in the reference journal data item. If there are items (item amount, item consumption tax amount, etc.), reset the item amount, item consumption tax amount, etc. calculated with the correct tax display information (tax included or tax excluded) in the reference journal data.

税表示情報(税込又は税抜)が正しい場合は取引明細情報の(品目)消費税額を「(品目)消費税額=(品目)消費税額合計×(品目)金額÷(品目)金額合計」の式から算出する。
算出した品目消費税額等を参照仕訳データに再設定する。
If the tax display information (tax included or tax excluded) is correct, the (item) consumption tax amount in the transaction details information is the formula "(item) consumption tax amount = (item) consumption tax total x (item) amount ÷ (item) amount total" Calculate from.
Reset the calculated item consumption tax amount, etc. in the reference journal data.

仕訳精度検証は仕訳検証範囲判定と仕訳検証判定の二段階の判定を行なう。
仕訳検証範囲判定は仕訳検証部14が参照仕訳データと仕訳データを比較照合する範囲を判定する。
Journal accuracy verification is a two-step judgment of journal verification range judgment and journal verification judgment.
In the journal verification range determination, the journal verification unit 14 determines the range in which the reference journal data and the journal data are compared and collated.

具体的には、取引明細情報(取引パターン)毎に効率的な仕訳検証範囲を各仕訳データの検証項目値(日付、借方勘定科目、貸方勘定科目、金額、消費税額、摘要)と検証確定値が設定されている。 Specifically, the efficient journal verification range for each transaction detail information (transaction pattern) is the verification item value (date, debit account, credit account, amount, consumption tax amount, description) and verification confirmation value of each journal data. Is set.

仕訳検証部14は判定条件が検証確定値以上の場合とすると、検証確定値が所定の値以上を満たす仕訳データの各項目の検証項目値(日付、借方勘定科目、貸方勘定科目、金額、消費税額、摘要)のみを仕訳検証範囲と判定する。 Assuming that the judgment condition is equal to or more than the verification confirmed value, the journal verification unit 14 determines the verification item value (date, debit account, credit account, amount, consumption) of each item of the journal data whose verification confirmed value satisfies the predetermined value or more. Only the tax amount and description) are judged to be the journal verification range.

仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA(摘要)、0.6(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」とする。 Journal data "July 25, 2019 (date), purchase (debit account), cash (credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax amount), store A (summary), 0. 6 (journal similarity), NUML (blank flag), NUML (double accounting flag), transaction detail information 7 (transaction detail information), 1.0 (verification item value date), 1.0 (verification item value debit account) Subject), 1.0 (Verification item value credit account), 1.0 (Verification item value amount), 1.0 (Verification item value consumption tax amount), 1.0 (Verification item value summary), 1.0 (Verification item value summary) Verification confirmed value) ”.

仕訳検証部14は検証確定値を判定条件として閾値が1.0(検証確定値)以上の判定条件を満たす仕訳データの各項目の検証項目値を仕訳検証範囲と判定する。取引明細情報7から作成した仕訳データの場合は全ての項目の検証項目値が1.0なので、仕訳検証範囲判定により仕訳検証範囲は仕訳データの全ての項目(日付、借方勘定科目と貸方勘定科目、金額、消費税額、摘要等)となる。 The journal verification unit 14 determines that the verification item value of each item of the journal data satisfying the determination condition that the threshold value is 1.0 (verification confirmed value) or more is defined as the journal verification range, using the verification confirmed value as the determination condition. In the case of journal data created from transaction detail information 7, the verification item value of all items is 1.0, so the journal verification range is determined by the journal verification range judgment for all items of the journal data (date, debit account and credit account). , Amount, consumption tax amount, description, etc.).

仕訳検証範囲を変更することで参照仕訳データの状態(全項目検証済みから一項目のみ検証済みまで)によって比較照合対象も変更されるので、取引パターンに応じた適切な仕訳検証判定のように参照仕訳データの特定の項目のみの仕訳検証判定を行なうことができる。 By changing the journal verification range, the comparison and collation target is also changed depending on the state of the reference journal data (from all items verified to only one item verified), so refer to it like an appropriate journal verification judgment according to the transaction pattern. It is possible to make a journal verification judgment only for a specific item of journal data.

また、仕訳検証範囲は勘定科目(借方勘定科目と貸方勘定科目)のみなので、金額の検証できていない場合に参照仕訳データに日付と金額と消費税額が異なっている過去履歴の登録仕訳データをそのまま使用した仕訳検証判定を行っても高い精度で検証を行なうことができる。 In addition, since the journal verification range is only for accounts (debit account and credit account), if the amount cannot be verified, the date, amount, and consumption tax amount are different in the reference journal data. Even if the journal verification judgment used is performed, verification can be performed with high accuracy.

また、仕訳検証範囲判定を行なうことにより、仕訳データと比較照合する参照仕訳データの範囲(「全ての取引情報を同じにして生成した仕訳データ」から「勘定科目等の一部の取引情報のみ同じにして生成した仕訳データ」まで)をコントロールできるので、事業者の仕訳DBの状況(過年度の登録仕訳データがある状態から当年度の登録仕訳データしかない状態まで)に応じて参照仕訳データを簡単に用意することができる。 In addition, by performing the journal verification range judgment, the range of the reference journal data to be compared and collated with the journal data (from "journal data generated by making all transaction information the same" to "only some transaction information such as accounts are the same" Since you can control up to the journal data generated by Can be prepared for.

仕訳検証部14は判定した仕訳検証範囲で参照仕訳データと仕訳データとを比較照合し、比較照合した結果に対して仕訳正常値又は仕訳異常値を判定条件とした不一致部分(差異)がないかを検証する仕訳検証判定を行なう。 The journal verification unit 14 compares and collates the reference journal data and the journal data within the determined journal verification range, and whether there is a discrepancy (difference) with the result of the comparison and collation using the journal normal value or the journal abnormal value as the determination condition. Make a journal verification judgment to verify.

判定条件は仕訳正常値による判定(仕訳データが参照仕訳データと一致するか)又は仕訳異常値による判定(参照仕訳データと比較して明らかにデータがおかしい仕訳データが生成されているか)を判定してもよいし、仕訳正常値及び仕訳異常値の両方による判定をしてもよい。 Judgment conditions are judgment based on normal journal values (whether the journal data matches the reference journal data) or judgment based on abnormal journal values (whether the data is clearly incorrect compared to the reference journal data). Alternatively, the judgment may be made based on both the normal journal entry value and the abnormal journal entry value.

具体的には仕訳検証部14は参照仕訳データと仕訳データを比較照合し、比較照合結果が一致する場合は一致する仕訳データの各項目(日付、借方勘定科目と貸方勘定科目、金額、消費税額、摘要等)の検証項目値は更新しない。また、比較照合結果が一致しない場合は、比較照合結果から差分値を算出し、一致しない仕訳データの各項目(日付、借方勘定科目と貸方勘定科目、金額、消費税額、摘要等)の検証項目値に差分値を加算して検証項目値を更新する。 Specifically, the journal verification unit 14 compares and collates the reference journal data and the journal data, and if the comparison and collation results match, each item of the matching journal data (date, debit account and credit account, amount, consumption tax amount). , Description, etc.) verification item values are not updated. If the comparison and collation results do not match, the difference value is calculated from the comparison and collation results, and the verification items for each item (date, debit account and credit account, amount, consumption tax amount, description, etc.) of the journal data that do not match. Update the verification item value by adding the difference value to the value.

差分値が日付や勘定科目や摘要等の文字列の場合(例えば参照仕訳データの借方勘定科目が「現金」と仕訳データの借方勘定科目が「当座預金」の場合)は文字列のうち異なる文字(「現」と「当座預」)の文字数(3文字)でもよい(その場合の借方勘定科目検証項目値は1+3=4)し、仕訳データの文字列の文字数(4文字)に対する参照仕訳データの異なる文字の文字数(3文字)の割合(0.75=3÷4)でもよい(その場合の借方勘定科目検証項目値は1+0.75=1.75)。 If the difference value is a character string such as date, account, description, etc. (for example, if the debit account of the reference journal data is "cash" and the debit account of the journal data is "checking account"), different characters in the character string The number of characters (3 characters) (“current” and “current deposit”) may be used (the debit account verification item value in that case is 1 + 3 = 4), and the reference journal data for the number of characters (4 characters) in the character string of the journal data. The ratio of the number of characters (3 characters) of different characters (0.75 = 3/4) may be used (in that case, the debit account verification item value is 1 + 0.75 = 1.75).

また、差分値が金額や消費税額等の数字の場合(例えば参照仕訳データの金額が「¥3,000」と仕訳データの金額が「¥300,000」)は差額(¥297,000)でもよい(その場合の金額検証項目値は1+297000=297001)し、仕訳データの金額や消費税額等に対する参照仕訳データの差額の割合(0.99=297000÷300000)でもよい(その場合の金額検証項目値は1+0.99=1.99)。なお、差分値は絶対値で算出する。 Also, if the difference value is a number such as the amount of money or consumption tax (for example, the amount of reference journal data is "3,000 yen" and the amount of journal data is "300,000 yen"), the difference (297,000 yen) is also acceptable. It may be good (the amount verification item value in that case is 1 + 297,000 = 297001), and the ratio of the difference in the reference journal data to the amount of the journal data or the consumption tax amount (0.99 = 297,000 ÷ 300,000) may be good (the amount verification item in that case). The value is 1 + 0.99 = 1.99). The difference value is calculated as an absolute value.

例えば、参照仕訳データ「2019/6/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,600(金額)、¥448(消費税額)、ストアA(摘要)、0.6(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」とし、仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA(摘要)、0.6(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」とし、差分値は全体に対する異なる部分の割合とする。 For example, reference journal data "2019/6/25 (date), purchase (debit account), cash (credit account), ¥ 5,600 (amount), ¥ 448 (consumption tax), store A (summary) , 0.6 (journal similarity), NUML (blank flag), NUML (double accounting flag), transaction detail information 7 (transaction detail information), 1.0 (verification item value date), 1.0 (verification item) Value debit account), 1.0 (Verification item value credit account), 1.0 (Verification item value amount), 1.0 (Verification item value consumption tax amount), 1.0 (Verification item value summary), 1 .0 (verification confirmed value) ”, journal data“ 2019/7/25 (date), purchase (debit account), cash (credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax amount) ), Store A (summary), 0.6 (journal similarity), NUML (blank flag), NUML (double account flag), transaction detail information 7 (transaction detail information), 1.0 (verification item value date) , 1.0 (verification item value debit account), 1.0 (verification item value credit account), 1.0 (verification item value amount), 1.0 (verification item value consumption tax amount), 1.0 (verification item value consumption tax amount) Verification item value summary), 1.0 (verification confirmed value) ”, and the difference value is the ratio of different parts to the whole.

仕訳検証部14は仕訳検証範囲判定から検証確定値1.0以上の閾値を満たす検証項目値が対象となるので、仕訳データの全ての項目(日付、借方勘定科目、貸方勘定科目、金額、消費税額、摘要)が対象となる。 Since the journal verification unit 14 targets the verification item values that satisfy the threshold value of the verification confirmation value of 1.0 or more from the journal verification range judgment, all the items of the journal data (date, debit account, credit account, amount, consumption). Tax amount, description) is applicable.

仕訳検証部14は仕訳検証範囲として仕訳データの全ての項目(日付、借方勘定科目、貸方勘定科目、金額、消費税額、摘要)について参照仕訳データと仕訳データを比較照合する。 The journal verification unit 14 compares and collates the reference journal data with the journal data for all items (date, debit account, credit account, amount, consumption tax amount, description) of the journal data as the journal verification range.

比較照合の結果、借方勘定科目、貸方勘定科目、摘要は一致するため、検証項目値は更新しないため1.0のままである。また、日付は参照仕訳データ「2019/6/25」に対して仕訳データ「2019/7/25」であるので、全体の文字列10文字(月は2桁で計算)に対し異なる部分は1文字である。よって、差分値は0.1(1÷10=0.1)となるため、日付の検証項目値は1.1(1.0+0.1=1.1)となる。 As a result of comparison and collation, the debit account, the credit account, and the description match, so the verification item value is not updated and remains at 1.0. Also, since the date is the journal data "2019/7/25" for the reference journal data "2019/6/25", the difference is 1 for the entire character string 10 characters (month is calculated with 2 digits). It is a character. Therefore, since the difference value is 0.1 (1/10 = 0.1), the verification item value of the date is 1.1 (1.0 + 0.1 = 1.1).

また、金額は参照仕訳データ「¥5,600」に対して仕訳データ「¥5,400」であるので、差額は「¥200」である。よって、差分値は0.04(¥200÷¥5,400=0.037を四捨五入して0.04)となるため、金額の検証項目値は1.04(1.0+0.04=1.04)となる。 Further, since the amount is the journal data "¥ 5,400" with respect to the reference journal data "¥ 5,600", the difference is "¥ 200". Therefore, the difference value is 0.04 (¥ 200 ÷ ¥ 5,400 = 0.037 rounded to 0.04), so the verification item value of the amount is 1.04 (1.0 + 0.04 = 1. 04).

また、消費税額は参照仕訳データ「¥448」に対して仕訳データ「¥432」であるので、差額は「¥16」である。よって、差分値は0.04(¥16÷¥432=0.037を四捨五入して0.04)となるため、消費税額の検証項目値は1.04(1.0+0.04=1.04)となる。 Further, since the consumption tax amount is the journal data "¥ 432" with respect to the reference journal data "¥ 448", the difference is "¥ 16". Therefore, the difference value is 0.04 (¥ 16 ÷ ¥ 432 = 0.037 rounded to 0.04), so the verification item value of the consumption tax amount is 1.04 (1.0 + 0.04 = 1.04). ).

よって、仕訳データの日付の検証項目値は1.0から1.1に、金額の検証項目値は1.0から1.04に、消費税額の検証項目値は1.0から1.04に更新される。 Therefore, the verification item value of the date of the journal data is changed from 1.0 to 1.1, the verification item value of the amount is changed from 1.0 to 1.04, and the verification item value of the consumption tax amount is changed from 1.0 to 1.04. Will be updated.

よって、仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA(摘要)、0.6(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.1(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.04(検証項目値金額)、1.04(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」となる。 Therefore, journal data "July 25, 2019 (date), purchase (debit account), cash (credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax amount), store A (summary), 0.6 (journal similarity), NUML (blank flag), NUML (double accounting flag), transaction detail information 7 (transaction detail information), 1.1 (verification item value date), 1.0 (verification item value) Debit account), 1.0 (Verification item value credit account), 1.04 (Verification item value amount), 1.04 (Verification item value consumption tax amount), 1.0 (Verification item value summary), 1. 0 (verification confirmed value) ”.

仕訳検証部14は判定条件が仕訳正常値(閾値1.0)以下の場合、仕訳検証判定は仕訳データの各項目の検証項目値(借方勘定科目、貸方勘定科目、摘要)が閾値1.0以下の項目は値が正しいと判定する。仕訳データの各項目の検証項目値(日付、金額、消費税額)が閾値1.0を超えた項目は誤っている仕訳として強調表示にしてもよい。強調表示は、通常表示と異なる表示であればよく、表示形式は特に限定されず、例えば不一致部分に下線を記載したり、文字色を異ならせたり、文字を太くしたり、不一致部分の近くにフラグを表示する等して表現する。また、強調表示の種類も整合性に応じて複数設定してもよいし、1種類のみでもよい。 When the judgment condition is less than or equal to the normal journal value (threshold value 1.0), the journal verification unit 14 determines that the verification item value (debit account, credit account, description) of each item of the journal data has a threshold value of 1.0. The following items are judged to have correct values. Items whose verification item values (date, amount, consumption tax amount) of each item in the journal data exceed the threshold value of 1.0 may be highlighted as incorrect journals. The highlighting may be a display different from the normal display, and the display format is not particularly limited. For example, underlining the inconsistent part, making the character color different, thickening the character, or near the inconsistent part. Express by displaying a flag or the like. Further, a plurality of highlighting types may be set according to the consistency, or only one type may be set.

正しくない仕訳の例としては、軽減税率(8%)対象商品に対して消費税額が通常税率(10%)で計算されている場合(閾値2.5)や品目の金額(例えば10万円)が消費税額(例えば60円)に比べて異常に大きい場合(閾値3.0)や消費税額(例えば1000円)が品目の金額(例えば300円)に比べて異常に大きい場合(閾値3.5)等のケースである。 Examples of incorrect journal entries are when the consumption tax amount is calculated at the normal tax rate (10%) for products subject to the reduced tax rate (8%) (threshold value 2.5) and the amount of the item (for example, 100,000 yen). Is abnormally large compared to the consumption tax amount (for example, 60 yen) (threshold value 3.0) or the consumption tax amount (for example, 1000 yen) is abnormally large compared to the item amount (for example, 300 yen) (threshold value 3.5). ) Etc.

また、判定条件が仕訳異常値(閾値1.6)以上の場合、仕訳検証判定は仕訳データの各項目の検証項目値(日付、借方勘定科目、貸方勘定科目、金額、消費税額、摘要)が閾値1.6以上の項目は値が誤っていると判定する。仕訳データの全ての項目の検証項目値(日付、借方勘定科目、貸方勘定科目、金額、消費税額、摘要)が判定条件を満たさないので、仕訳データに異常データはないと判断できる。 If the judgment condition is an abnormal journal value (threshold value 1.6) or more, the verification item value (date, debit account, credit account, amount, consumption tax amount, description) of each item of the journal data is used for the journal verification judgment. Items with a threshold value of 1.6 or more are judged to have incorrect values. Since the verification item values (date, debit account, credit account, amount, consumption tax amount, description) of all items of the journal data do not satisfy the judgment conditions, it can be judged that there is no abnormal data in the journal data.

また、仕訳検証部14は仕訳検証範囲AIを有し、仕訳検証範囲AIに仕訳検証範囲処理をさせてもよい。仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA(摘要)、NULL(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.2(検証確定値)」とし、勘定科目と摘要に重みづけを2.0に設定(他の項目は重みづけ1,0とする)すると、仕訳検証範囲AIは仕訳データの各項目に重みづけを行い、仕訳データは「2019/7/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA(摘要)、NULL(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.0(検証項目値日付)、2.0(検証項目値借方勘定科目)、2.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、2.0(検証項目値摘要)、1.2(検証確定値)」となる。 Further, the journal verification unit 14 has a journal verification range AI, and the journal verification range AI may be subjected to the journal verification range processing. Journal data "July 25, 2019 (date), purchase (debit account), cash (credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax), store A (summary), NULL ( Journal similarity), NUML (blank flag), NUML (double accounting flag), transaction detail information 7 (transaction detail information), 1.0 (verification item value date), 1.0 (verification item value debit account) , 1.0 (verification item value credit account), 1.0 (verification item value amount), 1.0 (verification item value consumption tax amount), 1.0 (verification item value summary), 1.2 (verification confirmed If you set the weight to 2.0 for the account and description (the other items are weighted to 1,0), the journal verification range AI weights each item in the journal data and journals. The data is "2019/7/25 (date), purchase (debit account), cash (credit account), ¥ 5,400 (amount), ¥ 432 (consumption tax), store A (summary), NULL ( Journal similarity), NUML (blank flag), NUML (double accounting flag), transaction detail information 7 (transaction detail information), 1.0 (verification item value date), 2.0 (verification item value debit account) , 2.0 (verification item value credit account), 1.0 (verification item value amount), 1.0 (verification item value consumption tax amount), 2.0 (verification item value summary), 1.2 (verification confirmed Value) ”.

仕訳検証範囲AIは仕訳データの検証確定値(1.2以上)を判定条件として仕訳データの検証項目値の値が1.2以上の判定条件を満たす仕訳データの項目「仕入(借方勘定科目)、現金(貸方勘定科目)、ストアA(摘要)」のみを仕訳検証範囲と推論(判定)する。 Journal verification range AI is a journal data item "Purchase (debit account item)" that satisfies the judgment condition that the value of the verification item value of the journal data is 1.2 or more, with the verification confirmation value (1.2 or more) of the journal data as the judgment condition. ), Cash (credit account), Store A (summary) ”is the journal verification range and inferred (judgment).

また、仕訳検証部14は仕訳検証AIを有し、仕訳検証生成AIに仕訳検証処理をさせてもよい。参照仕訳データ「2019/6/25(日付)、仕入(借方勘定科目)、未払金(貸方勘定科目)、¥5,600(金額)、¥448(消費税額)、ストアA(摘要)、NULL(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.3(検証確定値)」とし、仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥540,000(金額)、¥432(消費税額)、ストアA(摘要)、NULL(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.2(検証確定値)」とし、差分値は全体に対する異なる部分の割合とする。また、取引先の支払方法がクレジットカード払いを指定しており、借方勘定科目と貸方勘定科目の重みづけの計数が2.0に設定されているとする。 Further, the journal verification unit 14 has a journal verification AI, and the journal verification generation AI may perform the journal verification process. Reference journal data "June 25, 2019 (date), purchase (debit account), accounts payable (credit account), ¥ 5,600 (amount), ¥ 448 (consumption tax), store A (summary), NUML (Journal similarity), NUML (blank flag), NUML (double accounting flag), transaction detail information 7 (transaction detail information), 1.0 (verification item value date), 1.0 (verification item value debit account) ), 1.0 (Verification item value credit account), 1.0 (Verification item value amount), 1.0 (Verification item value consumption tax amount), 1.0 (Verification item value summary), 1.3 (Verification item value summary) Final value) ”, journal data“ 2019/7/25 (date), purchase (debit account), cash (credit account), ¥ 540,000 (amount), ¥ 432 (consumption tax), store A (Summary), NUML (journal similarity), NUML (blank flag), NUML (double account flag), transaction detail information 7 (transaction detail information), 1.0 (verification item value date), 1.0 (verification) Item value debit account), 1.0 (Verification item value credit account), 1.0 (Verification item value amount), 1.0 (Verification item value consumption tax amount), 1.0 (Verification item value summary), 1.2 (verification confirmed value) ”, and the difference value is the ratio of different parts to the whole. Further, it is assumed that the payment method of the business partner specifies credit card payment, and the weighting count of the debit account and the credit account is set to 2.0.

仕訳検証AIは参照仕訳データと仕訳データの比較照合を行い、比較照合の結果、不一致となった日付と貸方勘定科目と金額と消費税額の差分値を算出する。なお、借方勘定科目の検証項目値は重みづけが設定されているが、比較照合の結果一致しているので、検証項目値は更新しない為、検証項目値(借方勘定科目)と検証項目値(適用)は1.0のままである。 The journal verification AI compares and collates the reference journal data and the journal data, and as a result of the comparison and collation, calculates the difference value between the date, the credit account, the amount, and the consumption tax amount that do not match. Although the verification item value of the debit account is weighted, the verification item value (debit account) and the verification item value (verification item value) are not updated because the verification item values match as a result of comparison and collation. Applicable) remains at 1.0.

日付の項目の差分値0.1(1÷10=0.1)と貸方勘定科目の項目の差分値0.67(2÷3=0.666を四捨五入して0.67)と金額の項目の差分値0.99(¥16÷¥540,000=0.989を四捨五入して0.99)と消費税額の項目の差分値(¥16÷¥432=0.037を四捨五入して0.04)を算出する。 The difference value of the date item 0.1 (1/10 = 0.1) and the difference value of the credit account item 0.67 (rounded to 2/3 = 0.666) and the amount item The difference value of 0.99 (¥ 16 ÷ ¥ 540,000 = 0.989 rounded to 0.99) and the difference value of the consumption tax amount item (¥ 16 ÷ ¥ 432 = 0.037 rounded to the nearest 0. 04) is calculated.

検証項目値(日付)を1.0から1.1(1.0+0.1=1.1)に、検証項目値(貸方勘定科目)を1.0から3.34(1.67×重みづけ2.0=3.34)に、検証項目値(金額)を1.0から1.99(1.0+0.99=1.99)に、検証項目値(消費税額)を1.0から1.04(1.0+0.04=1.04)に更新される。 Verification item value (date) from 1.0 to 1.1 (1.0 + 0.1 = 1.1), verification item value (credit account) from 1.0 to 3.34 (1.67 x weighting) 2.0 = 3.34), verification item value (amount) from 1.0 to 1.99 (1.0 + 0.99 = 1.99), verification item value (consumption tax amount) from 1.0 to 1. It is updated to .04 (1.0 + 0.04 = 1.04).

仕訳検証AIは判定条件が仕訳正常値(閾値1.0)以下の場合、仕訳検証判定は仕訳データの各項目の検証項目値を判定条件である仕訳正常値の閾値1.0以下を満たすかどうかの仕訳検証判定を行なう。仕訳正常値の閾値1.0以下を満たす仕訳データの検証項目値(借方勘定科目、摘要)を正しい(正常データ)と推論(判定)し、仕訳正常値の閾値1.0以下を満たさない(閾値1.0を超える)仕訳データの検証項目値(日付、貸方勘定科目、金額、消費税額)を誤っていると推論(判定)する。 In the journal verification AI, when the judgment condition is less than or equal to the normal journal value (threshold value 1.0), does the journal verification judgment satisfy the threshold value of the normal journal value of 1.0 or less, which is the judgment condition, for the verification item value of each item of the journal data? Make a journal verification judgment. The verification item value (debit account, description) of the journal data that satisfies the threshold value of the journal normal value of 1.0 or less is inferred (judged) as correct (normal data), and the threshold value of the journal normal value of 1.0 or less is not satisfied (. It is inferred (determined) that the verification item values (date, credit account, amount, consumption tax amount) of the journal data (exceeding the threshold value 1.0) are incorrect.

また、判定条件が仕訳異常値(閾値1.6)以上の場合、仕訳検証判定は仕訳データの各項目の検証項目値を判定条件である仕訳異常値の閾値1.6以上を満たすかどうかの仕訳検証判定を行なう。仕訳異常値の閾値1.6以上を満たす仕訳データの検証項目値(貸方勘定科目、金額)を誤り(明らかにデータがおかしいものを含む)である誤仕訳データと推論(判定)し、仕訳異常値の閾値1.6以上を満たさない(閾値1.6未満)仕訳データの検証項目値(日付、借方勘定科目、消費税額、摘要)を正常な仕訳データと推論(判定)する。 When the judgment condition is the journal abnormality value (threshold value 1.6) or more, the journal verification judgment determines whether the verification item value of each item of the journal data satisfies the threshold value 1.6 or more of the journal abnormality value which is the judgment condition. Make a journal verification judgment. The verification item value (credit account, amount) of the journal data that satisfies the threshold value of the journal error value of 1.6 or more is inferred (judged) as incorrect journal data (including those whose data is clearly incorrect), and the journal is abnormal. The verification item values (date, debit account, consumption tax amount, description) of the journal data that do not satisfy the value threshold of 1.6 or more (threshold of less than 1.6) are inferred (determined) as normal journal data.

また、誤り(明らかにデータがおかしいものを含む)である誤仕訳データは強調表示にしてもよい。強調表示は、通常表示と異なる表示であればよく、表示形式は特に限定されず、例えば不一致部分に下線を記載したり、文字色を異ならせたり、文字を太くしたり、不一致部分の近くにフラグを表示する等して表現する。また、強調表示の種類も整合性に応じて複数設定してもよいし、1種類のみでもよい。また、誤り(明らかにデータがおかしいものを含む)である誤仕訳データと正常な仕訳データは別の強調表示にして違いを明確にわかるように表示してもよい。 In addition, misjournalized data that is incorrect (including data that is clearly incorrect) may be highlighted. The highlighting may be a display different from the normal display, and the display format is not particularly limited. For example, underlining the inconsistent part, making the character color different, thickening the character, or near the inconsistent part. Express by displaying a flag or the like. Further, a plurality of highlighting types may be set according to the consistency, or only one type may be set. In addition, incorrect journal data and normal journal data, which are incorrect (including those whose data is clearly incorrect), may be highlighted separately so that the difference can be clearly seen.

修正前の仕訳データは大きく誤っている仕訳の項目があるので、修正前の仕訳データを誤仕訳データとして誤仕訳DB32に登録する。 Since the journal data before correction has a journal item that is largely incorrect, the journal data before correction is registered in the erroneous journal DB 32 as erroneous journal data.

証憑データと仕訳データと参照仕訳データを並べて表示して比較する。 Display voucher data, journal data, and reference journal data side by side for comparison.

目視確認の結果、証憑データと仕訳データと参照仕訳データの比較結果から誤り部分がある場合は、仕訳データを修正する。その後、証憑データ(登録画像データ)と仕訳データ(修正した仕訳データも含む)を関連付けて登録仕訳データとして仕訳DBに登録する。 As a result of visual confirmation, if there is an error in the comparison result of voucher data, journal data and reference journal data, correct the journal data. After that, the voucher data (registered image data) and the journal data (including the corrected journal data) are associated and registered in the journal DB as registered journal data.

本実施例により、担当者が証憑を電子データ化するだけで仕訳データを自動作成することができ、仕訳データの入力の手間が軽減される効果がある。 According to this embodiment, the person in charge can automatically create the journal data just by converting the voucher into electronic data, which has the effect of reducing the trouble of inputting the journal data.

実施例1の変形例等の記載例を以下に示す。 A description example of a modified example of Example 1 is shown below.

画像認識部11の処理の変形例として、取引情報の項目で重要な項目については重みづけを行なってから、画像類似度を設定する例を説明する。 As a modification of the processing of the image recognition unit 11, an example of setting the image similarity after weighting important items in the transaction information will be described.

例えば、重みづけの計数として証憑種類に1.5、取引先に1.5、品目に2.0、金額に1.5、日付に0.5と設定した場合(他の項目は1.0とする)は、領域A1は取引情報項目が「取引先、取引先、日付」であるから取引情報項目数は3.5(取引先の数量2×重みづけ1.5+日付の数量1×重みづけ0.5=3.5)となる。 For example, when the voucher type is set to 1.5, the supplier is set to 1.5, the item is set to 2.0, the amount is set to 1.5, and the date is set to 0.5 as the weighting count (other items are 1.0). Since the transaction information item is "customer, business partner, date" in the area A1, the number of transaction information items is 3.5 (customer quantity 2 x weighting 1.5 + date quantity 1 x weight). Addition 0.5 = 3.5).

領域A2は取引情報項目が「証憑種類、取引先、日付」であるから取引情報項目数は8(証憑種類の数量1×1.5+取引先の数量4×1.5+日付の数量1×重みづけ0.5=8)となる。 In area A2, since the transaction information item is "voucher type, business partner, date", the number of transaction information items is 8 (quantity of voucher type 1 x 1.5 + quantity of business partner 4 x 1.5 + quantity of date 1 x weight). Addition 0.5 = 8).

領域A3は取引情報項目が「取引先」であるから取引情報項目数は1.5(取引先の数量1×1.5=1.5)となる。 In the area A3, since the transaction information item is "customer", the number of transaction information items is 1.5 (quantity of business partner 1 x 1.5 = 1.5).

領域A4は取引情報項目が「品目、品目、品目、品目、品目、品目」であるから取引情報項目数は12(品目の数量6×2.0=2)となる。 Since the transaction information item in the area A4 is "item, item, item, item, item, item", the number of transaction information items is 12 (quantity of item 6 × 2.0 = 2).

領域A5は取引情報項目が「品目、品目、品目、品目、品目、品目」であるから取引情報項目数は12(品目の数量6×2.0=2)となる。 Since the transaction information item in the area A5 is "item, item, item, item, item, item", the number of transaction information items is 12 (quantity of item 6 × 2.0 = 2).

領域A6は取引情報項目が「金額、金額、金額、金額、金額、金額、金額、金額」であるから取引情報項目数は12(金額の数量8×1.5=12)となる。 In the area A6, since the transaction information item is "amount, amount, amount, amount, amount, amount, amount, amount", the number of transaction information items is 12 (quantity of amount 8 × 1.5 = 12).

領域A7は取引情報項目が「消費税額、消費税額、消費税額、消費税額、金額、消費税額、支払方法、支払方法、消費税額」であるから取引情報項目数は9.5(金額の数量1×1.5+消費税額の数量6×1.0+支払方法の数量2×1.0=9.5)となる。 In area A7, the number of transaction information items is 9.5 (quantity of amount 1) because the transaction information items are "consumption tax amount, consumption tax amount, consumption tax amount, consumption tax amount, amount, consumption tax amount, payment method, payment method, consumption tax amount". × 1.5 + quantity of consumption tax 6 × 1.0 + quantity of payment method 2 × 1.0 = 9.5).

領域A8は取引情報項目が「消費税額」であるから取引情報項目数は1(消費税額の数量1×1.0=1)となる。 In area A8, since the transaction information item is the "consumption tax amount", the number of transaction information items is 1 (consumption tax amount quantity 1 x 1.0 = 1).

領域A9は取引情報項目が「消費税額、消費税額、消費税額、消費税額、金額、消費税額、支払方法、支払方法、消費税額」であるから取引情報項目数は9.5(金額の数量1×1.5+消費税額の数量6×1.0+支払方法の数量2×1.0=9.5)となる。 In area A9, the number of transaction information items is 9.5 (quantity of amount 1) because the transaction information items are "consumption tax amount, consumption tax amount, consumption tax amount, consumption tax amount, amount, consumption tax amount, payment method, payment method, consumption tax amount". × 1.5 + quantity of consumption tax 6 × 1.0 + quantity of payment method 2 × 1.0 = 9.5).

領域A1からA9の取引情報項目数の合計である画像類似度は72(証憑種類の数量1×重みづけ1.5+取引先の数量7×重みづけ1.5+日付の数量2×重みづけ0.5+品目の数量12×重みづけ2.0+金額の数量12×重みづけ1.5+消費税額の数量13×重みづけ1.0+支払方法の数量4×重みづけ1.0=72)となる。 The image similarity, which is the total number of transaction information items in areas A1 to A9, is 72 (quantity of voucher type 1 x weighting 1.5 + supplier quantity 7 x weighting 1.5 + date quantity 2 x weighting 0. 5 + Item quantity 12 x Weight 2.0 + Amount quantity 12 x Weight 1.5 + Consumption tax quantity 13 x Weight 1.0 + Payment method quantity 4 x Weight 1.0 = 72).

仕訳生成部13の処理の変形例として勘定科目の組み合わせでない場合について以下に説明する。
「牛肉」(品目情報)と「食品」(分類)は勘定科目辞書(図示せず)を参照し、該当する勘定科目「仕入」と貸借「借方」と仕訳類似度「0.6」を取得する。仕訳生成部13は取得した勘定科目「仕入」と貸借「借方」の組み合わせから仕訳データの借方勘定科目に「仕入」を設定する。
As a modification of the processing of the journal generation unit 13, a case where the account items are not combined will be described below.
For "beef" (item information) and "food" (classification), refer to the account dictionary (not shown), and select the corresponding account "purchase", debit "debit", and journal similarity "0.6". get. The journal generation unit 13 sets "purchase" in the debit account of the journal data from the combination of the acquired account "purchase" and the debit "debit".

「現金」(支払方法情報)は勘定科目辞書(図示せず)を参照し、該当する勘定科目「現金」と貸借「貸方」と仕訳類似度「0.8」を取得する。仕訳生成部13は取得した勘定科目「現金」と貸借「貸方」の組み合わせから仕訳データの貸方勘定科目に「現金」を設定する。 For "cash" (payment method information), refer to the account dictionary (not shown) and acquire the corresponding account "cash", the debit "credit", and the journal similarity "0.8". The journal generation unit 13 sets "cash" in the credit account of the journal data from the combination of the acquired account "cash" and the credit "credit".

仕訳類似度は貸借「借方」の仕訳類似度(以下、借方仕訳類似度とする)と貸借「貸方」の仕訳類似度(以下、貸方仕訳類似度とする)の2つがあるため、借方勘定科目と貸方勘定科目のうち、事業者が優先するかの方針に基づいて仕訳データの仕訳類似度を設定する。 There are two journal similarity, the journal similarity of the debit "debit" (hereinafter referred to as the debit journal similarity) and the journal similarity of the credit "credit" (hereinafter referred to as the credit journal similarity). And, among the credit accounts, set the journal similarity of the journal data based on the policy of whether the business operator has priority.

例えば、事業者が優先するかの方針が「設定ミスが多い勘定科目を優先する」であれば、借方勘定科目の設定でミスが多い場合は借方仕訳類似度0.6を仕訳データの仕訳類似度として設定する。設定した仕訳類似度(借方仕訳類似度0.6)を使用して仕訳DBから類似する仕訳類似度を持つ登録仕訳データを抽出する。 For example, if the policy of whether the business operator has priority is "priority is given to the account with many setting mistakes", if there are many mistakes in the setting of the debit account, the debit journal similarity is 0.6 and the journal data is similar to the journal. Set as degree. Registered journal data with similar journal similarity is extracted from the journal DB using the set journal similarity (debit journal similarity 0.6).

逆に貸方勘定科目の設定でミスが多い場合は貸方仕訳類似度0.8を仕訳データの仕訳類似度として設定する。また、仕訳類似度として借方仕訳類似度を設定して登録仕訳データを抽出した場合に、仕訳類似度が同じ登録仕訳データが複数存在する場合には、さらに絞り込むために貸方仕訳類似度を使用して抽出してもよい。 Conversely, if there are many mistakes in the setting of the credit account, set the credit journal similarity 0.8 as the journal similarity of the journal data. In addition, when the registered journal data is extracted by setting the debit journal similarity as the journal similarity, if there are multiple registered journal data with the same journal similarity, the credit journal similarity is used to further narrow down. May be extracted.

また、方針を「借方勘定科目と貸方勘定科目の組み合わせの精度を高めたい」の場合は「借方仕訳類似度と貸方仕訳類似度の合計(0.6+0.8=1.4)」や「借方仕訳類似度と貸方仕訳類似度の差分(0.8−0.6=0.2)」を仕訳類似度としてもよい。 If the policy is "I want to improve the accuracy of the combination of debit and credit accounts", then "Total of debit journal similarity and credit journal similarity (0.6 + 0.8 = 1.4)" or "Debit". The difference between the journal similarity and the credit journal similarity (0.8-0.6 = 0.2) ”may be used as the journal similarity.

また、勘定科目に重みづけして仕訳類似度を設定してもよい。例えば、方針が「借方勘定科目と貸方勘定科目の組み合わせの精度を高めたい」で「借方仕訳類似度と貸方仕訳類似度の合計」を仕訳類似度として設定する場合は、勘定科目「現金」に2.0、勘定科目「買掛金」に0.5、勘定科目「仕入」に1.5、勘定科目「仕入」に0.8の重みづけがされているとすると、文字列情報「30001* 牛肉 ¥5,400」は借方勘定科目「仕入」、貸方勘定科目「現金」となり、借方仕訳類似度は0.9(0.6×1.5=0.9)となり、貸方仕訳類似度は1.6(0.8×2.0)となるので、仕訳類似度として「借方仕訳類似度と貸方仕訳類似度の合計(0.9+1.6=2.5)」である2.5が設定される。 In addition, the journal similarity may be set by weighting the account items. For example, if the policy is "I want to improve the accuracy of the combination of debit and credit accounts" and "Sum of debit journal similarity and credit journal similarity" is set as the journal similarity, set the account "Cash". Assuming that the weight is 2.0, the account "accounts receivable" is 0.5, the account "purchase" is 1.5, and the account "purchase" is 0.8, the character string information " "30001 * Beef ¥ 5,400" becomes the debit account "Purchase" and the credit account "Cash", and the debit journal similarity is 0.9 (0.6 x 1.5 = 0.9), and the credit journal Since the similarity is 1.6 (0.8 × 2.0), the journal similarity is “total of debit journal similarity and credit journal similarity (0.9 + 1.6 = 2.5)” 2 .5 is set.

また、仕訳生成部13の処理の変形例として摘要辞書を参照せずに新しく生成する場合は摘要設定ルールに基づいて摘要を生成する例を説明する。取引明細情報から「取引先情報、品目情報、金額情報、消費税額情報、支払方法情報の順で摘要に設定する」と「品目情報の分類が商品コード、金額情報が金額(数字)、消費税額情報が金額(数字)の場合は摘要に設定しない」と「摘要に取引先情報、品目情報等の複数の摘要情報を設定する場合は・で区切ってから結合する」の摘要設定ルールに基づいて生成した摘要を仕訳データの摘要に設定する。 Further, as a modification of the processing of the journal generation unit 13, when a new description is generated without referring to the description dictionary, an example of generating a description based on the description setting rule will be described. From the transaction details information, "Set the description in the order of customer information, item information, amount information, consumption tax amount information, payment method information" and "Item information classification is product code, amount information is amount (number), consumption tax amount If the information is a monetary amount (number), do not set it in the description "and" If you want to set multiple description information such as supplier information, item information, etc. in the description, separate them with and then combine them "based on the description setting rule Set the generated description as the description of the journal data.

摘要設定ルールに「品目情報の分類が商品コード、金額情報が金額(数字)、消費税額情報が金額(数字)の場合は摘要に設定しない」があるので、「30001*」(品目情報)は摘要へ設定しない。 Since there is a description setting rule "If the item information classification is a product code, the amount information is an amount (number), and the consumption tax amount information is an amount (number), it is not set as a description", so "30001 *" (item information) is Do not set to description.

摘要設定ルールに「取引先情報、品目情報、金額情報、消費税額情報、支払方法情報の順で摘要に設定する」と「摘要に取引先情報、品目情報等の複数の摘要情報を設定する場合は・(区切り文字)で区切ってから結合する」があるので、仕訳生成部13は仕訳データの摘要「ストアA」に「・」(区切り文字)、「牛肉」(品目情報)、「・」(区切り文字)「軽減税率対応品目」(消費税額情報)、「・」(区切り文字)、「現金」(支払方法情報)の順で追加(結合)して設定する。 When setting multiple description information such as "customer information, item information, amount information, consumption tax amount information, payment method information in this order" and "customer information, item information, etc." in the description setting rule Since there is "to combine after separating with (separator)", the journal generation unit 13 puts "・" (separator), "beef" (item information), and "・" in the journal data description "Store A". (Separator) Set by adding (combining) in the order of "Reduced tax rate compatible item" (consumption tax amount information), "・" (separator), and "cash" (payment method information).

「¥5,400」(金額情報)は金額(数字)であるため、仕訳生成部13は仕訳データの金額に「¥5,400」を設定する。摘要設定ルールに「品目情報の分類が商品コード、金額情報が金額(数字)、消費税額情報が金額(数字)の場合は摘要に設定しない」があるので、「¥5,400」(金額情報)は摘要へ設定しない。 Since "¥ 5,400" (amount information) is an amount (number), the journal generation unit 13 sets "¥ 5,400" as the amount of the journal data. Since there is a description setting rule "If the item information classification is a product code, the amount information is an amount (number), and the consumption tax amount information is an amount (number), it is not set as a description", so "¥ 5,400" (amount information) ) Is not set in the description.

また、取引明細情報7が毎月定期的に購入する品目であるとした場合として検証確定値を1.2に設定する。 Further, assuming that the transaction detail information 7 is an item to be purchased regularly every month, the verification confirmation value is set to 1.2.

よって、仕訳生成部13は取引明細情報7(行番号7の取引明細文字列情報「30001*、牛肉、¥5,400、食料品、税抜、8%、¥432、2019/7/25、ストアA、現金」と行番号7の取引明細情報項目「品目、品目、金額、分類、消費税額、消費税額、消費税額、日付、取引先、支払方法」)から仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、現金(貸方勘定科目)、¥5,400(金額)、¥432(消費税額)、ストアA・牛肉・現金・軽減税率対応品目(摘要)、0.6(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報7(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」が生成される。 Therefore, the journal generation unit 13 includes transaction detail information 7 (transaction detail character string information “30001 *, beef, ¥ 5,400, groceries, tax excluded, 8%, ¥ 432, 2019/7/25, line number 7), Journal data "2019/7/25" from the transaction details information item "Item, Item, Amount, Classification, Consumption tax amount, Consumption tax amount, Consumption tax amount, Date, Business partner, Payment method" of "Store A, Cash" and line number 7. (Date), Purchase (Debit account), Cash (Credit account), ¥ 5,400 (Amount), ¥ 432 (Consumption tax amount), Store A / Beef / Cash / Reduced tax rate compatible item (Summary), 0 .6 (Journal similarity), NUML (blank flag), NUML (double accounting flag), transaction detail information 7 (transaction detail information), 1.0 (verification item value date), 1.0 (verification item value debit) Account), 1.0 (Verification item value credit account), 1.0 (Verification item value amount), 1.0 (Verification item value consumption tax amount), 1.0 (Verification item value summary), 1.0 (Verification confirmed value) ”is generated.

また、仕訳生成AIを含む仕訳生成部13の処理の変形例として判定条件が「事業者の業種」と取引明細情報の組み合わせを例にして説明する。 Further, as a modification of the processing of the journal generation unit 13 including the journal generation AI, a combination of the determination condition "business type of business operator" and transaction detail information will be described as an example.

例えば「事業者の業種」が小売業で取引先による支払方法の指定(取引先「ストアA」に対して支払方法「後払い」を指定)がある場合は、取引明細情報11(行番号11の取引明細文字列情報「40001、文房具、¥200」と行番号11の取引明細情報項目「品目、品目、金額」)は品目辞書(図示せず)を参照することで、品目情報「文房具、事務用品(分類)」を取得し、支払判定辞書(図示せず)と取引先DB(図示せず)を参照して支払方法判定を行なうことで、支払方法情報「後払い」を取得する。 For example, if the "business type" is a retail business and the payment method is specified by the business partner (the payment method "deferred payment" is specified for the business partner "store A"), the transaction statement information 11 (line number 11) For the transaction details character string information "40001, stationery, ¥ 200" and the transaction details information item "item, item, amount" of line number 11, the item information "stationery, office work" can be found by referring to the item dictionary (not shown). By acquiring "Supplies (classification)" and determining the payment method by referring to the payment determination dictionary (not shown) and the customer DB (not shown), the payment method information "deferred payment" is acquired.

更新前の取引明細情報11(行番号11の取引明細文字列情報「40001、文房具、¥200」と行番号11の取引明細情報項目「品目、品目、金額」)は更新後の取引明細情報11(行番号11の取引明細文字列情報「40001、文房具、¥200、事務用品、後払い」と行番号11の取引明細情報項目「品目、品目、金額、分類、支払方法」)に更新される。 The transaction detail information 11 before the update (transaction detail character string information "40001, stationery, ¥ 200" of line number 11 and transaction detail information item "item, item, amount" of line number 11) is the transaction detail information 11 after update. (The transaction detail character string information of line number 11 "40001, stationery, ¥ 200, office supplies, deferred payment" and the transaction detail information item of line number 11 "item, item, amount, classification, payment method") are updated.

事業者の業種が「小売業」の場合は、仕訳生成AIを含む仕訳生成部13は取引明細情報11(行番号11の取引明細文字列情報「40001、文房具、¥200、事務用品、後払い」と行番号11の取引明細情報項目「品目、品目、金額、分類、支払方法」)を入力すると仕訳生成判定により仕訳データ「2019/7/25(日付)、仕入(借方勘定科目)、買掛金(貸方勘定科目)、¥200(金額)、¥20(消費税額)、ストアA・文房具・後払い(摘要)、0.4(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報11(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」を生成する。 When the business type is "retail business", the journal generation unit 13 including the journal generation AI has transaction detail information 11 (transaction detail character string information of line number 11 "40001, stationery, ¥ 200, office supplies, postpaid". And the transaction detail information item "item, item, amount, classification, payment method" of line number 11), the journal data "2019/7/25 (date), purchase (debit account), accounts payable" is determined by the journal generation judgment. Money (credit account), ¥ 200 (amount), ¥ 20 (consumption tax), Store A / stationery / deferred payment (summary), 0.4 (journal similarity), NUML (blank flag), NULL (double counting) Flag), transaction detail information 11 (transaction detail information), 1.0 (verification item value date), 1.0 (verification item value debit account), 1.0 (verification item value credit account), 1.0 (Verification item value amount), 1.0 (Verification item value consumption tax amount), 1.0 (Verification item value summary), 1.0 (Verification confirmed value) ”is generated.

また、事業者の業種が「製造業」の場合は、仕訳生成AIを含む仕訳生成部13は取引明細情報11(行番号11の取引明細文字列情報「40001、文房具、¥200、事務用品、後払い」と行番号11の取引明細情報項目「品目、品目、金額、分類、支払方法」)を入力すると仕訳データ「2019/7/25(日付)、消耗品費(借方勘定科目)、未払金(貸方勘定科目)、¥200(金額)、¥20(消費税額)、ストアA・文房具・後払い(摘要)、0.5(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報11(取引明細情報)、1.0(検証項目値日付)、1.0(検証項目値借方勘定科目)、1.0(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」を生成する。 When the business type is "manufacturing", the journal generation unit 13 including the journal generation AI has transaction detail information 11 (transaction detail character string information "40001, stationery, ¥ 200, office supplies, line number 11". If you enter "deferred payment" and the transaction statement information item "item, item, amount, classification, payment method" of line number 11, the journal data "2019/7/25 (date), consumables cost (debit account), accounts payable (debit account) Credit account), ¥ 200 (amount), ¥ 20 (consumption tax), store A / stationery / deferred payment (summary), 0.5 (journal similarity), NUML (blank flag), NULL (double counting flag) , Transaction detail information 11 (transaction detail information), 1.0 (verification item value date), 1.0 (verification item value debit account), 1.0 (verification item value credit account), 1.0 (verification Item value amount), 1.0 (verification item value consumption tax amount), 1.0 (verification item value summary), 1.0 (verification confirmed value) ”is generated.

また、仕訳生成AIを含む仕訳生成部13の処理の変形例として判定条件が「金額の区分」と取引明細情報との組み合わせを例にして説明する。 Further, as a modification of the processing of the journal generation unit 13 including the journal generation AI, a combination of the determination condition "classification of amount" and transaction detail information will be described as an example.

金額の区分とは金額によって勘定科目が変化する範囲をいい、例えば固定資産であれば金額の区分は10万円未満(勘定科目は消耗事務用品費)、10万円以上20万円未満(勘定科目は一括償却資産)、20万円以上(勘定科目は工具器具備品)の3つになる。また、同じ商品の取引であっても、事業者の業種や取引の状況(取引先、支払方法、金額の区分)に応じて勘定科目が変化する場合がある。 The amount classification is the range in which the account changes depending on the amount. For example, in the case of fixed assets, the amount classification is less than 100,000 yen (account is consumable office supplies), 100,000 yen or more and less than 200,000 yen (account). There are three items: lump-sum depreciable assets) and 200,000 yen or more (accounts are tools and fixtures). In addition, even for transactions of the same product, the account item may change depending on the type of business of the business operator and the transaction status (customer, payment method, amount classification).

仕訳生成AIを含む仕訳生成部13は例えば取引明細情報50(行番号50の取引明細文字列情報「パソコン、¥90,000、事務用品、後払い」と行番号50の取引明細情報項目「品目、金額、分類、支払方法」)を入力すると取引明細情報50の「パソコン」(品目)と対応する勘定科目として「消耗事務用品費、一括償却資産、工具器具備品費」の3つが勘定科目の候補として選択される。勘定科目「消耗事務用品費」は金額の区分「10万円未満」と、勘定科目「一括償却資産」は金額の区分「10万円以上20万円未満」と、勘定科目「工具器具備」は金額の区分「20万円以上」と関連付けされているので、取引明細情報50の「パソコン」(品目)と「¥90,000」(金額)の組み合わせから勘定科目は「消耗事務用品費」に特定される。 The journal generation unit 13 including the journal generation AI has, for example, transaction detail information 50 (transaction detail character string information of line number 50 "personal computer, ¥ 90,000, office supplies, deferred payment" and transaction detail information item of line number 50 "item, When you enter "amount, classification, payment method"), there are three account candidates, "consumable office supplies cost, lump-sum depreciable assets, tool equipment cost", which correspond to "PC" (item) of transaction detail information 50. Is selected as. The account "Consumable office supplies costs" is the amount category "less than 100,000 yen", the account "Batch depreciable assets" is the amount category "100,000 yen or more and less than 200,000 yen", and the account "Tools and equipment" Is associated with the amount category "200,000 yen or more", so from the combination of "PC" (item) and "¥ 90,000" (amount) of transaction detail information 50, the account item is "consumable office supplies cost". Is specified in.

よって、仕訳データ「NULL(日付)、消耗事務用品費(借方勘定科目)、未払金(貸方勘定科目)、¥90,000(金額)、¥20(消費税額)、パソコン・事務用品・後払い(摘要)、NULL(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報50(取引明細情報)、NULL(検証項目値日付)、NULL(検証項目値借方勘定科目)、NULL(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」を生成する。 Therefore, journal data "Null (date), consumable office supplies expenses (debit account), accounts payable (credit account), ¥ 90,000 (amount), ¥ 20 (consumption tax amount), personal computer / office supplies / deferred payment (summary) ), NULL (journal similarity), NULL (blank flag), NUML (double accounting flag), transaction detail information 50 (transaction detail information), NULL (verification item value date), NULL (verification item value debit account) , NULL (verification item value credit account), 1.0 (verification item value amount), 1.0 (verification item value consumption tax amount), 1.0 (verification item value summary), 1.0 (verification confirmed value) Is generated.

また、仕訳生成AIを含む仕訳生成部13は例えば取引明細情報51(行番号51の取引明細文字列情報「パソコン、¥150,000、事務用品、後払い」と行番号51の取引明細情報項目「品目、金額、分類、支払方法」)を入力すると取引明細情報51の「パソコン」(品目)と対応する勘定科目として「消耗事務用品費、一括償却資産、消耗事務用品費」の3つが勘定科目の候補として選択される。勘定科目「消耗事務用品費」は金額の区分「10万円未満」と、勘定科目「一括償却資産」は金額の区分「10万円以上20万円未満」と、勘定科目「工具器具備」は金額の区分「20万円以上」と関連付けされているので、取引明細情報51の「パソコン」(品目)と「¥150,000」(金額)の組み合わせから勘定科目は「一括償却資産」に特定される。 Further, the journal generation unit 13 including the journal generation AI has, for example, transaction detail information 51 (transaction detail character string information "personal computer, ¥ 150,000, office supplies, deferred payment" of line number 51) and transaction detail information item "line number 51". When you enter "item, amount, classification, payment method"), there are three accounts "consumable office supplies cost, lump-sum depreciable assets, consumable office supplies cost" as the accounts corresponding to "PC" (item) of transaction detail information 51. Is selected as a candidate for. The account item "Consumable office supplies costs" is the amount category "less than 100,000 yen", the account item "lump-sum depreciable assets" is the amount category "100,000 yen or more and less than 200,000 yen", and the account item "tool equipment" Is associated with the amount category "200,000 yen or more", so the account item is changed to "lump-sum depreciable assets" from the combination of "PC" (item) and "¥ 150,000" (amount) in transaction statement information 51. Be identified.

よって、仕訳データ「NULL(日付)、一括償却資産(借方勘定科目)、未払金(貸方勘定科目)、¥150,000(金額)、¥20(消費税額)、パソコン・事務用品・後払い(摘要)、NULL(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報51(取引明細情報)、NULL(検証項目値日付)、NULL(検証項目値借方勘定科目)、NULL(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」を生成する。 Therefore, journal data "Null (date), lump-sum depreciable assets (debit account), accounts payable (credit account), ¥ 150,000 (amount), ¥ 20 (consumption tax), personal computer / office supplies / deferred payment (summary) , NULL (journal similarity), NULL (blank flag), NULL (double accounting flag), transaction detail information 51 (transaction detail information), NULL (verification item value date), NULL (verification item value debit account), NULL (verification item value credit account), 1.0 (verification item value amount), 1.0 (verification item value consumption tax amount), 1.0 (verification item value summary), 1.0 (verification confirmed value) " To generate.

また、仕訳生成AIを含む仕訳生成部13は例えば取引明細情報52(行番号52の取引明細文字列情報「パソコン、¥270,000、事務用品、後払い」と行番号52の取引明細情報項目「品目、金額、分類、支払方法」)を入力すると取引明細情報52の「パソコン」(品目)と対応する勘定科目として「消耗事務用品費、一括償却資産、工具器具備品」の3つが勘定科目の候補として選択される。勘定科目「消耗事務用品費」は金額の区分「10万円未満」と、勘定科目「一括償却資産」は金額の区分「10万円以上20万円未満」と、勘定科目「工具器具備」は金額の区分「20万円以上」と関連付けされているので、取引明細情報50の「パソコン」(品目)と「¥270,000」(金額)の組み合わせから勘定科目は「工具器具備品」に特定される。 Further, the journal generation unit 13 including the journal generation AI has, for example, transaction detail information 52 (transaction detail character string information "personal computer, ¥ 270,000, office supplies, deferred payment" of line number 52) and transaction detail information item "line number 52". When you enter "item, amount, classification, payment method"), there are three accounts "consumable office supplies cost, lump-sum depreciable assets, tools and fixtures" as the accounts corresponding to "computer" (item) in transaction detail information 52. Selected as a candidate. The account item "Consumable office supplies costs" is the amount category "less than 100,000 yen", the account item "lump-sum depreciable assets" is the amount category "100,000 yen or more and less than 200,000 yen", and the account item "tool equipment" Is associated with the amount category "200,000 yen or more", so the account item is changed to "tools and fixtures" from the combination of "PC" (item) and "¥ 270,000" (amount) of transaction statement information 50. Be identified.

よって、仕訳データ「NULL(日付)、工具器具備品(借方勘定科目)、未払金(貸方勘定科目)、¥270,000(金額)、¥20(消費税額)、パソコン・事務用品・後払い(摘要)、NULL(仕訳類似度)、NULL(空欄フラグ)、NULL(二重計上フラグ)、取引明細情報52(取引明細情報)、NULL(検証項目値日付)、NULL(検証項目値借方勘定科目)、NULL(検証項目値貸方勘定科目)、1.0(検証項目値金額)、1.0(検証項目値消費税額)、1.0(検証項目値摘要)、1.0(検証確定値)」を生成する。 Therefore, journal data "Null (date), tools and fixtures (debit account), accounts payable (credit account), ¥ 270,000 (amount), ¥ 20 (consumption tax), personal computer / office supplies / deferred payment (summary) , NULL (journal similarity), NULL (blank flag), NULL (double accounting flag), transaction detail information 52 (transaction detail information), NULL (verification item value date), NULL (verification item value debit account), NULL (verification item value credit account), 1.0 (verification item value amount), 1.0 (verification item value consumption tax amount), 1.0 (verification item value summary), 1.0 (verification confirmed value) " To generate.

よって、同じ「パソコン」(品目)でも購入金額によって、「消耗事務用品費、一括償却資産、工具器具備品」の勘定科目が変化しても正しい勘定科目を選択することができる。 Therefore, even if the same "personal computer" (item) is purchased, the correct account can be selected even if the accounts of "consumable office supplies, lump-sum depreciable assets, tools and fixtures" change.

また、仕訳検証範囲AIを含む仕訳検証部14の処理の変形例として仕訳データの各項目(検証項目値)に重みづけ情報を追加することで、仕訳検証範囲を仕訳データの仕訳精度に応じて変更することができる。例えば、定型的な取引のうち、電気料金のように毎月使用量に応じて金額が変わる取引は少なくとも勘定科目のみが仕訳検証対象になるのに対し、新聞のように毎月一定額の取引は少なくとも勘定科目と金額と消費税額が仕訳検証対象になる。 Further, by adding weighting information to each item (verification item value) of the journal data as a modification of the processing of the journal verification unit 14 including the journal verification range AI, the journal verification range can be adjusted according to the journal accuracy of the journal data. Can be changed. For example, among standard transactions, transactions whose amount changes according to monthly usage, such as electricity charges, are subject to journal verification at least for accounts, whereas transactions with a fixed amount each month, such as newspapers, are at least. Accounts, amounts and consumption tax amounts are subject to journal verification.

例えば、電気料金のように毎月使用量に応じて金額が変わる取引を例とすると、取引パターン辞書等を参照して仕訳精度検証で重みづけの計数として借方勘定科目に2.0、貸方勘定科目に2.0と金額に0.3と消費税額に0.2、日付に0.1と設定した場合(その他の項目は1.0で設定)で、検証確定値の閾値を1.5以上とすると、借方勘定科目(閾値1.0×重みづけ2.0=2.0)と貸方勘定科目(閾値1.0×重みづけ2.0=2.0)は閾値が2.0となり、金額(閾値1.0×重みづけ0.3=0.3)と消費税額(閾値1.0×重みづけ0.2=0.2)と日付(閾値1.0×重みづけ0.1=0.1)は閾値が1.0未満となるので、判定条件(検証確定値1.5以上)を満たす仕訳検証対象の項目である借方勘定科目と貸方勘定科目が仕訳検証範囲となる。 For example, in the case of a transaction in which the amount changes according to the monthly usage such as electricity charges, the debit account is 2.0 and the credit account is 2.0 as a weighted count in the journal accuracy verification by referring to the transaction pattern dictionary. When 2.0 is set, 0.3 is set for the amount, 0.2 is set for the consumption tax amount, and 0.1 is set for the date (other items are set at 1.0), the threshold value of the verification confirmation value is set to 1.5 or more. Then, the debit account (threshold 1.0 x weighting 2.0 = 2.0) and the credit account (threshold 1.0 x weighting 2.0 = 2.0) have a threshold of 2.0. Amount (threshold 1.0 x weighting 0.3 = 0.3), consumption tax amount (threshold 1.0 x weighting 0.2 = 0.2) and date (threshold 1.0 x weighting 0.1 =) Since the threshold value of 0.1) is less than 1.0, the debit account and the credit account, which are the items to be verified by the journal that satisfy the judgment condition (verification confirmed value 1.5 or more), are the journal verification range.

さらに、本実施の形態における処理は、ソフトウェアで実現しても良い。そして、このソフトウェアをソフトウェアダウンロード等により配布しても良い。また、このソフトウェアをCD−ROMなどの記録媒体に記録して流布しても良い。なお、このことは、本明細書における他の実施の形態においても該当する。 Further, the processing in the present embodiment may be realized by software. Then, this software may be distributed by software download or the like. Further, this software may be recorded on a recording medium such as a CD-ROM and disseminated. This also applies to other embodiments herein.

なお、本実施の形態における情報処理装置を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、実施例1やそれらの実施例の変形例を実行するプログラムであってもよい。 The software that realizes the information processing device in this embodiment is the following program. That is, this program may be a program that executes Example 1 or a modification of those Examples.

以上のように、本発明にかかる会計処理装置、会計処理方法、会計処理プログラムは、レシート等の証憑をスキャナ等で画像化することで、仕訳データを自動作成することができ、仕訳データの入力の手間が軽減されるという効果を有し、会計処理装置、会計処理方法、会計処理プログラム等として有用である。
As described above, the accounting processing apparatus, accounting processing method, and accounting processing program according to the present invention can automatically create journal data by imaging a voucher such as a receipt with a scanner or the like, and input journal data. It has the effect of reducing the time and effort required, and is useful as an accounting processing device, an accounting processing method, an accounting processing program, and the like.

1 会計処理装置
1a サーバ
1b 端末
10 制御部
11 画像認識部
12 文字認識部
13 仕訳生成部
14 仕訳検証部
30 記憶部
31 仕訳DB
32 画像DB
33 取引DB
45 入力部
46 表示部
49 通信部
100 会計処理システム
1 Accounting processing device 1a Server 1b Terminal 10 Control unit 11 Image recognition unit 12 Character recognition unit 13 Journal generation unit 14 Journal verification unit 30 Storage unit 31 Journal DB
32 Image DB
33 Transaction DB
45 Input unit 46 Display unit 49 Communication unit 100 Accounting processing system

Claims (20)

証憑の画像である証憑データから自動仕訳を行なう会計処理装置であって、
証憑データから画像認識処理により取引情報を抽出する画像認識部と、
抽出した取引情報から文字認識処理により取引明細情報を含むテキストデータを生成する文字認識部と、
予め教師データに基づいた機械学習を行い、取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成する仕訳生成部と、を備える会計処理装置。
An accounting device that automatically journals from voucher data, which is an image of a voucher.
An image recognition unit that extracts transaction information from voucher data by image recognition processing,
A character recognition unit that generates text data including transaction details information from the extracted transaction information by character recognition processing.
It is provided with a journal generation unit that generates journal data from the text data using the journal generation AI that has learned to perform machine learning based on teacher data in advance and select a combination of accounts corresponding to transaction detail information. Accounting device.
前記取引明細情報と同一または類似する取引明細情報と関連付けされた参照仕訳データと前記仕訳データとを比較照合を行なう仕訳検証部を備え、
前記仕訳検証部は、比較照合する範囲を所定の閾値により判定して前記仕訳生成AIが生成した仕訳データと前記参照仕訳データとを比較照合を行なう請求項1に記載の会計処理装置。
It is provided with a journal verification unit that compares and collates the reference journal data associated with the transaction detail information that is the same as or similar to the transaction detail information and the journal data.
The accounting processing device according to claim 1, wherein the journal verification unit determines a range to be compared and collated with a predetermined threshold value, and compares and collates the journal data generated by the journal generation AI with the reference journal data.
前記画像認識部は予め教師データに基づいた機械学習を行い、前記証憑データを複数に分割した領域に対応した取引情報から証憑データにある取引情報の位置と内容を学習した画像認識AIを有することを特徴とする請求項1又は2に記載の会計処理装置。 The image recognition unit has an image recognition AI that performs machine learning based on the teacher data in advance and learns the position and contents of the transaction information in the voucher data from the transaction information corresponding to the area in which the voucher data is divided into a plurality of areas. The accounting processing apparatus according to claim 1 or 2. 前記文字認識部は予め教師データに基づいた機械学習を行い、前記取引情報から仕訳生成に必要な取引明細情報を生成することを学習した文字認識AIを有することを特徴とする請求項1から3のいずれか一項に記載の会計処理装置。 Claims 1 to 3 characterized in that the character recognition unit has a character recognition AI that has learned to generate transaction detail information necessary for journal generation from the transaction information by performing machine learning based on teacher data in advance. The accounting processing device according to any one of the above. 前記仕訳検証部は予め教師データに基づいた機械学習を行い、前記仕訳データの妥当性を判定することを学習した仕訳検証AIを有することを特徴とする請求項1から4のいずれか一項に記載の会計処理装置。 According to any one of claims 1 to 4, the journal verification unit has a journal verification AI that has learned to perform machine learning based on teacher data in advance and determine the validity of the journal data. The accounting device described. 前記仕訳検証部は予め教師データに基づいた機械学習を行い、取引明細情報と対応する仕訳検証範囲を判定することを学習した仕訳検証範囲AIを有することを特徴とする請求項1から5のいずれか一項に記載の会計処理装置。 Any of claims 1 to 5, wherein the journal verification unit has a journal verification range AI that has learned to perform machine learning based on teacher data in advance and determine a journal verification range corresponding to transaction detail information. The accounting device described in paragraph 1. 前記仕訳生成部は取引明細情報の品目を分類分けした分類情報を生成し、分類情報を含む取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする請求項1から6のいずれか一項に記載の会計処理装置。 The journal generation unit generates classification information by classifying items of transaction detail information, and uses the journal generation AI learned to select a combination of accounts corresponding to the transaction detail information including the classification information. The accounting apparatus according to any one of claims 1 to 6, wherein the journal data is generated from. 前記仕訳生成部は取引明細情報の品目を分類分けした分類情報及び取引明細情報の金額を段階的に区分分けした金額区分情報を生成し、分類情報と金額区分情報の組み合わせからなる取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする請求項1から6のいずれか一項に記載の会計処理装置。 The journal generation unit generates classification information in which items of transaction detail information are classified and amount classification information in which the amount of transaction detail information is classified in stages, and is converted into transaction detail information composed of a combination of classification information and amount classification information. The accounting apparatus according to any one of claims 1 to 6, wherein journal data is generated from the text data using the journal generation AI learned to select a corresponding account combination. 前記仕訳生成部は取引明細情報の品目を分類分けした分類情報を生成し、分類情報と支払方法の組み合わせからなる取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする請求項1から6のいずれか一項に記載の会計処理装置。 The journal generation unit generates classification information by classifying items of transaction detail information, and learns to select a combination of accounts corresponding to transaction detail information consisting of a combination of classification information and payment method. The accounting processing apparatus according to any one of claims 1 to 6, wherein the journal data is generated from the text data by using the method. 前記仕訳生成部は取引明細情報の金額を段階的に区分分けした金額区分情報を生成し、品目と金額区分情報の組み合わせからなる取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする請求項1から6のいずれか一項に記載の会計処理装置。 The journal generation unit has learned to generate amount classification information in which the amount of transaction detail information is divided in stages, and to select a combination of accounts corresponding to the transaction detail information consisting of a combination of item and amount classification information. The accounting processing apparatus according to any one of claims 1 to 6, wherein journal data is generated from the text data using the journal generation AI. 前記仕訳生成部は品目と支払方法の組み合わせからなる取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする請求項1から6のいずれか一項に記載の会計処理装置。 The journal generation unit is characterized in that journal data is generated from the text data by using the journal generation AI that has learned to select a combination of accounts corresponding to transaction detail information consisting of a combination of items and payment methods. The accounting processing apparatus according to any one of claims 1 to 6. 前記仕訳生成部は予め仕訳生成AIに教師データとして業種別に分類した仕訳データを用いた機械学習をさせ、事業者の業種と取引明細情報の組み合わせに対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする請求項1から6のいずれか一項に記載の会計処理装置。 The journal generation unit makes the journal generation AI perform machine learning using journal data classified by industry as teacher data in advance, and learns to select a combination of accounts corresponding to the combination of the business's industry and transaction detail information. The accounting processing apparatus according to any one of claims 1 to 6, wherein journal data is generated from the text data using the journal generation AI. 証憑の画像である証憑データから自動仕訳を行なう会計処理方法であって、
証憑データを画像認識処理により取引情報を抽出する画像認識工程と、
抽出した取引情報から文字認識処理により少なくとも品目を含む取引明細情報を含むテキストデータを生成する文字認識工程と、
予め教師データに基づいた機械学習を行い、少なくとも品目を分類分けした分類情報を含む取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成する仕訳生成工程と、を備え、
前記仕訳生成AIが作成した仕訳データと前記証憑データと前記取引明細情報を関連付けて並列表示を行う会計処理方法。
It is an accounting method that automatically journals from voucher data, which is an image of vouchers.
An image recognition process that extracts transaction information from voucher data by image recognition processing,
A character recognition process that generates text data including transaction details information including at least items by character recognition processing from the extracted transaction information, and a character recognition process.
Journal data from the text data using the journal generation AI that learned to perform machine learning based on teacher data in advance and select a combination of accounts corresponding to transaction detail information including at least classification information that classified items. With a journal generation process to generate
An accounting method in which the journal data created by the journal generation AI, the voucher data, and the transaction details information are associated and displayed in parallel.
前記取引明細情報と同一または類似する取引明細情報と関連付けされた参照仕訳データと前記仕訳データとを比較照合を行なう仕訳検証工程を備え、
前記仕訳検証工程は、比較照合する範囲を所定の閾値により判定して前記仕訳生成AIが生成した仕訳データと前記参照仕訳データとを比較照合を行なう請求項13に記載の会計処理方法。
It is provided with a journal verification step of comparing and collating the reference journal data associated with the transaction detail information that is the same as or similar to the transaction detail information and the journal data.
The accounting method according to claim 13, wherein the journal verification step determines a range to be compared and collated with a predetermined threshold value, and compares and collates the journal data generated by the journal generation AI with the reference journal data.
前記画像認識工程は予め教師データに基づいた機械学習を行い、前記証憑データを複数に分割した領域に対応した取引情報から証憑データにある取引情報の位置と内容を学習した画像認識AIを有することを特徴とする請求項13又は14に記載の会計処理方法。 The image recognition step has an image recognition AI that performs machine learning based on the teacher data in advance and learns the position and contents of the transaction information in the voucher data from the transaction information corresponding to the area in which the voucher data is divided into a plurality of areas. The accounting method according to claim 13 or 14. 前記文字認識工程は予め教師データに基づいた機械学習を行い、前記取引情報から仕訳生成に必要な取引明細情報を生成することを学習した文字認識AIを有することを特徴とする請求項13から15のいずれか一項に記載の会計処理方法。 Claims 13 to 15 characterized in that the character recognition step has a character recognition AI that has learned to generate transaction detail information necessary for journal generation from the transaction information by performing machine learning based on teacher data in advance. The accounting method described in any one of the above. 前記仕訳検証工程は予め教師データに基づいた機械学習を行い、前記仕訳データの妥当性を判定することを学習した仕訳検証AIを有することを特徴とする請求項13から16のいずれか一項に記載の会計処理方法。 According to any one of claims 13 to 16, the journal verification step has a journal verification AI that has learned to perform machine learning based on teacher data in advance and determine the validity of the journal data. The accounting method described. 前記仕訳検証工程は予め教師データに基づいた機械学習を行い、取引明細情報と対応する仕訳検証範囲を判定することを学習した仕訳検証範囲AIを有することを特徴とする請求項13から17のいずれか一項に記載の会計処理方法。 Any of claims 13 to 17, wherein the journal verification step has a journal verification range AI learned to perform machine learning based on teacher data in advance and determine a journal verification range corresponding to transaction detail information. The accounting method described in paragraph 1. 前記仕訳生成工程は取引明細情報の品目を分類分けした分類情報を生成し、分類情報を含む取引明細情報に対応した勘定科目の組み合わせを選定することを学習した仕訳生成AIを用いて前記テキストデータから仕訳データを生成することを特徴とする請求項13から18のいずれか一項に記載の会計処理方法。 The journal generation process generates classification information by classifying items of transaction detail information, and uses the journal generation AI learned to select a combination of accounts corresponding to the transaction detail information including the classification information. The accounting method according to any one of claims 13 to 18, characterized in that journal data is generated from. コンピュータに、請求項13から19のいずれか一項に記載の会計処理方法を実行させるための会計処理プログラム。 An accounting program for causing a computer to execute the accounting method according to any one of claims 13 to 19.
JP2020069407A 2020-04-07 2020-04-07 Accounting equipment, accounting systems, accounting methods and programs Active JP6895632B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020069407A JP6895632B1 (en) 2020-04-07 2020-04-07 Accounting equipment, accounting systems, accounting methods and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020069407A JP6895632B1 (en) 2020-04-07 2020-04-07 Accounting equipment, accounting systems, accounting methods and programs

Publications (2)

Publication Number Publication Date
JP6895632B1 JP6895632B1 (en) 2021-06-30
JP2021165967A true JP2021165967A (en) 2021-10-14

Family

ID=76540410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020069407A Active JP6895632B1 (en) 2020-04-07 2020-04-07 Accounting equipment, accounting systems, accounting methods and programs

Country Status (1)

Country Link
JP (1) JP6895632B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7329225B1 (en) 2022-10-28 2023-08-18 株式会社Tokium Program, computer and information processing method
JP7371842B1 (en) 2022-10-31 2023-10-31 ファーストアカウンティング株式会社 Information processing device, information processing method and program
JP7496468B1 (en) 2023-12-04 2024-06-06 フリー株式会社 PROGRAM, INFORMATION PROCESSING APPARATUS AND METHOD

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090228380A1 (en) * 2008-03-10 2009-09-10 Xerox Corporation Centralized classification and retention of tax records
JP2014235484A (en) * 2013-05-31 2014-12-15 弥生株式会社 Journalizing center system providing journalizing analysis service by cloud computing
JP2018097813A (en) * 2016-12-16 2018-06-21 ファーストアカウンティング株式会社 Accounting processing device, accounting processing system, accounting processing method, and accounting processing program
JP2018116566A (en) * 2017-01-19 2018-07-26 株式会社マネーフォワード Accounting processing system, accounting processing method and accounting processing program
WO2018179411A1 (en) * 2017-03-31 2018-10-04 ファーストアカウンティング株式会社 Accounting system and accounting method
KR20190055278A (en) * 2017-11-13 2019-05-23 (주) 더존비즈온 Statement management system and method for supporting multi-GAPP
WO2019146117A1 (en) * 2018-01-29 2019-08-01 ファーストアカウンティング株式会社 Journal element analysis device, accounting processing device, journal element analysis method and journal element analysis program
JP6646308B1 (en) * 2019-03-07 2020-02-14 ファーストアカウンティング株式会社 Voucher analysis device, accounting processing system, voucher analysis method, voucher analysis program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090228380A1 (en) * 2008-03-10 2009-09-10 Xerox Corporation Centralized classification and retention of tax records
JP2014235484A (en) * 2013-05-31 2014-12-15 弥生株式会社 Journalizing center system providing journalizing analysis service by cloud computing
JP2018097813A (en) * 2016-12-16 2018-06-21 ファーストアカウンティング株式会社 Accounting processing device, accounting processing system, accounting processing method, and accounting processing program
JP2018116566A (en) * 2017-01-19 2018-07-26 株式会社マネーフォワード Accounting processing system, accounting processing method and accounting processing program
WO2018179411A1 (en) * 2017-03-31 2018-10-04 ファーストアカウンティング株式会社 Accounting system and accounting method
KR20190055278A (en) * 2017-11-13 2019-05-23 (주) 더존비즈온 Statement management system and method for supporting multi-GAPP
WO2019146117A1 (en) * 2018-01-29 2019-08-01 ファーストアカウンティング株式会社 Journal element analysis device, accounting processing device, journal element analysis method and journal element analysis program
JP6646308B1 (en) * 2019-03-07 2020-02-14 ファーストアカウンティング株式会社 Voucher analysis device, accounting processing system, voucher analysis method, voucher analysis program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7329225B1 (en) 2022-10-28 2023-08-18 株式会社Tokium Program, computer and information processing method
JP2024064690A (en) * 2022-10-28 2024-05-14 株式会社Tokium PROGRAM, COMPUTER AND INFORMATION PROCESSING METHOD
JP7371842B1 (en) 2022-10-31 2023-10-31 ファーストアカウンティング株式会社 Information processing device, information processing method and program
WO2024095349A1 (en) * 2022-10-31 2024-05-10 ファーストアカウンティング株式会社 Information processing device, information processing method, and program
JP7496468B1 (en) 2023-12-04 2024-06-06 フリー株式会社 PROGRAM, INFORMATION PROCESSING APPARATUS AND METHOD

Also Published As

Publication number Publication date
JP6895632B1 (en) 2021-06-30

Similar Documents

Publication Publication Date Title
CA2502811C (en) System and method for capture, storage and processing of receipts and related data
JP6712738B1 (en) Voucher judging device, accounting processor, voucher judging program, voucher judging system and voucher judging method
JP6895632B1 (en) Accounting equipment, accounting systems, accounting methods and programs
JP7348944B2 (en) Accounting equipment and programs
JP2011170490A (en) SaaS GENERAL ACCOUNTING SYSTEM
JP2000215263A (en) Accounting system/method processing transaction data, and storage medium storing program for the same
CA2500391A1 (en) Method for automatic integrated document filing when logging business transactions
JP6635563B1 (en) Journal element analysis device, accounting processing system, journal element analysis method, journal element analysis program
JP2017182786A (en) Accounting processing device, accounting processing method, and accounting processing program
JP6161229B1 (en) Automatic journal entry system and automatic journal entry program
JP2003091694A (en) Method for processing abstract
KR100458766B1 (en) The account management system using computer
JP6528074B1 (en) Accounting processor, accounting method, accounting program
JP6732325B1 (en) Accounting system, accounting method, accounting program
JP6912841B2 (en) Voucher judgment device, accounting processing device, voucher judgment program, voucher judgment system and voucher judgment method
JP6842219B1 (en) Accounting equipment, accounting programs, accounting systems and accounting methods
JP6402397B1 (en) Accounting device, accounting method, accounting program
JP6993032B2 (en) Accounting equipment, accounting systems, accounting methods and programs
JP2011227787A (en) Accounting transaction information reading device
AU2003273837B2 (en) Method and system for the automatic storage of business management data
JPWO2020255361A1 (en) Accounting system, accounting method, accounting program
JP6858420B1 (en) Accounting equipment, accounting systems, accounting methods and programs
WO2022149222A1 (en) Journalization device, journalization method, journalization display method, and journalization display program
JP6967174B1 (en) Data processing equipment, data processing methods and programs
WO2023007612A1 (en) Data processing device, data processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200804

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20200804

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20200909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210331

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: 20210518

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210520

R150 Certificate of patent or registration of utility model

Ref document number: 6895632

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150