JP7482458B2 - Data structure for travel business and accounting processing system using same - Google Patents

Data structure for travel business and accounting processing system using same Download PDF

Info

Publication number
JP7482458B2
JP7482458B2 JP2022063447A JP2022063447A JP7482458B2 JP 7482458 B2 JP7482458 B2 JP 7482458B2 JP 2022063447 A JP2022063447 A JP 2022063447A JP 2022063447 A JP2022063447 A JP 2022063447A JP 7482458 B2 JP7482458 B2 JP 7482458B2
Authority
JP
Japan
Prior art keywords
allocation
deposit
sales
data
purchase
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
JP2022063447A
Other languages
Japanese (ja)
Other versions
JP2023154245A (en
Inventor
慎一郎 山崎
昌典 銭谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AGENDA Co., Ltd.
Original Assignee
AGENDA 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 AGENDA Co., Ltd. filed Critical AGENDA Co., Ltd.
Priority to JP2022063447A priority Critical patent/JP7482458B2/en
Publication of JP2023154245A publication Critical patent/JP2023154245A/en
Application granted granted Critical
Publication of JP7482458B2 publication Critical patent/JP7482458B2/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 structure for travel business and an accounting processing system using the same.

従来、旅行業務用の様々な会計処理システムが提案されている。特許文献1に記載のシステムはその一例である。特許文献1では、旅行に関する予約内容等を示す予約カード(旅行商品ファイル)が作成される(特許文献1の図7)。予約カードには複数の販売商品に係る売上及び仕入の情報が含まれている。かかる予約カードに基づいて、売上及び仕入の基準日(例えば、旅行の出発日)以降のタイミングで売上、仕入、入金及び支払に関する仕訳が実行される。ここで、特許文献1に記載された例では、顧客からの入金が前受金として取り扱われ、仕入先への支払が前払金として取り扱われている(同文献の図8)。そして、予約カード中の売上の合計額(総売上額)が前受金の合計額(総前受金額)を上回っている場合には未収としてその差額が自動計上される(同文献の図5)。また、予約カード中の仕入の合計額(総仕入額)が前払金の合計額(総前払金額)を上回っている場合にはその差額が未払として自動計上される(同文献の図5)。 Various accounting systems for travel business have been proposed in the past. The system described in Patent Document 1 is one example. In Patent Document 1, a reservation card (travel product file) showing the reservation details for a trip is created (Figure 7 of Patent Document 1). The reservation card contains sales and purchase information for multiple sales products. Based on this reservation card, accounting for sales, purchases, deposits, and payments is performed at a timing after the sales and purchase reference date (for example, the departure date of the trip). Here, in the example described in Patent Document 1, deposits from customers are treated as advance payments, and payments to suppliers are treated as advance payments (Figure 8 of the same document). If the total amount of sales (total sales amount) in the reservation card exceeds the total amount of advance payments (total advance amount), the difference is automatically recorded as unpaid (Figure 5 of the same document). If the total amount of purchases (total purchase amount) in the reservation card exceeds the total amount of advance payments (total advance amount), the difference is automatically recorded as unpaid (Figure 5 of the same document).

特開2003-016155号公報JP 2003-016155 A

特許文献1のシステムによると、予約カードに対して入金及び支払が対応付けられ、旅行の出発日等、売上及び仕入の基準日が到来してはじめて未収や未払が予約カード単位で計上される。このため、売上や仕入に対する入金や支払への対応付けとこれによる評価(未収額や未払額の把握等)が売上や仕入の基準日まで行えず、また、予約カード単位でしか把握できない。 According to the system in Patent Document 1, deposits and payments are associated with reservation cards, and unpaid and unpaid amounts are recorded on a reservation card basis only when the reference date for sales and purchases, such as the departure date of a trip, arrives. For this reason, matching of deposits and payments with sales and purchases and evaluation based on this (understanding of unpaid and unpaid amounts, etc.) cannot be performed until the reference date for sales and purchases, and can only be understood on a reservation card basis.

本発明の目的は、売上や仕入の基準日前であってもその売上や仕入に対する入金や支払の対応付け及び評価を詳細に行いやすい旅行業務用のデータ構造及びこれを用いた会計処理システムを提供することにある。 The object of the present invention is to provide a data structure for travel business that makes it easy to perform detailed matching and evaluation of deposits and payments for sales and purchases even before the reference date for those sales and purchases, and an accounting processing system using the same.

本発明に係る旅行業務用のデータ構造は、売上、仕入、入金及び支払の情報を含んだ会計情報に係る旅行業務用のデータ構造であって、1つの仕入先に対する1つの予約である単位予約ごと又はそれより詳細な単位ごとの売上である単位売上を示す売上データと、前記単位売上と一対一に対応する、前記単位予約ごと又はそれより詳細な単位ごとの仕入である単位仕入を示す仕入データと、入金を示す入金データと、支払を示す支払データと、前記入金データが示す入金を前記売上データが示す売上に対して前記単位売上ごとに振り分ける入金振分を示す入金振分データと、前記支払データが示す支払を前記仕入データが示す仕入に対して前記単位仕入ごとに振り分ける支払振分を示す支払振分データと、前記単位売上、前記単位仕入、入金、支払、前記入金振分及び前記支払振分のそれぞれの基準日を示す基準日データとを含んでおり、前記基準日データにおいて、前記入金振分及び前記支払振分の少なくともいずれかの基準日が、振分先である前記単位売上又は前記単位仕入の基準日に対して過去に設定可能である。 The data structure for travel business according to the present invention is a data structure for travel business related to accounting information including information on sales, purchases, deposits, and payments, and includes sales data indicating unit sales, which are sales for each unit reservation, which is one reservation for one supplier, or for each unit that is more detailed than that, purchase data indicating unit purchases, which correspond one-to-one with the unit sales, which are purchases for each unit reservation or for each unit that is more detailed than that, deposit data indicating deposits, payment data indicating payments, deposit allocation data indicating deposit allocations that allocate the deposits indicated by the deposit data to the sales indicated by the sales data for each unit sales, payment allocation data indicating payment allocations that allocate the payments indicated by the payment data to the purchases indicated by the purchase data for each unit purchase, and reference date data indicating the reference dates for the unit sales, the unit purchases, deposits, payments, the deposit allocations, and the payment allocations, and in the reference date data, at least one of the reference dates for the deposit allocations and the payment allocations can be set in the past with respect to the reference date of the unit sales or the unit purchases to which they are allocated.

本発明のデータ構造によると、単位予約又はそれより詳細な単位ごとの単位売上/単位仕入に入金/支払を紐づける入金振分/支払振分がある。そして、入金振分及び支払振分の基準日の少なくともいずれかがその振分先である単位売上又は単位仕入の基準日より過去に設定することが可能である。つまり、売上や仕入の基準日に対する入金や支払のタイミングに関わらず、売上や仕入の基準日より過去の基準日を設定しつつ入金/支払を単位売上/単位仕入に振り分けることが可能である。このため、売上や仕入の基準日に先行したタイミングで、売上/仕入に対する入金/支払の対応付け及び評価(例えば、未収額や未払額の把握)が可能になる。また、入金/仕入の振分が単位売上/単位仕入のそれぞれに対して行われるため、詳細な対応付け及び評価が可能になる。なお、本発明において、「振り分け」又は「振分」とは、入金の一部又は全部を単位売上に対応付けること、又は、支払の一部又は全部を単位仕入に対応付けることをいう。 According to the data structure of the present invention, there is a deposit allocation/payment allocation that links deposits/payments to unit sales/unit purchases for each unit reservation or more detailed units. At least one of the base dates for deposit allocation and payment allocation can be set to a date earlier than the base date of the unit sales or unit purchase to which it is allocated. In other words, regardless of the timing of deposits or payments relative to the base dates of sales or purchases, deposits/payments can be allocated to unit sales/unit purchases while setting a base date earlier than the base date of sales or purchases. This makes it possible to match and evaluate deposits/payments with sales/purchases (for example, grasp unpaid amounts and unpaid amounts) at a timing preceding the base date of sales or purchases. In addition, since the allocation of deposits/purchases is performed for each unit sales/unit purchases, detailed matching and evaluation are possible. In the present invention, "allocation" or "allocation" refers to matching part or all of a deposit to unit sales, or matching part or all of a payment to unit purchases.

また、本発明に係る会計処理システムは、上記データ構造を有する出納データと、前記単位売上、前記単位仕入、入金、支払、前記入金振分及び前記支払振分のそれぞれについて、貸方勘定科目と借方勘定科目を示すデータとを記憶する記憶手段と、前記記憶手段における記憶内容に基づいて、前記単位売上、前記単位仕入、入金、支払、前記入金振分及び前記支払振分のそれぞれについて仕訳伝票を生成する仕訳処理を実行する仕訳処理手段とを備えており、前記仕訳処理手段が、前記入金振分及び前記支払振分のそれぞれについて、振分先である前記単位売上又は前記単位仕入の基準日に対して過去のタイミングで前記仕訳処理を実行可能に構成されている。 The accounting processing system according to the present invention is equipped with a storage means for storing receipt and disbursement data having the above data structure, data indicating credit account items and debit account items for each of the unit sales, the unit purchases, the deposits, the payments, the deposit allocation, and the payment allocation, and a journal processing means for executing journal processing to generate journal entry vouchers for each of the unit sales, the unit purchases, the deposits, the payments, the deposit allocation, and the payment allocation based on the contents stored in the storage means, and the journal processing means is configured to be able to execute the journal processing for each of the deposit allocation and the payment allocation at a timing in the past with respect to the base date of the unit sales or the unit purchase to which the allocation is made.

本発明の会計処理システムによると、単位売上又は単位仕入に先行して入金又は仕入があった場合に、単位売上又は単位仕入の基準日より前のタイミングであっても、その入金又は仕入に係る入金振分又は支払振分について仕訳処理を実行可能である。したがって、入金及び支払並びにその振分に関する締め処理が早期に可能となる。 According to the accounting processing system of the present invention, if a deposit or purchase occurs prior to unit sales or unit purchase, accounting processing can be performed for the deposit allocation or payment allocation related to that deposit or purchase, even if it is before the base date of the unit sales or unit purchase. Therefore, closing processing for deposits and payments and their allocation can be performed early.

また、本発明においては、前記仕訳処理手段が、1又は複数の連続する仕訳日のそれぞれに関して、前記出納データが示す前記単位売上、前記単位仕入、入金、支払、前記入金振分及び前記支払振分のうち、前記基準日データが示す前記基準日が前記仕訳日に該当するものについて前記仕訳処理を実行可能であり、前記入金振分の仕訳として、借方が前記入金の仕訳伝票における貸方勘定科目であり貸方が第1勘定科目である第1の前記仕訳処理を実行し、前記入金振分の振分先である前記単位売上が前記仕訳処理を実行済みである場合に、借方が前記第1勘定科目であり貸方が前記単位売上の仕訳伝票における借方勘定科目である第2の前記仕訳処理をさらに実行し、前記支払振分の仕訳として、借方が前記支払の仕訳伝票における貸方勘定科目であり貸方が第2勘定科目である第3の前記仕訳処理を実行し、前記支払振分の振分先である前記単位仕入が前記仕訳処理を実行済みである場合に、借方が前記第1勘定科目であり貸方が前記単位仕入の仕訳伝票における借方勘定科目である第4の前記仕訳処理をさらに実行することが好ましい。これによると、入金振分の仕訳処理において、その入金振分の振分先の単位売上が仕訳されているか否かに関わらず第1の仕訳処理が一旦なされる。そして、単位売上の仕訳処理が実行済みであると判定した場合に第2の仕訳処理を行い、これによって入金と売上を結びつける仕訳伝票を生成する。また、支払振分の仕訳処理において、その支払振分の振分先の単位仕入が仕訳されているか否かに関わらず第3の仕訳処理が一旦なされる。そして、単位仕入の仕訳処理が実行済みであると判定した場合に第4の仕訳処理を行い、これによって支払と仕入を結びつける仕訳伝票を出力する。したがって、振分先が仕訳済みか否かに関わらず仕訳を実行可能であるため、入金及び支払並びにその振分に関する締め処理が早期に可能となる。 In addition, in the present invention, the journal processing means is capable of executing the journal processing for the unit sales, unit purchases, deposits, payments, deposit allocations, and payment allocations indicated by the receipt and disbursement data for each of one or more consecutive journalization dates, for which the reference date indicated by the reference date data corresponds to the journalization date, and executes the first journal processing in which the debit is the credit account item in the journal entry slip for the deposit and the credit is the first account item, and executes the journal processing for the unit sales to which the deposit allocation is assigned. It is preferable to further execute the second journal entry processing in which the debit is the first account item and the credit is the debit account item in the journal entry voucher of the unit sales when the journal entry processing has been performed, and execute the third journal entry processing in which the debit is the credit account item in the journal entry voucher of the payment when the journal entry processing has been performed for the unit purchase to which the payment is to be assigned, and further execute the fourth journal entry processing in which the debit is the first account item and the credit is the debit account item in the journal entry voucher of the unit purchase when the journal entry processing has been performed for the unit purchase to which the payment is to be assigned. According to this, in the journal entry processing for the deposit allocation, the first journal entry processing is performed once regardless of whether the unit sales to which the deposit allocation is assigned have been assigned have been assigned. Then, when it is determined that the journal entry processing for the unit sales has been performed, the second journal entry processing is performed, thereby generating a journal entry voucher that links the deposit and the sales. Also, in the journal entry processing for the payment allocation, the third journal entry processing is performed once regardless of whether the unit purchase to which the payment allocation is assigned has been assigned have been assigned. Then, if it is determined that the unit purchase journalization process has been completed, the fourth journalization process is performed, and a journalization voucher linking the payment and the purchase is output. Therefore, because journalization can be performed regardless of whether the allocation destination has already been journalized, closing processes for deposits and payments and their allocation can be completed quickly.

また、本発明においては、前記単位売上及び前記入金振分からなる第1組、前記単位仕入及び前記支払振分からなる第2組、前記入金及び前記入金振分からなる第3組、並びに、前記支払及び前記支振分からなる第4組の少なくともいずれかの組において、その組を構成する要素から生成された仕訳伝票に含まれる貸方の金額と借方の金額とを勘定科目ごとに合算した結果と、前記出納データが示す未収額、未払額及び未振分額のうち対応するものとを比較することで前記仕訳処理の結果を評価することが好ましい。これによると、互いに関連する2つの会計情報の組み合わせからなる第1組~第4組のそれぞれにおいて、各組を構成する要素から生成された貸方の金額と借方の金額とを勘定科目ごとに合算した場合に、その合算結果が元の会計情報から得られる未収額、未払額又は未振分額と対応しているという仕訳上の関係に基づき、仕訳処理を評価することが可能である。 In addition, in the present invention, it is preferable to evaluate the result of the journal processing by comparing the result of adding up the credit amount and the debit amount included in the journal entry voucher generated from the elements constituting at least one of the first group consisting of the unit sales and the deposit allocation, the second group consisting of the unit purchase and the payment allocation, the third group consisting of the deposit and the deposit allocation, and the fourth group consisting of the payment and the payment allocation, for each account item, with the corresponding unpaid amount, unpaid amount, and unallocated amount indicated by the receipt and disbursement data. According to this, in each of the first to fourth groups consisting of a combination of two accounting information related to each other, when the credit amount and the debit amount generated from the elements constituting each group are added up for each account item, the journal processing can be evaluated based on the journal relationship that the sum corresponds to the unpaid amount, unpaid amount, or unallocated amount obtained from the original accounting information.

また、本発明においては、前記第1及び第2の仕訳処理の両方が実行済みである前記入金振分から生成された仕訳伝票に含まれる貸方の金額と借方の金額とを前記第1勘定科目について合算すると貸方及び借方間で金額が一致するか否かに基づいて前記仕訳処理の結果を評価すると共に、前記第3及び第4の仕訳処理の両方が実行済みである前記支払振分から生成された仕訳伝票に含まれる貸方の金額と借方の金額とを前記第2勘定科目について合計すると貸方及び借方間で金額が一致するか否かに基づいて前記仕訳処理の結果を評価することが好ましい。これによると、第1及び第2の仕訳処理の両方が実行済みである入金振分に関しては、これから生成された仕訳伝票に含まれる貸方の金額と借方の金額とを第1勘定科目について合計すると貸方及び借方間で金額が一致するという仕訳上の関係に基づき、仕訳処理を評価することが可能である。また、第3及び第4の仕訳処理の両方が実行済みである支払振分に関しては、これから生成された仕訳伝票に含まれる貸方の金額と借方の金額とを第2勘定科目について合計すると貸方及び借方間で金額が一致するという仕訳上の関係に基づき、仕訳処理を評価することが可能である。 In addition, in the present invention, it is preferable to evaluate the result of the journal entry processing based on whether the debit and credit amounts included in the journal entry voucher generated from the deposit allocation for which both the first and second journal entry processing have been executed match for the first account item when the amounts match, and to evaluate the result of the journal entry processing based on whether the debit and credit amounts included in the journal entry voucher generated from the payment allocation for which both the third and fourth journal entry processing have been executed match for the second account item when the amounts match. According to this, for a deposit allocation for which both the first and second journal entry processing have been executed, it is possible to evaluate the journal entry processing based on the journal entry relationship that the debit and credit amounts included in the journal entry voucher generated from this match for the first account item when the amounts match. Furthermore, for payment allocations for which both the third and fourth journal entry processes have already been executed, it is possible to evaluate the journal entry processes based on the journal entry relationship in which the debit and credit amounts included in the journal entry voucher generated from this match when added together for the second account item.

本発明の一実施形態に係る会計処理システムの構成を示すブロック図である。1 is a block diagram showing a configuration of an accounting processing system according to an embodiment of the present invention. 図1のシステムが有するサーバの構成を示す概略図である。2 is a schematic diagram showing a configuration of a server included in the system of FIG. 1 . 図3(a)は、図1のシステムにおいて使用される出納データの一例を示す図である。図3(b)は、図1のシステムにおいて使用される出納データの別の一例を示す図である。Fig. 3(a) is a diagram showing an example of receipt and disbursement data used in the system of Fig. 1. Fig. 3(b) is a diagram showing another example of receipt and disbursement data used in the system of Fig. 1. 図1の会計処理システムにおいて、予約内容等を入力及び表示する画面である。2 is a screen for inputting and displaying reservation details, etc. in the accounting processing system of FIG. 1 . 図4の「請求」が選択されると表示される画面である。This is the screen that is displayed when "Billing" is selected in FIG. 図4の「入金」が選択されると表示される画面である。This is the screen that is displayed when "Deposit" in FIG. 4 is selected. 図1に係るシステムにおける支払消込画面である。2 is a payment reconciliation screen in the system of FIG. 1 . 図4の「売仕」が選択されると表示される画面である。This is the screen that is displayed when "Sell" is selected in FIG. 図6において、「返金/振替依頼」が選択されると表示される画面である。This is the screen that is displayed when "refund/transfer request" is selected in FIG. 図9に係る処理が進んだ場合に図9の画面の一部として表示される画像である。This is an image that is displayed as part of the screen in FIG. 9 when the processing related to FIG. 9 has progressed. 図2のサーバが実行する仕訳処理における売上等の仕訳の内容を示す表である。3 is a table showing the contents of journal entries such as sales in the journal entry process executed by the server of FIG. 2 . 図2のサーバが実行する仕訳処理における入金等の仕訳の内容を示す表である。3 is a table showing the contents of accounting for deposits, etc., in the accounting process executed by the server of FIG. 2 . 図2のサーバが実行する仕訳処理における入金振分等の仕訳の内容を示す表である。3 is a table showing the contents of accounting such as deposit allocation in the accounting process executed by the server of FIG. 2 . 図2のサーバが実行する仕訳処理における売上及び仕入関連の仕訳処理のメインルーチンに係るフロー図である。3 is a flow diagram showing a main routine of accounting processing related to sales and purchases in the accounting processing executed by the server of FIG. 2. 図14のメインルーチンから呼び出される売上・仕入仕訳サブルーチンに係るフロー図である。15 is a flow diagram of a sales and purchase journalizing subroutine called from the main routine of FIG. 14. 図14のメインルーチンから呼び出される仕入調整仕訳サブルーチンに係るフロー図である。15 is a flow diagram of a purchase adjustment journal entry subroutine called from the main routine of FIG. 14. 図2のサーバが実行する仕訳処理における入出金及び振分関連の仕訳処理のメインルーチンに係るフロー図である。3 is a flow diagram showing a main routine of the accounting process related to deposits/withdrawals and allocation in the accounting process executed by the server of FIG. 2. 図17のメインルーチンから呼び出される入出金仕訳サブルーチンに係るフロー図である。FIG. 18 is a flow chart relating to a deposit/withdrawal journalizing subroutine called from the main routine of FIG. 17. 図17のメインルーチンから呼び出される振分仕訳サブルーチンに係るフロー図である。18 is a flow diagram of an allocation journalizing subroutine called from the main routine of FIG. 17. 図17のメインルーチンから呼び出される振分逆仕訳サブルーチンに係るフロー図である。18 is a flow diagram of an allocation reversal subroutine called from the main routine of FIG. 17. 図15の売上・仕入仕訳サブルーチン又は図19の振分仕訳サブルーチンから呼び出される追加仕訳サブルーチンに係るフロー図である。20 is a flow diagram relating to an additional journalizing subroutine called from the sales/purchase journalizing subroutine of FIG. 15 or the allocation journalizing subroutine of FIG. 19. 図2のサーバが実行する仕訳処理によって生成された仕訳結果を示す図である。3 is a diagram showing a journalization result generated by the journalization process executed by the server of FIG. 2. 図2のサーバが実行する仕訳結果の評価処理の一例を説明するための図である。図23(a)は、売上と入金振分の一例を示す模式図である。図23(b)は、図23(a)の売上及び入金振分に関してサーバが実行した仕訳処理の結果を示す表である。図23(c)は、図23(a)の仕訳結果に対してサーバが行った評価処理における合算結果を示す表である。Fig. 23 is a diagram for explaining an example of evaluation processing of the journalization results executed by the server in Fig. 2. Fig. 23(a) is a schematic diagram showing an example of sales and deposit allocation. Fig. 23(b) is a table showing the results of the journalization processing executed by the server for the sales and deposit allocation in Fig. 23(a). Fig. 23(c) is a table showing the summation results in the evaluation processing executed by the server for the journalization results in Fig. 23(a). 図2のサーバが実行する仕訳結果の評価処理の別の一例を説明するための図である。図24(a)は、入金と入金振分の一例を示す模式図である。図24(b)は、図24(a)の入金及び入金振分に関してサーバが実行した仕訳処理の結果を示す表である。図24(c)は、図24(a)の仕訳結果に対してサーバが行った評価処理における合算結果を示す表である。FIG. 24 is a diagram for explaining another example of the evaluation process of the journalization results executed by the server in FIG. 2. FIG. 24(a) is a schematic diagram showing an example of deposits and deposit allocations. FIG. 24(b) is a table showing the results of the journalization process executed by the server for the deposits and deposit allocations in FIG. 24(a). FIG. 24(c) is a table showing the summation results in the evaluation process executed by the server for the journalization results in FIG. 24(a).

<システム概要>
本発明の一実施形態に係る会計処理システム1について図1~図24を参照しつつ説明する。会計処理システム1は、旅行業務に含まれる会計業務を処理するためのシステムである。以下、その詳細について説明する。
<System Overview>
An accounting processing system 1 according to an embodiment of the present invention will be described with reference to Figures 1 to 24. The accounting processing system 1 is a system for processing accounting tasks included in travel services. The details will be described below.

図1に示すように、会計処理システム1は、複数の端末100及びサーバ200を備えている。端末100及びサーバ200間は、インターネットNを通じたデータ通信が行われる。端末100及びサーバ200同士の通信には、HTTP(Hyper Text Transfer Protocol)等のインターネット用の通信プロトコルが使用される。端末100及びサーバ200のいずれも、コンピュータ等のハードウェアと、メモリデバイスに格納されたプログラムデータ等のソフトウェアとによって構築されている。これらのソフトウェアはインターネットによるダウンロード又は各種の記録媒体により配布可能である。コンピュータは、CPU(Central Processing Unit)、ROM(Read-Only Memory)及びRAM(Random Access Memory)等のメモリ、ハードディスクドライブ、並びに、入出力インタフェース等の各種インタフェースのハードウェアを含んでいる。端末100及びサーバ200のそれぞれにおいて、ハードウェアがソフトウェアに従って以下の通信処理等の処理を実行する。後述のブラウザ130はかかるソフトウェアの1つである。 As shown in FIG. 1, the accounting system 1 includes a plurality of terminals 100 and a server 200. Data communication is performed between the terminals 100 and the server 200 via the Internet N. Communication between the terminals 100 and the server 200 uses an Internet communication protocol such as HTTP (Hyper Text Transfer Protocol). Both the terminals 100 and the server 200 are constructed with hardware such as a computer and software such as program data stored in a memory device. This software can be distributed by downloading via the Internet or by various recording media. The computer includes hardware such as a CPU (Central Processing Unit), memories such as ROM (Read-Only Memory) and RAM (Random Access Memory), a hard disk drive, and various interfaces such as an input/output interface. In each of the terminals 100 and the server 200, the hardware executes the following communication processing and other processes according to the software. The browser 130 described below is one such piece of software.

図2に示すように、サーバ200は、記憶部210(本発明でいう記憶手段)、データ管理部220、仕訳処理部230及び仕訳評価部240を有する。記憶部210は、端末100から送信された旅行に関する予約内容を示す情報、この予約内容に関連した会計情報等を記憶する。予約内容には、手配旅行、企画旅行、及び受託旅行等の旅行の種類が含まれる。手配旅行は、旅行者の希望する旅行先、スケジュール等の旅行内容に応じて航空券、宿泊、鉄道等の予約を仕入先に対して行うことが必要な旅行である。企画旅行は、旅行先やスケジュール等があらかじめ設定され、航空券、宿泊、鉄道等の予約もあらかじめセットとなった旅行である。受託旅行は、他社の商品に関する旅行である。予約内容は、旅行ごとの情報の集合からなる予約カードの単位にまとめられつつ、予約データ420として記憶部210に記憶される。予約カードは、旅行の申し込みを受けてから旅行が完了するまでの一連の業務を管理するための情報の単位であり、カルテとも呼ばれる。各予約カードには、1つの仕入先に対する1つの予約である単位予約が複数含まれている。単位予約は、予約業務の担当者が仕入先に対して1回の予約行為を行うことに対応する。この単位予約に対しては、仕入先によって1つの予約番号が割り当てられる。 As shown in FIG. 2, the server 200 has a memory unit 210 (a memory means in the present invention), a data management unit 220, an accounting processing unit 230, and an accounting evaluation unit 240. The memory unit 210 stores information indicating the reservation contents for the trip transmitted from the terminal 100, accounting information related to the reservation contents, etc. The reservation contents include the types of trips such as arranged trips, packaged trips, and commissioned trips. Arranged trips are trips that require reservations of air tickets, accommodation, trains, etc. to be made with a supplier according to the travel contents such as the travel destination and schedule desired by the traveler. Packaged trips are trips in which the travel destination and schedule are set in advance, and reservations of air tickets, accommodation, trains, etc. are also set in advance. Commissioned trips are trips related to products of other companies. The reservation contents are stored in the memory unit 210 as reservation data 420 while being organized into units of reservation cards consisting of a collection of information for each trip. The reservation card is a unit of information for managing a series of operations from receiving a travel application to completing the trip, and is also called a chart. Each reservation card contains multiple unit reservations, which are one reservation with one supplier. A unit reservation corresponds to a single reservation action made by a reservation clerk with a supplier. A single reservation number is assigned to this unit reservation by the supplier.

会計情報は出納データ400として記憶部210に記憶される。出納データ400は、旅行料金を示す売仕データ410、入出金を示す入出金データ430、旅行料金と入出金を関連付ける振分データ440及び請求書の内容を示す請求書データ450を含んでいる。 The accounting information is stored in the memory unit 210 as receipt and disbursement data 400. The receipt and disbursement data 400 includes sales and purchase data 410 indicating the travel fare, receipt and disbursement data 430 indicating receipts and disbursements, allocation data 440 relating the travel fare to receipts and disbursements, and invoice data 450 indicating the contents of the invoice.

売仕データ410は、顧客(旅行者等)に対して請求される売上を示す売上データ411、仕入先から請求される仕入を示す仕入データ412及び仕入の調整額を示す仕入調整データ413を含んでいる。売上データ411は、複数の売上項目(本発明における単位売上に対応)からなる売上明細を示す。売上データ411には、各売上項目の税区分及び税率を示すデータが含まれている。税区分は、「課税」「非課税」「不課税」「免税」のいずれに該当するかを示す。また、売上データ411には、各売上項目に係る基準日としての売上日を示すデータ(本発明でいう基準日データ)が含まれている。本実施形態における「売上日」は、売上における会計的な計上日に対応する。旅行の種類(手配旅行か企画旅行か等)やサービスごとにどのような日を計上日としなければならないかが会計上決められている。本会計処理システム1においても、かかる会計上の基準に基づいて売上日が設定されている。さらに、売上データ411には売上先を示すデータが含まれている。 The sales data 410 includes sales data 411 indicating sales billed to customers (travelers, etc.), purchase data 412 indicating purchases billed from suppliers, and purchase adjustment data 413 indicating purchase adjustment amounts. The sales data 411 indicates sales details consisting of multiple sales items (corresponding to unit sales in the present invention). The sales data 411 includes data indicating the tax category and tax rate of each sales item. The tax category indicates whether it corresponds to "taxable", "non-taxable", "non-taxable", or "tax-free". The sales data 411 also includes data indicating the sales date as the base date for each sales item (base date data in the present invention). The "sales date" in this embodiment corresponds to the accounting date for sales. Accounting determines what date must be the accounting date for each type of travel (arranged travel or packaged travel, etc.) and service. In this accounting processing system 1, the sales date is also set based on such accounting standards. Furthermore, the sales data 411 includes data indicating the sales destination.

仕入データ412は、複数の売上項目と対応した複数の仕入項目(本発明における単位仕入に対応する)からなる仕入明細を示す。仕入データ412には、各仕入項目の税区分及び税率を示すデータが含まれている。税区分は、「課税」「非課税」「不課税」「免税」のいずれに該当するかを示す。また、仕入データ412には、各仕入項目に係る基準日を示すデータが含まれている。売上項目及び仕入項目は、それぞれ単位予約ごと、又はそれより詳細な単位ごとの旅行料金に関する項目であり、互いに1対1に対応している。仕入項目に係る基準日は売上日と一致している。さらに、仕入データ412には仕入先を示すデータが含まれている。 The purchase data 412 shows a purchase detail consisting of a plurality of purchase items (corresponding to unit purchases in the present invention) corresponding to a plurality of sales items. The purchase data 412 includes data indicating the tax category and tax rate for each purchase item. The tax category indicates whether it corresponds to "taxable", "non-taxable", "non-taxable", or "tax exempt". The purchase data 412 also includes data indicating the base date for each purchase item. The sales items and purchase items are items related to travel fares per unit reservation or per more detailed unit, and have a one-to-one correspondence with each other. The base date for the purchase item coincides with the sales date. Furthermore, the purchase data 412 includes data indicating the supplier.

仕入調整データ413は、仕入項目のいずれかと対応しており、その仕入項目に関する仕入額の調整が実行された場合に生成される。仕入額の調整は、後述の通り、為替変動等により支払額が元の仕入から変更される場合に、調整後の仕入額と支払額とを一致させるために実行される。 Purchase adjustment data 413 corresponds to one of the purchase items, and is generated when a purchase amount adjustment is performed for that purchase item. As described below, the purchase amount adjustment is performed to match the adjusted purchase amount with the payment amount when the payment amount is changed from the original purchase amount due to exchange rate fluctuations, etc.

入出金データ430は、旅行料金に関して発行された請求書に従ってなされる入出金を示す。本実施形態において、入出金は、現金や銀行振込等、様々な態様でなされる。また、入出金に用いられる振込口座は、旅行会社の担当部署ごとに異なる口座が用いられている等、複数に亘る場合がある。本実施形態においては、入出金の態様や振込口座を区別するために「入出金種別」が用いられている。入出金種別は、例えば、現金による入出金であるか銀行振込等による入出金であるかを示すと共に、振込による入金に関してはいずれの口座が用いられたかを示す。 The deposit/withdrawal data 430 indicates deposits and withdrawals made in accordance with invoices issued for travel fares. In this embodiment, deposits and withdrawals are made in various ways, such as cash and bank transfers. In addition, there may be multiple transfer accounts used for deposits and withdrawals, such as a different account being used for each department in the travel agency. In this embodiment, a "deposit/withdrawal type" is used to distinguish the type of deposit/withdrawal and the transfer account. The deposit/withdrawal type indicates, for example, whether the deposit/withdrawal is made in cash or by bank transfer, and also indicates which account was used for deposits by transfer.

入出金には顧客からの入金及び仕入先への支払がある。入出金データ430は、入金の内容を示す入金データ431及び支払の内容を示す支払データ432を含んでいる。本実施形態における「入金」とは、原則、売上に対応する旅行料金を顧客から受け取ること又は受け取った料金をいう。入金データ431が示す入金額がプラス値である場合にはこのような顧客からの入金を示す。入金データ431が示す入金額がマイナス値である場合には顧客に対して返金がなされたことを示す。返金は、請求書の金額を超過する入金がなされた場合に実行される超過分の金額を返還する処理である。なお、入金の超過が発生した場合、後述の通り、返金の代わりに振替も実行可能である。本実施形態に係る入金の振替とは、入金者の意向に応じ、入金の超過分を、本来の請求書に対応する予約カードとは異なる予約カードの請求書に振り分ける処理である。入金データ431には、各入金に係る基準日としての入金日、入出金種別及び入金元を示すデータ(本発明でいう基準日データに対応)が含まれている。入金日は原則、入金がなされた日に対応する。入金元は、入金した者である個人の氏名や法人名を示す。 Deposits and withdrawals include deposits from customers and payments to suppliers. Deposit and withdrawal data 430 includes deposit data 431 indicating the contents of the deposit and payment data 432 indicating the contents of the payment. In this embodiment, "deposit" generally refers to the receipt of travel fees corresponding to sales from a customer or the fees received. When the deposit amount indicated by deposit data 431 is a positive value, it indicates a deposit from such a customer. When the deposit amount indicated by deposit data 431 is a negative value, it indicates that a refund has been made to the customer. A refund is a process that returns the excess amount when a deposit is made that exceeds the amount of the invoice. In addition, as described below, when an excess deposit occurs, a transfer can be performed instead of a refund. The transfer of a deposit in this embodiment is a process that allocates the excess amount of the deposit to an invoice for a reservation card different from the reservation card corresponding to the original invoice, according to the intention of the depositor. Deposit data 431 includes data indicating the deposit date as the base date for each deposit, the deposit/withdrawal type, and the deposit source (corresponding to the base date data in this invention). In principle, the deposit date corresponds to the day on which the deposit was made. The source of the deposit indicates the name of the individual or company that made the deposit.

本実施形態における「支払」とは、仕入に係る旅行料金を仕入先に払うこと又は払った料金をいう。支払データ432は、このような仕入先への支払額とその基準日としての支払日(本発明でいう基準日データに対応)を示す。また、支払データ432には、入出金種別及び支払先を示すデータが含まれている。支払先は、支払する相手である法人名を示す。支払先は、その支払いに対応する仕入の仕入先に一致する。 In this embodiment, "payment" refers to paying travel fees related to procurement to a supplier, or the amount paid. Payment data 432 indicates the amount paid to such a supplier and the payment date as the base date (corresponding to the base date data in this invention). Payment data 432 also includes data indicating the type of deposit/withdrawal and the payee. The payee indicates the name of the corporation to which the payment is made. The payee corresponds to the supplier of the supplier to which the payment corresponds.

振分データ440は、売仕データ410及び入出金データ430とを関連付けるデータである。上記の通り、入金は売上と対応しており、支払は仕入と対応している。振分データ440は、これらの対応関係を売上項目単位又は仕入項目単位で示すものである。本実施形態における「振分」とは、入金の一部又は全部を売上の明細に割り当てる(対応付ける)こと、又は、支払の一部又は全部を仕入の明細に割り当てる(対応付ける)ことをいう。また、振分データ440によって互いに対応付けられる入金又は支払と売上又は仕入の前者を「振分元」とし、後者を「振分先」とする。以下の説明において、振分を行うことを「振り分ける」等と表現することがある。例えば、振分は、従来の記帳上、入金を請求書と対応付けて打ち消し線で消していく消込作業に対応する。振分データ440には、各振分に係る基準日を示すデータ(本発明でいう基準日データ)が含まれている。この基準日は通常、対応する入金又は支払の入金日又は支払日と一致している。入金日及び支払日のいずれも売上日に対して過去の日付となり得る。このため、振分の基準日も振分先の売上又は仕入の基準日に対して過去の日付となり得る。 The allocation data 440 is data that associates the sales and purchase data 410 and the cash inflow and outflow data 430. As described above, the deposit corresponds to sales, and the payment corresponds to purchase. The allocation data 440 shows these correspondences on a sales item basis or a purchase item basis. In this embodiment, "allocation" refers to allocating (associating) a part or all of the deposit to a sales statement, or allocating (associating) a part or all of the payment to a purchase statement. In addition, the deposit or payment and the sales or purchase that are associated with each other by the allocation data 440 are referred to as the "source of allocation" and the latter as the "destination of allocation". In the following explanation, allocation may be expressed as "allocation". For example, allocation corresponds to the clearing work of matching the deposit with an invoice and crossing it out in the conventional accounting. The allocation data 440 includes data indicating the base date for each allocation (base date data in this invention). This base date usually coincides with the deposit date or payment date of the corresponding deposit or payment. Both the receipt date and the payment date can be in the past compared to the sales date. Therefore, the allocation base date can also be in the past compared to the base date of the sales or purchase of the allocation destination.

請求書データ450は、顧客に対して発行された請求書の内容を示すデータである。各請求書は、請求明細として複数の請求項目からなる。各請求項目は各売上項目と対応している。請求書データ450は、請求先や、各請求項目における請求額等を示すデータと共に、売上データ411が示す各売上項目と各請求項目との対応付けを示すデータを含んでいる。請求書データ450が示す請求額には、プラス値を取る場合とマイナス値を取る場合とがある。前者は請求書に応じて顧客からの入金がなされる場合に対応し、後者は請求書に応じて顧客への返金がなされる場合に対応する。 Invoice data 450 is data showing the contents of an invoice issued to a customer. Each invoice consists of multiple billing items as billing details. Each billing item corresponds to a sales item. Invoice data 450 includes data showing the billing destination and the billing amount for each billing item, as well as data showing the correspondence between each sales item shown in sales data 411 and each billing item. The billing amount shown in invoice data 450 can be a positive value or a negative value. The former corresponds to the case where a payment is made from the customer in response to the invoice, and the latter corresponds to the case where a refund is made to the customer in response to the invoice.

図3は出納データ400の一例を示す。図3(a)には、請求書データ450、売上データ411、振分データ440及び入金データ431の各データが示す金額及び基準日が表されている。売上データ411における各項目は各売上項目に対応する。図中、これらの項目が各データの基準日に従って並んでいる。売上項目、振分及び入金の各項目を結ぶ直線は、振分による売上項目と入金の関連付けを示している。 Figure 3 shows an example of receipt and disbursement data 400. Figure 3(a) shows the amounts and reference dates indicated by each piece of data: invoice data 450, sales data 411, allocation data 440, and deposit data 431. Each item in sales data 411 corresponds to each sales item. In the figure, these items are arranged according to the reference date of each data. The straight lines connecting the sales items, allocation, and deposit items show the association between the sales items and deposits by allocation.

本実施形態では、後述の通り、各締日(例えば、各月末)における締め対象の項目に対して仕訳処理が実行される。図3(a)の実線、一点鎖線、破線等からなる太い線は、締日を7月末、8月末、9月末、10月末、11月末及び12月末のそれぞれに設定した場合における締め対象の項目の境界を表している。つまり、各線は、それより上に配置された項目であって未だ締められていない項目が、その線の締日における締め対象であることを示す。 In this embodiment, as described below, accounting processing is performed on items to be closed on each closing date (for example, the end of each month). The thick lines in Figure 3(a), consisting of solid lines, dashed lines, dashed lines, etc., represent the boundaries of items to be closed when the closing date is set to the end of July, August, September, October, November, and December, respectively. In other words, each line indicates that the items placed above it that have not yet been closed are to be closed on the closing date of that line.

図3(b)は、仕訳処理後の入金に対して振分の変更が行われた場合についての請求書データ450等の各データが示す金額及び基準日が表されている。売上項目、振分及び入金の各項目を結ぶ直線は、振分による売上項目と入金の関連付けを示している。図3(b)の例では、9月末に一旦、仕訳処理が完了した振分データ440における9/30付の2つの項目の内容が更新されている。具体的には、振分データ440において、9/30付の2,000円の入金を、9/1付の1,000円の売上項目と9/5付の2,000円の売上項目とに9/30付で1,000円ずつ振り分ける項目が、10/1付で0円の内容に変更されている。これは、後述の通り、仕訳処理後に請求額の変更等により振分を変更する必要が生じた際に、仕訳処理後の振分の内容を変更する処理がなされた結果である。以下、かかる処理を「VOID処理」とする。また、請求額の変更等に伴って新たに生成された売上項目である9/15付の2,000円に対して9/30付の2,000円の入金を振り分ける10/1付の新たな振分が生成されている。 Figure 3(b) shows the amounts and base dates shown by each data such as invoice data 450 when the allocation is changed for the deposit after the journalization process. The straight lines connecting the sales items, allocation, and deposit items show the association between the sales items and the deposit by allocation. In the example of Figure 3(b), the contents of two items dated 9/30 in the allocation data 440, for which the journalization process was completed at the end of September, are updated. Specifically, in the allocation data 440, the item that allocates the 2,000 yen deposit dated 9/30 to the sales item of 1,000 yen dated 9/1 and the sales item of 2,000 yen dated 9/5, each of 1,000 yen on 9/30, has been changed to 0 yen on 10/1. This is the result of a process that changes the contents of the allocation after the journalization process when it becomes necessary to change the allocation due to a change in the invoice amount, etc., after the journalization process, as described later. Hereinafter, such a process will be referred to as "VOID processing". In addition, a new allocation has been generated on 10/1 to allocate the 2,000 yen received on 9/30 to the 2,000 yen on 9/15, which is a new sales item that was generated due to changes in the billing amount, etc.

また、記憶部210は仕訳方法データ460及び仕訳結果データ470を記憶する。仕訳方法データ460は仕訳処理の方法を示すデータである。仕訳方法データ460に従って生成された仕訳情報は仕訳結果データ470として記憶部210に記憶される。仕訳方法データ460及び仕訳結果データ470の詳細については後述する。 The storage unit 210 also stores journal entry method data 460 and journal entry result data 470. The journal entry method data 460 is data that indicates the method of journal entry processing. Journal entry information generated in accordance with the journal entry method data 460 is stored in the storage unit 210 as journal entry result data 470. Details of the journal entry method data 460 and the journal entry result data 470 will be described later.

データ管理部220は、端末100から受け取った種々の情報に基づいて出納データ400、予約データ420等を生成し、記憶部210に記憶させる。例えば、データ管理部220は、単位予約ごとの予約内容を示す予約情報を端末100から受け取る。かかる情報は、後述の通り図4の画面IMI300の予約画像領域320を通じて単位予約ごとに入力される。データ管理部220は、端末100から送信された、予約状況やPAX、フライト情報等の具体的な予約内容等の情報を示す予約データ420を生成し、記憶部210に記憶させる。また、データ管理部220は、単位予約ごとの売上及び仕入に関する情報を端末100から受け取る。かかる情報は、後述の通り、図4の画面IMI300の売仕情報領域330を通じて単位予約ごとに入力される。データ管理部220は、これに基づいて売仕データ410を生成し、記憶部210に記憶させる。また、データ管理部220は、後述の通り入金及び出金の内容を示す情報(図6、図7、図10参照)を端末100から受け取り、これに基づいて入出金データ430を生成し、記憶部210に記憶させる。また、データ管理部220は、請求書の内容を示す情報を端末100から受け取る。かかる情報は、後述の通り、図5の画面IMI20を通じて入力される。データ管理部220は、端末100から送信された情報を示す請求書データ450を生成し、記憶部210に記憶させる。 The data management unit 220 generates receipt and disbursement data 400, reservation data 420, etc. based on various information received from the terminal 100, and stores them in the storage unit 210. For example, the data management unit 220 receives reservation information indicating the reservation contents for each unit reservation from the terminal 100. Such information is input for each unit reservation through the reservation image area 320 of the screen IMI 300 of FIG. 4, as described later. The data management unit 220 generates reservation data 420 indicating information such as the reservation status, PAX, flight information, etc., sent from the terminal 100, and stores it in the storage unit 210. The data management unit 220 also receives information regarding sales and purchases for each unit reservation from the terminal 100. Such information is input for each unit reservation through the sales and purchase information area 330 of the screen IMI 300 of FIG. 4, as described later. The data management unit 220 generates sales and purchase data 410 based on this, and stores it in the storage unit 210. The data management unit 220 also receives information indicating the contents of deposits and withdrawals (see Figures 6, 7, and 10) from the terminal 100, as described below, and generates deposit and withdrawal data 430 based on this, which is stored in the memory unit 210. The data management unit 220 also receives information indicating the contents of an invoice from the terminal 100. Such information is entered through the screen IMI20 in Figure 5, as described below. The data management unit 220 generates invoice data 450 indicating the information sent from the terminal 100, and stores it in the memory unit 210.

また、データ管理部220は、後述の通り図6の画面IMI30及び図7の画面IMI50等を通じて入力された振分の内容に基づいて振分データ440を生成し、記憶部210に記憶させる。振分データ440の生成の方法は以下の通りである。データ管理部220は、例えば入金の振分に当たり、未振分の売上項目のうち、売上日が古い方から順に入金を振り分ける。つまり、データ管理部220は、最も古い売上日の売上項目から最も新しい売上日の売上項目に向かう順に以下を実行する。(1)売上項目における未収額が未振分の入金以上である場合には全額をその売上項目に振り分ける。また、(2)売上項目の金額が未振分の入金を下回っている場合には、未振分の入金のうち、その売上項目の金額分をその売上項目に振り分けると共に、振り分けた金額を除いた残額を次の売上項目以降に振り分ける。次の売上項目以降の振分については上記(1)及び(2)を繰り返す。 The data management unit 220 generates allocation data 440 based on the allocation content input through the screen IMI30 of FIG. 6 and the screen IMI50 of FIG. 7, etc., as described below, and stores the data in the storage unit 210. The method of generating allocation data 440 is as follows. For example, when allocating a deposit, the data management unit 220 allocates the deposit among the unallocated sales items in order of the oldest sales date. In other words, the data management unit 220 executes the following in order from the sales item with the oldest sales date to the sales item with the newest sales date. (1) If the unpaid amount in a sales item is equal to or greater than the unallocated deposit, the entire amount is allocated to that sales item. Also, (2) If the amount of a sales item is less than the unallocated deposit, the amount of the unallocated deposit is allocated to that sales item, and the remaining amount excluding the allocated amount is allocated to the next sales item and onwards. For the allocation of the next sales item and onwards, the above (1) and (2) are repeated.

これにより、図3(a)の例では、7/1付の2,000円の入金が9/1付の売上項目及び9/5付の売上項目に1,000円ずつ振り分けられている。このように、9/1付の売上項目が7/1付の入金を下回っており且つ9/1付の売上項目及び9/5付の売上項目の合計値が7/1付の入金以上であることから、上記(2)の処理が実行されることにより、9/1付及び9/5付の2つの売上項目に7/1付の入金の全額が振り分けられている。ただし、9/5付の売上項目は2,000円であるため、これに対して1,000円が振り分けられると、この売上項目について未収額に対応する1,000円がこの時点で発生する。 As a result, in the example of Figure 3(a), the 2,000 yen deposit dated 7/1 is allocated to the sales item dated 9/1 and the sales item dated 9/5 in the amount of 1,000 yen each. In this way, since the sales item dated 9/1 is less than the deposit dated 7/1 and the sum of the sales item dated 9/1 and the sales item dated 9/5 is greater than or equal to the deposit dated 7/1, the above process (2) is executed, and the entire amount of the deposit dated 7/1 is allocated to the two sales items dated 9/1 and 9/5. However, since the sales item dated 9/5 is 2,000 yen, if 1,000 yen is allocated to it, then 1,000 yen corresponding to the unpaid amount for this sales item will be generated at this point.

その後、この請求書に対し、図3(a)に示す通り、8/15付で3,000円の入金がなされ、上記の通り画面IMI30を通じてその入金及び振分が入力されたとする。データ管理部220は、上記(1)(2)のように3,000円の入金を振り分ける。これにより、入金3,000円のうちの1,000円が、残額1,000円が発生していた9/5付の売上項目に振り分けられると共に、入金3,000円のうちの2,000円が9/15付の売上項目に振り分けられる。このように、9/5付の売上項目が8/15付の入金を下回っており且つ9/5付の売上項目及び9/15付の売上項目の合計値が8/15付の入金以上であることから、上記(2)の処理が実行されることにより、9/5付及び9/15付の2つの売上項目に8/15付の入金の全額が振り分けられている。11/1付の入金に対しても同様に振分が実行される。 After that, as shown in FIG. 3(a), a deposit of 3,000 yen is made on 8/15 for this invoice, and the deposit and allocation are entered through the screen IMI 30 as described above. The data management unit 220 allocates the deposit of 3,000 yen as described in (1) and (2) above. As a result, 1,000 yen of the deposit of 3,000 yen is allocated to the sales item dated 9/5, which had a balance of 1,000 yen, and 2,000 yen of the deposit of 3,000 yen is allocated to the sales item dated 9/15. In this way, since the sales item dated 9/5 is less than the deposit dated 8/15 and the sum of the sales item dated 9/5 and the sales item dated 9/15 is greater than or equal to the deposit dated 8/15, the process described in (2) above is executed, and the entire amount of the deposit dated 8/15 is allocated to the two sales items dated 9/5 and 9/15. The same allocation will be carried out for the deposit made on November 1st.

データ管理部220は、以上のような振分の内容に応じた図3(a)に示すような振分データ440を入金ごとに生成する。振分データ440の各振分項目は、各売上項目と入金との関連付け及び振分額を示すと共に入金の日付と同じ日付を有している。 The data management unit 220 generates allocation data 440 as shown in FIG. 3(a) for each deposit, according to the details of the allocation. Each allocation item in the allocation data 440 indicates the association between each sales item and the deposit, the amount allocated, and has the same date as the date of the deposit.

支払の振分については、画面IMI50を通じて経理業務の担当者等が入力した内容に基づいて、データ管理部220が振分データ440を生成する。これにより、各売上項目に対する入金の振分と同様、各仕入項目に対する支払の振分がなされる。データ管理部220は、かかる振分の内容に応じた振分データ440を生成する。振分データ440の各振分項目は、各仕入項目と支払との関連付け及び振分額を示すと共に支払の日付と同じ日付を有している。 Regarding the allocation of payments, the data management unit 220 generates allocation data 440 based on the details entered by the accounting staff or the like via the screen IMI50. This allows payments to be allocated to each purchase item in the same way as payments are allocated to each sales item. The data management unit 220 generates allocation data 440 according to the details of such allocation. Each allocation item in the allocation data 440 indicates the association between each purchase item and payment, the amount allocated, and has the same date as the date of payment.

また、データ管理部220は、以上の振分の結果に基づいて未収額及び未払額を算出する。具体的には、データ管理部220は、各売上項目に関して振り分けられた入金の金額をその売上項目の売上の金額から減算した結果を未収額とする。未収額が0円である場合、データ管理部220は、その売上項目について入金が完了したと判別する。また、データ管理部220は、各仕入項目に関して振り分けられた支払の金額をその項目の仕入の金額から減算した結果を未払額とする。未払額が0円である場合、データ管理部220は、その仕入項目について支払が完了したと判別する。 The data management unit 220 also calculates the unpaid amount and the unpaid amount based on the results of the above allocation. Specifically, the data management unit 220 determines the unpaid amount by subtracting the amount of the deposit allocated to each sales item from the amount of sales for that sales item. If the unpaid amount is 0 yen, the data management unit 220 determines that the deposit has been completed for that sales item. The data management unit 220 also calculates the unpaid amount by subtracting the amount of the payment allocated to each purchase item from the amount of purchases for that item. If the unpaid amount is 0 yen, the data management unit 220 determines that payment has been completed for that purchase item.

その他、データ管理部220は、仕訳処理部230による後述の仕訳処理後の入金に関し、請求額の変更等がなされた場合に応じた出納データ400の処理を実行する。具体的には、上述の図3(b)の例に示すように、振分データ440において請求額の変更等の対象に対応する仕訳処理後の振分(図3(b)に示す9/30付の各1,000円)を示すデータの内容を、仕訳処理日より後の日付の0円の内容に変更するVOID処理が実行される。また、請求額の変更に伴う新たな売上(図3(b)に示す9/15付の2,000円)が生成されると共に、これに対して入金を振り分ける新たな振分(図3(b)に示す10/1付の2,000円)が生成される。 In addition, the data management unit 220 processes the receipt and disbursement data 400 in response to changes in the invoice amount, etc., made to deposits after the journalization processing by the journalization processing unit 230, as described below. Specifically, as shown in the example of FIG. 3(b) above, a VOID process is executed to change the contents of the data indicating the post-journalization allocation (1,000 yen each dated 9/30 as shown in FIG. 3(b)) corresponding to the change in the invoice amount, etc., in the allocation data 440 to 0 yen on a date after the journalization processing date. In addition, new sales (2,000 yen dated 9/15 as shown in FIG. 3(b)) are generated in response to the change in the invoice amount, and a new allocation (2,000 yen dated 10/1 as shown in FIG. 3(b)) to which the deposit is allocated is generated.

仕訳処理部230は、記憶部210の仕訳方法データ460に従って、出納データ400が示す会計情報に対する仕訳処理を実行し、その結果を示す仕訳結果データ470を生成する。仕訳結果データ470は、各仕訳伝票の内容と共に、仕訳伝票の元データとなった出納データ400における売上項目、仕入項目、仕入調整額、入金、支払及び振分の各項目と各仕訳伝票との関連付けを示す。生成された仕訳結果データ470は記憶部210に記憶される。仕訳評価部240は、出納データ400が示す売上、入金等の会計情報と記憶部210の仕訳結果データ470が示す仕訳結果とが整合しているか否かを評価する。仕訳処理部230及び仕訳評価部240の処理の詳細については後述する。 The journal processing unit 230 executes journal processing for the accounting information indicated by the receipt and disbursement data 400 according to the journal method data 460 in the storage unit 210, and generates journal result data 470 indicating the results. The journal result data 470 indicates the contents of each journal voucher, as well as the association between each of the items of sales items, purchase items, purchase adjustment amounts, deposits, payments, and allocations in the receipt and disbursement data 400 that became the original data of the journal voucher and each journal voucher. The generated journal result data 470 is stored in the storage unit 210. The journal evaluation unit 240 evaluates whether the accounting information such as sales and deposits indicated by the receipt and disbursement data 400 is consistent with the journal result indicated by the journal result data 470 in the storage unit 210. Details of the processing by the journal processing unit 230 and the journal evaluation unit 240 will be described later.

その他の処理として、サーバ200は、ブラウザ130の機能に基づいて端末100が実行する処理を指示するHTML(HyperText Markup Language)で記述されたプログラムや各種のデータを生成し、端末100へと送信する。また、サーバ200は、端末100から受信したリクエストに応じ、記憶部210の記憶内容等のデータを端末100へと送信する。 As other processes, the server 200 generates programs and various data written in HTML (HyperText Markup Language) that instruct the processes to be executed by the terminal 100 based on the functions of the browser 130, and transmits them to the terminal 100. In addition, the server 200 transmits data such as the contents stored in the memory unit 210 to the terminal 100 in response to a request received from the terminal 100.

端末100としては、ノート型又はデスクトップ型のパソコン、タブレット端末、スマートフォン等が用いられる。端末100には情報を表示するディスプレイ110が接続又は搭載されている。また、端末100には、紙媒体への記録を行うプリンター等の印刷装置140が接続されている。さらに、端末100には、マウス、タッチパッド又はタッチパネルディスプレイ等のポインティングデバイス、キーボード等の1つ以上の入力デバイス120が接続又は搭載されている。ユーザは、入力デバイス120を用いることで、後述のグラフィカルユーザインタフェース(GUI)画像中の各種のコントロール画像を選択・操作したり、選択したコントロール画像において文字入力を行ったりすることができる。 The terminal 100 may be a notebook or desktop personal computer, a tablet terminal, a smartphone, or the like. A display 110 for displaying information is connected to or mounted on the terminal 100. A printing device 140 such as a printer for recording on paper media is also connected to the terminal 100. Furthermore, one or more input devices 120 such as a pointing device such as a mouse, a touchpad or a touch panel display, and a keyboard are connected to or mounted on the terminal 100. By using the input device 120, a user can select and operate various control images in a graphical user interface (GUI) image described below, and input text into a selected control image.

端末100には、ウェブブラウザアプリケーション(以下、「ブラウザ130」という。)がインストールされている。ブラウザ130は、サーバ200から送信されるデータに基づき、端末100に以下の各種の処理を実行させる。例えば、端末100は、入力デバイス120を通じて旅行に関する予約内容並びに売上及び仕入の内容等をユーザ入力させるための図4~図8に示すGUI画像をディスプレイ110に表示させる。また、端末100は、GUI画像を通じて入力された内容をサーバ200に送信したり、GUI画像に表示するべき情報等、各種の処理に必要な情報をサーバ200にリクエストしたりする。かかるGUI画像にはログイン用の画像(不図示)が含まれる。旅行業務の従業者は、各自に割り当てられたログインIDを用いてログイン用の画像にID及びパスワードを入力することで本システムの利用を開始できる。ログインIDには、使用者の職責に応じた権限が設定されている。 A web browser application (hereinafter referred to as "browser 130") is installed in the terminal 100. The browser 130 causes the terminal 100 to execute the following various processes based on data sent from the server 200. For example, the terminal 100 displays GUI images shown in Figures 4 to 8 on the display 110 to allow the user to input reservation details, sales and purchase details, etc. related to travel through the input device 120. The terminal 100 also transmits the details input through the GUI images to the server 200, and requests information required for various processes, such as information to be displayed on the GUI images, from the server 200. Such GUI images include a login image (not shown). Travel agency employees can start using the system by entering their ID and password into the login image using the login ID assigned to them. The login ID has authority set according to the user's job responsibilities.

<端末におけるGUI>
以下、端末100におけるGUI画像を通じた各種処理について説明する。図4に示すIMI300は、1つの予約カードに関する情報の入力及び閲覧を行うためのメイン画面のGUI画像である。かかる情報の入力及び閲覧は、予約業務の担当者が自身に割り当てられたシステムへのログインIDを用いて主に実行する。なお、業務統括責任者や予約業務以外の業務の担当者が自身に割り当てられたログインIDを用いて情報を入力・閲覧してもよい。
<GUI in Terminal>
Various processes through GUI images in the terminal 100 will be described below. IMI 300 shown in Fig. 4 is a GUI image of a main screen for inputting and viewing information about one reservation card. The input and viewing of such information is mainly performed by the person in charge of reservation operations using the login ID to the system assigned to him/her. Note that the general manager of operations and the person in charge of operations other than reservation operations may input and view information using the login ID assigned to him/her.

IMI300は、予約カードを選択又は新規に作成するための別のGUI画像(不図示)を通じて選択又は新規作成された1つの予約カードと対応している。かかる別のGUI画像において、入力デバイス120を用いたユーザ入力によってIMI300の画面表示が指示されることにより、IMI300がディスプレイ110に表示される。IMI300は、予約カードにおける基本情報や旅行情報(旅行期間や目的地等、旅行者の氏名・連絡先等)の入力を行うためのカード基本領域(不図示)、予約内容の入力等を行うためのメイン領域370及びメイン画面とは別のGUI画像を表示するためのメニューコントロール画像や予約カード全体の売上・仕入の情報を表示する表示欄を含んだメニュー領域380を含んでいる。これらの領域のうち、メイン領域370は、ディスプレイ110の画面上に縦方向(以下、「画面縦方向」という。)に長く表示される。メイン領域370は、多くの場合、一画面で表示できず、よって、入力デバイス120を用いてIMI300の右脇に表示されるスクロールバーコントロール画像(不図示)を操作したり、マウスのボタンを操作したりすることで、画面の表示内容を画面縦方向にスクロールさせる。これによって、メイン領域370の各部分における情報や入力領域を順に画面に表示させる。一方、メニュー領域380は、メイン領域370のスクロールに追随せず、IMI300中の左脇の所定位置に維持される。 IMI300 corresponds to one reservation card selected or newly created through another GUI image (not shown) for selecting or creating a new reservation card. In such another GUI image, the screen display of IMI300 is instructed by user input using the input device 120, and IMI300 is displayed on the display 110. IMI300 includes a card basic area (not shown) for inputting basic information and travel information (travel period, destination, traveler's name, contact information, etc.) for the reservation card, a main area 370 for inputting reservation details, and a menu area 380 including a menu control image for displaying a GUI image different from the main screen and a display column for displaying sales and purchase information for the entire reservation card. Of these areas, the main area 370 is displayed vertically on the screen of the display 110 (hereinafter referred to as the "vertical screen direction"). In many cases, the main area 370 cannot be displayed on a single screen, so the display contents are scrolled vertically by using the input device 120 to operate a scroll bar control image (not shown) displayed on the right side of the IMI 300 or by operating a mouse button. This causes information and input areas in each part of the main area 370 to be displayed on the screen in sequence. Meanwhile, the menu area 380 does not follow the scrolling of the main area 370, but remains in a specified position on the left side of the IMI 300.

メイン領域370は、1つ以上の旅行別領域350を含んでいる。旅行別領域350は、手配旅行、企画旅行、及び受託旅行等の旅行の種類ごとの領域である。いずれの旅行に係る旅行別領域350がメイン領域370に表示されるかは、上記の通り入力デバイス120を用いたユーザ入力によってIMI300の画面表示を行う指示がなされる際に指示される。本実施形態においては、手配旅行に係る旅行別領域350を主な例として説明するが、以下の説明における手配旅行に係る旅行別領域350の構成は企画旅行や受託旅行に係る旅行別領域350にも適用可能である。 The main area 370 includes one or more trip-specific areas 350. The trip-specific areas 350 are areas for each type of trip, such as arranged trips, packaged trips, and commissioned trips. The trip-specific area 350 for which the main area 370 is to be displayed is specified when an instruction to display the IMI 300 screen is given by user input using the input device 120, as described above. In this embodiment, the trip-specific area 350 for arranged trips is mainly described as an example, but the configuration of the trip-specific area 350 for arranged trips in the following description can also be applied to the trip-specific area 350 for packaged trips and commissioned trips.

メイン領域370には1つ以上の旅行別領域350が画面縦方向に並んで表示される。これらは、上記の通り画面縦方向にスクロール可能に表示される。図4に示すように、各旅行別領域350は1つ以上の手配入力画像領域310を含んでいる。手配入力画像領域310は、予約内容等の具体的な情報を入力するための領域である。各手配入力画像領域310は各単位予約と対応する。手配入力画像領域310に入力する内容に関わるサービスには、海外エア、国内エア、ホテル、船舶、レンタカー、鉄道、渡航書類、保険等がある。旅行別領域350内は、サービスごとに領域が画面縦方向に分割され、サービスごとの各領域においてそのサービスに係る手配入力画像領域310が画面縦方向に連続して表示される。手配旅行に係る旅行別領域350において、各サービスに係る手配入力画像領域310の最下部には手配入力画像領域310を追加するためのコントロール画像311が表示されている。入力デバイス120を用いて各コントロール画像311を選択することで、対応するサービスに関する手配入力画像領域310が最下部に追加される。手配入力画像領域310全体は、上記の通り画面縦方向にスクロール可能に表示される。 In the main area 370, one or more trip-specific areas 350 are displayed in a line in the vertical direction of the screen. These are displayed so that they can be scrolled in the vertical direction of the screen as described above. As shown in FIG. 4, each trip-specific area 350 includes one or more arrangement input image areas 310. The arrangement input image area 310 is an area for inputting specific information such as reservation contents. Each arrangement input image area 310 corresponds to each unit reservation. Services related to the contents input in the arrangement input image area 310 include overseas air, domestic air, hotel, ship, rental car, railway, travel documents, insurance, etc. In the trip-specific area 350, an area is divided in the vertical direction of the screen for each service, and in each area for each service, the arrangement input image area 310 related to that service is displayed continuously in the vertical direction of the screen. In the trip-specific area 350 related to the arranged trip, a control image 311 for adding the arrangement input image area 310 is displayed at the bottom of the arrangement input image area 310 related to each service. By selecting each control image 311 using the input device 120, the arrangement input image area 310 related to the corresponding service is added to the bottom. The entire arrangement input image area 310 is displayed so that it can be scrolled vertically on the screen as described above.

手配旅行に係る各手配入力画像領域310は、予約内容等を入力するための画像領域である。手配入力画像領域310は、予約画像領域320及び売仕情報領域330を含んでいる。 Each arrangement input image area 310 related to arranged travel is an image area for inputting reservation details, etc. The arrangement input image area 310 includes a reservation image area 320 and a sales/purchase information area 330.

予約画像領域320は、予約内容をユーザ入力させると共に入力結果を表示する領域である。予約画像領域320は、画面縦方向に並んだ手配基本領域321、予約内容領域322及び利用者リスト領域323を含んでいる。売仕情報領域330は、利用者リスト領域323の右隣りに配置されている。これらのうち、手配基本領域321は、サービスの種類に依らず共通の内容を含んでおり、予約状況やPAX情報、手配期限や担当者等の情報をユーザ入力させると共にその入力結果を表示するためのコントロール画像を含んでいる。 The reservation image area 320 is an area where the user inputs reservation details and displays the input results. The reservation image area 320 includes a basic arrangement area 321, a reservation details area 322, and a customer list area 323, which are aligned vertically on the screen. The sales/purchase information area 330 is located to the right of the customer list area 323. Of these, the basic arrangement area 321 includes common content regardless of the type of service, and includes a control image that allows the user to input information such as reservation status, PAX information, arrangement deadline, and person in charge, and displays the input results.

予約内容領域322は、サービスごとに異なる内容を含んでおり、予約内容の具体的な情報を入力・表示するためのコントロール画像を含んでいる。かかる具体的な情報には、例えば海外エア等の航空サービスであれば、図4に示す通り、仕入先によって割り当てられた1つの予約番号(又は確認番号)を含むPNR(Passenger Name Record)や予約便のフライト情報(便名、出発日、発地、着地、発着時刻、座席クラス、座席数等)、マイレージカード番号、航空券番号等が含まれる。予約内容領域322は、日付を入力するための1つ以上のコントロール画像及びその項目名を含んでいる。かかる項目には、例えば、航空券や乗車券の発券日、宿泊期間開始日及び完了日、船舶やレンタカーの利用開始日及び完了日等がある。各サービスに係る手配入力画像領域310において、予約内容領域322に含まれる上記のような日付の項目には、そのサービスに係る旅行の売上日に相当する項目が必ず含まれている。そして、かかる売上日に相当する項目名が、その他の項目名とは視覚的に識別可能な態様で表示されている。図4の手配入力画像領域310には、一例として、発券期限の日付を入力する欄である日付入力欄C1及びその項目名C2「発券期限日」、並びに売上日となる発券の日付を入力する欄である日付入力欄C3及びその項目名C4「発券日」が含まれている。このうち、項目名C4には波状の下線が施されており、その他の欄の項目名とは視覚的に識別可能な態様で表示されている。なお、かかる態様として、例えば、売上日の項目名を示す文字が、他の項目名とは異なる色、大きさ、太さであったり、下線が引いてあったり、囲んであったりしてもよい。この例に示すように、売上日は、予約内容領域322における情報入力の時点でそれより未来の日付に該当することになる。利用者リスト領域323は、サービスの利用者のリストを表示する領域である。利用者のリストに含まれる利用者は、上述のカード基本領域において入力された旅行者情報が示す旅行者のうち、手配基本領域321において入力されたPAX情報が示す旅行者である。 The reservation content area 322 includes different contents for each service, and includes control images for inputting and displaying specific information of the reservation contents. For example, in the case of an air service such as overseas air, such specific information includes a PNR (passenger name record) including one reservation number (or confirmation number) assigned by a supplier, flight information of the reserved flight (flight name, departure date, departure point, arrival point, departure and arrival time, seat class, number of seats, etc.), mileage card number, ticket number, etc., as shown in FIG. 4. The reservation content area 322 includes one or more control images and their item names for inputting dates. Such items include, for example, the issuance date of an air ticket or a train ticket, the start and end dates of a stay period, the start and end dates of use of a ship or a rental car, etc. In the arrangement input image area 310 for each service, the above-mentioned date items included in the reservation content area 322 always include an item corresponding to the sales date of the trip related to that service. And the item name corresponding to the sales date is displayed in a manner that is visually distinguishable from other item names. The arrangement input image area 310 in FIG. 4 includes, as an example, a date input field C1 for inputting the ticket issuance deadline date and its item name C2 "Ticket Issuance Deadline", and a date input field C3 for inputting the ticket issuance date, which is the sales date, and its item name C4 "Ticket Issue Date". Of these, the item name C4 is underlined in a wavy manner, and is displayed in a manner that is visually distinguishable from the item names in the other fields. As an example of such a manner, for example, the characters indicating the item name of the sales date may be in a different color, size, or thickness from the other item names, or may be underlined or surrounded. As shown in this example, the sales date corresponds to a date in the future at the time of information input in the reservation details area 322. The user list area 323 is an area that displays a list of users of the service. Users included in the user list are travelers indicated by the PAX information input in the arrangement basic area 321, among the travelers indicated by the traveler information input in the card basic area described above.

予約画像領域320に入力された情報は、端末100からサーバ200に送信される。これに基づき、上記の通り、データ管理部220が予約データ420を生成する。かかる予約データ420は、予約画像領域320において入力された各情報を示すデータを含んでいる。 The information entered in the reservation image area 320 is transmitted from the terminal 100 to the server 200. Based on this, the data management unit 220 generates reservation data 420 as described above. Such reservation data 420 includes data indicating each piece of information entered in the reservation image area 320.

売仕情報領域330は、サービスの種類に依らず共通の内容を含んでおり、予約内容と対応した1つ以上の売上項目に関する売上内容及び仕入内容をユーザ入力させると共に入力結果を表示するコントロール画像を含んでいる。売上内容には、各売上項目の名称、ラベル、PAX情報、売上単価及び数量が含まれている。売上項目の名称は、あらかじめ設定された名称リストから入力デバイス120を用いていずれかを選択することで入力される。その他の売上内容は、各売上項目について入力される。PAX情報及び数量は、手配基本領域321において入力されたPAX情報に基づいて自動で入力される。このうち、PAX情報は売上項目ごとに変更可能である。数量はPAX情報に対応する人数を示し、変更不可能である。仕入内容には、売上項目と1対1に対応する仕入項目として、仕入通貨、仕入単価及び仕入先が含まれている。また、売仕情報領域330には日付入力のためのコントロール画像C5が含まれている。予約内容領域322の日付入力欄C3に日付が入力されると、売仕情報領域330の日付入力欄C5にその日付が自動入力される。売上内容及び仕入内容が入力されると、売仕情報領域330の上部には、入力された売上内容における売上単価に数量を掛けた金額の合計が表示されると共に、入力された仕入内容における仕入単価に数量を乗じた金額の合計が表示される。 The sales and purchase information area 330 contains common content regardless of the type of service, and includes a control image that allows the user to input sales and purchase details for one or more sales items corresponding to the reservation details, and displays the input results. The sales details include the name, label, PAX information, sales price, and quantity of each sales item. The name of the sales item is input by selecting one from a pre-set name list using the input device 120. Other sales details are input for each sales item. PAX information and quantity are automatically input based on the PAX information input in the basic arrangement area 321. Of these, the PAX information can be changed for each sales item. The quantity indicates the number of people corresponding to the PAX information and cannot be changed. The purchase details include the purchase currency, purchase price, and supplier as purchase items that correspond one-to-one to the sales items. The sales and purchase information area 330 also includes a control image C5 for date input. When a date is entered in the date input field C3 of the reservation content area 322, that date is automatically entered in the date input field C5 of the sales and purchase information area 330. When sales and purchase details are entered, the top of the sales and purchase information area 330 displays the total amount obtained by multiplying the sales price by the quantity for the entered sales details, and also displays the total amount obtained by multiplying the purchase price by the quantity for the entered purchase details.

売仕情報領域330に入力された情報は、端末100からサーバ200に送信される。これに基づき、上記の通りデータ管理部220が売仕データ410を生成する。かかる売仕データ410中、売上データ411は、売仕情報領域330において入力された各売上項目の情報、つまり、売上項目の名称、ラベル、PAX情報、売上単価及び数量を示すデータを含んでいる。売仕データ410中、仕入データ412は、売仕情報領域330において入力された各仕入項目の情報、つまり、仕入通貨、仕入単価及び仕入先を示すデータを含んでいる。 The information entered in the sales/purchase information area 330 is sent from the terminal 100 to the server 200. Based on this, the data management unit 220 generates sales/purchase data 410 as described above. In the sales/purchase data 410, sales data 411 includes information on each sales item entered in the sales/purchase information area 330, that is, data indicating the name, label, PAX information, sales price, and quantity of the sales item. In the sales/purchase data 410, purchase data 412 includes information on each purchase item entered in the sales/purchase information area 330, that is, data indicating the purchase currency, purchase price, and supplier.

メニュー領域380は、各種の処理を選択するための複数のコントロール画像を含んだメニューコントロール領域381及び予約カード全体の売上等の合計金額を表示する合計領域382を含んでいる。メニューコントロール領域381に含まれるコントロール画像には、他の画面が表示された状態からIMI300の画面表示に戻るコントロール画像C10、売仕明細画面を開くためのコントロール画像C11、請求明細画面を開くためのコントロール画像C12及び入金画面を開くためのコントロール画像C13が含まれている。これらのうち、コントロール画像C11~C13のいずれかを選択すると、後述の通り、売仕入力画面等、各種の情報を表示・入力するためのGUI画像がディスプレイ110に表示される。これらのGUI画像において表示・入力される情報は、メイン領域370に表示された予約カードの情報と関連付けられてサーバ200の記憶部210に記憶される。 The menu area 380 includes a menu control area 381 including multiple control images for selecting various processes, and a total area 382 that displays the total amount of sales and other amounts for the entire reservation card. The control images included in the menu control area 381 include a control image C10 for returning to the screen display of the IMI 300 from a state in which another screen is displayed, a control image C11 for opening a sales details screen, a control image C12 for opening a billing details screen, and a control image C13 for opening a deposit screen. When any of the control images C11 to C13 is selected, a GUI image for displaying and inputting various information, such as a sales and purchase input screen, is displayed on the display 110, as described below. The information displayed and input in these GUI images is associated with the reservation card information displayed in the main area 370 and stored in the memory unit 210 of the server 200.

メニュー領域380において、入力デバイス120を用いてコントロール画像C12を選択すると、図5に一例を示すように、請求書の発行に関するGUI画像からなる画面IMI20(上記請求明細画面)がディスプレイ110に表示される。画面IMI20を通じた請求書の発行業務は、予約業務の担当者が行うことが主に想定される。画面IMI20には、入力デバイス120を用いて、請求書の内容として入金予定日、請求額の通貨等を入力可能であると共に、請求明細として複数の請求項目(例えば、図6の請求項目C21~C23)の内容を入力可能である。各請求項目は、手配入力画像領域310の各売上項目に対応している。かかる請求項目の内容は、手配入力画像領域310において入力した内容に応じて自動入力される。 When the control image C12 is selected using the input device 120 in the menu area 380, as shown in FIG. 5, screen IMI20 (the billing details screen) consisting of a GUI image related to invoice issuance is displayed on the display 110. It is assumed that the invoice issuance work through screen IMI20 will mainly be performed by a person in charge of reservations. In screen IMI20, the expected date of payment, the currency of the invoice amount, etc. can be entered as invoice contents using the input device 120, and the contents of multiple invoice items (for example, invoice items C21 to C23 in FIG. 6) can be entered as invoice details. Each invoice item corresponds to a sales item in the arrangement input image area 310. The contents of such invoice items are automatically entered according to the contents entered in the arrangement input image area 310.

例えば、図5の請求項目C21は、国内エアに係る手配入力画像領域310において入力した内容に応じて「印刷項目」欄に「国内航空券」が表示されている。「PAX」欄には「1」が表示され、「税区分」に「課税」が表示されている。なお、課税されない売上項目については「非課税」「不課税」「免税」のいずれかが表示される。図5の例では「不課税」が表示されている。「税率」欄には10%が表示されている。「単価」欄には「1,000」が表示されている。「数量」欄には「1」が表示されている。「単価」及び「数量」に表示されるデフォルト値は、手配入力画像領域310において入力した各売上項目の「単価」及び「数量」に対応する。「金額」欄には「単価」と「数量」を乗じた金額が表示されている。「内税」欄には「税率」、「単価」、「数量」に応じた金額「90」が表示されている。「請求額」欄には、「金額」に応じた「1,000」が表示されている。「未請求額」欄には、過去に請求書を発行していない金額「1,000」が表示されている。なお、過去に請求書を発行している場合、その請求書を発行している金額を「金額」欄から減じた金額が表示される。 For example, in the billing item C21 of FIG. 5, "Domestic Air Ticket" is displayed in the "Printing Item" column according to the contents entered in the arrangement input image area 310 for domestic air. "1" is displayed in the "PAX" column, and "Taxable" is displayed in the "Tax Classification". For sales items that are not taxed, either "Non-taxable", "Non-taxable", or "Tax-free" is displayed. In the example of FIG. 5, "Non-taxable" is displayed. 10% is displayed in the "Tax Rate" column. "1,000" is displayed in the "Unit Price" column. "1" is displayed in the "Quantity" column. The default values displayed in "Unit Price" and "Quantity" correspond to the "Unit Price" and "Quantity" of each sales item entered in the arrangement input image area 310. The "Amount" column displays the amount obtained by multiplying the "Unit Price" and "Quantity". The "Tax Included" column displays the amount "90" according to the "Tax Rate", "Unit Price", and "Quantity". The "Billing Amount" column displays "1,000" according to the "Amount". The "Unbilled Amount" column displays the amount for which no invoice has been issued in the past, "1,000." If an invoice has been issued in the past, the amount displayed is the amount for which that invoice has been issued minus the amount displayed in the "Amount" column.

上記のうち、「印刷項目」「税率」「単価」「請求額」の各欄は入力デバイス120を用いて入力内容を変更可能である。ただし、「請求額」の数値は手配入力画像領域310において入力した値を超えない範囲で変更可能である。また、「単価」は、これに「数量」を乗じて全ての請求項目について合計した額が「請求額」の合計と一致していれば、手配入力画像領域310において入力した値を超えた額を入力可能である。また、「税率」はあらかじめ設定された数値から選択可能である。「摘要」欄は、必要に応じて入力デバイス120を用いて入力可能である。 Of the above, the input contents of each of the "Print Item", "Tax Rate", "Unit Price", and "Billing Amount" columns can be changed using the input device 120. However, the value of "Billing Amount" can be changed as long as it does not exceed the value entered in the arrangement input image area 310. Furthermore, for "Unit Price", an amount exceeding the value entered in the arrangement input image area 310 can be entered, as long as the total amount obtained by multiplying this by the "Quantity" for all invoice items matches the total "Billing Amount". Furthermore, the "Tax Rate" can be selected from preset values. The "Summary" column can be entered using the input device 120 as necessary.

同様にして、ホテルに係る手配入力画像領域310において入力した内容に応じて請求項目C22が表示されており、必要に応じて各項目の内容の記載を変更することができる。また、鉄道に係る手配入力画像領域310において入力した内容に応じて請求項目C23が表示されており、必要に応じて各項目の内容の記載を変更することができる。 Similarly, invoice items C22 are displayed according to the content entered in the hotel-related arrangements input image area 310, and the content of each item can be changed as necessary. Invoice items C23 are displayed according to the content entered in the railway-related arrangements input image area 310, and the content of each item can be changed as necessary.

各請求項目の先頭に配置されたコントロール画像C26は、未チェックの状態とチェック済みの状態とを選択的に取り、入力デバイス120を用いた選択により状態が切り替わる。かかるコントロール画像の少なくともいずれかがチェック済みの状態を取っているときに、入力デバイス120を用いてコントロール画像C24を選択すると、画面IMI20をおいて入力された内容が端末100からサーバ200へと送信される。これに基づき、上記の通りデータ管理部220が、チェック済みの請求項目の内容を請求明細として含んだ請求書を示す請求書データ450を生成する。かかる請求書データ450は、各請求項目における単価、数量、税率等を示すデータと、各請求項目がいずれの売上項目と対応しているかを示すデータとを含んでいる。また、端末100に接続された印刷装置140によって請求書が印刷される。このように発行された請求書は、例えば予約業務の担当者が顧客に手渡ししたり発送したりする。一方、コントロール画像C25が選択されると、画面IMI20を通じた請求書の発行がキャンセルされる。 The control image C26 placed at the beginning of each invoice item can be selectively set to an unchecked state or a checked state, and the state is switched by selection using the input device 120. When at least one of the control images is in a checked state, if the control image C24 is selected using the input device 120, the contents entered on the screen IMI20 are sent from the terminal 100 to the server 200. Based on this, as described above, the data management unit 220 generates invoice data 450 showing an invoice including the contents of the checked invoice items as invoice details. Such invoice data 450 includes data showing the unit price, quantity, tax rate, etc. for each invoice item, and data showing which sales item each invoice item corresponds to. In addition, the invoice is printed by the printing device 140 connected to the terminal 100. The invoice issued in this way is handed over or sent to the customer by, for example, a person in charge of reservation operations. On the other hand, when the control image C25 is selected, the issuance of the invoice through the screen IMI20 is canceled.

図4のメニュー領域380において、入力デバイス120を用いてコントロール画像C13をクリックすると、図6に一例を示す入金及びその消込に関するGUI画像からなる画面IMI30(上記入金画面)がディスプレイ110に表示される。顧客からの入金の態様は、予約業務の担当者が窓口等で顧客から現金を直接受け取ったりクレジットカード決済によって受け付けたりする場合や、銀行口座への振り込みによってなされる場合など、さまざまである。このうち、予約業務の担当者が窓口で受け付ける場合において、顧客からの入金が画面IMI30を通じて入力される。以下の通り、入力デバイス120を用いて画面IMI30の各入力欄に入金内容を入力すると共に、請求書の請求額に対して振り分けることで入金を消し込むことができる。 In the menu area 380 in FIG. 4, when the control image C13 is clicked using the input device 120, a screen IMI30 (the deposit screen described above) consisting of a GUI image relating to deposits and their cancellation, an example of which is shown in FIG. 6, is displayed on the display 110. There are various ways in which deposits are made from customers, such as when the person in charge of reservations directly receives cash from the customer at the counter, when the payment is accepted by credit card, or when the payment is made by transfer to a bank account. When the person in charge of reservations accepts the payment at the counter, the deposit from the customer is entered through the screen IMI30. As described below, the deposit details can be entered into each input field on the screen IMI30 using the input device 120, and the deposit can be cancelled by allocating it against the amount due on the invoice.

画面IMI30は、入金の内容を入力するための領域30aと、請求書に対する入金の振り分け状況を示す領域30bとを含んでいる。領域30aは、予定状態と確定状態を選択的に取るコントロール画像C37を含んでいる。デフォルトでは、コントロール画像C37は予定状態(図6に示す状態)を取る。この状態において以下の通り入金の内容の入力及び振分の操作が行われる。入金の内容の入力及び振分の操作がなされた後、入力デバイス120を用いてコントロール画像C37の「確定」が選択されると、コントロール画像C37が確定状態を取ると共に、入力された入金の内容が確定する。 Screen IMI30 includes an area 30a for inputting the details of the deposit, and an area 30b showing the allocation status of the deposit to the invoice. Area 30a includes a control image C37 that can be selectively set to a planned state or a confirmed state. By default, the control image C37 is in the planned state (the state shown in FIG. 6). In this state, the deposit details are input and allocation operations are performed as follows. After the deposit details have been input and allocation operations have been performed, when "Confirm" is selected in the control image C37 using the input device 120, the control image C37 takes the confirmed state and the entered deposit details are confirmed.

領域30aは、入金の金額、伝票番号、入金日、入金を受け付けた担当者の情報等を入力するためのコントロール画像を含んでいる。例えば、「入金日」の入力欄C31には入金のあった日付が入力される。「入金額」の入力欄C32には入金額が入力される。領域30bは、振分状況を示す文字や数値等の表示欄を含んでいる。例えば、「未振分額」の表示欄C33には、入力欄C32の金額のうち、振分が完了していない金額が表示される。表示欄C33の右隣りには「返金/振替依頼」ボタンのコントロール画像C38が配置されている。コントロール画像C38は、表示欄C33の金額が0円でない場合(未振分額が発生している場合)に入力デバイス120を用いて選択可能である。コントロール画像C38が選択されると、返金・振替の処理に係る後述の画面IMI60が表示される。 Area 30a includes control images for inputting the amount of the deposit, the slip number, the date of the deposit, information about the person in charge of accepting the deposit, and the like. For example, the date of the deposit is input in the "Deposit Date" input field C31. The amount of the deposit is input in the "Deposit Amount" input field C32. Area 30b includes display fields for characters and numbers indicating the allocation status. For example, the "Unallocated Amount" display field C33 displays the amount in the input field C32 that has not yet been allocated. To the right of the display field C33 is a control image C38 for the "Refund/Transfer Request" button. The control image C38 can be selected using the input device 120 when the amount in the display field C33 is not 0 yen (when an unallocated amount has occurred). When the control image C38 is selected, a screen IMI60, described below, related to the refund/transfer process is displayed.

領域30bの下部には、同じ予約カード内で発行された請求書が一覧として表示される。各請求書の表示欄C34には、「未振分額」の表示欄C33の金額が消し込まれる前の「請求額」、「未収額」、「振分額」等が表示されている。表示欄C34には「振分」のコントロール画像C35及び「取消」のコントロール画像C36が含まれている。入力デバイス120を用いて、いずれかの請求書に対応するコントロール画像C35が選択されると、選択された請求書を示す情報がサーバ200に送信される。サーバ200のデータ管理部220は、端末100から送信された情報に基づき、表示欄C33に表示された未振分額を請求書に対して振り分ける。例えば、当該請求書の請求額が未振分額以上である場合には、未振分額の全体が当該請求書に振り分けられる。一方、当該請求書の請求額が未振分額を下回っている場合には、未振分額のうち、請求額に相当する分が当該請求書に振り分けられる。具体的には、振分は、請求書に含まれる各請求項目に対応する売上項目に対して実行される。かかる振分の詳細については後述する。かかる振分の内容に応じ、表示欄C33の金額及び表示欄C34の未収額及び振分額が更新される。複数の請求書の一覧が領域30bに表示されている場合に、複数の請求書に跨って上記の振分を行うことで、1つの請求書の請求総額を超過した入金の振分を行うことができる。入力デバイス120を用いてコントロール画像C36が選択されると、振分が取り消されると共に表示欄C33及びC34の金額表示が振分前の状態に戻される。 At the bottom of the area 30b, invoices issued within the same reservation card are displayed as a list. In the display column C34 of each invoice, the "billing amount", "unpaid amount", "allocation amount", etc. are displayed before the amount in the "unallocated amount" display column C33 is subtracted. The display column C34 includes a "allocation" control image C35 and a "cancellation" control image C36. When the control image C35 corresponding to any of the invoices is selected using the input device 120, information indicating the selected invoice is sent to the server 200. The data management unit 220 of the server 200 allocates the unallocated amount displayed in the display column C33 to the invoice based on the information sent from the terminal 100. For example, if the billing amount of the invoice is equal to or greater than the unallocated amount, the entire unallocated amount is allocated to the invoice. On the other hand, if the billing amount of the invoice is less than the unallocated amount, the portion of the unallocated amount equivalent to the billing amount is allocated to the invoice. Specifically, the allocation is performed for the sales items corresponding to each billing item included in the invoice. Details of this allocation will be described later. Depending on the content of the allocation, the amount in display field C33 and the outstanding amount and allocated amount in display field C34 are updated. When a list of multiple invoices is displayed in area 30b, the above allocation can be performed across multiple invoices to allocate any deposit that exceeds the total amount claimed for one invoice. When control image C36 is selected using input device 120, the allocation is canceled and the amount display in display fields C33 and C34 is returned to the state before allocation.

以上の通り入金の内容が入力されると共に振分の操作がなされた後、コントロール画像C37が選択されると、上記の通り入金及び振分の内容が確定する。なお、振分がなされた金額の合計が入力欄C32の入金額を下回った状態で入金及び振分の内容を確定させることが可能である。この場合、入力された入金について未振分の金額が残存することになる。確定した入金及び振分の内容は、端末100からサーバ200に送信される。これに基づき、上記の通り、データ管理部220が入出金データ430を生成すると共に、振分の内容を示す振分データ440を生成する。 After the deposit details have been entered and the allocation operation has been performed as described above, when control image C37 is selected, the deposit and allocation details are finalized as described above. It is possible to finalize the deposit and allocation details when the total of the allocated amounts is lower than the deposit amount in input field C32. In this case, an unallocated amount will remain for the entered deposit. The finalized deposit and allocation details are sent from terminal 100 to server 200. Based on this, as described above, data management unit 220 generates deposit/withdrawal data 430 and also generates allocation data 440 indicating the allocation details.

仕入に対する支払の消込については、主に経理業務の担当者が仕入先からの請求書に基づくか、支払に関する情報を手入力することで実行する。図7に示す画面IMI50は、仕入先からの請求書に基づいて実行する場合に使用される。画面IMI50は、別のGUI画像(不図示)を通じて仕入先からの請求書のデータファイルを会計処理システム1に取り込んだ後、仕入先の請求書の明細におけるいずれかの項目を入力デバイス120を使用したユーザ入力に基づいて選択した結果、ディスプレイ110に表示される。サーバ200は、取り込まれた請求書のデータが示す仕入先の情報、請求額等に基づき、記憶部210に記憶された仕入データ412が示す仕入項目から、当該請求書に係る支払の消込候補となる仕入項目を検索する。検索対象となる仕入項目は、手配入力画像領域310の売仕情報領域330において入力されたものに対応する。また、検索範囲は、複数の予約カードに跨る複数の仕入項目に亘る。画面IMI50には、その検索結果に基づき、消込候補となる仕入項目C51~C53(一部のみ例示)が表示される。仕入項目C51~C53のそれぞれは、対応する予約カードの番号、対応するサービス、対応する売上項目名、支払予定日、訂正(チェックボックス)、調整額、その内訳及び未払額の表示欄を含んでいる。このうち、調整額及びその内訳には、訂正のチェックボックスにチェックがない場合、図7に示すように、消込候補となる各仕入項目における仕入の合計金額及びその内訳がそのまま表示される。訂正のチェックボックスにチェックがなされる場合については後述する。未払額は、データ管理部220によって算出された、調整額に対する未払額を示す。未払額の表示欄の右隣りには振分額の入力のためのコントロール画像C54~C56が配置されている。コントロール画像C54~C56には、デフォルトで未払額に対応する金額が入力されている。これらの内容は、入力デバイス120を用いて変更可能である。コントロール画像C54~C56の上方には、これらの入力内容が示す振分額の合計に対応する金額を表示する表示欄C57が配置されている。画面IMI50の上部に配置された「振分実行」のコントロール画像C54が入力デバイス120を用いて選択されると、コントロール画像C54~C56に入力された振分額に応じて、各仕入項目に対し、支払の振分が実行される。コントロール画像C54~C56に入力された振分額が各仕入項目の仕入の合計金額と一致している場合(図7に示す場合)には、訂正のチェックボックスにチェックがない状態で振分がなされる。これに対し、振分額が通貨レートの変動等により仕入の合計金額と一致しない場合には、訂正のチェックボックスにチェックがなされると、会計処理システム1によって仕入内容が自動で調整される。その上で、調整後の仕入の合計金額に対し、支払の振分が実行される。例えば、ある仕入項目における元の仕入内容が、単価101円及び数量2(つまり、合計202円)であるときに、振分額が205円と入力されたとする。この場合に訂正のチェックボックスにチェックがなされると、仕入内容の調整として、単価が1円追加されて102円とされると共に、単価1円及び数量1の仕入項目が1項目追加される。これにより、(元の単価101円+追加された単価1円)*数量2+追加された仕入項目1円=205円となる。つまり、振分額と一致するように仕入内容が調整される。なお、上記のような仕入項目の追加は、単価の調整だけで仕入内容が振分額と一致しない場合に限り、実行される。そして、調整後の仕入内容(合計205円)に対し、振分額205円の振分が実施される。かかる支払及び仕入に対する振分の内容並びに仕入内容の調整分は、端末100からサーバ200に送信される。これに基づき、上記の通り、データ管理部220が、追加された仕入項目(上記の例によると、仕入項目として追加された1円)に対応する仕入データ412と単価の調整額(上記の例によると、単価として追加された1円)を示す仕入調整データ413とを生成し、入出金データ430(支払データ432)を生成すると共に、振分の内容を示す振分データ440を生成する。 The settlement of payments for purchases is mainly performed by the accounting staff based on invoices from suppliers or by manually entering information regarding payments. The screen IMI50 shown in FIG. 7 is used when the settlement is performed based on invoices from suppliers. The screen IMI50 is displayed on the display 110 as a result of selecting any item in the details of the supplier invoice based on user input using the input device 120 after importing a data file of an invoice from a supplier into the accounting processing system 1 through another GUI image (not shown). The server 200 searches for a purchase item that is a candidate for settlement of the payment related to the invoice from the purchase items indicated by the purchase data 412 stored in the storage unit 210 based on the supplier information, invoice amount, etc. indicated by the imported invoice data. The purchase items to be searched correspond to those entered in the sales and purchase information area 330 of the arrangement input image area 310. The search range also covers multiple purchase items across multiple reservation cards. Based on the search results, the screen IMI50 displays purchase items C51 to C53 (only a part of which is shown in the example) that are candidates for clearing. Each of the purchase items C51 to C53 includes a display field for the corresponding appointment card number, the corresponding service, the corresponding sales item name, the scheduled payment date, correction (check box), the adjustment amount, its details, and the unpaid amount. Of these, the adjustment amount and its details are displayed as is for each purchase item that is a candidate for clearing, as shown in FIG. 7, if the correction check box is not checked. The case where the correction check box is checked will be described later. The unpaid amount indicates the unpaid amount relative to the adjustment amount calculated by the data management unit 220. To the right of the display field for the unpaid amount are control images C54 to C56 for inputting the allocation amount. The control images C54 to C56 have the amount corresponding to the unpaid amount input by default. These contents can be changed using the input device 120. Above the control images C54 to C56, a display field C57 is arranged to display the amount corresponding to the total of the allocation amounts indicated by these input contents. When the "Execute allocation" control image C54 arranged at the top of the screen IMI50 is selected using the input device 120, the payment allocation is executed for each purchase item according to the allocation amount entered in the control images C54 to C56. When the allocation amount entered in the control images C54 to C56 matches the total purchase amount of each purchase item (as shown in FIG. 7), the allocation is executed without checking the correction check box. On the other hand, when the allocation amount does not match the total purchase amount due to fluctuations in the currency rate, etc., the accounting processing system 1 automatically adjusts the purchase contents when the correction check box is checked. Then, the payment allocation is executed for the total purchase amount after the adjustment. For example, suppose that the original purchase contents of a certain purchase item are unit price 101 yen and quantity 2 (i.e., a total of 202 yen), and the allocation amount is entered as 205 yen. In this case, when the correction checkbox is checked, the purchase details are adjusted by adding 1 yen to the unit price to 102 yen, and one purchase item with a unit price of 1 yen and quantity of 1 is added. This results in (original unit price 101 yen + added unit price 1 yen) * quantity 2 + added purchase item 1 yen = 205 yen. In other words, the purchase details are adjusted to match the allocation amount. Note that the addition of a purchase item as described above is only performed when the purchase details do not match the allocation amount after only adjusting the unit price. Then, the allocation amount of 205 yen is applied to the adjusted purchase details (total of 205 yen). The allocation details for such payments and purchases and the adjustment amount for the purchase details are transmitted from the terminal 100 to the server 200. Based on this, as described above, the data management unit 220 generates purchase data 412 corresponding to the added purchase item (in the above example, 1 yen was added as a purchase item) and purchase adjustment data 413 indicating the adjustment amount of the unit price (in the above example, 1 yen was added as a unit price), generates deposit/withdrawal data 430 (payment data 432), and generates allocation data 440 indicating the details of the allocation.

手入力で支払の情報を入力する場合、経理担当者は、画面IMI50とは別のGUI画像(不図示)を通じ、支払額や振分先となる仕入、振分額等を入力する。入力された支払及び振分の内容は端末100からサーバ200に送信される。これに基づき、上記の通り、データ管理部220が入出金データ430(支払データ432)を生成すると共に、振分の内容を示す振分データ440を生成する。 When manually entering payment information, the accounting staff enters the payment amount, the purchase to which the payment is to be allocated, the allocation amount, etc., through a GUI image (not shown) separate from the screen IMI50. The entered payment and allocation details are sent from the terminal 100 to the server 200. Based on this, as described above, the data management unit 220 generates deposit/withdrawal data 430 (payment data 432) and also generates allocation data 440 indicating the allocation details.

図8に示す画面IMI40は、売上内容及び仕入内容の明細を表示するための画像の一例である。画面IMI40は、いずれか1つの手配入力画像領域310において入力された1つの売上項目に関する売上内容及び仕入内容と対応している。画面IMI40は、図4のメニュー領域380において入力デバイス120を用いてコントロール画像C11(図4参照)を選択した後、別のGUI画像(不図示)を通じて予約カード内の売上・仕入の項目リストから、1つの手配入力画像領域310(1つの単位予約)において入力された1つの売上項目に対応するいずれか1つの項目を選択することで表示される。図8の例では、画面IMI40として海外鉄道乗車券の売上項目の内容が表示されている。画面IMI40には、表示欄として、売上項目の名称、ラベル、税区分、PAX情報、仕入先、売上額・仕入額に関する情報(単価、数量、合計額、税額等)、利益(売上と仕入の差額)、請求額に関する情報(通貨及び合計額)、支払額(同上)に関する情報等の欄が含まれている。請求額に関する情報の表示欄の右側には、「未請求」の表示欄C40、請求状況を示す表示欄C41、「未収/未払」の表示欄C42、「予定日」の表示欄及び入金状況を示す表示欄C43が配置されている。このうち、表示欄C41は、図5の画面IMI20を通じて請求書が発行済みであるか否かを表示する。図8には、一例として、請求書が発行済みであることを示す「請求済」が表示されている。表示欄C42は、データ管理部220によって算出された未収額を表示する。図8には一例として未収額「0」が表示されている。表示欄C43は、売上の全額について入金の消込がなされたか否かを表示する。図8には、売上の全額に対して消込済みであることを示す「入金済」が表示されている。支払額に関する情報の表示欄の右側には、「未収/未払」の表示欄C44、「予定日」の表示欄及び入金状況を示す表示欄C45が配置されている。このうち、表示欄C44は、データ管理部220によって算出された未払額を表示する。図8には一例として未払額「2,000」が表示されている。表示欄C45は、仕入の全額について支払の消込がなされたか否かを表示する。図8には、一例として、仕入に対して消込が全くなされていない(部分的にもなされていない)ことを示す「未払」が表示されている。なお、仕入に対してその一部の金額に対応する支払が振り分けられている場合は「一部支払」と表示される。 Screen IMI40 shown in FIG. 8 is an example of an image for displaying details of sales and purchases. Screen IMI40 corresponds to the sales and purchases for one sales item entered in one of the arrangement input image areas 310. Screen IMI40 is displayed by selecting control image C11 (see FIG. 4) using input device 120 in menu area 380 in FIG. 4, and then selecting one item corresponding to one sales item entered in one arrangement input image area 310 (one unit reservation) from the sales and purchase item list in the reservation card through another GUI image (not shown). In the example of FIG. 8, the contents of the sales items for overseas train tickets are displayed as screen IMI40. The screen IMI40 includes display columns for the name of the sales item, the label, the tax classification, the PAX information, the supplier, information on the sales amount and the purchase amount (unit price, quantity, total amount, tax amount, etc.), the profit (difference between sales and purchase), information on the billing amount (currency and total amount), and information on the payment amount (same as above). On the right side of the display column for information on the billing amount, a display column C40 for "Not billed", a display column C41 showing the billing status, a display column C42 for "Unpaid/Unpaid", and a display column C43 showing the payment status are arranged. Of these, the display column C41 displays whether or not the invoice has been issued through the screen IMI20 of FIG. 5. As an example, FIG. 8 displays "Billed", which indicates that the invoice has been issued. The display column C42 displays the unpaid amount calculated by the data management unit 220. As an example, FIG. 8 displays the unpaid amount "0". The display column C43 displays whether or not the payment has been settled for the entire amount of the sales. In FIG. 8, "Payment completed" is displayed, indicating that the entire amount of the sales has been settled. To the right of the display column for information regarding the payment amount are a display column C44 for "unpaid/unpaid", a display column for "scheduled date", and a display column C45 showing the payment status. Of these, display column C44 displays the unpaid amount calculated by the data management unit 220. As an example, FIG. 8 displays an unpaid amount of "2,000". Display column C45 indicates whether or not the entire amount of the purchase has been settled. As an example, FIG. 8 displays "unpaid" which indicates that no settlement has been made for the purchase (not even partially). Note that if a payment corresponding to a portion of the amount of the purchase has been allocated, "partial payment" is displayed.

また、画面IMI40は、予定状態と確定状態を選択的に取るコントロール画像C46を含んでいる。デフォルトでは、コントロール画像C46は予定状態(図8に示す状態)を取る。この状態において上記の通りの売上内容及び仕入内容の明細が表示される。この状態で、入力デバイス120を用いてコントロール画像C46の「確定」が選択されると、コントロール画像C46が確定状態を取ると共に、表示された内容に対応する売上項目及び仕入項目の内容が確定する。なお、仕入調整データ413が示す仕入調整額の内容は、画面IMI40とは異なる別の画面を用いて確定の処理が実行される。 Screen IMI40 also includes a control image C46 that can be selectively set to a planned state or a confirmed state. By default, control image C46 is set to the planned state (the state shown in FIG. 8). In this state, the details of the sales and purchase contents are displayed as described above. In this state, when "Confirm" is selected on control image C46 using input device 120, control image C46 is set to the confirmed state and the contents of the sales and purchase items corresponding to the displayed contents are confirmed. Note that the contents of the purchase adjustment amount indicated by purchase adjustment data 413 are confirmed using a screen different from screen IMI40.

図6の画面IMI30において、コントロール画像C38を選択すると、図9に一例を示すように、返金・振替に関するGUI画像からなる画面IMI60がディスプレイ110に表示される。返金は、請求書の合計金額を超過する入金がなされた場合に顧客に対して超過分を返還する処理である。振替は、同様の入金の超過分を別の予約カードの請求書に対して振り分ける処理である。画面IMI60は、返金又は振替の依頼を進めるためのボタンのコントロール画像C61、返金又は振替の基本情報を表示する領域60a、返金又は振替の対象となる未振分の入金の内容を表示する領域60b、返金又は振替のための必要情報を入力する領域60c、返金又は振替の対象となる入金等と関連する入金の内容を表示する領域60d及び返金の依頼が承認された場合に依頼の内容を表示する領域60eを含んでいる。 When the control image C38 is selected on the screen IMI30 in FIG. 6, a screen IMI60 consisting of GUI images related to refunds and transfers is displayed on the display 110, as shown in FIG. 9 as an example. A refund is a process of returning the excess amount to a customer when a deposit is made that exceeds the total amount of the invoice. A transfer is a process of allocating the excess amount of a similar deposit to the invoice of another reservation card. The screen IMI60 includes a control image C61 of a button for proceeding with a refund or transfer request, an area 60a that displays basic information about the refund or transfer, an area 60b that displays the details of the unallocated deposit that is the subject of the refund or transfer, an area 60c for inputting the necessary information for the refund or transfer, an area 60d that displays the details of the deposit related to the deposit that is the subject of the refund or transfer, and an area 60e that displays the details of the request if the refund request is approved.

コントロール画像C61は入力デバイス120を通じて選択可能である。返金又は振替に係る情報が領域60a~60cに入力された後にコントロール画像C61が選択されると、その入力内容に基づいて返金又は振替の依頼が発生し、その承認待ちの状態となる。領域60aは、返金や振替の依頼を識別する依頼番号、返金等の合計額である依頼額、返金先や振替先に対応する売上先、担当者情報、返金又は振替の理由の入力欄等を含んでいる。また、領域60aはコントロール画像C62及びC63を含んでいる。コントロール画像C62は、返金又は振替の依頼が承認待ちとなった後に、業務統括責任者がその依頼内容を承認するための画像であり、「未承認」の状態及び「承認」の状態を選択的に取る。これらの状態は入力デバイス120を通じた画像の選択によって切り替わる。どちらの状態を取っているかは画像の外観の切り替えによって表示される。図9には未承認の状態が示されている。コントロール画像C63は、業務統括責任者による依頼の承認後、経理担当者が処理を実行したかどうかを入力するための画像であり、「未処理」の状態及び「実行」の状態を選択的に取る。これらの状態は入力デバイス120を通じた画像の選択によって切り替わる。どちらの状態を取っているかは画像の外観の切り替えによって表示される。図9には未処理の状態が示されている。 The control image C61 can be selected through the input device 120. When the control image C61 is selected after information related to a refund or transfer is entered in the areas 60a to 60c, a refund or transfer request is generated based on the input contents, and the state is awaiting approval. The area 60a includes a request number that identifies the refund or transfer request, a request amount that is the total amount of the refund, etc., a sales destination corresponding to the refund destination or transfer destination, person in charge information, an input field for the reason for the refund or transfer, and the like. The area 60a also includes control images C62 and C63. The control image C62 is an image for the business general manager to approve the request contents after the refund or transfer request is awaiting approval, and it selectively takes the "unapproved" state or the "approved" state. These states are switched by selecting an image through the input device 120. The state is displayed by switching the appearance of the image. The unapproved state is shown in FIG. 9. The control image C63 is an image for inputting whether the accounting staff has executed the process after the request has been approved by the general manager, and can selectively take the "unprocessed" or "executed" state. These states are switched by selecting an image via the input device 120. The state that is currently in is displayed by switching the appearance of the image. Figure 9 shows the "unprocessed" state.

領域60bは未振分の入金のリストを含んでいる。図9の例では1つの項目のみが表示されているが、同じ予約カード内の全ての候補からなる1つ又は複数の項目がリスト中に表示される。リストの各項目は、入金日、入金額等の入金の内容を表示する欄と、入金額のうち、未振分の金額に対応する未振分額を表示する欄と、未振分額のうち、入力デバイス120を用いて返金又は振替の対象となる金額を入力する欄C64とを含んでいる。領域60cは、返金と振替のいずれかを選択するためのコントロール画像C65並びに必要情報の入力欄C66及びC67を含んでいる。コントロール画像C65は、「返金」のラジオボタン及び「振替」のラジオボタンを含んでおり、入力デバイス120を用いてこれらを択一的に選択可能である。「返金」のラジオボタンを選択すると、入力欄C66が入力可能な状態になる。入力欄C66には、返金先の振り込み情報(銀行名、口座番号、口座名義等)が入力デバイス120を用いて入力される。「振替」のラジオボタンを選択すると、入力欄C67が入力可能な状態になる。入力欄C67には、振替先の請求書情報(請求番号)が入力デバイス120を用いて入力される。 Area 60b includes a list of unallocated deposits. In the example of FIG. 9, only one item is displayed, but one or more items consisting of all the candidates in the same appointment card are displayed in the list. Each item in the list includes a column displaying the details of the deposit, such as the date of deposit and the amount of deposit, a column displaying the unallocated amount of the deposit amount corresponding to the unallocated amount, and a column C64 for inputting the amount of the unallocated amount to be refunded or transferred using the input device 120. Area 60c includes a control image C65 for selecting either refund or transfer, and input columns C66 and C67 for necessary information. The control image C65 includes a "refund" radio button and a "transfer" radio button, which can be selected alternatively using the input device 120. When the "refund" radio button is selected, the input column C66 becomes ready for input. In the input column C66, the transfer information of the refund destination (bank name, account number, account name, etc.) is input using the input device 120. When the "transfer" radio button is selected, the input column C67 becomes ready for input. In the input field C67, the invoice information (invoice number) of the transfer recipient is entered using the input device 120.

領域60dには、同じ予約カード内の入金のうち、領域60bで選択された入金と入金元や、領域C66で入力された振込先が同じである入金や返金のリストが表示される。 Area 60d displays a list of deposits and refunds for the same reservation card that have the same deposit source as the deposit selected in area 60b or the same transfer destination entered in area C66.

領域60eは、図9に示すデフォルトの状態では内容が表示されていない。「返金」のラジオボタン及びコントロール画像C61の選択により返金の依頼がなされた後、コントロール画像C62の選択により依頼の承認がなされると、領域60b及び60cに入力された返金の内容が端末100からサーバ200に送信される。これに基づき、データ管理部220が、返金の内容を示すような入金データ431を生成する。そして、データ管理部220が、かかる返金の内容を示す入金を、超過が生じた入金に振り分け、その振分の内容を示す振分データ440を生成する(図12参照)。この振分データ440は、超過が生じた入金に対して返金の内容を示す入金を振り分けるデータとなる。そして、領域60eには、図10に一例を示すように、上記の通り生成された入金データ431に対応する返金の情報が表示される。この情報には入金状況、入金額等が含まれている。入金額は、返金額に対応するマイナス値を有する。 In the default state shown in FIG. 9, the area 60e does not display any content. After a refund request is made by selecting the "Refund" radio button and the control image C61, and the request is approved by selecting the control image C62, the refund content entered in the areas 60b and 60c is sent from the terminal 100 to the server 200. Based on this, the data management unit 220 generates deposit data 431 indicating the refund content. The data management unit 220 then distributes the deposit indicating the refund content to the excess deposit, and generates allocation data 440 indicating the allocation content (see FIG. 12). This allocation data 440 is data for distributing the deposit indicating the refund content to the excess deposit. Then, the area 60e displays information on the refund corresponding to the deposit data 431 generated as described above, as shown in FIG. 10 as an example. This information includes the deposit status, the deposit amount, etc. The deposit amount has a negative value corresponding to the refund amount.

「振替」のラジオボタン及びコントロール画像C61の選択により振替の依頼がなされた後、コントロール画像C62及びC63の選択により依頼の承認及び処理の実行が進められると、その旨が端末100からサーバ200に送信される。これに基づき、データ管理部220が、領域60cにおいて入力された振替先の請求書に対して入金の超過分を振り分け、その振分の内容を示す振分データ440を生成する。 After a transfer request is made by selecting the "Transfer" radio button and control image C61, the request is approved and processing is carried out by selecting control images C62 and C63, and a notification to that effect is sent from terminal 100 to server 200. Based on this, data management unit 220 allocates the excess amount of the payment to the invoice of the transfer destination entered in area 60c, and generates allocation data 440 indicating the details of the allocation.

<仕訳処理>
以下、仕訳処理部230による仕訳処理について図11~21を参照しつつ説明する。本実施形態に係る仕訳対象項目(図11~図13参照)には、売上額、売上税額、仕入額(総額)、仕入税額(総額)、仕入額(純額)、仕入調整額(純額)、仕入調整税額(純額)、仕入調整額(総額)、仕入調整税額(総額)、入金、支払、入金振分(分割・前半)、支払振分(分割・前半)、入金振分(入金同士)、入出金種別部門、入金振分(分割・後半)、支払振分(分割・後半)及び入金振分(逆仕訳)がある。これらの項目中、「総額」とは、対応する売上を売上高として計上することを意味する。また、「純額」とは、対応する利益(売上から仕入を引いた額)を売上高として計上することを意味する。総額計上か純額計上かは旅行の種類に応じて選択される。例えば、手配旅行の場合は純額計上が選択され、企画旅行の場合は総額計上が選択される。
<Journal entry processing>
The journalization processing by the journalization processing unit 230 will be described below with reference to FIGS. 11 to 21. The journalization target items according to this embodiment (see FIGS. 11 to 13) include sales amount, sales tax amount, purchase amount (total amount), purchase tax amount (total amount), purchase amount (net amount), purchase adjustment amount (net amount), purchase adjustment tax amount (net amount), purchase adjustment amount (total amount), purchase adjustment tax amount (total amount), deposit, payment, deposit allocation (split, first half), payment allocation (split, first half), deposit allocation (deposits), deposit/withdrawal type department, deposit allocation (split, second half), payment allocation (split, second half), and deposit allocation (reverse journalization). Among these items, "total amount" means that the corresponding sales are recorded as sales. Also, "net amount" means that the corresponding profit (sales minus purchases) is recorded as sales. Whether to record the total amount or the net amount is selected according to the type of travel. For example, in the case of arranged travel, net amount is selected, and in the case of packaged travel, total amount is selected.

仕訳処理部230は、仕訳方法データ470が示す仕訳の内容に基づき、上記仕訳対象項目のそれぞれに対して仕訳処理を実行する。図11~図13の各表は、仕訳方法データ470が示す仕訳の内容を表している。各表には、各仕訳対象項目に関する仕訳伝票の日付、借方勘定科目及び貸方勘定科目並びに各勘定科目に係る担当部門(部署)が含まれている。これらの表のうち、伝票日に複数の日付があるものは、複数の日付のうち最も後の日付が伝票日として選択される。 The journal entry processing unit 230 executes journal entry processing for each of the above journal entry target items based on the contents of the journal entry indicated by the journal entry method data 470. Each table in Figures 11 to 13 shows the contents of the journal entry indicated by the journal entry method data 470. Each table includes the journal entry voucher date, debit account item and credit account item, and the responsible department (division) for each account item for each journal entry target item. For those tables with multiple voucher dates, the latest date among the multiple dates is selected as the voucher date.

各表の「借方」「貸方」の右側の項目は具体的な勘定科目の求め方を示す。この項目は、「AAAA(BBBB)@CCCC」の形式を有しており、AAAA、BBBB及びCCCCの各要素は以下の内容を示している。AAAAは、勘定科目の区分を示し、「売上高」「仕入高」「前受金」「前払金」「売掛金」「買掛金(仮受税、仮払税)」のいずれかの値を有する。なお、表において、仕訳処理の対象となるデータに勘定科目が直接ある場合には「勘定科目」と表記している。BBBBは、仕訳処理の種別であり、「手配」「受託」「保険」「企画」「支払」「入金」のいずれかの値を有する。このうち、「手配」「受託」「保険」「企画」は、売上項目又は仕入項目(表中、[売仕]と表記)に関連する仕訳の種別であり、売上項目・仕入項目が手配旅行、受託旅行、保険、企画旅行のいずれに属するかに応じて設定される。入金と支払にはそれぞれ固定の専用の種別が設定されている。CCCCは、どこの金銭を操作するかを表し、売上項目、入出金種別及びそれ以外(相手方である個人又は法人)のいずれかの値を有する。表中、「売仕担当部門」は、例えば、予約業務の担当者が所属する部門であり、「入出金部門」は経理業務の担当者が所属する部門である。 The items to the right of the "Debit" and "Credit" in each table show how to calculate the specific account item. This item has the format "AAAA (BBBB) @ CCCC", and the elements AAAA, BBBB, and CCCC show the following. AAAA indicates the classification of the account item, and has one of the following values: "Sales", "Purchases", "Advance receipt", "Advance payment", "Accounts receivable", and "Accounts payable (temporary tax receipt, provisional tax payment)". In the table, if the data to be processed for journalization directly has an account item, it is written as "Account item". BBBB is the type of journalization processing, and has one of the following values: "Arrangements", "Contract", "Insurance", "Planning", "Payment", and "Deposit". Of these, "Arrangements", "Contract", "Insurance", and "Planning" are types of journalization related to sales items or purchase items (written as [Sales] in the table), and are set depending on whether the sales item or purchase item belongs to arranged travel, commissioned travel, insurance, or packaged travel. Deposits and payments each have a fixed dedicated type. CCCC indicates where the money is being handled, and can have any of the following values: sales item, type of deposit/withdrawal, or something else (the other party is an individual or corporation). In the table, the "Sales Department" is, for example, the department to which the person in charge of reservations belongs, and the "Deposit/Withdrawal Department" is the department to which the person in charge of accounting belongs.

仕訳処理部230は、各仕訳対象項目と出納データ400が示す金額との以下の対応関係に基づいて、各仕訳対象項目における仕訳の金額を出納データ400から取得する。仕訳対象項目中、図11に示す売上額は、総額計上の場合には売上データ411が示す各売上項目の金額に対応し、純額計上の場合には売上データ411が示す売上項目から、これと対応する仕入データ412が示す仕入項目を減算した額に対応する。売上税額は売上に係る税金の額を示し、売上額と売上データ411が示す税率に基づいて算出される。仕入額(総額)は、仕入データ412が示す各仕入項目の金額に対応する。仕入税額(総額)は、仕入に係る税金の額を示し、仕入額(総額)と仕入データ412が示す税率に基づいて算出される。仕入額(純額)は、仕入データ412が示す各仕入項目の金額に対応する。 The journalizing processing unit 230 obtains the journalizing amount for each journalizing target item from the receipt and disbursement data 400 based on the following correspondence between each journalizing target item and the amount indicated by the receipt and disbursement data 400. Among the journalizing target items, the sales amount shown in FIG. 11 corresponds to the amount of each sales item indicated by the sales data 411 in the case of gross amount accounting, and corresponds to the amount obtained by subtracting the corresponding purchase item indicated by the purchase data 412 from the sales item indicated by the sales data 411 in the case of net amount accounting. The sales tax amount indicates the amount of tax on sales, and is calculated based on the sales amount and the tax rate indicated by the sales data 411. The purchase amount (total amount) corresponds to the amount of each purchase item indicated by the purchase data 412. The purchase tax amount (total amount) indicates the amount of tax on purchases, and is calculated based on the purchase amount (total amount) and the tax rate indicated by the purchase data 412. The purchase amount (net amount) corresponds to the amount of each purchase item indicated by the purchase data 412.

仕入調整額(純額)及び仕入調整額(総額)は、上記の通り、為替変動等の理由で支払が元の仕入に一致しない場合であって、支払と仕入をデータ上一致させるために図7に示す画面IMI50を通じて実行される仕入の調整に伴う仕入項目の金額である。 The purchase adjustment amount (net amount) and purchase adjustment amount (gross amount) are the amounts of purchase items associated with the purchase adjustment carried out through screen IMI50 shown in FIG. 7 in order to match the payment and purchase data when the payment does not match the original purchase due to exchange rate fluctuations or other reasons, as described above.

図12に示す入金は入金データ431が示す各入金の額に対応する。支払は支払データ432が示す各支払の額に対応する。図12に示す入金振分(分割・前半)及び図13に示す入金振分(分割・後半)は、振分データ440が示す売上に対する入金の振分に対応する。本実施形態では、1つの振分に対して入金振分(分割・前半)及び入金振分(分割・後半)の2回に分けて仕訳処理が実行される。これらの仕訳において、入金振分(分割・前半)の貸方と入金振分(分割・後半)の借方の勘定科目(本発明における第1勘定科目に対応)が互いに一致している。これにより、これらの2回の仕訳が入金と売上項目を結び付ける役割を果たしている。図12に示す支払振分(分割・前半)及び図13に示す支払振分(分割・後半)は、振分データ440が示す仕入に対する支払の振分に対応する。本実施形態では、1つの振分に対して支払振分(分割・前半)及び支払振分(分割・後半)の2回に分けて仕訳処理が実行される。これらの仕訳において、支払振分(分割・前半)の貸方と支払振分(分割・後半)の借方の勘定科目(本発明における第2勘定科目に対応)が互いに一致している。これにより、これらの2回の仕訳が支払と仕入項目を結び付ける役割を果たしている。図12に示す入金振分(入金同士)は、上記の通り、振分データ440が示す振分であって、超過が生じた入金に対する返金の内容を示す入金の振分に対応する。種別部門は入出金の種別(入出金の態様や口座等)を示す。 The deposits shown in FIG. 12 correspond to the amounts of each deposit indicated by the deposit data 431. The payments correspond to the amounts of each payment indicated by the payment data 432. The deposit allocation (split, first half) shown in FIG. 12 and the deposit allocation (split, second half) shown in FIG. 13 correspond to the allocation of deposits to sales indicated by the allocation data 440. In this embodiment, the journal processing is performed twice for one allocation: the deposit allocation (split, first half) and the deposit allocation (split, second half). In these journal entries, the credit account items (corresponding to the first account item in this invention) of the deposit allocation (split, first half) and the debit account items (split, second half) of the deposit allocation (split, second half) match each other. As a result, these two journal entries play a role in linking the deposit and sales items. The payment allocation (split, first half) shown in FIG. 12 and the payment allocation (split, second half) shown in FIG. 13 correspond to the allocation of payments to purchases indicated by the allocation data 440. In this embodiment, journal processing is performed twice for one allocation: payment allocation (split, first half) and payment allocation (split, second half). In these journal entries, the credit account for the payment allocation (split, first half) and the debit account for the payment allocation (split, second half) match each other (corresponding to the second account in this invention). As a result, these two journal entries play a role in linking payments and purchase items. As described above, the deposit allocation (between deposits) shown in Figure 12 is an allocation indicated by allocation data 440, and corresponds to the allocation of deposits that indicates the details of refunds for deposits that have exceeded the limit. The type department indicates the type of deposit or withdrawal (the form of deposit or withdrawal, account, etc.).

図13に示す入金振分(逆仕訳)は、仕訳処理後の振分に対する請求額の変更等に伴う仕訳に関する。この仕訳は、一旦仕訳処理がなされた振分の仕訳を取り消すような内容を有している。具体的には、入金振分(逆仕訳)の借方勘定科目が取り消しの対象となる振分の仕訳の貸方勘定科目(図中、「元の貸方勘定」)となり、入金振分(逆仕訳)の貸方勘定科目が取り消しの対象となる振分の仕訳の借方勘定科目(図中、「元の借方勘定」)となる。 The deposit allocation (reversal journal entry) shown in Figure 13 relates to journal entries accompanying changes to the invoice amount for the allocation after journal entry processing. This journal entry has content that cancels the journal entry of an allocation that has already been journalized. Specifically, the debit account item of the deposit allocation (reversal journal entry) becomes the credit account item of the journal entry of the allocation that is the subject of cancellation (the "original credit account" in the figure), and the credit account item of the deposit allocation (reversal journal entry) becomes the debit account item of the journal entry of the allocation that is the subject of cancellation (the "original debit account" in the figure).

仕訳処理部230は、仕訳処理に当たり、図14~図21のフローチャートに沿った処理を実行する。なお、以下において「XXX」の仕訳の実行は、図11~図13に示す仕訳の内容のうち、仕訳対象項目が「XXX」であるものが実行されることに対応するものとする。 When performing journal entry processing, the journal entry processing unit 230 executes processing in accordance with the flowcharts in Figures 14 to 21. Note that in the following, the execution of journal entry for "XXX" corresponds to the execution of the journal entry content shown in Figures 11 to 13 in which the journal entry target item is "XXX".

図14のフローチャートは、売上及び仕入関連の仕訳処理のメインルーチンに対応する。このルーチンは、旅行会社の会計処理方針に応じた一定の締め期間ごと、例えば月末締めの場合には、月初から月末までの1か月の締め期間ごとに実行される。まず、仕訳処理部230は、ステップS1及びS2として、締め期間に属する各日付を仕訳日とする売上・仕入仕訳サブルーチン及び仕入調整仕訳サブルーチンを順に実行する。売上・仕入仕訳サブルーチン及び仕入調整仕訳サブルーチンでは、後述の通り、売上額、仕入額、仕入調整額等の仕訳対象項目に対する仕訳が実行される。仕訳日は、前回の締め期間末日の翌日から開始され、これらのサブルーチンが1回実行されるたびに1日ずつ進められる。次に、仕訳処理部230は、S1及びS2において実行された仕訳の結果を示すデータを記憶部210の仕訳結果データ470に追加する(S3)。次に、仕訳処理部230は、今回の締め期間の末日まで仕訳を実行したかを判定する(S4)。末日まで実行していないと判定すると(S4、No)、仕訳処理部230は、次の日の仕訳に関するステップS1からの処理を実行する。末日まで実行したと判定すると(S4、Yes)、仕訳処理部230は図14のフローチャートに係る一連の処理を終了する。これにより、締め期間の末日までの売上及び仕入関連の仕訳処理がすべて実行される。 The flowchart in FIG. 14 corresponds to the main routine of the accounting process related to sales and purchases. This routine is executed for each fixed closing period according to the travel agency's accounting policy, for example, for each closing period of one month from the beginning of the month to the end of the month in the case of closing at the end of the month. First, the accounting processing unit 230 executes the sales/purchase accounting subroutine and the purchase adjustment accounting subroutine in order in steps S1 and S2, with each date belonging to the closing period as the accounting date. In the sales/purchase accounting subroutine and the purchase adjustment accounting subroutine, as described below, accounting is executed for the items to be accounted for, such as the sales amount, the purchase amount, and the purchase adjustment amount. The accounting date starts from the day after the last day of the previous closing period, and is advanced by one day each time these subroutines are executed. Next, the accounting processing unit 230 adds data indicating the results of the accounting executed in S1 and S2 to the accounting result data 470 in the memory unit 210 (S3). Next, the accounting processing unit 230 determines whether accounting has been executed up to the last day of the current closing period (S4). If it is determined that the accounting has not been performed until the last day (S4, No), the accounting processing unit 230 executes the processing from step S1 for the next day's accounting. If it is determined that the accounting has been performed until the last day (S4, Yes), the accounting processing unit 230 ends the series of processes related to the flowchart in FIG. 14. This completes all accounting processing related to sales and purchases until the last day of the closing period.

なお、ステップS1及びS2のサブルーチンの実行がエラーにより途中で終了した場合には、仕訳処理部230はロールバック処理を実行する(S5)。ロールバック処理は、そのときに仕訳を実行中であった日付の仕訳処理分に対してのみ実行される。つまり、ロールバック処理により、当該締め期間に関する仕訳処理が、エラーが発生したときにサブルーチンにおいて仕訳の対象とされた日付の前日までの仕訳が完了した直後の状態にまで戻される。そして、仕訳処理部230は図14のフローチャートに係る一連の処理を終了する。 If the execution of the subroutine in steps S1 and S2 ends prematurely due to an error, the journal entry processing unit 230 executes rollback processing (S5). The rollback processing is executed only for the journal entry processing for the date on which journal entry was being executed at that time. In other words, the rollback processing returns the journal entry processing for the closing period to the state immediately after the journal entry up to the day before the date that was the subject of journal entry in the subroutine was completed when the error occurred. The journal entry processing unit 230 then ends the series of processes related to the flowchart in FIG. 14.

仕訳処理部230は、売上・仕入仕訳サブルーチンとして、図15のフローチャートに対応する処理を実行する。まず、仕訳処理部230は、売上データ411及び仕入データ412に基づき、締め対象となる売上項目及び仕入項目のリストを取得する(S11)。締め対象となるのは、売上日又は仕入日が仕訳日と一致する売上項目及び仕入項目である。次に、仕訳処理部230は、リスト中の1つの売上項目及びこれと対応する1つの仕入項目からなる項目ペアの1つについてステップS12~S17の処理を実行する。ステップS12として、仕訳処理部230は、上記項目ペアの売上項目及び仕入項目がいずれも確定済みであるか否かを判定する。未確定であると判定した場合(S12、未確定)、仕訳処理部230は、エラーが発生したものとしてサブルーチンの実行を終了し、メインルーチンである図14のフローチャートによる処理に戻る。その後のエラー処理は上記の通りである。確定済みであると判定した場合(S12、確定済)、仕訳処理部230は、上記項目ペアの売上項目に対し、「売上額」及び「売上税額」の仕訳を実行する(S13及びS14)。かかる仕訳の内容は図11に示す通りである。 The journal processing unit 230 executes the process corresponding to the flowchart of FIG. 15 as a sales/purchase journalizing subroutine. First, the journal processing unit 230 acquires a list of sales items and purchase items to be closed based on the sales data 411 and purchase data 412 (S11). The sales items and purchase items to be closed are the sales items and purchase items whose sales date or purchase date matches the journalizing date. Next, the journal processing unit 230 executes the process of steps S12 to S17 for one item pair consisting of one sales item and one corresponding purchase item in the list. In step S12, the journal processing unit 230 determines whether the sales items and purchase items of the above item pair have both been confirmed. If it is determined that they are not confirmed (S12, not confirmed), the journal processing unit 230 terminates the execution of the subroutine as an error has occurred and returns to the process according to the flowchart of FIG. 14, which is the main routine. The error processing thereafter is as described above. If it is determined that the transaction has been confirmed (S12, confirmed), the journalizing unit 230 executes journalizing of the "sales amount" and "sales tax amount" for the sales items of the above item pair (S13 and S14). The contents of such journalizing are as shown in FIG. 11.

次に、仕訳処理部230は、上記項目ペアに含まれる仕入項目の仕訳方法が総額計上であるか純額計上であるかを判定する(S15)。かかる判定は、予約データ420に基づき、その仕入項目と対応した旅行の種類に応じて行われる。例えば、旅行の種類が手配旅行である場合には純額計上と判定され、旅行の種類が企画旅行である場合には総額計上と判定される。次に、上記項目ペアの仕入項目について、ステップS15の判定に応じて「仕入額(総額)」及び「仕入税額(総額)」の仕訳か、「仕入額(純額)」の仕訳が実行される(S15、総額→S17及びS18/S15、純額→S20及びS21)。次に、仕訳処理部230は、ステップS11で取得された項目のうち、ステップS13、S14、S16、S17及びS20におけるいずれの仕訳も実行されていないもの(未仕訳の項目)があるか否かを判定する(S17)。未仕訳の項目があると判定した場合(S18、Yes)、仕訳処理部230は、未仕訳の項目のうちのいずれか1つに関してステップS12からの処理を実行する。 Next, the journalizing processing unit 230 judges whether the journalizing method of the purchase items included in the above item pair is gross amount accounting or net amount accounting (S15). This judgment is made based on the reservation data 420 and according to the type of trip corresponding to the purchase item. For example, if the type of trip is an arranged trip, it is judged to be net amount accounting, and if the type of trip is a package trip, it is judged to be gross amount accounting. Next, for the purchase items of the above item pair, journalizing is performed as "purchase amount (gross amount)" and "purchase tax amount (gross amount)" or "purchase amount (net amount)" according to the judgment of step S15 (S15, gross amount → S17 and S18 / S15, net amount → S20 and S21). Next, the journalizing processing unit 230 judges whether there are any items (unjournalized items) that have not been journalized in any of steps S13, S14, S16, S17, and S20 among the items acquired in step S11 (S17). If it is determined that there are unjournaled items (S18, Yes), the journalizing processing unit 230 executes the process from step S12 for one of the unjournaled items.

未仕訳の項目がないと判定した場合(S18、No)、仕訳処理部230は、後述の追加仕訳サブルーチンを実行する(S19)。仕訳処理部230は、追加仕訳サブルーチンを実行するに当たり、“追加仕訳実行リスト”を作成する。“追加仕訳実行リスト”は、追加仕訳の実行が必要な振分のリストである。かかる振分は、後述の振分仕訳サブルーチンのステップS69において作成された“要追加仕訳リスト”中の振分のうち、その振分先である売上項目又は仕入項目について、今回の売上・仕入仕訳サブルーチンの実行においてステップS13、S16又はS20の仕訳がなされたものに該当する。そして、仕訳処理部230は、“追加仕訳実行リスト”に含まれる振分に基づいて追加仕訳サブルーチンを実行する。次に、仕訳処理部230は、売上・仕入仕訳サブルーチンの実行を終了し、メインルーチンである図14のフローチャートによる処理に戻る。 When it is determined that there are no unjournalized items (S18, No), the journalizing processing unit 230 executes the additional journalizing subroutine described later (S19). When executing the additional journalizing subroutine, the journalizing processing unit 230 creates an "additional journalizing execution list". The "additional journalizing execution list" is a list of allocations that require additional journalizing. Such allocations correspond to those in the "additional journalizing list" created in step S69 of the allocation journalizing subroutine described later, for which the sales item or purchase item to which the allocation is assigned has been journalized in step S13, S16, or S20 in the execution of the current sales/purchase journalizing subroutine. Then, the journalizing processing unit 230 executes the additional journalizing subroutine based on the allocations included in the "additional journalizing execution list". Next, the journalizing processing unit 230 ends the execution of the sales/purchase journalizing subroutine and returns to the processing according to the flowchart of FIG. 14, which is the main routine.

仕訳処理部230は、仕入調整仕訳サブルーチンとして、図16のフローチャートに対応する処理を実行する。まず、仕訳処理部230は、仕入調整データ413に基づき、締め対象となる仕入調整のリストを取得する(S31)。締め対象となるのは、仕訳日と一致する仕入日の仕入項目と対応する仕入調整である。次に、仕訳処理部230は、リスト中の1つの仕入調整(以下、「当該仕入調整」という。)についてステップS32~S38の処理を実行する。ステップS32として、仕訳処理部230は、仕入調整が確定済みであるか否かを判定する。未確定であると判定した場合(S32、未確定)、仕訳処理部230は、エラーが発生したものとしてサブルーチンの実行を終了し、メインルーチンである図14のフローチャートによる処理に戻る。その後のエラー処理は上記の通りである。 The journal processing unit 230 executes the process corresponding to the flowchart in FIG. 16 as the purchase adjustment journal entry subroutine. First, the journal processing unit 230 acquires a list of purchase adjustments to be closed based on the purchase adjustment data 413 (S31). The purchase adjustments to be closed are the purchase adjustments corresponding to the purchase items with purchase dates that match the journal entry date. Next, the journal processing unit 230 executes the process of steps S32 to S38 for one purchase adjustment in the list (hereinafter referred to as the "purchase adjustment"). In step S32, the journal processing unit 230 determines whether the purchase adjustment has been confirmed. If it is determined that the purchase adjustment has not been confirmed (S32, not confirmed), the journal processing unit 230 terminates the execution of the subroutine as an error has occurred and returns to the process according to the flowchart in FIG. 14, which is the main routine. The error processing thereafter is as described above.

確定済みであると判定した場合(S32、確定済)、仕訳処理部230は、当該仕入調整の仕訳方法が総額計上であるか純額計上であるかを判定する(S33)。かかる判定は、予約データ420に基づき、その仕入調整と対応した仕入項目における旅行の種類に応じて行われる。例えば、旅行の種類が手配旅行である場合には純額計上と判定され、旅行の種類が企画旅行である場合には総額計上と判定される。次に、ステップS33の判定に応じて「仕入調整額(総額)」及び「仕入調整税額(総額)」の仕訳か、「仕入調整額(純額)」及び「仕入調整税額(純額)」の仕訳が実行される(S33、総額→S34及びS35/S33、純額→S37及びS38)。かかる仕訳の内容は図11に示す通りである。次に、仕訳処理部230は、ステップS31で取得された仕入調整のうち、ステップS34、S35、S37及びS38におけるいずれの仕訳も実行されていないもの(未仕訳の仕入調整)があるか否かを判定する(S36)。未仕訳の仕入調整があると判定した場合(S36、Yes)、仕訳処理部230は、未仕訳の仕入調整のうちのいずれか1つに関してステップS32からの処理を実行する。未仕訳の項目がないと判定した場合(S36、No)、仕訳処理部230は、仕入調整仕訳サブルーチンの実行を終了し、メインルーチンである図14のフローチャートによる処理に戻る。 If it is determined that the amount has been confirmed (S32, confirmed), the accounting processing unit 230 determines whether the accounting method for the purchase adjustment is gross accounting or net accounting (S33). This determination is made based on the reservation data 420 and on the type of trip in the purchase item corresponding to the purchase adjustment. For example, if the type of trip is an arranged trip, it is determined to be net accounting, and if the type of trip is a packaged trip, it is determined to be gross accounting. Next, depending on the determination in step S33, the accounting is performed for the "purchase adjustment amount (gross amount)" and the "purchase adjustment tax amount (gross amount)" or the "purchase adjustment amount (net amount)" and the "purchase adjustment tax amount (net amount)" (S33, gross amount → S34 and S35 / S33, net amount → S37 and S38). The contents of such accounting are as shown in FIG. 11. Next, the journal processing unit 230 determines whether or not there is any of the purchase adjustments acquired in step S31 for which no journalization has been performed in steps S34, S35, S37, or S38 (unjournalized purchase adjustments) (S36). If it is determined that there is an unjournalized purchase adjustment (S36, Yes), the journal processing unit 230 executes the process from step S32 for any one of the unjournalized purchase adjustments. If it is determined that there is no unjournalized item (S36, No), the journal processing unit 230 ends the execution of the purchase adjustment journalization subroutine and returns to the main routine, which is the process according to the flowchart of FIG. 14.

図17のフローチャートは、入出金及び振分関連の仕訳処理のメインルーチンに対応する。このルーチンは、旅行会社の会計処理方針に応じた一定の締め期間ごと、例えば月末締めの場合には1か月の締め期間ごとに実行される。まず、仕訳処理部230は、ステップS41~43として、締め期間に属する各日付を仕訳日とする入出金仕訳サブルーチン、振分仕訳サブルーチン及び振分逆仕訳サブルーチンを順に実行する。これらのサブルーチンは、後述の通り、入金、支払、入金振分、支払振分等の仕訳対象項目に対する仕訳が実行される。仕訳日は、前回の締め期間末日の翌日から開始され、これらのサブルーチンが1回実行されるたびに1日ずつ進められる。次に、仕訳処理部230は、S41~S43において実行された仕訳の結果を示すデータを記憶部210の仕訳結果データ470に追加する(S44)。次に、仕訳処理部230は、今回の締め期間の末日まで仕訳を実行したかを判定する(S45)。末日まで実行していないと判定すると(S45、No)、仕訳処理部230は、次の日の仕訳に関するステップS41からの処理を実行する。末日まで実行したと判定すると(S45、Yes)、仕訳処理部230は図17のフローチャートに係る一連の処理を終了する。これにより、締め期間の末日までの入出金及び振分関連の仕訳処理がすべて実行される。 The flowchart in FIG. 17 corresponds to the main routine of the journal processing related to deposits, withdrawals, and allocation. This routine is executed for each fixed closing period according to the travel agency's accounting policy, for example, for each closing period of one month in the case of closing at the end of the month. First, the journal processing unit 230 executes the deposit and withdrawal journal subroutine, the allocation journal subroutine, and the allocation reversal journal subroutine in order as steps S41 to S43, with each date belonging to the closing period as the journal entry date. As described below, these subroutines execute journal entries for items to be journalized, such as deposits, payments, deposit allocation, and payment allocation. The journal entry date starts from the day after the last day of the previous closing period, and is advanced by one day each time these subroutines are executed. Next, the journal processing unit 230 adds data showing the results of the journal entries executed in S41 to S43 to the journal entry result data 470 in the memory unit 210 (S44). Next, the journal processing unit 230 determines whether journal entries have been executed up to the last day of the current closing period (S45). If it is determined that the accounting has not been performed until the last day (S45, No), the accounting processing unit 230 executes the process from step S41 for the next day's accounting. If it is determined that the accounting has been performed until the last day (S45, Yes), the accounting processing unit 230 ends the series of processes related to the flowchart in FIG. 17. This completes all accounting processes related to deposits, withdrawals, and allocations until the last day of the closing period.

仕訳処理部230は、入出金仕訳サブルーチンとして、図18のフローチャートに対応する処理を実行する。まず、仕訳処理部230は、入金データ431及び支払データ432に基づき、締め対象となる入金及び支払のリストを取得する(S51)。締め対象となるのは、入金日又は支払日が仕訳日と一致する入金及び支払である。次に、仕訳処理部230は、リスト中の1つの入出金(入出金仕訳サブルーチンに係る以下の説明において「当該入出金」という。)についてステップS52~S55の処理を実行する。ステップS52において、仕訳処理部230は、当該入出金が入金であるか支払であるかを判定する。次に、ステップS52の判定に応じて「入金」仕訳か「支払」仕訳が実行される(S52、入金→S53/S52、支払→S55)。かかる仕訳の内容は図12に示す通りである。次に、仕訳処理部230は、ステップS51で取得された入出金のうち、ステップS53及びS55におけるいずれの仕訳も実行されていないもの(未仕訳の入出金)があるか否かを判定する(S54)。未仕訳の入出金があると判定した場合(S54、Yes)、仕訳処理部230は、未仕訳の入出金のうちのいずれか1つに関してステップS52からの処理を実行する。未仕訳の項目がないと判定した場合(S54、No)、仕訳処理部230は、入出金仕訳サブルーチンの実行を終了し、メインルーチンである図17のフローチャートによる処理に戻る。 The journalizing processing unit 230 executes the process corresponding to the flowchart of FIG. 18 as a deposit/withdrawal journalizing subroutine. First, the journalizing processing unit 230 acquires a list of deposits and payments to be closed based on the deposit data 431 and payment data 432 (S51). The deposits and payments to be closed are those whose deposit date or payment date matches the journalizing date. Next, the journalizing processing unit 230 executes the process of steps S52 to S55 for one deposit/withdrawal in the list (referred to as the "received deposit/withdrawal" in the following explanation of the deposit/withdrawal journalizing subroutine). In step S52, the journalizing processing unit 230 judges whether the deposit/withdrawal is a deposit or a payment. Next, depending on the judgment of step S52, a "deposit" journalizing or a "payment" journalizing is executed (S52, deposit → S53/S52, payment → S55). The contents of such journalizing are as shown in FIG. 12. Next, the journalizing processing unit 230 determines whether or not there are any deposits or withdrawals that have not been journalized in steps S53 and S55 (unjournalized deposits and withdrawals) among the deposits and withdrawals acquired in step S51 (S54). If it is determined that there are unjournalized deposits and withdrawals (S54, Yes), the journalizing processing unit 230 executes the process from step S52 for any one of the unjournalized deposits and withdrawals. If it is determined that there are no unjournalized items (S54, No), the journalizing processing unit 230 ends the execution of the deposit and withdrawal journalizing subroutine and returns to the main routine, which is the process according to the flowchart of FIG. 17.

仕訳処理部230は、振分仕訳サブルーチンとして、図19のフローチャートに対応する処理を実行する。まず、仕訳処理部230は、入出金データ430及び振分データ440に基づき、締め対象となる振分のリストを取得する(S61)。締め対象となるのは、振分日が仕訳日と一致し、振分元が締め済の入出金であり且つ振分先が売上項目若しくは仕入項目又は締め済み(仕訳済み)の入金である振分である。次に、仕訳処理部230は、リスト中の1つの振分(以下、「当該振分」という。)についてステップS62~S67の処理を実行する。ステップS62において、仕訳処理部230は、当該振分の振分先が売上又は仕入であるか締め済の入金であるかを判定する(S62)。締め済の入金であると判定した場合(S62、締め済の入金)には、仕訳処理部230は、「入金振分(入金同士)」仕訳を実行し(ステップS71)、後述のステップS67の処理を実行する。 The journalizing processing unit 230 executes the process corresponding to the flowchart of FIG. 19 as a distribution journalizing subroutine. First, the journalizing processing unit 230 acquires a list of distributions to be closed based on the deposit/withdrawal data 430 and the distribution data 440 (S61). The distributions to be closed are those whose distribution date matches the journalizing date, whose distribution source is a closed deposit/withdrawal, and whose distribution destination is a sales item or purchase item or a closed (journalized) deposit. Next, the journalizing processing unit 230 executes the process of steps S62 to S67 for one distribution in the list (hereinafter referred to as the "distribution"). In step S62, the journalizing processing unit 230 determines whether the distribution destination of the distribution is sales or purchase, or a closed deposit (S62). If it is determined that the deposit is closed (S62, closed deposit), the journalizing processing unit 230 executes the "deposit distribution (deposits)" journalizing (step S71) and executes the process of step S67 described later.

振分先が売上項目又は仕入項目であると判定した場合(S62、売上項目/仕入項目)、仕訳処理部230は、「種別部門」仕訳を実行する(S63)。かかる仕訳の内容は図12に示す通りである。次に、仕訳処理部230は、当該振分の振分先の項目が締め済み(仕訳済み)であるか否かを判定する(S64)。締め済みであると判定した場合(S64、Yes)、ステップS65の処理を実行する。ステップS64において振分先の項目が締め済でないと判定した場合(S64、No)、当該振分を“要追加仕訳リスト”に追加する(S69)。“要追加仕訳リスト”は、リストに追加された時点では振分先について仕訳が実行されておらず、振分先について仕訳が実行された後に追加的な仕訳(本実施形態において「追加仕訳」という。)が必要である振分のリストである。次に、仕訳処理部230は、当該振分の振分元が入金であるか支払であるかを判定する(S65)。振分元が入金であると判定した場合(S65、入金)、仕訳処理部230は、「入金振分(分割・前半)」の仕訳(本発明における第1の仕訳処理に対応)を実行する(S66)。一方、振分元が支払であると判定した場合(S65、支払)、仕訳処理部230は、「支払振分(分割・前半)」の仕訳(本発明における第3の仕訳処理に対応)を実行する(S70)。かかる仕訳の内容は図12に示す通りである。これらの仕訳は、当該振分の振分先である売上項目又は仕入項目の基準日が振分元である入金又は支払の基準日より後であるか否かに関わらず実行されることになる。そして、仕訳処理部230は、ステップS67の処理を実行する。 If it is determined that the allocation destination is a sales item or a purchase item (S62, sales item/purchase item), the journal processing unit 230 executes a "type department" journal entry (S63). The contents of such journal entry are as shown in FIG. 12. Next, the journal entry processing unit 230 determines whether the item to which the allocation is to be allocated has been closed (journalized) (S64). If it is determined that it has been closed (S64, Yes), it executes the processing of step S65. If it is determined in step S64 that the item to which the allocation is to be allocated has not been closed (S64, No), it adds the allocation to the "additional journal entry required list" (S69). The "additional journal entry required list" is a list of allocations for which journal entry has not been performed for the allocation destination at the time of addition to the list, and additional journal entry (referred to as "additional journal entry" in this embodiment) is required after journal entry has been performed for the allocation destination. Next, the journal entry processing unit 230 determines whether the allocation source of the allocation is a deposit or a payment (S65). If it is determined that the source of the allocation is a deposit (S65, deposit), the journalizing processing unit 230 executes the journalizing process of "Deposit allocation (split, first half)" (corresponding to the first journalizing process of the present invention) (S66). On the other hand, if it is determined that the source of the allocation is a payment (S65, payment), the journalizing processing unit 230 executes the journalizing process of "Payment allocation (split, first half)" (corresponding to the third journalizing process of the present invention) (S70). The contents of such journalizing are as shown in FIG. 12. These journalizing processes are executed regardless of whether the base date of the sales item or purchase item to which the allocation is assigned is later than the base date of the deposit or payment to which the allocation is assigned. Then, the journalizing processing unit 230 executes the process of step S67.

ステップS67において、仕訳処理部230は、ステップS61で取得された振分のうち、ステップS66、S70及びS71におけるいずれの仕訳も実行されていないもの(未仕訳の振分)があるか否かを判定する。未仕訳の振分があると判定した場合(S67、Yes)、仕訳処理部230は、未仕訳の振分のうちのいずれか1つに関してステップS62からの処理を実行する。未仕訳の項目がないと判定した場合(S67、No)、後述の追加仕訳サブルーチンを実行する(S68)。仕訳処理部230は、追加仕訳サブルーチンを実行するに当たり、“追加仕訳実行リスト”を作成する。“追加仕訳実行リスト”は、追加仕訳の実行が必要な振分のリストである。かかる振分は、今回の振分仕訳サブルーチンの実行においてステップS66又はS70の仕訳がなされた振分のうち、ステップS64において振分先の項目が締め済であると判定されたものに該当する。そして、仕訳処理部230は、“追加仕訳実行リスト”に含まれる振分に基づいて追加仕訳サブルーチンを実行する。次に、仕訳処理部230は、振分仕訳サブルーチンの実行を終了し、メインルーチンである図17のフローチャートによる処理に戻る。 In step S67, the journalizing processing unit 230 determines whether or not there is any of the allocations acquired in step S61 for which no journalizing has been performed in steps S66, S70, or S71 (unjournalized allocations). If it is determined that there is an unjournalized allocation (S67, Yes), the journalizing processing unit 230 executes the process from step S62 for one of the unjournalized allocations. If it is determined that there is no unjournalized item (S67, No), it executes the additional journalizing subroutine described below (S68). When executing the additional journalizing subroutine, the journalizing processing unit 230 creates an "additional journalizing execution list". The "additional journalizing execution list" is a list of allocations that require additional journalizing. Such allocations correspond to those that have been journalized in step S66 or S70 in the current execution of the allocation journalizing subroutine, and for which it has been determined in step S64 that the item to which the allocation is to be assigned has been closed. Then, the journalizing processing unit 230 executes the additional journalizing subroutine based on the allocation included in the "additional journalizing execution list." Next, the journalizing processing unit 230 ends the execution of the allocation journalizing subroutine and returns to the main routine, which is the processing according to the flowchart of FIG. 17.

仕訳処理部230は、振分逆仕訳サブルーチンとして、図20のフローチャートに対応する処理を実行する。まず、仕訳処理部230は、振分データ440に基づき、締め対象となる振分のリストを取得する(S81)。締め対象となるのは、振分の基準日が仕訳日と一致する振分であって、VOID処理がなされたものである。次に、仕訳処理部230は、リスト中の1つの振分について「入金振分(逆仕訳)」の仕訳を実行する。かかる仕訳の内容は図13に示す通りである。次に、仕訳処理部230は、ステップS81で取得された振分のうち、ステップS82におけるいずれの仕訳も実行されていないもの(未仕訳の振分)があるか否かを判定する(S83)。未仕訳の振分があると判定した場合(S83、Yes)、仕訳処理部230は、未仕訳の振分のうちのいずれか1つに関してステップS82の処理を実行する。未仕訳の項目がないと判定した場合(S83、No)、仕訳処理部230は、振分逆仕訳サブルーチンの実行を終了し、メインルーチンである図17のフローチャートによる処理に戻る。 The journalizing processing unit 230 executes the process corresponding to the flowchart of FIG. 20 as a reversal of allocation subroutine. First, the journalizing processing unit 230 acquires a list of allocations to be closed based on the allocation data 440 (S81). The allocations to be closed are those whose allocation reference date matches the journalizing date and that have been subjected to VOID processing. Next, the journalizing processing unit 230 executes the journalization of "Deposit allocation (reversal)" for one of the allocations in the list. The contents of such journalization are as shown in FIG. 13. Next, the journalizing processing unit 230 determines whether or not there is any of the allocations acquired in step S81 for which no journalization has been performed in step S82 (unjournalized allocation) (S83). If it is determined that there is an unjournalized allocation (S83, Yes), the journalizing processing unit 230 executes the process of step S82 for any one of the unjournalized allocations. If it is determined that there are no unjournalized items (S83, No), the journalization processing unit 230 ends the execution of the allocation reversal subroutine and returns to the main routine, which is the processing according to the flowchart in FIG. 17.

仕訳処理部230は、追加仕訳サブルーチンとして、図21のフローチャートに対応する処理を実行する。まず、仕訳処理部230は、追加仕訳サブルーチンの呼び出し元のサブルーチン(売上・仕入仕訳サブルーチン又は振分仕訳サブルーチン)において作成された“追加仕訳実行リスト”に基づき、締め対象となる入出金のリストを取得する(S91)。締め対象となるのは、“追加仕訳実行リスト”に含まれる振分の振分元に対応する入金及び支払である。次に、仕訳処理部230は、リスト中の1つの入出金(追加仕訳サブルーチンに係る以下の説明において「当該入出金」という。)についてステップS92~S95の処理を実行する。ステップS92において、仕訳処理部230は、当該入出金が入金であるか支払であるかを判定する。次に、ステップS92の判定に応じて「入金振分(分割・後半)」の仕訳(本発明における第2の仕訳処理に対応)か「支払振分(分割・後半)」の仕訳(本発明における第4の仕訳処理に対応)が実行される(S92、入金→S93/S92、支払→S95)。かかる仕訳の内容は図13に示す通りである。次に、仕訳処理部230は、ステップS91で取得された入出金のうち、ステップS93及びS95におけるいずれの仕訳も実行されていないもの(未仕訳の入出金)があるか否かを判定する(S94)。未仕訳の入出金があると判定した場合(S94、Yes)、仕訳処理部230は、未仕訳の入出金のうちのいずれか1つに関してステップS92からの処理を実行する。未仕訳の項目がないと判定した場合(S94、No)、仕訳処理部230は、追加仕訳サブルーチンの実行を終了し、呼び出し元のサブルーチンによる処理に戻る。 The journalizing processing unit 230 executes the process corresponding to the flowchart in FIG. 21 as an additional journalizing subroutine. First, the journalizing processing unit 230 acquires a list of deposits and withdrawals to be closed based on the "additional journalizing execution list" created in the subroutine that called the additional journalizing subroutine (sales/purchase journalizing subroutine or allocation journalizing subroutine) (S91). The deposits and payments to be closed are those corresponding to the allocation sources included in the "additional journalizing execution list". Next, the journalizing processing unit 230 executes the process of steps S92 to S95 for one deposit or withdrawal in the list (referred to as "the deposit or withdrawal in question" in the following explanation of the additional journalizing subroutine). In step S92, the journalizing processing unit 230 determines whether the deposit or withdrawal in question is a deposit or a payment. Next, depending on the judgment of step S92, either the journal entry of "Deposit allocation (split, latter half)" (corresponding to the second journal entry process in the present invention) or the journal entry of "Payment allocation (split, latter half)" (corresponding to the fourth journal entry process in the present invention) is executed (S92, deposit → S93/S92, payment → S95). The contents of such journal entry are as shown in FIG. 13. Next, the journal entry processing unit 230 judges whether or not there is any of the deposits and withdrawals acquired in step S91 that have not been journalized in steps S93 and S95 (unjournalized deposits and withdrawals) (S94). If it is judged that there is an unjournalized deposit or withdrawal (S94, Yes), the journal entry processing unit 230 executes the process from step S92 for any one of the unjournalized deposits and withdrawals. If it is judged that there is no unjournalized item (S94, No), the journal entry processing unit 230 ends the execution of the additional journal entry subroutine and returns to the processing by the subroutine that called it.

図22の表は、図3(a)の内容を示す出納データ400に基づいて仕訳処理部230が生成した仕訳結果データ470の内容を示している。仕訳伝票の内容は伝票日の順に並べられている。図22の表において、「7/1」等の日付は伝票日を示す。「入金」「売上額」は仕訳対象項目(図11及び図12参照)を示す。「入金振分(前)」「入金振分(あと)」は、仕訳対象項目である入金振分(分割・前半)及び入金振分(分割・後半)をそれぞれ示す。「売上高」「売掛金」「前受金」「入出金」は、勘定科目の内容を示している。「予約」「経理」は各勘定科目に係る担当部門を示している。「借」及び「貸」は、借方勘定科目及び貸方勘定科目であることをそれぞれ示す。「1」「2」「3」「6」は金額の大きさを示す。具体的には、「1」は1,000円を、「2」は2,000円を、「3」は3,000円を、「6」は6,000円をそれぞれ示す。サーバ200は、これらの仕訳伝票の内容を、例えば月末締めで出力する。図22に示すように、7月末締めの場合、伝票日が7/1~7/31の範囲にある仕訳伝票の内容がまとめて出力される。8月末締めの場合、同様に、伝票日が8/1~8/31の範囲にある仕訳伝票の内容がまとめて出力される。9月末締め、10月末締め、11月末締め及び12月末締めも同様である。出力は、ディスプレイ110への表示や印刷装置140による用紙への印刷、記録媒体への記録等、様々な態様でなされてよい。 The table in FIG. 22 shows the contents of the journal entry result data 470 generated by the journal entry processing unit 230 based on the receipt and disbursement data 400 shown in FIG. 3(a). The contents of the journal entry vouchers are arranged in order of the voucher date. In the table in FIG. 22, dates such as "7/1" indicate the voucher date. "Deposit" and "Sales amount" indicate the items to be journalized (see FIG. 11 and FIG. 12). "Deposit allocation (before)" and "Deposit allocation (after)" indicate the items to be journalized, deposit allocation (split, first half) and deposit allocation (split, second half), respectively. "Sales", "Accounts receivable", "Advance receipt", and "Deposits and withdrawals" indicate the contents of the account items. "Reservations" and "Accounting" indicate the departments in charge of each account item. "Debit" and "Credit" indicate debit and credit account items, respectively. "1", "2", "3", and "6" indicate the size of the amount. Specifically, "1" indicates 1,000 yen, "2" indicates 2,000 yen, "3" indicates 3,000 yen, and "6" indicates 6,000 yen. The server 200 outputs the contents of these journal vouchers, for example, at the end of the month. As shown in FIG. 22, in the case of the end of July, the contents of journal vouchers with voucher dates in the range of 7/1 to 7/31 are output together. In the case of the end of August, the contents of journal vouchers with voucher dates in the range of 8/1 to 8/31 are output together. The same applies to the end of September, October, November, and December. Output may be done in various ways, such as displaying on the display 110, printing on paper by the printer 140, or recording on a recording medium.

<仕訳評価処理>
以下、サーバ200が実行する仕訳評価処理について説明する。仕訳評価処理は、上述の通り、出納データ400が示す売上、入金等の会計情報と、仕訳処理部230によって生成され、記憶部210に格納された仕訳結果データ470が示す仕訳結果とが整合しているか否かの正否を評価する処理である。仕訳評価処理は、適宜のタイミングでサーバ200が自動で実行してもよいし、ユーザが指定したタイミングでサーバ200が実行してもよい。出納データ400における仕訳評価処理の対象は、出納データ400に含まれるデータのうち、仕訳処理済みのもの全てである。仕訳結果データ470における仕訳評価処理の対象は、出納データ400における仕訳評価処理の対象と対応するものである。整合の評価は、仕訳結果データ470が示す、売上項目、仕入項目、仕入調整額、入金、支払及び振分の各項目と仕訳伝票との関連付けに基づいて行われる。
<Journal Entry Evaluation Processing>
The journal evaluation process executed by the server 200 will be described below. As described above, the journal evaluation process is a process for evaluating whether the accounting information such as sales and deposits indicated by the receipt and disbursement data 400 is consistent with the journal result indicated by the journal processing unit 230 and stored in the storage unit 210. The journal evaluation process may be automatically executed by the server 200 at an appropriate timing, or may be executed by the server 200 at a timing specified by the user. The target of the journal evaluation process in the receipt and disbursement data 400 is all data included in the receipt and disbursement data 400 that has been journalized. The target of the journal evaluation process in the journal result data 470 corresponds to the target of the journal evaluation process in the receipt and disbursement data 400. The evaluation of consistency is performed based on the association of each item of sales items, purchase items, purchase adjustment amount, deposit, payment, and allocation indicated by the journal result data 470 with the journal voucher.

仕訳評価処理は、以下の[1]~[6]の評価を対象に対して行う。これらの評価の1つでも「否」の結果となった場合に、サーバ200は、「否」の結果となった項目に関する日付、金額等の情報、対応する仕訳伝票、[1]~[6]のいずれについての評価であるか等をシステムの管理者や開発元等に報告する。報告は、ディスプレイ110への表示や印刷装置140による用紙への印刷、記録媒体への記録等、様々な態様で出力されてよい。 The journal entry evaluation process performs the following evaluations [1] to [6] on the target. If any of these evaluations result in a "no" result, the server 200 reports to the system administrator or developer, etc., information such as the date and amount related to the item that resulted in a "no" result, the corresponding journal entry slip, and which of [1] to [6] the evaluation was for. The report may be output in various ways, such as displaying on the display 110, printing on paper by the printer 140, or recording on a recording medium.

[1]各項目と仕訳伝票の関係性の評価
出納データ400が示す会計情報の各項目から借方及び貸方の1組からなる1つの仕訳が生成されているか否かを評価する。本実施形態の仕様によると、各項目から1つの仕訳が生成されることになる。例えば、売上データ411が示す1つの売上項目からは、貸方「売上高」及び借方「売掛金」からなる1つの仕訳が生成される。これに基づき、出納データ400が示す売上項目、仕入項目、仕入調整額、入金、支払及び振分の各項目について、その項目から1つの仕訳が生成されているか否かを判定する。生成されていると判定した場合に評価結果は正であり、生成されていないと判定した場合に評価結果は否である。なお、VOID処理がなされた振分については、図20に示す振分逆仕訳サブルーチンにより「入金振分(逆仕訳)」の仕訳が追加で発生する。このため、振分自体の仕訳と追加で発生した仕訳との2つの仕訳が生じる。よって、VOID処理がなされた振分については、1つの項目から上記2つの仕訳が生成されているか否かが判定され、その判定結果に基づいて評価がなされる。
[1] Evaluation of the relationship between each item and the journal entry slip It is evaluated whether or not one journal entry consisting of one pair of debit and credit is generated from each item of the accounting information indicated by the receipt and disbursement data 400. According to the specifications of this embodiment, one journal entry is generated from each item. For example, one journal entry consisting of a credit "sales amount" and a debit "accounts receivable" is generated from one sales item indicated by the sales data 411. Based on this, it is determined whether or not one journal entry is generated from each item of the sales item, purchase item, purchase adjustment amount, deposit, payment, and allocation indicated by the receipt and disbursement data 400. If it is determined that it has been generated, the evaluation result is positive, and if it is determined that it has not been generated, the evaluation result is negative. Note that for allocations that have been subjected to VOID processing, an additional journal entry of "deposit allocation (reverse journal entry)" is generated by the allocation reversal journal entry subroutine shown in FIG. 20. Therefore, two journal entries are generated: the journal entry of the allocation itself and the additional journal entry. Therefore, for a distribution that has been subjected to VOID processing, it is determined whether or not the above two journal entries have been generated from one item, and an evaluation is performed based on the result of this determination.

[2]売上における未収額と仕訳における売掛金の一致性の評価
未収額が0円である1つの売上項目及びこれと対応する振分(本発明における第1組に対応)から生成された仕訳について、勘定科目ごとに、貸方の金額を合計した値から借方の金額を合計した値を減算することで得られる合算結果において、合算後の売掛金が当該1つの売上項目に関する未収額0円と一致するか否かを判定する。一致すると判定した場合に評価結果は正であり、一致しないと判定した場合に評価結果は否である。
[2] Evaluation of the agreement between the unpaid amount in sales and the accounts receivable in journal entries For one sales item with an unpaid amount of 0 yen and the journal entry generated from the allocation corresponding to this (corresponding to the first set in this invention), in the summation result obtained by subtracting the total of the debit amounts from the total of the credit amounts for each account item, it is determined whether the accounts receivable after the summation matches the unpaid amount of 0 yen for that one sales item. If it is determined that they match, the evaluation result is positive, and if it is determined that they do not match, the evaluation result is negative.

例えば、出納データ400が、図23(a)に示す売上及びこれに対する2回の入金500円の振分並びにこれによる未収額0円を示しており、これに対応する仕訳結果データ470が示す仕訳伝票が図23(b)の仕訳1~仕訳3の内容を有するものであったとする。このとき、勘定科目「売上高」は、貸方の合計が1,000円(=仕訳1の1,000円)であり、借方の合計が0円である。勘定科目「売掛金」は、貸方の合計が1,000円(=仕訳2の500円+仕訳3の500円)である一方で借方の合計が1,000円(=仕訳1の1,000円)であるため、貸方の合計から借方の合計を減算すると0円となる。勘定科目「前受金(予約)」は、貸方の合計が0円であり、借方の合計が1,000円(=仕訳2の500円+仕訳3の500円)である。このため、これら合算の結果には、図23(c)に示すように、貸方として売上高1,000円が、借方として前受金(予約)1,000円が残る。また、勘定科目「売掛金」は合算の結果、貸方及び借方のいずれにも残らない。この合算結果は、出納データ400が示す未収額0円と一致している。このため、評価結果は正となる。 For example, suppose that the cash flow data 400 shows the sales shown in FIG. 23(a) and the allocation of two corresponding deposits of 500 yen, with the resulting amount receivable being 0 yen, and the corresponding journal entry voucher shown in journal entry result data 470 has the contents of journal entries 1 to 3 in FIG. 23(b). In this case, the total credit amount for the account item "Sales" is 1,000 yen (= 1,000 yen for journal entry 1) and the total debit amount is 0 yen. The total credit amount for the account item "Accounts receivable" is 1,000 yen (= 500 yen for journal entry 2 + 500 yen for journal entry 3), while the total debit amount is 1,000 yen (= 1,000 yen for journal entry 1), so subtracting the total debit amount from the total credit amount gives 0 yen. The account item "Advance Received (Reservation)" has a total credit of 0 yen and a total debit of 1,000 yen (= 500 yen in journal entry 2 + 500 yen in journal entry 3). Therefore, the sum of these amounts results in sales of 1,000 yen on the credit side and advance received (reservation) of 1,000 yen on the debit side, as shown in Figure 23 (c). Furthermore, the account item "Accounts Receivable" has neither a credit nor a debit as a result of the summation. This summation result matches the outstanding amount of 0 yen shown in the receipts and disbursements data 400. Therefore, the evaluation result is positive.

[3]仕入における未払額と仕訳における買掛金の一致性の評価
未払額が0円である1つの仕入項目及びこれと対応する振分(本発明における第2組に対応)から生成された仕訳について、勘定科目ごとに、貸方を合計した値から借方の金額を合計した値を減算することで得られる合算結果において、合算後の買掛金が当該1つの仕入項目に関する未払額0円と一致するか否かを判定する。一致したと判定した場合に評価結果は正であり、一致しないと判定した場合に評価結果は否である。この評価は、[2]の評価において売上項目を仕入項目に、未収額を未払額に、売掛金を買掛金にそれぞれ変更したものと対応する。
[3] Evaluation of the Consistency between the Unpaid Amount in Purchases and the Accounts Payable in Journal Entry For a purchase item with an unpaid amount of 0 yen and a journal entry generated from the allocation corresponding to this (corresponding to the second group in the present invention), the sum of the debit amounts is subtracted from the sum of the credit amounts for each account item to determine whether the sum of the accounts payable after the summation matches the unpaid amount of 0 yen for that one purchase item. If it is determined that they match, the evaluation result is positive, and if it is determined that they do not match, the evaluation result is negative. This evaluation corresponds to changing the sales item to a purchase item, the unpaid amount to the unpaid amount, and the accounts receivable to accounts payable in the evaluation of [2].

[4]入金における未振分額と仕訳における前受金の一致性の評価
未振分額が0円である1つの入金及びこれと対応する振分(本発明における第3組に対応)から生成された仕訳について、勘定科目ごとに、貸方を合計した値から借方の金額を合計した値を減算することで得られる合算結果において、合算した前受金(経理)が当該1つの入金に関する未振分額0円と一致するか否かを判定する。一致したと判定した場合に評価結果は正であり、一致しないと判定した場合に評価結果は否である。
[4] Evaluation of the Match between the Unallocated Amount of a Deposit and the Advance Received in an Entry For one deposit with an unallocated amount of 0 yen and the entry corresponding to this (corresponding to the third group in the present invention), in the summation obtained by subtracting the total of the debit amounts from the total of the credit amounts for each account item, it is determined whether the summed advance received (accounting) matches the unallocated amount of 0 yen for that one deposit. If it is determined that they match, the evaluation result is positive, and if it is determined that they do not match, the evaluation result is negative.

例えば、出納データ400が、図24(a)に示す入金及びこれに対する2回の振分500円、つまり、未振分額0円を示しており、これに対応する仕訳結果データ470が示す仕訳伝票が図24(b)の仕訳1~仕訳3の内容を有するものであったとする。このとき、勘定科目「前受金(経理)」は、貸方の合計が1,000円(=仕訳1の1,000円)である一方で借方の合計1,000円(=仕訳2の500円+仕訳3の500円)であるため、貸方の合計から借方の合計を減算すると0円となる。勘定科目「種別」は、貸方の合計が0円であり、借方の合計が1,000円(=仕訳1の1,000円)である。勘定科目「前受金(予約)」は、貸方の合計が1,000円(=仕訳2の500円+仕訳3の500円)である一方で借方の合計が0円である。このため、これら合算の結果には、図24(c)に示すように、貸方として前受金(予約)1,000円が、借方として種別1,000円が残る。また、勘定科目「前受金(経理)」は合算の結果、貸方及び借方のいずれにも残らない。この合算結果は、出納データ400が示す未振分額0円と一致している。このため、評価結果は正となる。 For example, suppose that the receipt and disbursement data 400 shows the deposit shown in Figure 24(a) and two allocations of 500 yen for this, i.e., an unallocated amount of 0 yen, and the corresponding journal entry voucher shown in the journal entry result data 470 has the contents of journal entries 1 to 3 in Figure 24(b). In this case, the account item "Advance Received (Accounting)" has a total credit of 1,000 yen (= 1,000 yen for journal entry 1) and a total debit of 1,000 yen (= 500 yen for journal entry 2 + 500 yen for journal entry 3), so subtracting the total debit from the total credit results in 0 yen. The account item "Type" has a total credit of 0 yen and a total debit of 1,000 yen (= 1,000 yen for journal entry 1). The account item "Advance Received (reservation)" has a total credit of 1,000 yen (= 500 yen in journal entry 2 + 500 yen in journal entry 3), while the total debit is 0 yen. Therefore, the sum of these amounts results in a credit of 1,000 yen for advance received (reservation) and a debit of 1,000 yen, as shown in Figure 24 (c). Furthermore, the account item "Advance Received (accounting)" has neither a credit nor a debit as a result of the summation. This summation result matches the unallocated amount of 0 yen shown in the receipt and disbursement data 400. Therefore, the evaluation result is positive.

[5]支払における未振分額と仕訳における前払金の一致性の評価
1つの支払及びこれと対応する振分(本発明における第4組に対応)から生成された仕訳について、勘定科目ごとに、貸方を合計した値から借方の金額を合計した値を減算することで得られる合算結果において、合算した前払金(経理)が当該1つの支払に関する未振分額と一致するか否かを判定する。一致したと判定した場合に評価結果は正であり、一致しないと判定した場合に評価結果は否である。この評価は、[4]の評価において入金を支払に、前受金を前払金にそれぞれ変更したものと対応する。
[5] Evaluation of the consistency between the unallocated amount in the payment and the advance payment in the journal entry For a journal entry generated from one payment and its corresponding allocation (corresponding to the fourth group in this invention), in the summation obtained by subtracting the total of the debit amounts from the total of the credit amounts for each account item, it is determined whether the summed advance payment (accounting) matches the unallocated amount for that one payment. If it is determined that they match, the evaluation result is positive, and if it is determined that they do not match, the evaluation result is negative. This evaluation corresponds to changing the deposit to a payment and the advance receipt to an advance payment in the evaluation of [4].

[6]前受金(予約)及び前払金(予約)の相殺の評価
前受金(予約)に係る評価は、入金振分(分割・前半)及び入金振分(分割・後半)の両方について仕訳済みの振分についてなされる。かかる振分から生成された仕訳において、勘定科目「前受金(売仕)」について、貸方を合計した値から借方を合計した値を減算した結果が0円となるのが正しい。つまり、0円となった場合に評価結果は正であり、0円でない場合に評価結果は否である。
[6] Evaluation of offsetting of advance receipts (reservations) and advance payments (reservations) The evaluation of advance receipts (reservations) is performed on the allocations that have already been journalized for both the deposit allocation (split, first half) and the deposit allocation (split, second half). In the journalization generated from such allocations, the result of subtracting the total of the debits from the total of the credits for the account item "Advance receipts (selling)" should be 0 yen. In other words, if it is 0 yen, the evaluation result is positive, and if it is not 0 yen, the evaluation result is negative.

前払金(予約)に係る評価は、支払振分(分割・前半)及び支払振分(分割・後半)の両方について仕訳済みの振分についてなされる。かかる振分から生成された仕訳において、勘定科目「前払金(売仕)」について、貸方を合計した値から借方を合計した値を減算した結果が0円となるのが正しい。つまり、0円となった場合に評価結果は正であり、0円でない場合に評価結果は否である。 Valuation of prepayments (reservations) is done for the allocations that have already been book-entered for both the payment allocation (installment, first half) and the payment allocation (installment, second half). In the journal entry generated from such an allocation, the result of subtracting the total of the debits from the total of the credits for the account item "Prepayment (sale)" should be 0 yen. In other words, if the result is 0 yen, the valuation result is positive, and if it is not 0 yen, the valuation result is negative.

<実施形態の効果>
以上説明した本実施形態における出納データ400によると、売上データ411が、単位予約又はそれより詳細な単位ごとの売上項目の内容を示している。仕入データ412が、単位予約又はそれより詳細な単位ごとの仕入項目の内容を示している。入金データ431が入金を、支払データ432が支払の内容をそれぞれ示す。振分データ440が、売上データ411の売上項目又は仕入データ412の仕入項目に対する入金又は支払の振分を示す。そして、振分データ440が示す入金の振分及び支払の振分において、その基準日が振分先である売上項目又は仕入項目の基準日より過去に設定され得る。つまり、売上項目や仕入項目の基準日に対する入金や支払のタイミングに関わらず、売上項目や仕入項目の基準日より過去の基準日を設定しつつ、入金又は支払を売上項目又は仕入項目に振り分けることが可能である(図3(a)の9/1、9/5及び9/15付の売上に対応する7/1及び8/15付の入金の振分参照)。このため、売上項目や仕入項目の基準日に先行したタイミングで、売上項目又は仕入項目に対する入金又は支払の対応付け及び評価(例えば、未収額や未払額の把握)が可能になる。また、入金又は仕入の振分が売上項目又は仕入項目に対して行われるため、詳細な対応付け及び評価が可能になる。
Effects of the embodiment
According to the receipt and disbursement data 400 in the present embodiment described above, the sales data 411 indicates the contents of the sales items for each unit reservation or a more detailed unit. The purchase data 412 indicates the contents of the purchase items for each unit reservation or a more detailed unit. The deposit data 431 indicates the deposit, and the payment data 432 indicates the contents of the payment. The allocation data 440 indicates the allocation of deposits or payments to the sales items of the sales data 411 or the purchase items of the purchase data 412. In addition, in the allocation of deposits and payments indicated by the allocation data 440, the base date can be set to a date earlier than the base date of the sales item or purchase item to which the deposit is allocated. In other words, regardless of the timing of deposits or payments relative to the base date of the sales item or purchase item, it is possible to allocate deposits or payments to sales items or purchase items while setting a base date earlier than the base date of the sales item or purchase item (see the allocation of deposits dated 7/1 and 8/15 corresponding to the sales dated 9/1, 9/5, and 9/15 in FIG. 3(a)). This allows for matching and evaluation of receipts or payments to sales items or purchase items (e.g., grasping unpaid or unpaid amounts) prior to the base date of the sales or purchase items. In addition, detailed matching and evaluation is possible because the allocation of receipts or purchases is performed to sales items or purchase items.

また、本実施形態における会計処理システム1によると、売上項目又は仕入項目に先行して入金又は仕入があった場合に、売上項目又は仕入項目の基準日より前のタイミングであっても、その入金又は仕入に係る振分について仕訳処理を実行可能である(図3(a)の売上、振分及び入金に関する図22の仕訳内容参照)。したがって、入金及び支払並びにその振分に関する締め処理が早期に可能となる。 In addition, according to the accounting processing system 1 of this embodiment, if a deposit or purchase occurs prior to a sales item or purchase item, accounting processing can be performed for the allocation related to the deposit or purchase even if it is before the reference date of the sales item or purchase item (see the accounting content in Figure 22 related to the sales, allocation, and deposit in Figure 3 (a)). Therefore, closing processing for deposits and payments and their allocation can be performed early.

また、本実施形態に係る入金の仕訳処理において、その振分の振分先の売上項目が仕訳されているか否かに関わらず「入金振分(分割・前半)」の仕訳が一旦なされる(図19のS66)。そして、売上項目の仕訳処理が実行済みである場合(図15のS19又は図19のS68における“追加仕訳実行リスト”に含まれる場合)に「入金振分(分割・後半)」の仕訳(図21のS93)を行い、これによって入金と売上を結びつける仕訳伝票を生成する。また、支払の仕訳処理において、その振分の振分先の仕入項目が仕訳されているか否かに関わらず「支払振分(分割・前半)」の仕訳が一旦なされる(図19のS70)。そして、仕入項目の仕訳処理が実行済みである場合(図15のS19又は図19のS68における“追加仕訳実行リスト”に含まれる場合)に「支払振分(分割・後半)」の仕訳を行い、これによって支払と仕入を結びつける仕訳伝票を出力する。したがって、振分先が仕訳済みか否かに関わらず仕訳を実行可能であるため、入金及び支払並びにその振分に関する締め処理が早期に可能となる。 In addition, in the journalization process of the deposit according to this embodiment, regardless of whether the sales item to which the allocation is to be made has been journalized, the "deposit allocation (split, first half)" is journalized (S66 in FIG. 19). Then, if the journalization process of the sales item has been executed (if it is included in the "additional journalization execution list" in S19 of FIG. 15 or S68 of FIG. 19), the "deposit allocation (split, second half)" is journalized (S93 in FIG. 21), thereby generating a journalization voucher that links the deposit and the sales. In addition, in the journalization process of the payment, regardless of whether the purchase item to which the allocation is to be made has been journalized, the "payment allocation (split, first half)" is journalized (S70 in FIG. 19). Then, if the journalization process of the purchase item has been executed (if it is included in the "additional journalization execution list" in S19 of FIG. 15 or S68 of FIG. 19), the "payment allocation (split, second half)" is journalized, thereby outputting a journalization voucher that links the payment and the purchase. Therefore, accounting can be performed regardless of whether the destination has already been accounted for, making it possible to quickly close out deposits, payments, and their allocations.

<変形例>
以上は、本発明の好適な実施形態についての説明であるが、本発明は上述の実施形態に限られるものではなく、課題を解決するための手段に記載された範囲の限りにおいて様々な変更が可能なものである。以下、上述の実施形態に係る変形例について説明する。
<Modification>
The above is a description of a preferred embodiment of the present invention, but the present invention is not limited to the above embodiment, and various modifications are possible within the scope of the means for solving the problems. Below, modifications of the above embodiment will be described.

例えば、上述の実施形態では、図4の画面IMI30を通じ、顧客に対してプラス値の金額の請求書が発行されている。しかし、顧客に対してマイナス値の金額の請求書が発行されてもよい。かかる請求書は、割引を適用する場合等の様々な目的で発行される。この場合、かかる請求書に応じた返金が発生することが考えられる。このため、返金・振替に関するGUI画像からなる図9の画面IMI60において、返金等の処理の候補となるリストの要素として、未振分の入金に加えて、又は代えて、発行済みのマイナス値の請求書に係る項目が領域60bに表示されてもよい。 For example, in the above embodiment, an invoice for a positive amount is issued to a customer through screen IMI30 in FIG. 4. However, an invoice for a negative amount may also be issued to a customer. Such invoices are issued for various purposes, such as when applying a discount. In this case, it is conceivable that a refund will be made in response to such an invoice. For this reason, in screen IMI60 in FIG. 9, which is made up of GUI images related to refunds and transfers, an item related to an issued invoice for a negative amount may be displayed in area 60b as an element of a list of candidates for processing such as refunds, in addition to or instead of unallocated deposits.

また、上述の実施形態では、予約業務の担当者が窓口で入金を受け付け、画面IMI30を通じて入金の内容を入力している。しかし、その他の態様の入金を受け付けることができるように会計処理システム1が構成されていてもよい。例えば、振込によって多数の入金がなされ、その入金のリストを示すデータファイルを顧客から受け取る場合、かかるデータファイルを取り込み、自動で売上項目に振り分けるように会計処理システム1が構成されていてもよい。この場合、データファイルが示す入金に係る情報に基づいて、いずれの入金がいずれの売上項目に対応するかを会計処理システム1が取得するように構成されていることが好ましい。例えば、請求書データ450が振込口座(バーチャル口座等)を示す口座データを含んでおり、データファイルにもかかる口座データが入金ごとに含まれていてもよい。これにより、口座データをキーとして請求書データ450が示す請求書を検索することで各入金と対応する請求書を特定することができる。 In the above embodiment, the person in charge of reservations accepts deposits at the counter and inputs the details of the deposits through the screen IMI 30. However, the accounting system 1 may be configured to accept other types of deposits. For example, when multiple deposits are made by bank transfer and a data file showing a list of the deposits is received from a customer, the accounting system 1 may be configured to import the data file and automatically allocate it to sales items. In this case, it is preferable that the accounting system 1 is configured to obtain which deposits correspond to which sales items based on the information related to the deposits shown in the data file. For example, the invoice data 450 may include account data showing a transfer account (such as a virtual account), and the data file may also include such account data for each deposit. This makes it possible to identify the invoices corresponding to each deposit by searching for the invoices shown in the invoice data 450 using the account data as a key.

また、上述の実施形態においては、本発明に係る会計処理システムが1つ以上の端末100及びサーバ200を含む複数のコンピュータを用いて実現されている。しかし、1つのコンピュータで実現されてもよい。また、1つ以上の端末100及びサーバ200がインターネットを通じて互いに接続されている。しかし、LAN(Local Area Network)等、インターネット以外の通信ネットワークを通じて互いに接続されてもよい。 In the above-described embodiment, the accounting processing system according to the present invention is realized using multiple computers including one or more terminals 100 and a server 200. However, it may also be realized using a single computer. Also, one or more terminals 100 and a server 200 are connected to each other via the Internet. However, they may also be connected to each other via a communication network other than the Internet, such as a LAN (Local Area Network).

また、上述の実施形態においては、汎用のアプリケーションであるブラウザ130を用いたいわゆるブラウザベースで端末100の機能が実現されている。しかし、ブラウザベースでなく、本システム専用のアプリケーションを用いて実現されてもよい。 In the above-described embodiment, the functions of the terminal 100 are realized in a so-called browser-based manner using the browser 130, which is a general-purpose application. However, the functions may also be realized using an application dedicated to this system, rather than being browser-based.

1 会計処理システム
100 端末
110 ディスプレイ
120 入力デバイス
130 ブラウザ
140 印刷装置
200 サーバ
210 記憶部
220 データ管理部
230 仕訳処理部
240 仕訳評価部
400 出納データ
410 売仕データ
411 売上データ
412 仕入データ
413 仕入調整データ
420 予約データ
430 入出金データ
431 入金データ
432 支払データ
440 振分データ
450 請求書データ
460 仕訳方法データ
470 仕訳結果データ
1 Accounting system 100 Terminal 110 Display 120 Input device 130 Browser 140 Printing device 200 Server 210 Storage unit 220 Data management unit 230 Journalizing unit 240 Journalizing evaluation unit 400 Receipts and payments data 410 Sales and purchase data 411 Sales data 412 Purchase data 413 Purchase adjustment data 420 Reservation data 430 Deposit and withdrawal data 431 Deposit data 432 Payment data 440 Allocation data 450 Invoice data 460 Journalizing method data 470 Journalizing result data

Claims (4)

売上、仕入、入金及び支払の情報を含んだ会計情報に係る旅行業務用のデータ構造であって、
1つの仕入先に対する1つの予約である単位予約ごと又はそれより詳細な単位ごとの売上である単位売上を示す売上データと、
前記単位売上と一対一に対応する、前記単位予約ごと又はそれより詳細な単位ごとの仕入である単位仕入を示す仕入データと、
入金を示す入金データと、
支払を示す支払データと、
前記入金データが示す入金を前記売上データが示す売上に対して前記単位売上ごとに振り分ける入金振分を示す入金振分データと、
前記支払データが示す支払を前記仕入データが示す仕入に対して前記単位仕入ごとに振り分ける支払振分を示す支払振分データと、
前記単位売上、前記単位仕入、入金、支払、前記入金振分及び前記支払振分のそれぞれの基準日を示す基準日データとを含んでおり、
前記基準日データにおいて、前記入金振分及び前記支払振分の少なくともいずれかの基準日が、振分先である前記単位売上又は前記単位仕入の基準日に対して過去に設定可能であるデータ構造を有する出納データを用いた会計処理システムであって、
前記出納データと、前記単位売上、前記単位仕入、入金、支払、前記入金振分及び前記支払振分のそれぞれについて、貸方勘定科目と借方勘定科目を示すデータとを記憶する記憶手段と、
前記記憶手段における記憶内容に基づいて、前記単位売上、前記単位仕入、入金、支払、前記入金振分及び前記支払振分のそれぞれについて仕訳伝票を生成する仕訳処理を実行する仕訳処理手段とを備えており、
前記仕訳処理手段が、前記入金振分及び前記支払振分のそれぞれについて、振分先である前記単位売上又は前記単位仕入の基準日に対して過去のタイミングで前記仕訳処理を実行可能に構成されていることを特徴とする会計処理システム。
A data structure for travel business related to accounting information including sales, purchases, receipts, and payments,
Sales data showing unit sales, which are sales per unit reservation, which is one reservation for one supplier, or per unit more detailed than that;
Purchase data indicating unit purchases, which correspond one-to-one to the unit sales and are purchases for each of the unit reservations or for each unit more detailed than the unit purchases;
deposit data indicating the deposit;
payment data indicative of a payment;
Deposit allocation data indicating how the deposit indicated by the deposit data is allocated to the sales indicated by the sales data for each unit of sales;
Payment allocation data indicating a payment allocation for allocating the payment indicated by the payment data to the purchase indicated by the purchase data for each unit purchase;
The base date data indicates the base dates of the unit sales, the unit purchase, the deposit, the payment, the deposit allocation, and the payment allocation,
In the reference date data, at least one of the reference date of the deposit allocation and the reference date of the payment allocation can be set to a date in the past with respect to the reference date of the unit sales or the unit purchase to which the allocation is made,
A storage means for storing the receipt and payment data and data indicating credit account items and debit account items for each of the unit sales, the unit purchase, the deposit, the payment, the deposit allocation, and the payment allocation;
and a journal processing means for executing a journal processing to generate journal vouchers for each of the unit sales, the unit purchase, the deposit, the payment, the deposit allocation, and the payment allocation based on the stored contents in the storage means,
An accounting processing system characterized in that the accounting processing means is configured to be able to execute the accounting processing for each of the deposit allocation and the payment allocation at a timing in the past with respect to the reference date of the unit sale or unit purchase to which the allocation is made.
前記仕訳処理手段が、
1又は複数の連続する仕訳日のそれぞれに関して、前記出納データが示す前記単位売上、前記単位仕入、入金、支払、前記入金振分及び前記支払振分のうち、前記基準日データが示す前記基準日が前記仕訳日に該当するものについて前記仕訳処理を実行可能であり、
前記入金振分の仕訳として、借方が前記入金の仕訳伝票における貸方勘定科目であり貸方が第1勘定科目である第1の前記仕訳処理を実行し、前記入金振分の振分先である前記単位売上が前記仕訳処理を実行済みである場合に、借方が前記第1勘定科目であり貸方が前記単位売上の仕訳伝票における借方勘定科目である第2の前記仕訳処理をさらに実行し、
前記支払振分の仕訳として、借方が前記支払の仕訳伝票における貸方勘定科目であり貸方が第2勘定科目である第3の前記仕訳処理を実行し、前記支払振分の振分先である前記単位仕入が前記仕訳処理を実行済みである場合に、借方が前記第1勘定科目であり貸方が前記単位仕入の仕訳伝票における借方勘定科目である第4の前記仕訳処理をさらに実行することを特徴とする請求項に記載の会計処理システム。
The journalization processing means,
For each of one or a plurality of consecutive journal entry dates, the journal entry process can be executed for the unit sales, unit purchases, deposits, payments, deposit allocations, and payment allocations indicated by the receipt and disbursement data, for which the reference date indicated by the reference date data corresponds to the journal entry date;
As a journal entry for the deposit allocation, a first journal entry process is executed in which the debit is a credit account item in the journal entry voucher for the deposit and the credit is a first account item, and if the journal entry process has been executed for the unit sales to which the deposit allocation is allocated, a second journal entry process is further executed in which the debit is the first account item and the credit is a debit account item in the journal entry voucher for the unit sales;
The accounting processing system described in claim 1, characterized in that as a journal entry for the payment allocation, a third journal entry process is executed in which the debit is a credit account item in the journal entry voucher for the payment and the credit is a second account item, and if the journal entry process has already been executed for the unit purchase to which the payment allocation is allocated, a fourth journal entry process is further executed in which the debit is the first account item and the credit is a debit account item in the journal entry voucher for the unit purchase.
前記単位売上及び前記入金振分からなる第1組、前記単位仕入及び前記支払振分からなる第2組、前記入金及び前記入金振分からなる第3組、並びに、前記支払及び前記支振分からなる第4組の少なくともいずれかの組において、その組を構成する要素から生成された仕訳伝票に含まれる貸方の金額と借方の金額とを勘定科目ごとに合算した結果と、前記出納データが示す未収額、未払額及び未振分額のうち対応するものとを比較することで前記仕訳処理の結果を評価することを特徴とする請求項1又は2に記載の会計処理システム。 The accounting processing system described in claim 1 or 2, characterized in that the results of the journal entry processing are evaluated by comparing the result of adding up the debit and credit amounts contained in the journal entry voucher generated from the elements that make up at least one of the groups, i.e., a first group consisting of the unit sales and the deposit allocation, a second group consisting of the unit purchase and the payment allocation, a third group consisting of the deposit and the deposit allocation, and a fourth group consisting of the payment and the payment allocation, for each account item, with the corresponding unpaid amounts, unpaid amounts, and unallocated amounts indicated by the receipt and disbursement data. 前記第1及び第2の仕訳処理の両方が実行済みである前記入金振分から生成された仕訳伝票に含まれる貸方の金額と借方の金額とを前記第1勘定科目について合算すると貸方及び借方間で金額が一致するか否かに基づいて前記仕訳処理の結果を評価すると共に、
前記第3及び第4の仕訳処理の両方が実行済みである前記支払振分から生成された仕訳伝票に含まれる貸方の金額と借方の金額とを前記第2勘定科目について合計すると貸方及び借方間で金額が一致するか否かに基づいて前記仕訳処理の結果を評価することを特徴とする請求項に記載の会計処理システム。
The result of the journalization process is evaluated based on whether or not the amounts of the debit and credit included in the journalization slip generated from the deposit allocation for which both the first and second journalization processes have been executed match when the amounts of the debit and credit included in the journalization slip are added up for the first account item, and
The accounting processing system described in claim 2, characterized in that the result of the journal entry processing is evaluated based on whether the debit and credit amounts included in the journal entry voucher generated from the payment allocation for which both the third and fourth journal entry processing have been executed match when the amounts are added up for the second account item.
JP2022063447A 2022-04-06 2022-04-06 Data structure for travel business and accounting processing system using same Active JP7482458B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022063447A JP7482458B2 (en) 2022-04-06 2022-04-06 Data structure for travel business and accounting processing system using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022063447A JP7482458B2 (en) 2022-04-06 2022-04-06 Data structure for travel business and accounting processing system using same

Publications (2)

Publication Number Publication Date
JP2023154245A JP2023154245A (en) 2023-10-19
JP7482458B2 true JP7482458B2 (en) 2024-05-14

Family

ID=88372634

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022063447A Active JP7482458B2 (en) 2022-04-06 2022-04-06 Data structure for travel business and accounting processing system using same

Country Status (1)

Country Link
JP (1) JP7482458B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003016155A (en) 2001-06-29 2003-01-17 Be Free Soft:Kk Accounting processing system for tour business
JP2022038391A (en) 2020-08-26 2022-03-10 株式会社オービック Contract management device, contract management method, and contract management program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003016155A (en) 2001-06-29 2003-01-17 Be Free Soft:Kk Accounting processing system for tour business
JP2022038391A (en) 2020-08-26 2022-03-10 株式会社オービック Contract management device, contract management method, and contract management program

Also Published As

Publication number Publication date
JP2023154245A (en) 2023-10-19

Similar Documents

Publication Publication Date Title
US7672881B2 (en) Fee allocator system and method
US5875435A (en) Automated accounting system
KR100230455B1 (en) Accounting apparatus and method of management automation system
US6112191A (en) Method and system to create and distribute excess funds from consumer spending transactions
US20050075979A1 (en) System and method for seller-assisted automated payment processing and exception management
US20030046176A1 (en) One page purchasing system
JP3783217B1 (en) Accounting system with automatic journal creation function
JP2009176121A (en) Business management system
JP2007012026A (en) Accounting system having journaling automatic creation function
US20050240518A1 (en) Method and system for on-line communication based on an off-line transaction
JP7482458B2 (en) Data structure for travel business and accounting processing system using same
Hashim et al. Treasury diagnostic toolkit
JP3823164B1 (en) Accounting system with automatic journal creation function
JP7092740B2 (en) Token issuance / distribution method
JP7388663B2 (en) Travel business support system
JP7427178B2 (en) Travel reservation information input system
KR100806570B1 (en) Payment Sever For Credit Cards Via Internet
US20220076259A1 (en) System and method for reversing bifurcated transactions
JP2003016206A (en) System and method for operating expense and output medium
KR20040074668A (en) Means of record and means of payment for accounting service, and accounting service system by using it
Patel Discover SAP ERP Financials
Baker Selecting a corporate payment system
KR20230133535A (en) A multi platform pos-system for customized industrial classification
Murray Accounting At Your Fingertips, 2e
JP2007272407A (en) Method and program for forming disbursement data

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220413

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231225

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20231225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240318

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240418

R150 Certificate of patent or registration of utility model

Ref document number: 7482458

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150