Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5890882B2 - Data collation apparatus, data collation method and program - Google Patents
[go: Go Back, main page]

JP5890882B2 - Data collation apparatus, data collation method and program - Google Patents

Data collation apparatus, data collation method and program Download PDF

Info

Publication number
JP5890882B2
JP5890882B2 JP2014209882A JP2014209882A JP5890882B2 JP 5890882 B2 JP5890882 B2 JP 5890882B2 JP 2014209882 A JP2014209882 A JP 2014209882A JP 2014209882 A JP2014209882 A JP 2014209882A JP 5890882 B2 JP5890882 B2 JP 5890882B2
Authority
JP
Japan
Prior art keywords
data
customer
amount
billing
data table
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.)
Active
Application number
JP2014209882A
Other languages
Japanese (ja)
Other versions
JP2015008019A (en
Inventor
昇 矢川
昇 矢川
邦明 芹澤
邦明 芹澤
Original Assignee
株式会社オービック
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 株式会社オービック filed Critical 株式会社オービック
Priority to JP2014209882A priority Critical patent/JP5890882B2/en
Publication of JP2015008019A publication Critical patent/JP2015008019A/en
Application granted granted Critical
Publication of JP5890882B2 publication Critical patent/JP5890882B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は、入金データと請求データとの照合を行うデータ照合装置に関し、さらに、データ照合方法及びデータ照合プログラムに関する。   The present invention relates to a data collation apparatus that collates deposit data and billing data, and further relates to a data collation method and a data collation program.

企業において、入金データと請求データとの照合を行うことにより、過去に請求した金銭が後日入金されたか否かを確認する売掛金債権管理が行われている。企業によっては毎月何千件、或いは何万件もの照合を行うところもある。入金データには、通常、振込人名のデータが含まれているので、振込人名のデータを用いて、誰からの入金であるかを判定できる。一方、請求データには、誰に対する請求かを示すデータが含まれているので、入金データがどの請求データに対応するかを判定できる。対応する入金データと請求データとの金額が一致すれば、請求した金額が過不足なく入金したことになるので、対応する入金データと請求データとに、それぞれ消込処理を行う。   In a company, accounts receivable receivable management is performed to confirm whether or not the money billed in the past has been deposited at a later date by collating the deposit data with the billing data. Some companies check thousands or tens of thousands of matches every month. Since the payment data normally includes data of the transfer person name, it is possible to determine who the payment is from using the transfer person name data. On the other hand, since the billing data includes data indicating who is billed, it is possible to determine which billing data the deposit data corresponds to. If the amounts of the corresponding deposit data and billing data match, the billed amount has been deposited without excess or deficiency, and therefore the corresponding deposit data and billing data are each subjected to an application process.

下記の特許文献1には、入金データの振込人カナ名を名寄せして入金元のコードを特定すること、請求金額を入金元で合計し、振込手数料を考慮した差額範囲内で入金額と一致すれば入金済みとすること、請求金額の合計が入金額と一致しなかった場合には、請求書単位で1件ずつ照合し、一致すれば入金済みとすることが記載されている。   In Patent Document 1 below, the name of the depositor in the deposit data is identified, the deposit source code is specified, the invoiced amount is summed at the deposit source, and the deposit amount matches the deposit amount within the transfer fee range. It is described that payment has been completed if the total amount charged does not match the deposit amount, and that each case is verified on a per-invoice basis.

しかしながら、振込人カナ名を名寄せしても、該当する顧客が複数存在し、入金元のコードを特定できない場合がある。特許文献1において、このような場合は名寄せエラーとなってしまい、以後の照合作業を手作業で行わなければならなくなる。   However, even if the name of the transfer person name is collected, there are cases where there are a plurality of corresponding customers, and the deposit source code cannot be specified. In Patent Document 1, in such a case, a name identification error occurs, and the subsequent verification work must be performed manually.

特開2006−235795号公報JP 2006-235795 A

そこで本発明は、入金データの振込人名に該当する顧客が複数存在する場合でも、入金データと請求データとの照合を効率的に行うことのできるデータ照合装置、データ照合方法及びプログラムを提供することを目的とする。   Therefore, the present invention provides a data collation apparatus, a data collation method, and a program capable of efficiently collating the deposit data with the billing data even when there are a plurality of customers corresponding to the transfer person name of the deposit data. With the goal.

上記課題を解決するため、本発明の1つの観点に係るデータ照合装置は、
複数のレコードを有し、各レコードについて、振込人名のデータを記憶するためのフィールドと、振込金額のデータを記憶するためのフィールドと、を含む入金データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、振込人名のデータを記憶するためのフィールドと、を含む顧客データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、請求金額のデータを記憶するためのフィールドと、を含む請求データテーブルと、
を参照して、入金データと請求データとを照合する装置であって、
入金データテーブルに含まれる1つのレコードについて、振込人名のデータと振込金額のデータとを抽出する入金データ抽出手段と、
入金データテーブルから抽出された振込人名のデータを用いて顧客データテーブルを検索し、該当するレコードの各々に記憶された顧客IDのデータを抽出する顧客データ抽出手段と、
顧客データテーブルから抽出された各顧客IDのデータを用いて請求データテーブルを検索し、各顧客IDについて、該当するレコードに記憶された請求金額のデータを抽出する請求データ抽出手段と、
入金データテーブルから抽出された振込金額のデータについて、各顧客IDについて請求データテーブルから抽出された請求金額のデータと比較して、所定の一致条件を満たす請求金額のデータがある場合には該当するレコードの消込処理を行い、所定の一致条件を満たす請求金額のデータがない場合には他の顧客IDについて請求データテーブルから抽出された請求金額のデータと比較する比較手段と、
を具備する。
In order to solve the above-described problem, a data collating apparatus according to one aspect of the present invention is provided.
A deposit data table including a plurality of records, a field for storing the transfer person name data, and a field for storing the transfer amount data for each record;
A customer data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing transfer name data;
A billing data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing billing amount data;
, A device for verifying the deposit data and the billing data,
A deposit data extraction means for extracting the data of the transfer person name and the data of the transfer amount for one record included in the deposit data table;
A customer data extraction means for searching the customer data table using the transfer person name data extracted from the payment data table and extracting the data of the customer ID stored in each of the corresponding records;
A billing data extracting means for searching the billing data table using the data of each customer ID extracted from the customer data table, and extracting the data of the billing amount stored in the corresponding record for each customer ID;
Compared to the billing amount data extracted from the billing data table for each customer ID with respect to the transfer amount data extracted from the deposit data table, this is applicable when there is billing amount data that satisfies a predetermined matching condition. Comparing means for performing a record clearing process and comparing with the billing amount data extracted from the billing data table for other customer IDs when there is no billing amount data satisfying a predetermined matching condition;
It comprises.

本発明によれば、入金データの振込人名に該当する顧客が複数存在する場合でも、入金データテーブルから抽出された振込金額のデータと、各顧客IDについて請求データテーブルから抽出された請求金額のデータとを比較し、所定の一致条件を満たす請求金額のデータがない場合には他の顧客IDについて抽出された請求金額のデータと比較することによって、顧客を特定できるので、入金データと請求データとの照合を効率的に行うことができる。   According to the present invention, even when there are a plurality of customers corresponding to the transfer person name of the payment data, the transfer amount data extracted from the payment data table and the charge amount data extracted from the charge data table for each customer ID If there is no billing amount data satisfying a predetermined matching condition, the customer can be identified by comparing with the billing amount data extracted for other customer IDs. Can be efficiently verified.

本発明の一実施形態に係るデータ照合装置の概略構成図である。It is a schematic block diagram of the data collation apparatus which concerns on one Embodiment of this invention. データ照合装置が参照可能な各種データテーブルのデータ構成例(照合前)を示す図である。It is a figure which shows the data structural example (before collation) of the various data tables which a data collation apparatus can refer. データ照合装置によって更新された各種データテーブルのデータ構成例(照合後)を示す図である。It is a figure which shows the data structural example (after collation) of the various data tables updated by the data collation apparatus. 上記実施形態に係るデータ照合装置の動作例を示すフローチャートである。It is a flowchart which shows the operation example of the data collation apparatus which concerns on the said embodiment. 図4のS3において顧客IDが1つ抽出された場合のマッチング処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a matching process in case one customer ID is extracted in S3 of FIG. 図4のS5において顧客IDが複数(I個)抽出された場合のマッチング処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a matching process when multiple customer ID is extracted in S5 of FIG. 4 (I pieces).

以下、本発明の一実施形態に係るデータ照合装置について、図面を参照しながら詳しく説明する。   Hereinafter, a data collating apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings.

<1.データ照合装置の構成>
図1は、本発明の一実施形態に係るデータ照合装置の概略構成図である。データ照合装置1は、入金データテーブル11、顧客データテーブル12及び請求データテーブル13を記憶した記憶媒体にアクセス可能なコンピュータ装置である。
データ照合装置1は、入金データ抽出部21と、顧客データ抽出部22と、請求データ抽出部23と、合計値算出部24と、最小値選出部25と、比較部26と、出力部27と、入力部28とを具備している。ここでは、データ照合装置1の各構成は、1つのコンピュータ装置内に含まれるものとして図示したが、これらの構成が別個のコンピュータ装置に分散し、それらのコンピュータ装置が協働して動作することとしても良い。
<1. Configuration of data verification device>
FIG. 1 is a schematic configuration diagram of a data collating apparatus according to an embodiment of the present invention. The data verification device 1 is a computer device that can access a storage medium that stores a deposit data table 11, a customer data table 12, and a billing data table 13.
The data verification device 1 includes a deposit data extraction unit 21, a customer data extraction unit 22, a billing data extraction unit 23, a total value calculation unit 24, a minimum value selection unit 25, a comparison unit 26, and an output unit 27. And an input unit 28. Here, each configuration of the data verification device 1 is illustrated as being included in one computer device, but these configurations are distributed to separate computer devices, and the computer devices operate in cooperation with each other. It is also good.

図2は、データ照合装置が参照可能な各種データテーブルのデータ構成例(照合前)を示す図である。
図3は、データ照合装置によって更新された各種データテーブルのデータ構成例(照合後)を示す図である。
FIG. 2 is a diagram illustrating a data configuration example (before collation) of various data tables that can be referred to by the data collation apparatus.
FIG. 3 is a diagram illustrating a data configuration example (after verification) of various data tables updated by the data verification device.

<1−1.入金データテーブル11>
入金データテーブル11は、主に取引銀行から送付される振込データから作成されている。入金データテーブル11は、シーケンシャル番号111で特定される複数のレコードを有している。入金データテーブル11の各レコードは、入金日112を記憶するためのフィールドと、振込人名(カナ)113を記憶するためのフィールドと、振込金額114を記憶するためのフィールドと、振込元口座番号115を記憶するためのフィールドと、振込元金融機関コード116を記憶するためのフィールドと、振込元支店コード117を記憶するためのフィールドと、消込情報118を記憶するためのフィールドと、を含んでいる。
<1-1. Deposit Data Table 11>
The deposit data table 11 is created mainly from transfer data sent from a bank. The deposit data table 11 has a plurality of records specified by sequential numbers 111. Each record of the deposit data table 11 includes a field for storing the deposit date 112, a field for storing the transfer person name (Kana) 113, a field for storing the transfer amount 114, and a transfer source account number 115. , A field for storing the transfer source financial institution code 116, a field for storing the transfer source branch code 117, and a field for storing the application information 118. Yes.

入金日112、振込人名(カナ)113及び振込金額114は、銀行振込において通常付加される情報である。これに対し、振込元口座番号115、振込元金融機関コード116及び振込元支店コード117は、銀行振込において任意的に付加される情報(任意情報)であり、これらの任意情報が入金データテーブル11のすべてのレコードに記憶されているとは限らない。   The payment date 112, the transfer person name (Kana) 113, and the transfer amount 114 are information that is usually added in bank transfer. On the other hand, the transfer source account number 115, the transfer source financial institution code 116, and the transfer source branch code 117 are information (arbitrary information) that is arbitrarily added in the bank transfer, and these arbitrary information is stored in the deposit data table 11. Not all records are stored.

消込情報118は、上記実施形態に係るデータ照合装置1により、当該レコードに係る入金データが請求データに対して所定の一致条件を満たすことを確認済か否かを示す情報である。消込情報118としては、例えば、請求データテーブル13のシーケンシャル番号131を特定することにより、入金データが請求データテーブル13の内のどのレコードに対して所定の一致条件を満たしたかを示す情報を記憶する(図3参照)。
或いは、消込情報118として、単に請求データに対して所定の一致条件を満たすことを確認済か否かを示す2値データ(例えば、0又は1)を記憶しても良い。
The application information 118 is information indicating whether or not the data collation apparatus 1 according to the embodiment has confirmed that the payment data related to the record satisfies a predetermined matching condition with the billing data. As the revocation information 118, for example, information indicating which record in the billing data table 13 satisfies the predetermined matching condition by specifying the sequential number 131 of the billing data table 13 is stored. (See FIG. 3).
Alternatively, binary data (for example, 0 or 1) indicating whether or not it is confirmed that a predetermined matching condition is satisfied for the billing data may be stored as the consumption information 118.

<1−2.顧客データテーブル12>
顧客データテーブル12は、データ照合装置1を使用するユーザの顧客に関する情報を記憶している。顧客データテーブル12は、シーケンシャル番号121で特定される複数のレコードを有している。顧客データテーブル12の各レコードは、顧客ID122を記憶するためのフィールドと、振込人名(カナ)123を記憶するためのフィールドと、振込元口座番号125を記憶するためのフィールドと、振込元金融機関コード126を記憶するためのフィールドと、振込元支店コード127を記憶するためのフィールドと、を含んでいる。
<1-2. Customer Data Table 12>
The customer data table 12 stores information related to the customer of the user who uses the data verification device 1. The customer data table 12 has a plurality of records specified by sequential numbers 121. Each record of the customer data table 12 includes a field for storing a customer ID 122, a field for storing a transfer person name (kana) 123, a field for storing a transfer source account number 125, and a transfer source financial institution. A field for storing the code 126 and a field for storing the transfer source branch code 127 are included.

顧客ID122は、顧客を一意に識別するために付与された文字列である。振込人名(カナ)123は、顧客の名称に基づいてオペレータが入力したものでも良いし、当該顧客からの過去の振込のデータに基づいてオペレータが入力したものでも良い。また、例えば、顧客データテーブル12の第1及び第2レコードに示すように、同一の顧客ID「A001」について複数通りの振込人名「A0」及び「A1」を入力できるようにしても良い。   Customer ID 122 is a character string assigned to uniquely identify a customer. The transfer person name (kana) 123 may be input by the operator based on the customer name, or may be input by the operator based on past transfer data from the customer. Further, for example, as shown in the first and second records of the customer data table 12, a plurality of transfer person names “A0” and “A1” may be input for the same customer ID “A001”.

振込元口座番号125、振込元金融機関コード126及び振込元支店コード127は、当該顧客からの過去の振込においてこれらの任意情報が付加されていた場合に、当該任意情報に基づいて記憶される情報である(図3参照)。入金データテーブル11の振込人名(カナ)113に対応する振込人名(カナ)123が記憶されたレコードが、顧客データテーブル12に複数存在する場合でも、振込元口座番号125、振込元金融機関コード126又は振込元支店コード127に基づいて、顧客を特定できる場合がある。   The transfer source account number 125, the transfer source financial institution code 126, and the transfer source branch code 127 are information stored based on the arbitrary information when these arbitrary information has been added in the past transfer from the customer. (See FIG. 3). Even when there are a plurality of records in which the transfer person name (Kana) 123 corresponding to the transfer person name (Kana) 113 of the deposit data table 11 is stored in the customer data table 12, the transfer source account number 125 and the transfer source financial institution code 126 are stored. Alternatively, the customer may be identified based on the transfer source branch code 127.

<1−3.請求データテーブル13>
請求データテーブル13は、データ照合装置1を使用するユーザから顧客に送付した請求書の情報を記憶している。請求データテーブル13は、シーケンシャル番号131で特定される複数のレコードを有している。請求データテーブル13の各レコードは、請求日132を記憶するためのフィールドと、顧客ID133を記憶するためのフィールドと、請求金額134を記憶するためのフィールドと、案件情報135を記憶するためのフィールドと、消込情報136を記憶するためのフィールドと、部分入金額137を記憶するためのフィールドと、を含んでいる。
<1-3. Billing data table 13>
The billing data table 13 stores information on bills sent from the user using the data matching device 1 to the customer. The billing data table 13 has a plurality of records specified by sequential numbers 131. Each record of the billing data table 13 includes a field for storing a billing date 132, a field for storing a customer ID 133, a field for storing a billing amount 134, and a field for storing matter information 135. And a field for storing the application information 136 and a field for storing the partial deposit amount 137.

請求日132は、顧客への請求書の日付である。顧客ID133は、顧客データテーブル12の顧客ID122に対応する文字列である。請求金額134は、顧客への請求金額であり、例えば、商品代金、送料及び消費税の合計額が記憶される。或いは、請求の内訳を示す明細を記憶しても良い。案件情報135は、当該請求書の対象となった案件に関する情報であり、例えば、プロジェクト名、顧客側の担当者名等の情報が記憶される。   The billing date 132 is the date of billing to the customer. The customer ID 133 is a character string corresponding to the customer ID 122 of the customer data table 12. The billing amount 134 is a billing amount to the customer, and stores, for example, the total amount of merchandise price, shipping fee and consumption tax. Or you may memorize | store the detail which shows the breakdown of a claim. The case information 135 is information related to the case that is the subject of the invoice, and for example, information such as the project name and the name of the person in charge on the customer side is stored.

消込情報136は、上記実施形態に係るデータ照合装置1により、当該レコードに係る請求データに対応する顧客からの入金を入金データによって確認済か否かを示す情報である。消込情報136としては、例えば、入金データテーブル11のシーケンシャル番号111を特定することにより、請求データが入金データテーブル11の内のどのレコードに対して所定の一致条件を満たしたかを示す情報を記憶する(図3参照)。
或いは、消込情報136として、単に入金を確認済か否かを示す2値データ(例えば、0又は1)を記憶しても良い。
The application information 136 is information indicating whether or not the payment from the customer corresponding to the billing data related to the record has been confirmed by the payment data by the data collating apparatus 1 according to the embodiment. As the application information 136, for example, information indicating which record in the deposit data table 11 satisfies the predetermined matching condition by specifying the sequential number 111 of the deposit data table 11 is stored. (See FIG. 3).
Alternatively, binary data (for example, 0 or 1) indicating whether or not payment has been confirmed may be stored as the application information 136.

部分入金額137は、当該レコードに係る請求データに対応する顧客からの入金済み金額が、請求金額134の一部のみであって、残りの金額は後日入金される予定である場合に、当該入金済みの金額を示す情報である。例えば、請求データテーブル13の第4レコードに係る請求金額「¥50,000」のうち、¥20,000の入金が入金データによって確認された場合に、当該請求データテーブル13の第4レコードに係る部分入金額137としては、入金された金額「¥20,000」が記憶される。   The partial deposit amount 137 is determined when the deposit amount from the customer corresponding to the billing data related to the record is only a part of the bill amount 134 and the remaining amount is scheduled to be deposited at a later date. This is information indicating the amount of money already spent. For example, when a deposit of ¥ 20,000 is confirmed by the deposit data out of the bill amount “¥ 50,000” related to the fourth record of the billing data table 13, the partial deposit amount 137 related to the fourth record of the billing data table 13. As for, the deposited amount “¥ 20,000” is stored.

<1−4.入金データ抽出部21>
図1に戻り、入金データ抽出部21は、入金データテーブル11に含まれる各レコードについて、振込人名(カナ)113と、振込金額114と、を抽出する機能を有する。入金データ抽出部21は、入金データテーブル11に含まれる各レコードについて、さらに、振込元口座番号115、振込元金融機関コード116又は振込元支店コード117を抽出することもできる。
なお、入金データテーブル11からのデータの抽出においては、消込処理が済んでいるレコードのデータは抽出しない。
<1-4. Deposit Data Extraction Unit 21>
Returning to FIG. 1, the deposit data extraction unit 21 has a function of extracting a transfer person name (kana) 113 and a transfer amount 114 for each record included in the deposit data table 11. The deposit data extraction unit 21 can further extract the transfer source account number 115, the transfer source financial institution code 116 or the transfer source branch code 117 for each record included in the deposit data table 11.
Note that in the extraction of data from the deposit data table 11, the data of the record that has been subjected to the application process is not extracted.

<1−5.顧客データ抽出部22>
顧客データ抽出部22は、入金データテーブル11から抽出された振込人名(カナ)113を用いて顧客データテーブル12を検索し、該当するレコードの各々に記憶された顧客ID122を抽出する機能を有する。検索の結果、複数のレコードが該当した場合には、これに対応して複数の顧客ID122を抽出する。
検索の結果、複数のレコードが該当した場合であって、且つ、入金データテーブル11から振込元口座番号115、振込元金融機関コード116又は振込元支店コード117が抽出された場合には、顧客データ抽出部22は、入金データテーブル11から抽出された振込元口座番号115、振込元金融機関コード116又は振込元支店コード117を用いて、顧客データテーブル12の該当するレコードを絞り込んで、顧客ID122を抽出する。
<1-5. Customer Data Extractor 22>
The customer data extraction unit 22 has a function of searching the customer data table 12 using the transfer person name (kana) 113 extracted from the deposit data table 11 and extracting the customer ID 122 stored in each corresponding record. If a plurality of records are found as a result of the search, a plurality of customer IDs 122 are extracted correspondingly.
If a plurality of records are found as a result of the search and the transfer source account number 115, transfer source financial institution code 116 or transfer source branch code 117 is extracted from the deposit data table 11, the customer data The extraction unit 22 narrows down the corresponding records in the customer data table 12 using the transfer source account number 115, the transfer source financial institution code 116, or the transfer source branch code 117 extracted from the deposit data table 11, and sets the customer ID 122. Extract.

<1−6.請求データ抽出部23>
請求データ抽出部23は、顧客データテーブル12から抽出された各顧客ID122を用いて請求データテーブル13を検索し、各顧客ID122に対応する各顧客ID133について、該当するレコードの各々に記憶された請求金額134を抽出する機能を有する。顧客データテーブル12から複数の顧客ID122が抽出された場合、或いは、同一顧客に複数件の請求書を送付していた場合には、請求データテーブル13の複数のレコードから請求金額134が抽出される。
なお、請求金額の抽出においては、請求データテーブル13のうち、全額の消込処理が済んでいるレコードの請求金額は抽出しない。また、部分入金額137が記憶されているレコードについては、請求金額134と部分入金額137との差額を、請求金額として抽出する。例えば、請求データテーブル13の第4レコードからは、部分入金額¥20,000を差し引いた¥30,000を、請求金額として抽出する。
<1-6. Billing data extraction unit 23>
The billing data extraction unit 23 searches the billing data table 13 using each customer ID 122 extracted from the customer data table 12, and for each customer ID 133 corresponding to each customer ID 122, the bill stored in each corresponding record. It has a function of extracting the amount 134. When a plurality of customer IDs 122 are extracted from the customer data table 12 or when a plurality of invoices are sent to the same customer, a billing amount 134 is extracted from a plurality of records of the billing data table 13. .
It should be noted that in the billing amount extraction, the billing amount of the record for which the entire amount has been applied in the billing data table 13 is not extracted. For the record in which the partial deposit amount 137 is stored, the difference between the billed amount 134 and the partial deposit amount 137 is extracted as the billed amount. For example, from the fourth record of the billing data table 13, ¥ 30,000 obtained by subtracting the partial deposit amount ¥ 20,000 is extracted as the billing amount.

<1−7.合計値算出部24>
合計値算出部24は、請求データテーブル13から抽出された請求金額134を用いて、各顧客ID133について、請求金額134の合計値を算出する機能を有する。
<1-7. Total value calculation unit 24>
The total value calculation unit 24 has a function of calculating the total value of the charge amount 134 for each customer ID 133 using the charge amount 134 extracted from the charge data table 13.

<1−8.最小値選出部25>
最小値選出部25は、請求データテーブル13から抽出された請求金額134を用いて、各顧客ID133について、請求金額134の最小値を選出する機能を有する。最小値の選出は、例えば、ある顧客ID133のデータを記憶した複数のレコードのうち、2つのレコードに係る請求金額134を比較し、低額な方の請求金額134を当該顧客ID133の未比較のレコードに係る請求金額134と比較することを、未比較のレコードが無くなるまで繰り返す等、公知の方法によることができる。
<1-8. Minimum value selection unit 25>
The minimum value selection unit 25 has a function of selecting the minimum value of the charge amount 134 for each customer ID 133 using the charge amount 134 extracted from the charge data table 13. The selection of the minimum value is performed by, for example, comparing the billing amount 134 related to two records among a plurality of records storing data of a certain customer ID 133, and comparing the lower billing amount 134 with the uncompared record of the customer ID 133. It is possible to use a known method, for example, repeating the comparison with the billing amount 134 related to No. 1 until there are no more uncompared records.

<1−9.比較部26>
比較部26は、入金データテーブル11から抽出された振込金額114について、各顧客ID133について請求データテーブル13から抽出された請求金額134と比較して、所定の一致条件を満たす場合には入金データテーブル11及び請求データテーブル13の該当するレコードについて消込処理を行う機能を有する。比較の結果、振込金額114と請求金額134とが所定の一致条件を満たさない場合には、請求データテーブル13から抽出された他の請求金額134と比較する。
<1-9. Comparison unit 26>
The comparison unit 26 compares the transfer amount 114 extracted from the payment data table 11 with the charge amount 134 extracted from the charge data table 13 for each customer ID 133. 11 and the billing data table 13 have a function of performing a clearing process on the corresponding records. As a result of the comparison, when the transfer amount 114 and the charge amount 134 do not satisfy the predetermined matching condition, the transfer amount 114 and the charge amount 134 extracted from the charge data table 13 are compared.

ここで、振込金額114と請求金額134とを比較した場合に満たすべき所定の一致条件とは、例えば、これらの差額が¥0であるか、振込手数料相当額であるという条件である。例えば、振込手数料として、¥210、¥315、¥420、¥525、¥630、¥735、¥840の7通りが想定される場合に、これらの振込手数料のいずれかを請求金額134から減算した値が振込金額114と等しいときに、所定の一致条件を満たすものとすることができる。   Here, the predetermined matching condition to be satisfied when the transfer amount 114 and the charged amount 134 are compared is, for example, a condition that the difference between them is ¥ 0 or an amount equivalent to the transfer fee. For example, when seven types of transfer fees, ¥ 210, ¥ 315, ¥ 420, ¥ 525, ¥ 630, ¥ 735, and ¥ 840, are assumed, one of these transfer fees is subtracted from the charged amount 134. When the value is equal to the transfer amount 114, a predetermined matching condition can be satisfied.

比較部26は、合計値算出部24によって、各顧客ID133について請求金額134の合計値が算出された場合には、当該合計値と振込金額114とを比較する。合計値が振込金額114より小さい場合には、当該顧客IDについての請求金額134と振込金額114との比較をそれ以上行わず、他の顧客IDについての請求金額134と振込金額114とを比較する。   When the total value calculation unit 24 calculates the total value of the charged amount 134 for each customer ID 133, the comparing unit 26 compares the total value with the transfer amount 114. When the total value is smaller than the transfer amount 114, the charge amount 134 for the customer ID and the transfer amount 114 are not compared any more, and the charge amount 134 and the transfer amount 114 for other customer IDs are compared. .

比較部26は、最小値選出部25によって、各顧客ID133について請求金額134の最小値が選出された場合には、当該最小値と振込金額114とを比較する。最小値が振込金額114より大きい場合には、当該顧客IDについての請求金額134と振込金額114との比較をそれ以上行わず、他の顧客IDについての請求金額134と振込金額114とを比較する。   When the minimum value selection unit 25 selects the minimum value of the charge amount 134 for each customer ID 133, the comparison unit 26 compares the minimum value with the transfer amount 114. If the minimum value is larger than the transfer amount 114, the charge amount 134 for the customer ID is not compared with the transfer amount 114, and the charge amount 134 for the other customer ID is compared with the transfer amount 114. .

比較部26は、入金データテーブル11の振込元口座番号115、振込元金融機関コード116又は振込元支店コード117を、顧客データテーブル12に記憶させる。   The comparison unit 26 stores the transfer source account number 115, the transfer source financial institution code 116 or the transfer source branch code 117 of the deposit data table 11 in the customer data table 12.

<1−10.出力部27>
出力部27は、顧客データ抽出部22において、該当するレコードがまったく存在しなかった場合に、結果の出力や、顧客リストの出力を行う。
また、出力部27は、比較部26において、振込金額114に対して所定の一致条件を満たす請求金額134を記憶したレコードが複数存在した場合、或いは、まったく存在しなかった場合に、結果の出力や、請求データの消込候補リストの出力を行う。
<1-10. Output unit 27>
The output unit 27 outputs a result or outputs a customer list when no corresponding record exists in the customer data extraction unit 22.
In addition, the output unit 27 outputs a result when there are a plurality of records in which the charge amount 134 satisfying a predetermined matching condition with respect to the transfer amount 114 exists in the comparison unit 26 or when there is no record at all. Or, output the request data consumption candidate list.

<1−11.入力部28>
入力部28は、出力部27によって出力された顧客リストや消込候補リストの中から、オペレータの操作による顧客や請求データの指定を受付ける。
<1-11. Input unit 28>
The input unit 28 accepts designation of a customer and billing data by an operator's operation from the customer list and application candidate list output by the output unit 27.

<2.データ照合装置の動作>
図4は、上記実施形態に係るデータ照合装置の動作例を示すフローチャートである。データ照合装置1は、上述の入金データ抽出部21、顧客データ抽出部22、請求データ抽出部23、合計値算出部24、最小値選出部25、比較部26の各機能を実現するプログラムの各モジュールをコンピュータ読み取り可能な記憶媒体から読み出して実行することにより、以下の各ステップの処理を行う。
<2. Operation of data verification device>
FIG. 4 is a flowchart showing an operation example of the data collating apparatus according to the embodiment. The data collating apparatus 1 is a program that realizes the functions of the deposit data extraction unit 21, the customer data extraction unit 22, the billing data extraction unit 23, the total value calculation unit 24, the minimum value selection unit 25, and the comparison unit 26 described above. By reading the module from the computer-readable storage medium and executing it, the following steps are performed.

<2−1.S1>
まず、入金データ抽出部21が、入金データテーブル11に含まれる1つのレコードから、振込人名(カナ)113と振込金額114とを抽出する(S1)。
例えば、図2において、入金データテーブル11の第1レコードから入金データを抽出する場合には、振込人名(カナ)113として「A0」を、振込金額114として「¥90,000」を抽出する。
また、入金データテーブル11の第2レコードから入金データを抽出する場合には、振込人名(カナ)113として「B」を、振込金額114として「¥39,580」を抽出する。
<2-1. S1>
First, the deposit data extraction unit 21 extracts a transfer person name (kana) 113 and a transfer amount 114 from one record included in the deposit data table 11 (S1).
For example, in FIG. 2, when deposit data is extracted from the first record of the deposit data table 11, “A0” is extracted as the transfer person name (Kana) 113 and “¥ 90,000” is extracted as the transfer amount 114.
In addition, when extracting the deposit data from the second record of the deposit data table 11, “B” is extracted as the transfer person name (kana) 113 and “¥ 39,580” is extracted as the transfer amount 114.

<2−2.S2>
次に、顧客データ抽出部22が、入金データテーブル11から抽出された振込人名(カナ)113を用いて顧客データテーブル12を検索する(S2)。
<2-2. S2>
Next, the customer data extraction part 22 searches the customer data table 12 using the transfer person name (kana) 113 extracted from the payment data table 11 (S2).

<2−3.S3>
S2において、振込人名(カナ)113を用いて顧客データテーブル12を検索した結果、該当するレコードが1つであった場合には、顧客が1つに特定される。そこで、顧客データ抽出部22が、当該レコードに記憶された顧客ID122を抽出する(S3)。
例えば、入金データテーブル11から振込人名(カナ)113として「A0」を抽出した場合には、顧客データテーブル12の第1レコードから、顧客ID122として「A001」が抽出される。
<2-3. S3>
In S <b> 2, when the customer data table 12 is searched using the transfer person name (kana) 113, if there is one corresponding record, one customer is specified. Therefore, the customer data extraction unit 22 extracts the customer ID 122 stored in the record (S3).
For example, when “A0” is extracted as the transfer person name (kana) 113 from the deposit data table 11, “A001” is extracted as the customer ID 122 from the first record of the customer data table 12.

<2−4.S4>
S2において、振込人名(カナ)113を用いて顧客データテーブル12を検索した結果、該当するレコードが複数であった場合には、入金データ抽出部21が、入金データテーブル11の上記レコードに、振込元口座番号115、振込元金融機関コード116及び振込元支店コード117等の任意情報が記憶されているか否かを判定する(S4)。
<2-4. S4>
In S <b> 2, when the customer data table 12 is searched using the transfer person name (kana) 113 and there are a plurality of corresponding records, the deposit data extraction unit 21 transfers the record to the record in the deposit data table 11. It is determined whether or not arbitrary information such as a source account number 115, a transfer source financial institution code 116, and a transfer source branch code 117 is stored (S4).

<2−5.S5>
S4において、入金データテーブル11に任意情報が記憶されていない場合には、顧客データ抽出部22が、顧客データテーブル12の該当する複数のレコードに記憶された顧客ID122を抽出する(S5)。
例えば、入金データテーブル11から振込人名(カナ)113として「B」を抽出した場合には、顧客データテーブル12の第3〜第5レコードから、顧客ID122として「B001」、「B002」、「B003」の3つが抽出される。
なお、S5において抽出される顧客ID122の数をI個とし、以下の説明において各顧客IDを自然数i(但し、iの最大値は2以上の整数I)によって識別する。
<2-5. S5>
In S4, when arbitrary information is not memorize | stored in the payment data table 11, the customer data extraction part 22 extracts customer ID122 memorize | stored in the relevant record of the customer data table 12 (S5).
For example, when “B” is extracted as the transfer person name (kana) 113 from the deposit data table 11, “B001”, “B002”, “B003” as the customer ID 122 from the third to fifth records of the customer data table 12. Are extracted.
Note that the number of customer IDs 122 extracted in S5 is I, and in the following description, each customer ID is identified by a natural number i (where the maximum value of i is an integer I of 2 or more).

<2−6.S6>
S4において、入金データテーブル11に任意情報が記憶されている場合には、入金データ抽出部21が当該任意情報を抽出し、当該任意情報を用いて、顧客データ抽出部22が顧客データテーブル12の該当するレコードの絞り込みを行う(S6)。
<2-6. S6>
In S <b> 4, when arbitrary information is stored in the deposit data table 11, the deposit data extraction unit 21 extracts the arbitrary information, and using the arbitrary information, the customer data extraction unit 22 stores the arbitrary information in the customer data table 12. The corresponding records are narrowed down (S6).

S6において、任意情報を用いた絞り込みの結果、1つのレコードに絞り込まれた場合には、顧客データ抽出部22が、当該レコードに記憶された顧客ID122を抽出する(S3)。ここで1つのレコードに絞り込まれる場合の例としては、入金データテーブル11に記憶されている振込元口座番号115と同一の振込元口座番号125が顧客データテーブル12に記憶されていた場合が考えられる。   In S6, when narrowing down to one record as a result of narrowing down using arbitrary information, the customer data extracting unit 22 extracts the customer ID 122 stored in the record (S3). Here, as an example of narrowing down to one record, a case where the same transfer source account number 125 as the transfer source account number 115 stored in the deposit data table 11 is stored in the customer data table 12 is considered. .

S6において、任意情報を用いた絞り込みの結果、より少ない複数のレコードに絞り込まれた場合、或いは、絞り込みができなかった場合には、顧客データ抽出部22が、顧客データテーブル12の該当する複数のレコードに記憶された顧客ID122を抽出する(S5)。より少ない複数のレコードに絞り込まれる場合の例としては、入金データテーブル11に記憶されている振込元金融機関コード116又はこれと振込元支店コード117と同一のデータが顧客データテーブル12の複数のレコードに記憶されている場合が考えられる。絞り込みができない場合の例としては、顧客データテーブル12に振込元口座番号125、振込元金融機関コード126及び振込元支店コード127等の任意情報が記憶されていない場合が考えられる。   In S6, as a result of narrowing down using arbitrary information, if narrowed down to a plurality of records, or if narrowing down is not possible, the customer data extraction unit 22 selects a plurality of corresponding data in the customer data table 12. The customer ID 122 stored in the record is extracted (S5). As an example of narrowing down to a plurality of records, the same data as the transfer source financial institution code 116 or the transfer source branch code 117 stored in the deposit data table 11 is stored in the plurality of records in the customer data table 12. Is stored in the memory. As an example of the case where narrowing down is not possible, a case where arbitrary information such as the transfer source account number 125, the transfer source financial institution code 126, and the transfer source branch code 127 is not stored in the customer data table 12 is considered.

<2−7.S7>
S6において、任意情報を用いた絞り込みの結果、該当するレコードがなくなってしまった場合には、顧客データ抽出部22が、結果の出力及び顧客リストの出力をするよう出力部27を制御する(S7)。該当するレコードがなくなってしまう場合の例としては、顧客データテーブル12に記憶されている任意情報のデータが古く、顧客の取引銀行の情報を正確に反映していなかった場合が考えられる。
<2-7. S7>
In S6, when there is no corresponding record as a result of narrowing down using arbitrary information, the customer data extraction unit 22 controls the output unit 27 to output the result and the customer list (S7). ). As an example of the case where the corresponding record disappears, it is conceivable that the data of the arbitrary information stored in the customer data table 12 is old and does not accurately reflect the customer's bank information.

