Automatic journalizing system
The automatic journal entry program addresses complexity and accuracy issues by aggregating transaction data using character string matching and user-defined rules, ensuring efficient and accurate journal entry processing despite variations in invoice formats.
Patent Information
- Application Number
- JP2023065682
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-13
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-04-13
AI Technical Summary
Existing automatic journal entry systems face complications and increased error rates due to variations in transaction detail descriptions across invoices, leading to inefficient and inaccurate processing.
An automatic journal entry program that aggregates transaction data based on predetermined rules, using character string matching and user-defined conditions to classify and calculate totals, thereby simplifying the processing and improving accuracy.
The program reduces processing complexity and enhances journal entry accuracy even with varied transaction descriptions, minimizing errors and improving performance.
Smart Images

Figure 2024151891000001_ABST
Abstract
Description
[Technical field]
[0001] The present embodiment relates to an automatic accounting program. [Background technology]
[0002] In recent years, automation of accounting work has been promoted as one of the means to realize the efficiency of accounting work. For example, there are known devices that perform accounting by inputting written data such as invoices to be accounted for. Known methods for this type of automatic accounting include rule-based methods and methods using artificial intelligence. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2018 / 179411 Summary of the Invention [Problem to be solved by the invention]
[0004] In automatic journalization, the contents of various transactions described in documents such as invoices are journalized into account items in accordance with various predetermined rules such as tax rules and company rules. Here, the way in which the contents of transactions are described in invoices, etc. often varies greatly depending on various conditions such as differences in industry and operation. If the contents of transactions described in invoices, etc. vary greatly, the automatic journalization process becomes complicated, the journalization process tends to take a long time, and there is also a high possibility of errors in the journalization results.
[0005] The embodiment aims to provide an automatic accounting program that can improve accounting accuracy while suppressing the complication of accounting processing even when there is a large variation in the description of transaction contents. [Means for solving the problem]
[0006] According to one embodiment, the automatic accounting program causes a processor to accept input of multiple items representing the contents of multiple transactions and data on amounts related to each item, aggregate the input multiple items based on predetermined aggregation rules, calculate a total amount of amounts related to the aggregated items, and perform automatic accounting for the aggregated items. Effect of the Invention
[0007] According to the embodiment, an automatic accounting program can be provided that can improve accounting accuracy while suppressing the complexity of accounting processing, even when there is a large variation in the description of transaction contents or when there is a large variation in the types of expenses listed in the details. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a terminal according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of the aggregation rule. [Diagram 3] FIG. 3 is a flowchart showing the process of setting aggregation rules in a terminal. [Figure 4] FIG. 4 is a diagram showing an example of an aggregation rule setting screen. [Diagram 5] FIG. 5 is a flowchart showing an example of the aggregation process and the journalization process. [Figure 6] FIG. 6 is a flowchart illustrating an example of the aggregation process. [Figure 7] FIG. 7 is a diagram showing an example of invoice data. [Figure 8] FIG. 8 is a diagram illustrating an example of the aggregation result. [Figure 9] FIG. 9 is a diagram showing an example of a journalization result. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment will be described with reference to the drawings. FIG. 1 is a diagram showing a configuration of an example of a terminal according to an embodiment. As shown in FIG. 1, the terminal 1 has a processor 11, a memory 12, a storage 13, an input interface 14, a display 15, and a communication module 16. The processor 11, the memory 12, the storage 13, the input interface 14, the display 15, and the communication module 16 are connected to a bus 17 so as to be able to communicate with each other. Here, the terminal 1 may be a terminal such as a smartphone, a tablet terminal, or a personal computer.
[0010] The processor 11 is a processor configured to control the operation of the terminal 1. The processor 11 executes various processes according to various programs stored in the storage 13. The processor 11 is, for example, a CPU. The processor 11 may be an MPU, a GPU, or the like, instead of a CPU. In addition, the processor 11 does not need to be configured by one CPU or the like, and may be configured by multiple CPUs or the like.
[0011] The memory 12 includes memories such as ROM and RAM. The ROM is a non-volatile memory. The ROM stores the startup program of the terminal 1 and the like. The RAM is a volatile memory. The RAM is used as a working memory during processing in the processor 11, for example.
[0012] The storage 13 is, for example, a storage such as a flash memory. The storage 13 stores various programs and data used in the terminal 1. In the embodiment, the storage 13 stores an OS (operating system) 131, an automatic journalizing program 132, and aggregation rules 133. The storage 13 may store programs other than the OS 131 and the automatic journalizing program 132.
[0013] The OS 131 is a program for implementing basic functions of the terminal 1. Various programs stored in the storage 13 are executed under the control of the OS.
[0014] The automatic journalizing program 132 is a program that causes the processor 11 to execute automatic journalizing processing. The automatic journalizing processing is a process of classifying input transactions into appropriate account items according to their contents, and calculating the amount for each account item. The contents of the transactions are entered in documents such as invoices, or data containing contents equivalent to documents. In this case, the automatic journalizing program 132 causes the processor 11 to execute a process of recognizing the contents of the transactions from character strings in the documents, etc., and classifying the recognized contents of the transactions into account items. The automatic journalizing program 132 can be installed in the terminal 1 as necessary. The transactions in the embodiment are not particularly limited as long as they are transactions that can be subject to automatic journalizing.
[0015] Further, the automatic journalizing program 132 in the embodiment causes the processor 11 to execute an aggregation process prior to the actual automatic journalizing process. The aggregation process is a process of aggregating input transactions according to a predetermined rule. The aggregation result here is a summary of the contents of multiple transactions under one heading according to the aggregation rule 133. In the actual automatic journalizing process, journalizing to an account item is performed for each aggregation result. Here, journalizing to an account item may be performed by any method. For example, journalizing to an account item may be performed on a rule basis or may be performed using a trained model. When journalizing to an account item is performed on a rule basis, the journalizing rule is a journalizing rule between the aggregation result and the account item. Similarly, when journalizing to an account item is performed using a trained model, the model is configured to input the aggregation result and output the account item as the journalizing result. Various classification models such as SVM (support vector machine) and neural network may be used for the model.
[0016] The aggregation rules 133 are rules for executing the aggregation process. Some of the aggregation rules 133 may be set, for example, when the automatic accounting program 132 is installed. The aggregation rules 133 may be added by a user of the terminal 1. Here, the aggregation rules 133 do not necessarily need to be stored in the storage 13, and may be stored in a server or the like external to the terminal 1. In this case, the terminal 1 acquires the aggregation rules 133 from the external server or the like as necessary.
[0017] Fig. 2 is a diagram showing an example of the aggregation rule 133. The example aggregation rule 133 is a rule for determining partial match of character strings. The example aggregation rule 133 shown in Fig. 2 has three items: "aggregation result", "condition (include)", and "condition (exclude)".
[0018] The "aggregation result" is the name to which the transactions are aggregated when the conditions are met. The names associated with the "aggregation result" include those that are preset when the automatic accounting program 132 is created. The names associated with the "aggregation result" also include those that are added by the user. In an embodiment, the contents of transactions aggregated into the same aggregation result are classified into the same account item.
[0019] The "Condition (include)" and "Condition (exclude)" are string conditions for aggregating into the corresponding aggregation result.
[0020] If the strings to be aggregated contain a string set in "Condition (including)," the strings to be aggregated will be aggregated into the corresponding "Aggregation Result." For example, in Figure 2, "Advertisement," "Advertising," and "Publication Fee" are set in "Condition (including)" for the aggregation result "Advertising / Promotion." In this case, if the strings to be aggregated contain any of "Advertisement," "Advertising," or "Publication Fee," the strings to be aggregated will be aggregated into the aggregation result "Advertising / Promotion."
[0021] Furthermore, if the string to be aggregated contains a character string set in "Condition (Excluding)," the string to be aggregated will not be aggregated into the corresponding "Aggregation Result," even if the string to be aggregated contains a character string set in "Condition (Including)." For example, in Figure 2, "Advertising Production" is set in "Condition (Excluding)" for the aggregation result "Advertising / Promotion." In this case, when the string to be aggregated is "Advertising Production," the string to be aggregated contains "Advertising," but it is not aggregated into the aggregation result "Advertising / Promotion." By being able to set "Condition (Excluding)," it is possible to prevent situations in which transactions are aggregated based on simple partial matches, resulting in undesired accounting entries being made.
[0022] Here, the aggregation rule 133 shown in FIG. 2 is an example. The aggregation rule 133 may include conditions other than the condition of partial match of character strings shown in FIG. 2. For example, in the case of donations, it may be better to journalize them into different sub-accounts depending on which organization or group the donation was made to. In addition, it may be desirable not to aggregate payments to business partners that are important for the company's management because there is a request to list them separately. In addition, in an invoice from a certain business partner, rent is written as "office", and while a mere "office" should not be aggregated into the aggregation result "rent, etc." under normal circumstances, it may be better for "office" to be aggregated into the aggregation result "rent, etc." only for that business partner. If the contents of such transactions that should be journalized into different account items even if they have the same character string are aggregated into one item, there is a possibility that the subsequent journalization process will not be performed appropriately. For this reason, the aggregation rule 133 may include a condition on the payee. In addition, the aggregation rule 133 may include various conditions such as a condition on the amount. By including a monetary amount condition in the aggregation rule 133, for example, even if the string conditions result in the same aggregation result, different amounts may be aggregated into different aggregation results. Furthermore, the aggregation rule 133 may be saved together with each aggregation result for evaluation and analysis of the aggregation results.
[0023] The input interface 14 includes input devices such as a touch panel, a keyboard, and a mouse. When the input interface 14 is operated, a signal corresponding to the operation is input to the processor 11 via the bus 17. The processor 11 performs various processes according to this signal. Here, the input device may include a camera. The camera is used to take an image of a document such as an invoice. A character string to be journalized can be recognized from the image of the document taken by the camera.
[0024] The display 15 is a display device such as a liquid crystal display, an organic EL display, etc. The display 15 displays various images.
[0025] The communication module 16 is a module including an interface configured to perform processing when the terminal 1 communicates with various external devices. The communication module 16 is configured to connect to a network using a mobile phone line, a wireless LAN line, a wired LAN line, or the like. Alternatively, the communication module 16 is configured to connect to a device in the vicinity of the terminal 1 by short-range wireless communication such as Bluetooth (registered trademark). In addition, by connecting a storage device in which a specific aggregation rule is stored to the communication module 16, it is also possible to automatically set a specific aggregation rule in the terminal 1. This makes it possible to automatically operate a general-purpose terminal as a dedicated terminal.
[0026] Next, an operation of the terminal 1 based on the automatic journalizing program 132 in the embodiment will be described. Fig. 3 is a flowchart showing the process of setting the aggregation rules of the automatic journalizing program 132 in the terminal 1. The process in Fig. 3 is started, for example, when the user of the terminal 1 instructs the start of the automatic journalizing program 132.
[0027] In step S1, the processor 11 of the terminal 1 determines whether or not an instruction to set an aggregation rule has been given. For example, when an aggregation rule setting button is selected on an initial screen (not shown) that is displayed on the display 15 when the automatic journalizing program 132 is started, it is determined that an instruction to set an aggregation rule has been given. When it is determined in step S1 that an instruction to set an aggregation rule has been given, the process proceeds to step S2. When it is not determined in step S1 that an instruction to set an aggregation rule has been given, the process proceeds to step S7.
[0028] In step S2, the processor 11 causes the display 15 to display a setting screen for the aggregation rules.
[0029] 4 is a diagram showing an example of an aggregation rule setting screen. The aggregation rule setting screen 150 is a screen including, for example, an aggregation result input field 151, a condition (inclusive) input field 152, and a condition (exclusive) input field 153.
[0030] The aggregation result input field 151 is an input field for a name associated with the "aggregation result" of the aggregation rule 133. The user may directly input a character string representing the name of the aggregation result into the aggregation result input field 151. Alternatively, the user may select the name of the aggregation result that he or she desires from a drop-down list that is displayed by selecting a pull-down button 151a provided in the aggregation result input field 151. The drop-down list displays a list of names that are set as initial values and names that have been newly added by the user.
[0031] The condition (including) input field 152 is an input field for the "condition (including)" of the aggregation rule 133. The user may input, into the condition (including) input field 152, a list of character strings expressing transaction contents to be aggregated in the corresponding aggregation result. When a partial character string of the transaction contents is input, a judgment is made in the aggregation process based on a partial match of the character string. When a whole character string of the transaction contents is input, a judgment is made in the aggregation process based on a full match of the character string. Here, in FIG. 4, each character string of the "condition (including)" is distinguished by starting a new line for each character string. Alternatively, each character string of the "condition (including)" may be distinguished by other methods, such as inputting character strings with commas between them.
[0032] The condition (excluding) input field 153 is an input field for the "condition (excluding)" of the aggregation rule 133. The user may input a list of character strings representing transaction contents that the user does not want to aggregate into the corresponding aggregation result into the condition (excluding) input field 153. When a partial character string of the transaction contents is input, the aggregation process determines whether the character strings match partially. When the entire character string of the transaction contents is input, the aggregation process determines whether the character strings match completely. Here, similar to the condition (including) input field 152, the condition (excluding) input field 153 may distinguish between the character strings of the "condition (excluding)" by starting a new line for each character string or by inserting commas between character strings.
[0033] Furthermore, the aggregation rule setting screen 150 may include a save button 154 and a back button 155. The save button 154 is a button selected by the user when returning to the initial screen after saving the contents entered in each input field as the aggregation rule 133. The back button 155 is a button selected by the user when returning to the initial screen without saving the contents entered in each input field as the aggregation rule 133.
[0034] Here, if the aggregation rule 133 includes other conditions such as amount, the aggregation rule setting screen 150 may also include input fields corresponding to the respective conditions. In addition, although two buttons, the save button 154 and the back button 155, are provided in Fig. 4, the save button 154 and the back button 155 may be omitted as long as the same processes as these buttons can be performed. In addition, buttons other than the save button 154 and the back button 155 may be provided.
[0035] Returning to the description of Fig. 3, in step S3, processor 11 updates the display of aggregation rule setting screen 150 in accordance with the user's input operation. For example, processor 11 displays character strings in accordance with the input operation of character strings in each of aggregation result input field 151, condition (inclusive) input field 152, and condition (exclusive) input field 153.
[0036] In step S4, the processor 11 determines whether or not to save the aggregation rule. For example, if the save button 154 is selected, it is determined that the aggregation rule is to be saved. If it is determined in step S4 that the aggregation rule is to be saved, the process proceeds to step S6. If it is not determined in step S4 that the aggregation rule is to be saved, the process proceeds to step S5.
[0037] In step S5, the processor 11 determines whether or not to return from the aggregation rule setting screen 150. For example, if the back button 155 is selected, it is determined that the return is to be made. If it is not determined in step S5 that the return is to be made from the aggregation rule setting screen 150, the process returns to step S3. In this case, the aggregation rule may be subsequently set on the aggregation rule setting screen 150. If it is determined in step S5 that the return is to be made from the aggregation rule setting screen 150, the process proceeds to step S7. In this case, the processor 11 returns the display on the display 15 to the initial screen.
[0038] In step S6, processor 11 updates or adds aggregation rule 133 based on the contents entered in each field of aggregation rule setting screen 150. When the name entered in aggregation result input field 151 is a name already registered in the "aggregation result" field of aggregation rule 133, processor 11 updates the corresponding "condition (inclusive)" and "condition (exclusive)" fields based on the input contents in condition (inclusive) input field 152 and condition (exclusive) input field 153. On the other hand, when the name entered in aggregation result input field 151 is a name not registered in the "aggregation result" field of aggregation rule 133, processor 11 adds the "aggregation result", "condition (inclusive)", and "condition (exclusive)" fields of aggregation rule 133. Then, processor 11 registers the name entered in aggregation result input field 151 in the newly added item "aggregation result", while registering the input contents of condition (inclusive) input field 152 and condition (exclusive) input field 153 in the newly added items "condition (inclusive)" and "condition (exclusive)". After that, processor 11 returns the display of display 15 to the initial screen. Then, the process proceeds to step S7.
[0039] In step S7, the processor 11 determines whether or not to end the processing of the automatic journalizing program 132. For example, it is determined that the processing is to be ended when an end button displayed on an initial screen (not shown) is selected. When it is not determined in step S7 that the processing of the automatic journalizing program 132 is to be ended, the processing returns to step S1. When it is determined in step S7 that the processing of the automatic journalizing program 132 is to be ended, the processing of FIG. 3 ends.
[0040] Next, the aggregation process and the journalizing process will be described. Fig. 5 is a flow chart showing the aggregation process and the journalizing process. The process in Fig. 5 is started when data to be journalized is input on an initial screen (not shown) displayed when the automatic journalizing program 132 is started by the user of the terminal 1. Here, the input data to be journalized may be data in various formats such as text data showing the contents described in a document such as an invoice, tabular data showing the contents described in a document such as an invoice, image data of a document such as an invoice, etc. In addition, the data to be journalized may be a digital invoice in a specified format.
[0041] In step S11, the processor 11 executes the aggregation process. After the aggregation process, the process proceeds to step S12. The aggregation process will be described below with reference to Fig. 6. Fig. 6 is a flowchart showing an example of the aggregation process.
[0042] In step S101, processor 11 determines whether the input data is image data. If it is determined in step S101 that the input data is image data, the process proceeds to step S102. If it is determined in step S101 that the input data is not image data, the process proceeds to step S103.
[0043] In step S102, the processor 11 performs character recognition on the input image data. The character recognition may be performed by any method.
[0044] In step S103, the processor 11 acquires one name character string from the input data. For example, if the input data is text data, the processor 11 acquires the name character string in the order in which it was input. Also, for example, if the input data is table-format data, the processor 11 acquires the name character string in order from the top row. Also, for example, if the input data is image data, the processor 11 acquires the name character string in the order in which character recognition was performed.
[0045] In step S104, the processor 11 acquires an aggregation rule for one "aggregation result" from the aggregation rule 133. For example, the processor 11 acquires the aggregation rules sequentially from the top of FIG.
[0046] In step S105, the processor 11 determines whether the acquired name character string matches the acquired "condition (inclusive)". For example, when the acquired name character string includes any character string listed in the corresponding "condition (inclusive)", it is determined that the acquired name character string matches the acquired "condition (inclusive)". When it is determined in step S105 that the acquired name character string matches the acquired "condition (inclusive)", the process proceeds to step S106. When it is not determined in step S105 that the acquired name character string matches the acquired "condition (inclusive)", the process proceeds to step S108.
[0047] In step S106, the processor 11 determines whether the acquired name character string matches the "condition (exclude)" of the "aggregation result" that was previously determined to match the "condition (include)". For example, when the acquired name character string contains any of the character strings listed in the corresponding "condition (exclude)", it is determined that the acquired name character string matches the acquired "condition (exclude)". When it is not determined in step S106 that the acquired name character string matches the acquired "condition (exclude)", the process proceeds to step S107. When it is determined in step S106 that the acquired name character string matches the acquired "condition (exclude)", the process proceeds to step S108.
[0048] In step S107, processor 11 aggregates the acquired names into the acquired "aggregation result". When aggregating, processor 11 adds the amount of the corresponding names to the amount of the corresponding aggregation result. Then, the process proceeds to step S109. That is, in the embodiment, when the "condition (include)" is met and the "condition (exclude)" is not met, the corresponding names are aggregated into the corresponding "aggregation result".
[0049] In step S108, processor 11 determines whether all aggregation rules have been acquired, i.e., whether or not a judgment based on all aggregation rules has been performed for the acquired nominal character string. If it is determined in step S108 that all aggregation rules have not been acquired, the process returns to step S104. In this case, processor 11 acquires the next aggregation rule. If it is determined in step S108 that all aggregation rules have been acquired, the process proceeds to step S109.
[0050] In step S109, processor 11 determines whether all name strings have been acquired, i.e., whether all name strings have been subjected to judgment based on all aggregation rules. If it is determined in step S109 that all name strings have not been acquired, the process returns to step S103. In this case, processor 11 acquires the next name string. If it is determined in step S109 that all name strings have been acquired, the process proceeds to step S110.
[0051] In step S110, the processor 11 displays the aggregation result on the display 15. The user may edit the aggregation result on the display screen of the aggregation result. After the editing is completed, the process of FIG. 6 ends.
[0052] The process of FIG. 6 will be described in detail below. In the following, the aggregation process for the invoice data shown in FIG. 7 will be described as an example. The transaction in this case is payment for various products. The invoice data shown in FIG. 7 has the following items: "No.", "Product Name", "Quantity", "Unit Price", and "Amount". "No." is a serial number assigned to each product. "Product Name" is the name of the corresponding product. "Quantity" is the number of corresponding products. "Unit Price" is the price of one corresponding product. "Amount" is the total payment amount for the corresponding product, that is, the product of "Quantity" and "Unit Price". Note that each item of the invoice data shown in FIG. 7 is set appropriately based on business operations, etc., and is not particularly limited.
[0053] In the aggregation process, the processor 11 sequentially obtains character strings of names from the input data. For example, in the case of the invoice data of Fig. 7, the processor 11 obtains character strings in the order of "rent", "management fee", "waste disposal fee", "electricity fee", and "out-of-hours air conditioning fee".
[0054] Next, the processor 11 acquires the aggregation rules in sequence. For example, in the case of the aggregation rules in Fig. 2, the aggregation rules are acquired in the order of "advertising / promotion", "commissions", "membership fees", "donations", "transportation", "rent etc.", "parking fees", utility fees, ....
[0055] Next, the processor 11 judges whether the character string of the acquired title matches the acquired "conditions (including)". For example, the character string "Rent" of the product name shown in FIG. 7 does not include any of the character strings listed in the aggregation results "Advertising / Promotion", "Commission", "Various Membership Fees", "Donations", and "Transportation". Therefore, it is judged that the character string "Rent" does not match any of the "conditions (including)" of the aggregation results "Advertising / Promotion", "Commission", "Various Membership Fees", "Donations", and "Transportation". On the other hand, the character string "Rent" includes the character string "Rent" listed in the "conditions (including)" of the aggregation result "Rent, etc." Therefore, it is judged that the character string "Rent" matches the "conditions (including)" of the aggregation result "Rent, etc."
[0056] If there is a "condition (include)" that matches the acquired name string, processor 11 determines whether the name string matches the corresponding "condition (exclude)." For example, the character string "rent" contains the character string "rent" listed in the "condition (include)" of the aggregation result "rent, etc." On the other hand, the character string "rent" does not contain any of the character strings listed in the "condition (exclude)" of the aggregation result "rent, etc." Therefore, it is determined that the character string "rent" does not match the "condition (exclude)" of the aggregation result "rent, etc."
[0057] As a result, the character string "rent" is aggregated into the aggregation result "rent, etc." A similar determination is made for each character string of each product name. Here, character strings that do not match any of the "conditions (including)" are left unaggregated.
[0058] As a result of the above, the aggregation result for the invoice data shown in FIG. 7 is as shown in FIG. 8. In the example of FIG. 8, the aggregation result has the items of "Original No.", "Item," and "Amount." "Original No." is an item that indicates the "No." of each of the product names aggregated in the corresponding aggregation result. "Item" is a nominal item associated with the aggregation result. Here, it is written as item because it is an aggregation result for invoice data. "Amount" is the total of the "Amount" of each product aggregated in the corresponding aggregation result. In other words, "Amount" in FIG. 8 is the total of the "Amount" of the "No." indicated by "Original No.". Therefore, for example, when "Original No." is 1 or 2, the "Amount" in FIG. 8 is 2,500,000 + 500,000 = 3,000,000 yen.
[0059] The processor 11 displays the aggregation result shown in Fig. 8 on the display 15. The user may edit the aggregation result displayed on the display 15. After the editing is completed, the processing in Fig. 6 ends.
[0060] Returning now to the explanation of FIG. 5, in step S12 after the aggregation process, the processor 11 executes the journalizing process. As described above, the journalizing process is executed on the aggregation result. After the journalizing process, the process proceeds to step S13. FIG. 9 is a diagram showing an example of the journalizing result. As shown in FIG. 9, the contents of the transaction shown in FIG. 7 are journalized into a predetermined account item by the journalizing process.
[0061] In step S13, the processor 11 displays the journalization result on the display 15. The user can edit the journalization result on the display screen of the journalization result. After completing the editing, the screen transitions to the initial screen, and the process proceeds to step S14.
[0062] In step S14, the processor 11 determines whether or not to end the processing of the automatic journalizing program 132. For example, it is determined that the processing is to be ended when an end button displayed on an initial screen (not shown) is selected. When it is determined in step S14 that the processing of the automatic journalizing program 132 is not to be ended, the processing returns to step S11. When it is determined in step S14 that the processing of the automatic journalizing program 132 is to be ended, the processing of FIG. 5 ends.
[0063] As described above, according to the embodiment, in the automatic journal entry process, the contents of transactions input prior to the actual journal entry process are aggregated according to a predetermined aggregation rule. This prevents the process from becoming complicated, whether the journal entry process for invoices of various contents is performed based on rules or based on a trained model. In addition, the accuracy of the journal entry process is expected to improve as the process becomes less complicated. Furthermore, the number of rules set in the journal entry process and the amount of training data required for training the trained model are expected to be reduced.
[0064] In addition, in the embodiment, the aggregation process is performed based on rules based on partial matching of character strings. This is expected to reduce the processing load. Furthermore, since the rules can be defined by the user, it is expected that appropriate aggregation based on operation, etc. can be performed. Furthermore, in the rules for partial matching of character strings, not only conditions including specific character strings but also conditions not including specific conditions can be set. This is expected to prevent journalization that is not intended by the user from being performed.
[0065] (Modification) The following describes modified examples of the embodiment. As described above, in the embodiment, the aggregation process is performed on a rule basis. Therefore, if the number of defined rules is small or if the input data contains many contents that deviate from the rules, it is assumed that appropriate aggregation will not be performed. On the other hand, depending on the contents of the journalization, detailed journalization for each transaction is not necessary in the first place, and for example, the entire invoice may be treated as one journalization data. In consideration of this, the processor 11 may aggregate the contents of the entire input data into one aggregated result when the following conditions are met. In addition, the progress of the aggregation process can be monitored, and the aggregation rules can be changed even during the process, making it possible to derive the optimal aggregation rules more efficiently. 1) The total amount of the entered data is the same as the aggregated amount. 2) The aggregation results are consolidated into one. 3) The same aggregation occurs a certain number of times in succession.
[0066] Here, it is desirable that the judgments of 1), 2), and 3) are made based on the aggregation results edited by the user. For example, if the user has edited the aggregation results based on partial matches a certain number of times in the past to aggregate the aggregation results for the same combination under a specific name, and the amount of the data entered in each edited result is the same as the amount of the aggregation result, the aggregation result after editing is learned. Then, from the next time onwards, when the same combination of names is entered for the same payee, those names may be aggregated under the learned name. By adding the processing of such a modified example, the number of times partial match judgments of character strings are made is reduced, and it is expected that the load of the aggregation process will be further reduced.
[0067] In the embodiment, the aggregation process and the journalizing process by the automatic journalizing program 132 are both performed in the terminal 1. In contrast, the aggregation process and the journalizing process may be performed in a location other than the terminal 1, such as a server with which the terminal 1 can communicate. In this case, the aggregation rule 133 is stored in a storage device such as a server. In addition, the results of the aggregation process performed in multiple terminals 1, the results of the journalizing process, and the aggregation rule may be transmitted to a server, etc., and the results may be analyzed and evaluated in the server, etc. Then, an optimal aggregation rule may be derived based on the results of the analysis and evaluation of the multiple results. Needless to say, if the data before aggregation is also transmitted at this time, more detailed analysis and evaluation are possible.
[0068] In addition, in the embodiment, the aggregation process is performed based on rules. Alternatively, the aggregation process may be performed using a trained model that has learned the relationship between the transaction contents and the aggregation results.
[0069] Furthermore, each process according to the above-described embodiment can be stored as a program that can be executed by the processor 11, which is a computer. Alternatively, the program can be stored in a storage medium of an external storage device, such as a magnetic disk, an optical disk, or a semiconductor memory, and distributed. The processor 11 can then read the program stored in the storage medium of the external storage device, and the processor 11 can execute the above-described process by having its operation controlled by the read program.
[0070] The present invention is not limited to the above-mentioned embodiment, and various modifications can be made in the implementation stage without departing from the gist of the invention. In addition, the embodiments may be implemented in appropriate combination, and in that case, the combined effect can be obtained. Furthermore, the above-mentioned embodiment includes various inventions, and various inventions can be extracted by combinations selected from the multiple components disclosed. For example, if the problem can be solved and the effect can be obtained even if some components are deleted from all the components shown in the embodiment, the configuration from which the components are deleted can be extracted as an invention. [Explanation of symbols]
[0071] 1 terminal, 11 processor, 12 memory, 13 storage, 14 input interface, 15 display, 16 communication module, 17 bus, 132 automatic accounting program, 133 aggregation rules.
Claims
1. Accepting input of a plurality of items representing the contents of a plurality of transactions and data on amounts relating to each item; aggregating the inputted plurality of names based on a predetermined aggregation rule; calculating the aggregate amount of amounts relating to the aggregated items; Performing automatic journal entries for aggregated items; An automatic accounting program for having a processor execute the above.
2. The aggregation rule is a partial match rule for a character string of the name, aggregating the plurality of names includes, when the input name string includes a first string associated with a name previously determined for each aggregation result, aggregating the input name string into a corresponding aggregation result by the processor; 2. The automatic accounting program according to claim 1.
3. aggregating the plurality of names includes causing the processor to execute a process of not aggregating the input name string into a corresponding aggregated result when the input name string includes a second character string associated with a name previously defined for each aggregated result, even when the input name string includes a first character string associated with a name previously defined for each aggregated result.
3. The automatic accounting program according to claim 2.
4. 2. The automatic journalizing program according to claim 1, further comprising causing said processor to execute the step of having a user set said aggregation rule.
Citation Information
Patent Citations
Accounting processor, accounting method, accounting program
JP2020030517A
Account processing system and program
JP2020170479A
Cost budget / actual management device, cost budget / actual management method, and cost budget / actual management program
JP2021149926A
Accounting system and accounting method
WO2018179411A1