出力部27によって出力する顧客リストとしては、例えば、S2における振込人名(カナ)113を用いた顧客データテーブル12の検索結果を出力しても良いし、全顧客リストを出力しても良い。オペレータが入力部28の操作によって顧客リストの中の1つの顧客を指定した場合には、顧客データ抽出部22が、当該顧客の顧客ID122を抽出する(S3)。また、オペレータが、入力部28の操作によって顧客リストの中の複数の顧客を指定できるようにして、顧客データ抽出部22が、当該複数の顧客の顧客ID122を抽出するようにしても良い(S5)。   As the customer list output by the output unit 27, for example, the search result of the customer data table 12 using the transfer person name (Kana) 113 in S2 may be output, or the entire customer list may be output. When the operator designates one customer in the customer list by operating the input unit 28, the customer data extraction unit 22 extracts the customer ID 122 of the customer (S3). Further, the operator may specify a plurality of customers in the customer list by operating the input unit 28, and the customer data extraction unit 22 may extract the customer IDs 122 of the plurality of customers (S5). ).

<2−8.S8>
S2において、振込人名(カナ)113を用いて顧客データテーブル12を検索した結果、該当するレコードが存在しなかった場合には、顧客データ抽出部22が、結果の出力及び顧客リストの出力をするよう出力部27を制御する(S8)。顧客リストとしては、例えば、全顧客リストを出力する。オペレータが入力部28の操作によって顧客リストの中の1つの顧客を指定した場合には、顧客データ抽出部22が、当該顧客の顧客ID122を抽出する(S3)。また、オペレータが、入力部28の操作によって顧客リストの中の複数の顧客を指定できるようにして、顧客データ抽出部22が、当該複数の顧客の顧客ID122を抽出するようにしても良い(S5)。
<2-8. S8>
In S2, when the customer data table 12 is searched using the transfer person name (kana) 113 and the corresponding record does not exist, the customer data extraction unit 22 outputs the result and the customer list. The output unit 27 is controlled (S8). As the customer list, for example, an all customer list is output. When the operator designates one customer in the customer list by operating the input unit 28, the customer data extraction unit 22 extracts the customer ID 122 of the customer (S3). Further, the operator may specify a plurality of customers in the customer list by operating the input unit 28, and the customer data extraction unit 22 may extract the customer IDs 122 of the plurality of customers (S5). ).

<2−9.S100>
S3により、顧客データ抽出部22によって顧客ID122が1つ抽出された場合には、請求データ抽出部23が、当該顧客ID122に対応する顧客ID133についての請求金額134を抽出し、合計値算出部24が、当該顧客ID133について、請求金額134の合計値を算出し、比較部26が、これらの請求金額134と振込金額114とを比較する(S100)。この処理の詳細は後述する。
<2-9. S100>
When one customer ID 122 is extracted by the customer data extracting unit 22 in S3, the billing data extracting unit 23 extracts the billing amount 134 for the customer ID 133 corresponding to the customer ID 122, and the total value calculating unit 24 However, for the customer ID 133, the total value of the billing amount 134 is calculated, and the comparison unit 26 compares the billing amount 134 with the transfer amount 114 (S100). Details of this processing will be described later.

<2−10.S200>
S5により、顧客データ抽出部22によって顧客ID122が複数抽出された場合には、請求データ抽出部23が、各顧客ID122に対応する各顧客ID133についての請求金額134を抽出し、合計値算出部24が、各顧客ID133について、請求金額134の合計値を算出し、最小値選出部25が、各顧客ID133について、請求金額134の最小値を選出し、比較部26が、これらの請求金額134と振込金額114とを比較する(S200)。この処理の詳細は後述する。
<2-10. S200>
When a plurality of customer IDs 122 are extracted by the customer data extracting unit 22 in S5, the billing data extracting unit 23 extracts the billing amount 134 for each customer ID 133 corresponding to each customer ID 122, and the total value calculating unit 24 However, for each customer ID 133, the total value of the billing amount 134 is calculated, the minimum value selection unit 25 selects the minimum value of the billing amount 134 for each customer ID 133, and the comparison unit 26 selects these billing amounts 134 and The transfer amount 114 is compared (S200). Details of this processing will be described later.

<2−11.S9>
S100又はS200により、振込金額114を請求金額134と比較し、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定された場合には、比較部26は、入金データテーブル11及び請求データテーブル13の該当するレコードについて消込処理を行う(S9)。
消込処理は、例えば、入金データテーブル11に消込情報118を記憶させるとともに、請求データテーブル13に消込情報136を記憶させることにより行う。
<2-11. S9>
When the transfer amount 114 is compared with the invoice amount 134 by S100 or S200, and one record (in one set) in the invoice data table 13 that satisfies a predetermined matching condition with respect to the above record in the deposit data table 11 is specified In step S9, the comparison unit 26 performs an application process on the corresponding records in the deposit data table 11 and the billing data table 13.
The application process is performed, for example, by storing application information 118 in the deposit data table 11 and storing application information 136 in the billing data table 13.

例えば、S100において、入金データテーブル11の第1レコードに係る入金データが、請求データテーブル13の第1及び第2レコードに係る請求データに対応することが確認された場合には、図3に示すように、当該入金データテーブル11の第1レコードに係る消込情報118として、対応する請求データテーブル13のシーケンシャル番号「1、2」を記憶させる。また、請求データテーブル13の第1及び第2レコードに係る消込情報136として、入金データテーブル11のシーケンシャル番号「1」を記憶させる。   For example, in S100, when it is confirmed that the deposit data related to the first record in the deposit data table 11 corresponds to the bill data related to the first and second records in the bill data table 13, as shown in FIG. As described above, the sequential number “1, 2” of the corresponding billing data table 13 is stored as the application information 118 related to the first record of the deposit data table 11. Further, the sequential number “1” of the deposit data table 11 is stored as the application information 136 relating to the first and second records of the billing data table 13.

また、S200において、入金データテーブル11の第2レコードに係る入金データが、請求データテーブル13の第7及び第8レコードに係る請求データに対応することが確認された場合には、図3に示すように、当該入金データテーブル11の第2レコードに係る消込情報118として、対応する請求データテーブル13のシーケンシャル番号「7、8」を記憶させる。また、請求データテーブル13の第7及び第8レコードに係る消込情報136として、入金データテーブル11のシーケンシャル番号「2」を記憶させる。   In S200, when it is confirmed that the deposit data related to the second record of the deposit data table 11 corresponds to the bill data related to the seventh and eighth records of the bill data table 13, as shown in FIG. As described above, the sequential number “7, 8” of the corresponding billing data table 13 is stored as the application information 118 related to the second record of the deposit data table 11. Further, the sequential number “2” of the deposit data table 11 is stored as the application information 136 relating to the seventh and eighth records of the billing data table 13.

<2−12.S10>
比較部26は、(a)入金データテーブル11の消込処理を行うレコードに、振込元口座番号115、振込元金融機関コード116又は振込元支店コード117が記憶されている場合であって、且つ、(b1)顧客データテーブル12の該当レコードに振込元口座番号125、振込元金融機関コード126又は振込元支店コード127が記憶されておらず、或いは(b2)入金データテーブル11のデータと異なっている場合には、顧客データテーブル12の該当レコードに、入金データテーブル11の振込元口座番号115、振込元金融機関コード116又は振込元支店コード117を記憶させる(S10)。
ここで顧客データテーブル12の該当レコードとは、請求データテーブル13の消込処理を行うレコードに記憶された顧客ID133に対応する顧客ID122のデータが記憶された顧客データテーブル12のレコードを意味する。そのような該当レコードが複数存在する場合には、さらに、入金データテーブル11の消込処理を行うレコードに記憶された振込人名(カナ)113に対応する振込人名(カナ)123のデータが記憶された顧客データテーブル12のレコードに限定しても良い。
<2-12. S10>
The comparison unit 26 (a) is a case where the transfer source account number 115, the transfer source financial institution code 116, or the transfer source branch code 117 is stored in the record for performing the transfer process of the deposit data table 11, and (B1) The transfer source account number 125, the transfer source financial institution code 126 or the transfer source branch code 127 is not stored in the corresponding record of the customer data table 12, or (b2) different from the data of the deposit data table 11 If there is, the transfer source account number 115, transfer source financial institution code 116 or transfer source branch code 117 of the deposit data table 11 is stored in the corresponding record of the customer data table 12 (S10).
Here, the corresponding record in the customer data table 12 means a record in the customer data table 12 in which the data of the customer ID 122 corresponding to the customer ID 133 stored in the record that performs the consumption process of the billing data table 13 is stored. When there are a plurality of such records, the data of the transfer person name (Kana) 123 corresponding to the transfer person name (Kana) 113 stored in the record for which the deposit process of the deposit data table 11 is performed is further stored. It may be limited to records in the customer data table 12.

例えば、請求データテーブル13の消込処理を行う第1及び第2レコードに顧客ID133として「A001」が記憶されており、これに対応する顧客ID122が顧客データテーブル12の第1及び第2レコードに記憶されている。さらに、入金データテーブル11の消込処理を行う第1レコードに振込人名(カナ)113として「A0」が記憶されており、これに対応する振込人名(カナ)123が顧客データテーブル12の第1レコードに記憶されている。そこで、図3に示すように、顧客データテーブル12の第1レコードに、入金データテーブル11の消込処理を行う第1レコードに記憶された振込元口座番号「1234567」、振込元金融機関コード「0003」及び振込元支店コード「246」を記憶させる。   For example, “A001” is stored as the customer ID 133 in the first and second records for performing the clearing process of the billing data table 13, and the corresponding customer ID 122 is stored in the first and second records of the customer data table 12. It is remembered. Further, “A0” is stored as the transfer person name (kana) 113 in the first record for performing the application data saving process, and the corresponding transfer person name (kana) 123 is stored in the first record of the customer data table 12. Stored in the record. Therefore, as shown in FIG. 3, in the first record of the customer data table 12, the transfer source account number “1234567” and the transfer source financial institution code “ "0003" and the transfer source branch code "246" are stored.

S10の処理により、その後に顧客データ抽出部22による振込人名(カナ)113を用いた検索において顧客データテーブル12の複数のレコードが該当した場合には、振込元口座番号115、振込元金融機関コード116又は振込元支店コード117による絞り込みが可能となる。
なお、S10の処理は、振込元口座番号115、振込元金融機関コード116及び振込元支店コード117等の任意情報を用いた絞り込みの結果、1つのレコードに絞り込めなかった場合(S6からS5又はS7に遷移した場合)に行うこととしても良い。
If a plurality of records in the customer data table 12 correspond to a subsequent search using the transfer person name (kana) 113 by the customer data extraction unit 22 by the processing of S10, the transfer source account number 115, the transfer source financial institution code It is possible to narrow down by 116 or the transfer source branch code 117.
It should be noted that the processing of S10 is not possible when narrowing down to one record as a result of narrowing down using arbitrary information such as the transfer source account number 115, the transfer source financial institution code 116, and the transfer source branch code 117 (S6 to S5 or It may be performed at the time of transition to S7.

<3.S100の詳細>
図5は、図4のS3において顧客IDが1つ抽出された場合のマッチング処理の詳細を示すフローチャートである。
<3. Details of S100>
FIG. 5 is a flowchart showing details of the matching process when one customer ID is extracted in S3 of FIG.

<3−1.S102>
図4のS3により、顧客データ抽出部22によって顧客ID122が1つ抽出された場合には、請求データ抽出部23が、当該顧客ID122に対応する顧客ID133を用いて請求データテーブル13を検索し、当該顧客ID133について、該当するレコードの各々に記憶された請求金額134を抽出する(S102)。同一顧客に複数の請求書を送付していた場合には、請求データテーブル13の複数のレコードから請求金額134が抽出される。
<3-1. S102>
When one customer ID 122 is extracted by the customer data extraction unit 22 in S3 of FIG. 4, the billing data extraction unit 23 searches the billing data table 13 using the customer ID 133 corresponding to the customer ID 122, For the customer ID 133, the billing amount 134 stored in each corresponding record is extracted (S102). When a plurality of invoices have been sent to the same customer, a billing amount 134 is extracted from a plurality of records in the billing data table 13.

<3−2.S103>
次に、合計値算出部24が、請求データテーブル13から抽出された請求金額134を用いて、当該顧客ID133について、請求金額134の合計値を算出する(S103)。
<3-2. S103>
Next, the total value calculation unit 24 calculates the total value of the charge amount 134 for the customer ID 133 using the charge amount 134 extracted from the charge data table 13 (S103).

<3−3.S104、S105>
次に、比較部26が、合計値算出部24によって算出された請求金額134の合計値と振込金額114とを比較する(S104)。
<3-3. S104, S105>
Next, the comparison unit 26 compares the total amount of the billing amount 134 calculated by the total value calculation unit 24 with the transfer amount 114 (S104).

請求金額134の合計値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S100の処理を終了する。   When the total value of the billing amount 134 satisfies a predetermined matching condition with respect to the transfer amount 114, there is one record in the billing data table 13 that satisfies the predetermined matching condition with respect to the record in the deposit data table 11 (1 Therefore, the process of S100 is terminated.

請求金額134の合計値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、エラー情報を出力して(S105)、S100の処理を終了する。或いは、図4のS8に戻って顧客の選択をやり直す。   If the total amount of the billing amount 134 is smaller than the transfer amount 114, the record in the deposit data table 11 is considered not to be deposit data related to the billing data for the customer ID 133, so error information is output (S105). , S100 ends. Alternatively, the process returns to S8 in FIG. 4 to select the customer again.

請求金額134の合計値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての一部の請求データに関する入金データであると考えられるので、次のS109に進んで当該顧客ID133についての請求金額134との比較を続ける。   If the total value of the billing amount 134 is larger than the transfer amount 114, the record in the deposit data table 11 is considered to be deposit data related to a part of the billing data for the customer ID 133, and the process proceeds to the next S109. The comparison with the billing amount 134 for the customer ID 133 is continued.

<3−4.S109>
請求金額134の合計値が振込金額114より大きかった場合には、合計値算出部24が、当該顧客ID133について、未だ部分入金されていない請求データに限定して請求金額134の合計値を算出する(S109)。例えば、請求データテーブル13の第4レコードのように部分入金されている請求データは、ここでは除外して合計値を算出する。部分入金されている請求データとのマッチングは、自動処理になじまない場合があるからである。
<3-4. S109>
If the total value of the billing amount 134 is larger than the transfer amount 114, the total value calculation unit 24 calculates the total value of the billing amount 134 for the customer ID 133 only for billing data that has not yet been partially deposited. (S109). For example, billing data that has been partially deposited as in the fourth record of the billing data table 13 is excluded here, and the total value is calculated. This is because matching with billing data that has been partially deposited may not be suitable for automatic processing.

<3−5.S110、S111>
次に、比較部26が、合計値算出部24によって算出された(部分入金されていない請求データの)請求金額134の合計値と振込金額114とを比較する(S110)。
<3-5. S110, S111>
Next, the comparison unit 26 compares the total amount of the charge amount 134 (of the charge data that has not been partially deposited) calculated by the total value calculation unit 24 with the transfer amount 114 (S110).

請求金額134の合計値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S100の処理を終了する。   When the total value of the billing amount 134 satisfies a predetermined matching condition with respect to the transfer amount 114, there is one record in the billing data table 13 that satisfies the predetermined matching condition with respect to the record in the deposit data table 11 (1 Therefore, the process of S100 is terminated.

請求金額134の合計値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、エラー情報を出力して(S111)、S100の処理を終了する。或いは、図4のS8に戻って顧客の選択をやり直す。   If the total value of the billing amount 134 is smaller than the transfer amount 114, the record in the deposit data table 11 is not considered to be deposit data related to the billing data for the customer ID 133, so error information is output (S111). , S100 ends. Alternatively, the process returns to S8 in FIG. 4 to select the customer again.

請求金額134の合計値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についてのさらに一部の請求データに関する入金データであると考えられるので、次のS112に進んで当該顧客ID133についての請求金額134との比較を続ける。   If the total value of the billing amount 134 is larger than the transfer amount 114, the record in the deposit data table 11 is considered to be deposit data related to a part of the billing data for the customer ID 133, and the process proceeds to the next S112. The comparison with the billing amount 134 for the customer ID 133 is continued.

<3−6.S112、S113>
請求金額134の合計値が振込金額114より大きかった場合には、比較部26が、当該顧客ID133についての(未だ部分入金されていない請求データの)請求金額134と振込金額114とを、請求データテーブル13のレコードごとに(請求書単位で)比較する(S112)。
請求金額134が振込金額114に対して所定の一致条件を満たすようなレコードがある場合には、比較部26は、当該レコードに係るシーケンシャル番号131を、所定の記憶装置に一致データとして記憶させる(S113)。
<3-6. S112, S113>
When the total value of the charge amount 134 is larger than the transfer amount 114, the comparison unit 26 determines the charge amount 134 and the transfer amount 114 (of the charge data that has not been partially deposited) for the customer ID 133 as the charge data. A comparison is made for each record in the table 13 (invoice units) (S112).
When there is a record in which the charged amount 134 satisfies a predetermined matching condition with respect to the transfer amount 114, the comparison unit 26 stores the sequential number 131 related to the record as matching data in a predetermined storage device ( S113).

<3−7.S114、S115>
次に、合計値算出部24が、当該顧客ID133について、案件情報135ごとの(未だ部分入金されていない請求データの)請求金額134の合計値を算出し、比較部26が、算出された案件情報135ごとの請求金額134の合計値と振込金額114とを比較する(S114)。
請求金額134の合計値が振込金額114に対して所定の一致条件を満たすような案件情報135がある場合には、比較部26は、当該案件情報135を記憶したレコードに係るシーケンシャル番号131の組を、所定の記憶装置に一致データとして記憶させる(S115)。
<3-7. S114, S115>
Next, the total value calculation unit 24 calculates the total value of the billing amount 134 (of the billing data that has not been partially deposited) for each item information 135 for the customer ID 133, and the comparison unit 26 calculates the calculated item. The total value of the charged amount 134 for each information 135 is compared with the transfer amount 114 (S114).
When there is case information 135 in which the total value of the billing amount 134 satisfies a predetermined matching condition with respect to the transfer amount 114, the comparison unit 26 sets the sequential number 131 related to the record storing the case information 135. Is stored as matching data in a predetermined storage device (S115).

例えば、請求データテーブル13の第1〜第3レコードに示されるように、顧客ID「A001」に対する請求金額の合計値は¥130,000、最小値は¥30,000、レコードごとの請求金額は¥60,000、¥30,000、¥40,000であり、いずれも、入金データテーブル11の第1レコードに係る振込金額「¥90,000」とは一致しないが、案件情報135として「U」を記憶した第1及び第2レコードに係る請求金額の合計値は¥90,000であり、振込金額と一致する。従って、所定の一致条件を満たすものとして、案件情報135として「U」を記憶したレコードに係るシーケンシャル番号「1、2」の組を一致データとして記憶させる。   For example, as shown in the first to third records of the billing data table 13, the total billing amount for the customer ID “A001” is ¥ 130,000, the minimum value is ¥ 30,000, the billing amount for each record is ¥ 60,000, ¥ 30,000 and ¥ 40,000, both of which do not match the transfer amount “¥ 90,000” associated with the first record of the deposit data table 11, but are associated with the first and second records storing “U” as the case information 135 The total amount charged is ¥ 90,000, which matches the transfer amount. Therefore, a set of sequential numbers “1, 2” related to the record storing “U” as the case information 135 is stored as matching data as satisfying a predetermined matching condition.

<3−8.S118>
次に、比較部26は、上述のS113及びS115の処理において記憶された一致データを参照し、一致データの数を判定する(S118)。
一致データが1つであれば、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S100の処理を終了する。
<3-8. S118>
Next, the comparison unit 26 refers to the coincidence data stored in the processes of S113 and S115 described above, and determines the number of coincidence data (S118).
If there is one matching data, one record (one set) of the billing data table 13 satisfying a predetermined matching condition for the above record in the deposit data table 11 is specified, so the processing of S100 Exit.

<3−9.S119>
一致データが複数ある場合、又は、一致データがない場合には、比較部26は、結果の出力及び請求データの消込候補リストの出力をするよう出力部27を制御する(S119)。消込候補リストとしては、例えば、一致データが複数ある場合に、請求データテーブル13のうち当該一致データに該当する複数のレコードの組を出力する。或いは、一致データがない場合に、請求データテーブル13のうち当該顧客ID133についてのすべてのレコードを出力する。
<3-9. S119>
If there is a plurality of matching data, or if there is no matching data, the comparison unit 26 controls the output unit 27 to output the result and the request data consumption candidate list (S119). As the application candidate list, for example, when there are a plurality of matching data, a set of a plurality of records corresponding to the matching data in the billing data table 13 is output. Alternatively, when there is no matching data, all records for the customer ID 133 in the billing data table 13 are output.

また、請求データテーブル13の当該顧客ID133についてのレコードに、部分入金額137のデータが記憶されている場合には、比較部26は、当該顧客ID133についてのレコードのうち、部分入金額137のデータを記憶したすべてのレコードを消込候補リストとして出力するよう出力部27を制御しても良い。S109〜S114の処理において、部分入金されている請求データが除外されていたためである。   Further, when the data for the partial deposit amount 137 is stored in the record for the customer ID 133 in the billing data table 13, the comparison unit 26 sets the data for the partial deposit amount 137 among the records for the customer ID 133. The output unit 27 may be controlled so as to output all records stored as “consumption candidates list”. This is because the billing data that has been partially deposited is excluded in the processing of S109 to S114.

オペレータが入力部28の操作によって消込候補リストの中の1つ(1組)を指定した場合には、請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S100の処理を終了する。また、オペレータが、消込候補リストからの指定をせずに、図4のS8に戻って顧客の選択をやり直せるようにしても良い。   When the operator designates one (one set) in the application candidate list by operating the input unit 28, the record of the billing data table 13 is specified as one (one set). The process of S100 is terminated. Further, the operator may return to S8 in FIG. 4 and perform the customer selection again without specifying from the application candidate list.

なお、上述の比較処理において、既に終了した比較処理と同一の請求金額を比較対象とする場合は、比較処理を省略しても良い。例えば、当該顧客について部分入金額137のデータを有するレコードがない場合には、S109及び110の比較処理は、既に終了したS103及びS104の比較処理と同一の請求金額を比較対象とするので、省略しても良い。   In the comparison process described above, the comparison process may be omitted if the same billing amount as that of the already completed comparison process is used as a comparison target. For example, if there is no record having the data of the partial deposit amount 137 for the customer, the comparison process in S109 and 110 is omitted because the same billing amount as the comparison process in S103 and S104 that has already been completed is used as a comparison target. You may do it.

<4.S200の詳細>
図6は、図4のS5において顧客IDが複数(I個)抽出された場合のマッチング処理の詳細を示すフローチャートである。
<4. Details of S200>
FIG. 6 is a flowchart showing details of the matching process when a plurality (I) of customer IDs are extracted in S5 of FIG.

<4−1.S201>
図4のS5により、顧客データ抽出部22によって顧客ID122が複数抽出された場合には、I個の顧客IDのそれぞれについて請求金額134と振込金額114とを比較するため、まず、各顧客ID122に対応する各顧客ID133を識別する自然数iを1にセットする(S201)。
以下のS202〜S216の処理は、自然数iで特定される1つの顧客IDについて行い、S217において自然数iに1を加えるごとに、次の顧客IDについて同じ処理を繰り返す。例えば、i=1のときは顧客ID「B001」、i=2のときは顧客ID「B002」、i=3のときは顧客ID「B003」について、S202〜S216の処理を行う。
<4-1. S201>
When a plurality of customer IDs 122 are extracted by the customer data extraction unit 22 in S5 of FIG. 4, in order to compare the charged amount 134 and the transferred amount 114 for each of the I customer IDs, A natural number i for identifying each corresponding customer ID 133 is set to 1 (S201).
The following processes in S202 to S216 are performed for one customer ID specified by the natural number i, and the same process is repeated for the next customer ID every time 1 is added to the natural number i in S217. For example, the processing of S202 to S216 is performed for the customer ID “B001” when i = 1, the customer ID “B002” when i = 2, and the customer ID “B003” when i = 3.

<4−2.S202>
S202において、請求データ抽出部23が、自然数iによって識別される当該顧客ID133を用いて請求データテーブル13を検索し、当該顧客ID133について、該当するレコードの各々に記憶された請求金額134を抽出する。同一顧客に複数の請求書を送付していた場合には、請求データテーブル13の複数のレコードから請求金額134が抽出される。
<4-2. S202>
In S202, the billing data extraction unit 23 searches the billing data table 13 using the customer ID 133 identified by the natural number i, and extracts the billing amount 134 stored in each corresponding record for the customer ID 133. . When a plurality of invoices have been sent to the same customer, a billing amount 134 is extracted from a plurality of records in the billing data table 13.

<4−3.S203>
次に、合計値算出部24が、請求データテーブル13から抽出された請求金額134を用いて、当該顧客ID133について、請求金額134の合計値を算出する(S203)。
<4-3. S203>
Next, the total value calculation unit 24 calculates the total value of the charge amount 134 for the customer ID 133 using the charge amount 134 extracted from the charge data table 13 (S203).

<4−4.S204、S205>
次に、比較部26が、合計値算出部24によって算出された請求金額134の合計値と振込金額114とを比較する(S204)。
<4-4. S204, S205>
Next, the comparison unit 26 compares the total amount of the charged amount 134 calculated by the total value calculating unit 24 with the transfer amount 114 (S204).

請求金額134の合計値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、請求データテーブル13のうち当該顧客ID133が記憶されたレコードに係るシーケンシャル番号131の組を、所定の記憶装置に一致データとして記憶させ(S205)、当該顧客ID133についての比較を終了して後述のS216に進む。   When the total value of the billing amount 134 satisfies a predetermined matching condition with respect to the transfer amount 114, there is one record in the billing data table 13 that satisfies the predetermined matching condition with respect to the record in the deposit data table 11 (1 In the billing data table 13, the set of sequential numbers 131 related to the record in which the customer ID 133 is stored is stored as matching data in a predetermined storage device (S205). The comparison for ID 133 is terminated, and the process proceeds to S216 described later.

請求金額134の合計値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、当該顧客ID133についての比較を終了して後述のS216に進む。
例えば、請求データテーブル13の第4レコードに示されるように、顧客ID「B001」に対する請求金額(部分入金額との差額)の合計値が¥30,000の場合に、入金データテーブル11の第2レコードに係る振込金額「¥39,580」の入金がなされることは通常考えられないので、当該顧客ID133についての比較を終了する。
If the total amount of the billing amount 134 is smaller than the transfer amount 114, the record of the deposit data table 11 is not considered to be deposit data related to the billing data for the customer ID 133, so the comparison for the customer ID 133 is terminated. Then, the process proceeds to S216 described later.
For example, as shown in the fourth record of the billing data table 13, when the total value of the billing amount (difference from the partial deposit amount) for the customer ID “B001” is ¥ 30,000, the second record of the deposit data table 11 Since the transfer amount “¥ 39,580” related to is not normally considered, the comparison for the customer ID 133 is terminated.

請求金額134の合計値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての一部の請求データに関する入金データである可能性があるので、次のS206に進んで当該顧客ID133についての請求金額134との比較を続ける。   If the total value of the billing amount 134 is larger than the transfer amount 114, the record in the depositing data table 11 may be depositing data related to a part of the billing data for the customer ID 133, and the process proceeds to the next S206. The comparison with the billing amount 134 for the customer ID 133 is continued.

<4−5.S206>
次に、最小値選出部25が、請求データテーブル13から抽出された請求金額134を用いて、当該顧客ID133について、請求金額134の最小値を選出する(S206)。
<4-5. S206>
Next, the minimum value selection unit 25 selects the minimum value of the charge amount 134 for the customer ID 133 using the charge amount 134 extracted from the charge data table 13 (S206).

<4−6.S207、S208>
次に、比較部26が、最小値選出部25によって選出された請求金額134の最小値と振込金額114とを比較する(S207)。
<4-6. S207, S208>
Next, the comparison unit 26 compares the minimum value of the charged amount 134 selected by the minimum value selecting unit 25 with the transfer amount 114 (S207).

請求金額134の最小値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブルのレコードが、当該最小値を記憶したレコードに特定されたことになるので、当該最小値を記憶したレコードに係るシーケンシャル番号131を、所定の記憶装置に一致データとして記憶させ(S208)、当該顧客ID133についての比較を終了して後述のS216に進む。   When the minimum value of the billing amount 134 satisfies a predetermined matching condition with respect to the transfer amount 114, the record of the billing data table that satisfies the predetermined matching condition with respect to the record of the deposit data table 11 sets the minimum value. Since it is specified as the stored record, the sequential number 131 related to the record storing the minimum value is stored as matching data in a predetermined storage device (S208), and the comparison for the customer ID 133 is finished. The process proceeds to S216 described later.

請求金額134の最小値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、当該顧客ID133についての比較を終了して後述のS216に進む。
例えば、請求データテーブル13の第5レコードに示されるように、顧客ID「B002」に対する請求金額の最小値が「¥90,000」の場合に、入金データテーブル11の第2レコードに係る振込金額「¥39,580」の入金がなされることは(部分入金でない限り)考えられないので、当該顧客ID133についての比較を終了する。
When the minimum value of the charge amount 134 is larger than the transfer amount 114, the record of the receipt data table 11 is not considered to be receipt data related to the claim data for the customer ID 133, so the comparison for the customer ID 133 is finished. Then, the process proceeds to S216 described later.
For example, as shown in the fifth record of the billing data table 13, when the minimum value of the billing amount for the customer ID “B002” is “¥ 90,000”, the transfer amount “¥” related to the second record of the deposit data table 11 Since it is unlikely that “39,580” will be deposited (unless it is a partial deposit), the comparison for the customer ID 133 is terminated.

請求金額134の最小値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての他の請求データに関する入金データである可能性があるので、次のS209に進んで当該顧客ID133についての請求金額134との比較を続ける。   When the minimum value of the billing amount 134 is smaller than the transfer amount 114, the record in the deposit data table 11 may be deposit data related to other billing data for the customer ID 133, and the process proceeds to the next S209. The comparison with the billing amount 134 for the customer ID 133 is continued.

<4−7.S209>
請求金額134の最小値が振込金額114より小さかった場合には、合計値算出部24が、当該顧客ID133について、未だ部分入金されていない請求データに限定して請求金額134の合計値を算出する(S209)。
<4-7. S209>
When the minimum value of the billing amount 134 is smaller than the transfer amount 114, the total value calculation unit 24 calculates the total value of the billing amount 134 for the customer ID 133 only for billing data that has not been partially deposited yet. (S209).

<4−8.S210、S211>
次に、比較部26が、合計値算出部24によって算出された(部分入金されていない請求データの)請求金額134の合計値と振込金額114とを比較する(S210)。
<4-8. S210, S211>
Next, the comparison unit 26 compares the total amount of the billing amount 134 calculated by the total value calculation unit 24 (for billing data that has not been partially deposited) with the transfer amount 114 (S210).

請求金額134の合計値が振込金額114に対して所定の一致条件を満たす場合には、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、請求データテーブル13のうち当該顧客ID133が記憶されたレコードに係るシーケンシャル番号131の組を、所定の記憶装置に一致データとして記憶させ(S211)、当該顧客ID133についての比較を終了して後述のS216に進む。   When the total value of the billing amount 134 satisfies a predetermined matching condition with respect to the transfer amount 114, there is one record in the billing data table 13 that satisfies the predetermined matching condition with respect to the record in the deposit data table 11 (1 In the billing data table 13, the sequential number 131 related to the record in which the customer ID 133 is stored is stored as matching data in a predetermined storage device (S211), and the customer The comparison for ID 133 is terminated, and the process proceeds to S216 described later.

請求金額134の合計値が振込金額114より小さい場合には、入金データテーブル11の上記レコードは当該顧客ID133についての請求データに関する入金データではないと考えられるので、当該顧客ID133についての比較を終了して後述のS216に進む。   If the total amount of the billing amount 134 is smaller than the transfer amount 114, the record of the deposit data table 11 is not considered to be deposit data related to the billing data for the customer ID 133, so the comparison for the customer ID 133 is terminated. Then, the process proceeds to S216 described later.

請求金額134の合計値が振込金額114より大きい場合には、入金データテーブル11の上記レコードは当該顧客ID133についてのさらに一部の請求データに関する入金データである可能性があるので、次のS212に進んで当該顧客ID133についての請求金額134との比較を続ける。   If the total value of the billing amount 134 is larger than the transfer amount 114, the record in the deposit data table 11 may be deposit data related to a part of the billing data for the customer ID 133. Going forward, the comparison with the billing amount 134 for the customer ID 133 is continued.

<4−9.S212、S213>
次に、比較部26が、当該顧客ID133についての(未だ部分入金されていない請求データの)請求金額134と振込金額114とを、請求データテーブル13のレコードごとに(請求書単位で)比較する(S212)。
請求金額134が振込金額114に対して所定の一致条件を満たすようなレコードがある場合には、比較部26は、当該レコードに係るシーケンシャル番号131を、所定の記憶装置に一致データとして記憶させる(S213)。
<4-9. S212, S213>
Next, the comparison unit 26 compares the billing amount 134 (of billing data that has not yet been partially deposited) and the transfer amount 114 for the customer ID 133 for each record of the billing data table 13 (invoice units). (S212).
When there is a record in which the charged amount 134 satisfies a predetermined matching condition with respect to the transfer amount 114, the comparison unit 26 stores the sequential number 131 related to the record as matching data in a predetermined storage device ( S213).

<4−10.S214、S215>
次に、合計値算出部24が、当該顧客ID133について、案件情報135ごとの(未だ部分入金されていない請求データの)請求金額134の合計値を算出し、比較部26が、算出された案件情報135ごとの請求金額134の合計値と振込金額114とを比較する(S214)。
請求金額134の合計値が振込金額114に対して所定の一致条件を満たすような案件情報135がある場合には、比較部26は、当該案件情報135を記憶したレコードに係るシーケンシャル番号131の組を、所定の記憶装置に一致データとして記憶させる(S215)。
<4-10. S214, S215>
Next, the total value calculation unit 24 calculates the total value of the billing amount 134 (of the billing data that has not been partially deposited) for each item information 135 for the customer ID 133, and the comparison unit 26 calculates the calculated item. The total value of the charged amount 134 for each information 135 is compared with the transfer amount 114 (S214).
When there is case information 135 in which the total value of the billing amount 134 satisfies a predetermined matching condition with respect to the transfer amount 114, the comparison unit 26 sets the sequential number 131 related to the record storing the case information 135. Are stored as matching data in a predetermined storage device (S215).

例えば、請求データテーブル13の第6〜第8レコードに示されるように、顧客ID「B003」に対する請求金額の合計値は¥60,000、最小値は¥20,000、レコードごとの請求金額はそれぞれ¥20,000であり、いずれも、入金データテーブル11の第2レコードに係る振込金額「¥39,580」とは一致しないが、案件情報135として「Z」を記憶した第7及び第8レコードに係る請求金額の合計値は¥40,000であり、この¥40,000から振込手数料¥420を減算した値が振込金額「¥39,580」と一致する。従って、所定の一致条件を満たすものとして、案件情報135として「Z」を記憶したレコードに係るシーケンシャル番号「7、8」の組を一致データとして記憶させる。
以上で当該顧客ID133についての比較を終了し、S216に進む。
For example, as shown in the sixth to eighth records of the billing data table 13, the sum of the billing amount for the customer ID “B003” is ¥ 60,000, the minimum value is ¥ 20,000, and the billing amount for each record is ¥ 20,000. Yes, both are not the same as the transfer amount “¥ 39,580” related to the second record of the deposit data table 11, but the total value of the charged amounts related to the seventh and eighth records storing “Z” as the case information 135 Is ¥ 40,000, and the value obtained by subtracting the transfer fee ¥ 420 from this ¥ 40,000 matches the transfer amount “¥ 39,580”. Therefore, a set of sequential numbers “7, 8” related to the record in which “Z” is stored as the case information 135 is stored as matching data, assuming that a predetermined matching condition is satisfied.
This completes the comparison for the customer ID 133 and proceeds to S216.

<4−11.S216、S217>
S216においては、各顧客IDを識別する自然数iが最大値Iに達しているか否かを判定する。
自然数iが最大値Iに達している場合には、顧客データ抽出部22によって抽出されたすべての顧客ID122に対応する顧客ID133について請求金額134と振込金額114との比較が終了したことになるので、S218に進む。
自然数iが最大値Iに達していない場合には、次の顧客ID133について請求金額134と振込金額114とを比較するため、自然数iに1を加えて(S217)、上述のS202〜S216の処理を繰り返す。
<4-11. S216, S217>
In S216, it is determined whether or not the natural number i for identifying each customer ID has reached the maximum value I.
When the natural number i has reached the maximum value I, the comparison between the charge amount 134 and the transfer amount 114 is completed for the customer IDs 133 corresponding to all the customer IDs 122 extracted by the customer data extraction unit 22. The process proceeds to S218.
When the natural number i has not reached the maximum value I, the billing amount 134 and the transfer amount 114 are compared with the next customer ID 133, and 1 is added to the natural number i (S217), and the above-described processing of S202 to S216 is performed. repeat.

<4−12.S218>
S218において、比較部26は、上述のS205、S208、S211、S213、S215の処理において記憶された一致データを参照し、一致データの数を判定する。
一致データが1つであれば、入金データテーブル11の上記レコードに対して所定の一致条件を満たす請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S200の処理を終了する。
<4-12. S218>
In S218, the comparison unit 26 refers to the matching data stored in the above-described processing of S205, S208, S211, S213, and S215, and determines the number of matching data.
If there is only one matching data, one record (one set) of the billing data table 13 satisfying a predetermined matching condition with respect to the above record in the deposit data table 11 is specified. Exit.

<4−13.S219>
一致データが複数ある場合、又は、一致データがない場合には、比較部26は、結果の出力及び請求データの消込候補リストの出力をするよう出力部27を制御する(S219)。消込候補リストとしては、例えば、一致データが複数ある場合に、請求データテーブル13のうち当該一致データに該当する複数のレコードの組を出力する。
<4-13. S219>
If there is a plurality of matching data, or if there is no matching data, the comparison unit 26 controls the output unit 27 to output the result and the request data consumption candidate list (S219). As the application candidate list, for example, when there are a plurality of matching data, a set of a plurality of records corresponding to the matching data in the billing data table 13 is output.

オペレータが入力部28の操作によって消込候補リストの中の1つ(1組)を指定した場合には、請求データテーブル13のレコードが1つ(1組)に特定されたことになるので、S200の処理を終了する。   When the operator designates one (one set) in the application candidate list by operating the input unit 28, the record of the billing data table 13 is specified as one (one set). The process of S200 is terminated.

なお、上述の比較処理において、既に終了した比較処理と同一の請求金額を比較対象とする場合は、比較処理を省略しても良い。例えば、当該顧客について部分入金額137のデータを有するレコードがない場合には、S209及びS210の比較処理は、既に終了したS203及びS204の比較処理と同一の請求金額を比較対象とするので、省略しても良い。   In the comparison process described above, the comparison process may be omitted if the same billing amount as that of the already completed comparison process is used as a comparison target. For example, when there is no record having the data of the partial deposit amount 137 for the customer, the comparison processing in S209 and S210 is performed because the same billing amount as the comparison processing in S203 and S204 that has already been completed is compared. You may do it.

<5.上記実施形態による効果>
上記実施形態によれば、入金データの振込人名に該当する顧客が複数存在する場合でも(S5)、入金データテーブル11から抽出された振込金額114のデータと、各顧客IDについて請求データテーブル13から抽出された請求金額134のデータとを比較し(S202〜S216)、振込金額114のデータに対して所定の一致条件を満たす請求金額134のデータがない場合には他の顧客IDについて抽出された請求金額134のデータと比較することによって(S217)、顧客を特定できるので、入金データと請求データとの照合を効率的に行うことができる。
<5. Effect of the above embodiment>
According to the above embodiment, even when there are a plurality of customers corresponding to the transfer person name of the deposit data (S5), the transfer amount 114 data extracted from the deposit data table 11 and the billing data table 13 for each customer ID. The data of the billing amount 134 extracted is compared (S202 to S216), and when there is no data of the billing amount 134 that satisfies the predetermined matching condition with the data of the transfer amount 114, it is extracted for another customer ID. By comparing with the data of the billing amount 134 (S217), the customer can be specified, so that the payment data and the billing data can be efficiently verified.

また、上記実施形態によれば、合計値算出部24によって算出された合計値と振込金額114とを比較し(S204、S210)、合計値が振込金額114より小さい場合に、個別の請求金額134との比較をすることなく当該顧客IDについての比較を終了するので、比較処理を簡素化することができる。   In addition, according to the above embodiment, the total value calculated by the total value calculation unit 24 is compared with the transfer amount 114 (S204, S210). Since the comparison with respect to the customer ID is terminated without making a comparison with, the comparison process can be simplified.

また、上記実施形態によれば、最小値選出部25によって選出された最小値と振込金額114とを比較し(S207)、最小値が振込金額114より大きい場合に、個別の請求金額134との比較をすることなく当該顧客IDについての比較を終了するので、比較処理を簡素化することができる。   Further, according to the above embodiment, the minimum value selected by the minimum value selection unit 25 is compared with the transfer amount 114 (S207), and when the minimum value is greater than the transfer amount 114, Since the comparison for the customer ID is completed without making a comparison, the comparison process can be simplified.

また、上記実施形態によれば、振込人名に基づいた検索によって複数の顧客が該当した場合でも、振込元の金融機関コード、支店コード又は口座番号に基づいて顧客IDの絞り込みをすることができる(S6)。   Moreover, according to the said embodiment, even when a some customer corresponds by the search based on a transfer person name, customer ID can be narrowed down based on the financial institution code, branch code, or account number of the transfer origin ( S6).

また、上記実施形態によれば、振込元の金融機関コード、支店コード又は口座番号を顧客データテーブル12に記憶させるので(S10)、以後の絞り込みを容易にすることができる。   Further, according to the above embodiment, since the transfer source financial institution code, branch code or account number is stored in the customer data table 12 (S10), subsequent narrowing down can be facilitated.

1…データ照合装置、11…入金データテーブル、12…顧客データテーブル、13…請求データテーブル、21…入金データ抽出部、22…顧客データ抽出部、23…請求データ抽出部、24…合計値算出部、25…最小値選出部、26…比較部、27…出力部、28…入力部、111…シーケンシャル番号、112…入金日、113…振込人名(カナ)、114…振込金額、115…振込元口座番号、116…振込元金融機関コード、117…振込元支店コード、118…消込情報、121…シーケンシャル番号、122…顧客ID、123…振込人名(カナ)、125…振込元口座番号、126…振込元金融機関コード、127…振込元支店コード、131…シーケンシャル番号、132…請求日、133…顧客ID、134…請求金額、135…案件情報、136…消込情報、137…部分入金額 DESCRIPTION OF SYMBOLS 1 ... Data collation apparatus, 11 ... Deposit data table, 12 ... Customer data table, 13 ... Billing data table, 21 ... Deposit data extraction part, 22 ... Customer data extraction part, 23 ... Billing data extraction part, 24 ... Total value calculation , 25 ... Minimum value selection part, 26 ... Comparison part, 27 ... Output part, 28 ... Input part, 111 ... Sequential number, 112 ... Payment date, 113 ... Transfer person name (Kana), 114 ... Transfer amount, 115 ... Transfer Original account number, 116 ... Transfer source financial institution code, 117 ... Transfer source branch code, 118 ... Transfer information, 121 ... Sequential number, 122 ... Customer ID, 123 ... Transfer name (Kana), 125 ... Transfer source account number, 126: Transfer source financial institution code, 127: Transfer source branch code, 131 ... Sequential number, 132 ... Billing date, 133 ... Customer ID, 134 ... Billing , 135 ... case information, 136 ... clearing information, 137 ... part payment amount

Claims (5)

複数のレコードを有し、各レコードについて、振込人名のデータを記憶するためのフィールドと、振込金額のデータを記憶するためのフィールドと、を含む入金データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、振込人名のデータを記憶するためのフィールドと、を含む顧客データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、請求金額のデータを記憶するためのフィールドと、を含む請求データテーブルと、
を参照して、入金データと請求データとを照合する装置であって、
前記入金データテーブルに含まれる1つのレコードについて、振込人名のデータと振込金額のデータとを抽出する入金データ抽出手段と、
前記入金データテーブルから抽出された振込人名のデータを用いて前記顧客データテーブルを検索し、該当するレコードに記憶された顧客IDのデータを抽出する顧客データ抽出手段と、
前記顧客データテーブルから抽出された顧客IDのデータを用いて前記請求データテーブルを検索し、顧客IDについて、該当するレコードに記憶された請求金額のデータを抽出する請求データ抽出手段と、
前記請求データテーブルから抽出された請求金額のデータを用いて、顧客IDについて請求金額の最小値を選出する最小値選出手段と、
前記顧客データテーブルから前記顧客IDのデータが抽出された場合において、前記入金データテーブルから抽出された振込金額のデータと、前記顧客IDについて選出された請求金額の最小値と、を比較して、
前記請求金額の最小値が前記振込金額より小さい場合には、前記請求データテーブルから抽出された請求金額のデータを用いて、顧客IDについて請求金額の合計値を算出し、
前記入金データテーブルから抽出された振込金額と、顧客IDについて算出された請求金額の合計値とを比較し、一致する場合に、該当するレコードの消込処理を行う手段と、
を具備するデータ照合装置。
A deposit data table including a plurality of records, a field for storing the transfer person name data, and a field for storing the transfer amount data for each record;
A customer data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing transfer name data;
A billing data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing billing amount data;
, A device for verifying the deposit data and the billing data,
Payment data extraction means for extracting the transfer person name data and the transfer amount data for one record included in the payment data table;
A customer data extracting means for searching the customer data table using the transfer person name data extracted from the deposit data table, and extracting the data of the customer ID stored in the corresponding record;
A billing data extracting means for searching the billing data table using customer ID data extracted from the customer data table, and extracting billing amount data stored in a corresponding record for the customer ID;
Minimum value selecting means for selecting the minimum value of the billing amount for the customer ID using the billing amount data extracted from the billing data table;
When the data of the customer ID is extracted from the customer data table, the transfer amount data extracted from the deposit data table is compared with the minimum value of the billing amount selected for the customer ID,
When the minimum value of the charge amount is smaller than the transfer amount, the charge amount data extracted from the charge data table is used to calculate the total value of the charge amount for the customer ID ,
A means for comparing the transfer amount extracted from the deposit data table with the total amount of the billing amount calculated for the customer ID, and performing a corresponding record application process if they match,
A data collating apparatus comprising:
請求項1において、
前記消込処理を行う手段において、前記請求金額の合計値が前記振込金額より大きい場合には、前記合計値算出手段が、当該顧客IDについて、案件情報ごとの請求金額の合計値を算出し、算出された案件情報ごとの請求金額の合計値と前記振込金額とを比較し、前記案件情報ごとの請求金額の合計値が前記振込金額に対して一致するような案件情報がある場合に、当該一致する案件情報のレコードの消込処理を行う、データ照合装置。
In claim 1,
In the means for performing the application process, when the total value of the charged amount is larger than the transfer amount, the total value calculating unit calculates the total value of the charged amount for each item information for the customer ID, When the total value of the calculated billing amount for each item information is compared with the transfer amount, and there is item information such that the total value of the charged amount for each item information matches the transfer amount, A data verification device that performs the process of clearing records of matching item information.
複数のレコードを有し、各レコードについて、振込人名のデータを記憶するためのフィールドと、振込金額のデータを記憶するためのフィールドと、を含む入金データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、振込人名のデータを記憶するためのフィールドと、を含む顧客データテーブルと、
複数のレコードを有し、各レコードについて、顧客IDのデータを記憶するためのフィールドと、請求金額のデータを記憶するためのフィールドと、を含む請求データテーブルと、
を参照して、入金データと請求データとを照合する装置であって、
前記入金データテーブルに含まれる1つのレコードについて、振込人名のデータと振込金額のデータとを抽出する入金データ抽出手段と、
前記入金データテーブルから抽出された振込人名のデータを用いて前記顧客データテーブルを検索し、該当するレコードに記憶された顧客IDのデータを抽出する顧客データ抽出手段と、
前記顧客データテーブルから抽出された顧客IDのデータを用いて前記請求データテーブルを検索し、顧客IDについて、該当するレコードに記憶された請求金額のデータを抽出する請求データ抽出手段と、
前記請求データテーブルから抽出された請求金額のデータを用いて、顧客IDについて請求金額の最小値を選出する最小値選出手段と、
前記顧客データテーブルから前記顧客IDのデータが抽出された場合において、前記入金データテーブルから抽出された振込金額のデータと、前記顧客IDについて選出された請求金額の最小値と、を比較して、
前記請求金額の最小値が前記振込金額より小さい場合には、前記請求データテーブルから抽出された請求金額のデータを用いて、顧客IDについて案件情報ごとの請求金額の合計値を算出し、
前記入金データテーブルから抽出された振込金額と、顧客IDについて算出された案件情報ごとの請求金額の合計値とを比較し、一致する場合に、該当する案件情報のレコードの消込処理を行う手段と、
を具備するデータ照合装置。
A deposit data table including a plurality of records, a field for storing the transfer person name data, and a field for storing the transfer amount data for each record;
A customer data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing transfer name data;
A billing data table having a plurality of records, each field including a field for storing customer ID data, and a field for storing billing amount data;
, A device for verifying the deposit data and the billing data,
Payment data extraction means for extracting the transfer person name data and the transfer amount data for one record included in the payment data table;
A customer data extracting means for searching the customer data table using the transfer person name data extracted from the deposit data table, and extracting the data of the customer ID stored in the corresponding record;
A billing data extracting means for searching the billing data table using customer ID data extracted from the customer data table, and extracting billing amount data stored in a corresponding record for the customer ID;
Minimum value selecting means for selecting the minimum value of the billing amount for the customer ID using the billing amount data extracted from the billing data table;
When the data of the customer ID is extracted from the customer data table, the transfer amount data extracted from the deposit data table is compared with the minimum value of the billing amount selected for the customer ID,
When the minimum value of the charge amount is smaller than the transfer amount, the charge amount data extracted from the charge data table is used to calculate the total value of the charge amount for each item information for the customer ID ,
Means for comparing the transfer amount extracted from the deposit data table and the total amount of the charge amount for each item information calculated for the customer ID, and performing a process of clearing the record of the corresponding item information if they match When,
A data collating apparatus comprising:
請求項1乃至3のいずれか一項において、
前記請求データ抽出手段では、前記顧客IDについて、該当するレコードに関し、部分入金額が記憶されているレコードについては、請求金額と部分入金額との差額を、請求金額のデータとして抽出する、データ照合装置。
In any one of Claims 1 thru | or 3,
In the billing data extraction means, with respect to the corresponding record for the customer ID, for the record in which the partial deposit amount is stored, the difference between the billing amount and the partial deposit amount is extracted as billing amount data. apparatus.
請求項1乃至4のいずれか一項において、
前記消込処理を行う手段における前記一致する場合には、前記請求金額から振込手数料を減算した値が前記振込金額と一致する場合を含む、データ照合装置。
In any one of Claims 1 thru | or 4,
The data collating apparatus, including a case where a value obtained by subtracting a transfer fee from the billing amount matches the transfer amount when the means for performing the application process matches.
JP2014209882A 2014-10-14 2014-10-14 Data collation apparatus, data collation method and program Active JP5890882B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014209882A JP5890882B2 (en) 2014-10-14 2014-10-14 Data collation apparatus, data collation method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014209882A JP5890882B2 (en) 2014-10-14 2014-10-14 Data collation apparatus, data collation method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014186218A Division JP5805837B2 (en) 2014-09-12 2014-09-12 Data collation apparatus, data collation method and program

Publications (2)

Publication Number Publication Date
JP2015008019A JP2015008019A (en) 2015-01-15
JP5890882B2 true JP5890882B2 (en) 2016-03-22

Family

ID=52338186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014209882A Active JP5890882B2 (en) 2014-10-14 2014-10-14 Data collation apparatus, data collation method and program

Country Status (1)

Country Link
JP (1) JP5890882B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7104528B2 (en) * 2018-03-06 2022-07-21 株式会社オービック Aggregate data creation device, aggregate data creation method and aggregate data creation program
WO2021224971A1 (en) * 2020-05-07 2021-11-11 ファーストアカウンティング株式会社 Billing information management device, billing information management method, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3026964B1 (en) * 1998-11-10 2000-03-27 バルコン株式会社 Slip data processing device and its processing method
US7805365B1 (en) * 1999-10-25 2010-09-28 Jpmorgan Chase Bank, N.A. Automated statement presentation, adjustment and payment system and method therefor
JP4597765B2 (en) * 2005-05-17 2010-12-15 エスアーペー アーゲー Claim clearing device, claim clearing method, and claim clearing program
JP4455544B2 (en) * 2006-06-30 2010-04-21 みずほ情報総研株式会社 Billing management system, billing management method, and billing management program
JP2006352911A (en) * 2006-08-18 2006-12-28 Sony Corp Encoding apparatus and method, and decoding apparatus and method

Also Published As

Publication number Publication date
JP2015008019A (en) 2015-01-15

Similar Documents

Publication Publication Date Title
JP5614981B2 (en) Data collation apparatus, data collation method and program
US20080312992A1 (en) Automatic business process creation method using past business process resources and existing business process
US20100114774A1 (en) Chargeback decisioning system
US20170109430A1 (en) Systems and methods for self-pairing databases
JP2006073031A5 (en)
CN104636338B (en) A kind of data cleansing storage method for the monitoring of value-added tax negative and positive ticket
Di Angelo et al. Wallet contracts on Ethereum
CN113822660B (en) Data processing method, device, electronic equipment and medium
CN110033348A (en) Storage, checking method and the device of business datum
CN102208061A (en) Data cancel after verification processing device and method
CN112184025A (en) Intelligent money distribution method and device for foreign currency reservation
JP5890882B2 (en) Data collation apparatus, data collation method and program
CN110111131A (en) The determination method and device of false visitor&#39;s standing breath
US7272588B2 (en) Systems, methods, and computer-readable media for generating service order count metrics
JP5805837B2 (en) Data collation apparatus, data collation method and program
CN114358751A (en) Method and device for processing automatic verification and sale due to receipt and due and computer readable storage medium
KR102234130B1 (en) An apparatus and method for managing transaction information providing automatic matching between accounts receivables and deposit information
CN118485530A (en) Data association method, device, electronic equipment and storage medium
JP3721315B2 (en) Name identification system, name identification method, storage medium storing a program for causing a computer to perform processing in the system, and information coincidence determination device
JP5628133B2 (en) Name identification apparatus and name identification method
CN115330370A (en) Bill management method, device, equipment and storage medium
KR102303692B1 (en) System and method for selecting proposal data and making proposal based on debriefing system
CN112102098B (en) Data processing methods, devices, electronic equipment and storage media
KR20200140764A (en) Apparatus and method for building a pattern database for accounting
JP4350721B2 (en) Deposit management method, deposit management system and deposit management program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141014

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141014

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151001

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160219

R150 Certificate of patent or registration of utility model

Ref document number: 5890882

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250