Cash flow statement generation method and related equipment

By obtaining the information of the voucher entry line and determining the cash flow terms based on the preset mapping relationship, the problem of complex and error-prone cash flow statement generation in the prior art is solved, and more efficient and accurate cash flow statement generation is achieved.

CN119783646APending Publication Date: 2025-04-08KINGDEE DEEKING CLOUDCOMPUTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411797269.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The existing cash flow statement generation method relies on manual operations, the steps are complex and error-prone. Especially in the multi-borrow and multi-loan scenario, it is easy to repetitive, lack and/or incorrectly calculate the entries voucher data, resulting in low generation accuracy.

Method used

By obtaining the information of the voucher entry line, determining the cash flow items and the amount corresponding to the non-cash account based on the preset mapping relationship, and determining whether there is an amount or the sum of the amount is equal to the amount of the cash account in the cash flow items, thereby generating a target cash flow statement.

Benefits of technology

The efficiency and accuracy of the generation of cash flow statements are improved, especially in the multi-borrow and multi-loan scenarios, which reduces the possibility of duplication, lack and/or incorrect calculations, and significantly improves the accuracy and efficiency of matching cash flow terms and amounts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119783646A_ABST
    Figure CN119783646A_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method for generating a cash flow statement and related equipment, which are used to generate a cash flow statement while improving the efficiency and accuracy of generating the cash flow statement. The method of the embodiment of the present application includes: obtaining voucher entry line information, determining the cash flow items corresponding to non-cash accounts based on a preset mapping relationship, and determining the amount of the cash flow items corresponding to the non-cash accounts, determining whether there are single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account in the cash flow items corresponding to the non-cash accounts, and then determining the target cash flow items and the target amount of the target cash flow items of the target counterpart accounts of the cash accounts based on the determination results, the target amount of the target cash flow items is equal to the amount of the cash account, and generating the target cash flow statement corresponding to the voucher entry line information based on the target cash flow items and the target amount of the target cash flow items.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of cash flow statement generation, and more specifically, to a cash flow statement generation method, a cash flow statement generation device, a computer device, a computer-readable storage medium, and a computer program product containing instructions. Background Art

[0002] With the growth of accounting informatization and enterprise scale, transaction volume and business complexity continue to increase, and the demand for financial data processing of enterprises is becoming increasingly huge. Therefore, a method for generating a cash flow statement is needed.

[0003] The existing method of generating cash flow statements relies on manual operations. First, for each cash voucher, the user needs to record not only the regular accounting entries, but also manually calculate the relationship with the balance sheet and income statement, such as identifying which business activities affect the cash flow of operating activities, investment activities or financing activities. This method of generating cash flow statements involves creating T-accounts (a tool for tracking changes in assets, liabilities, and equity). Users need to select appropriate cash flow items within this framework, such as cash flow from operating activities or cash flow from investment activities, and then fill in the cash flow statement according to the amount.

[0004] However, the existing method for generating a cash flow statement requires manual operation based on the T-account method to obtain the balance sheet and the income statement in sequence before further manual operation can be performed to obtain the cash flow statement. The manual operation steps are numerous and complex, and the probability of error is high. In particular, in a scenario of multiple debits and multiple loans, it is easy to have duplicate, missing and / or incorrectly calculated entry line voucher data. Therefore, the accuracy of the cash flow statement generation is low. Summary of the invention

[0005] Embodiments of the present application provide a method for generating a cash flow statement, an apparatus for generating a cash flow statement, a computer device, a computer-readable storage medium, and a computer program product containing instructions, for generating a cash flow statement while improving the efficiency and accuracy of the generation of the cash flow statement.

[0006] In a first aspect, an embodiment of the present application provides a method for generating a cash flow statement, comprising:

[0007] Obtaining voucher entry line information, the voucher entry line information including accounting subjects and amounts of the accounting subjects, the accounting subjects including cash subjects and non-cash subjects, the non-cash subjects including target counterparty subjects and other subjects of the cash subjects;

[0008] Determine the cash flow item corresponding to the non-cash account based on the preset mapping relationship, and determine the amount of the cash flow item corresponding to the non-cash account based on the amount of the non-cash account;

[0009] After determining whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account in the cash flow items corresponding to the non-cash account, determine the target cash flow item of the target counterpart account of the cash account and the target amount of the target cash flow item based on the determination result, and the target amount of the target cash flow item is equal to the amount of the cash account;

[0010] A target cash flow statement corresponding to the voucher entry line information is generated based on the target cash flow item and the target amount of the target cash flow item.

[0011] In a second aspect, an embodiment of the present application provides a device for generating a cash flow statement, comprising:

[0012] an acquisition unit, used to acquire voucher entry line information, wherein the voucher entry line information includes accounting subjects and amounts of the accounting subjects, wherein the accounting subjects include cash subjects and non-cash subjects, wherein the non-cash subjects include target counterparty subjects and other subjects of the cash subjects;

[0013] A determination unit, configured to determine the cash flow item corresponding to the non-cash account based on a preset mapping relationship, and determine the amount of the cash flow item corresponding to the non-cash account based on the amount of the non-cash account;

[0014] The determination unit is further configured to determine, among the cash flow items corresponding to the non-cash items, whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account, and then determine, based on the determination result, a target cash flow item of a target counterpart account of the cash account and a target amount of the target cash flow item, wherein the target amount of the target cash flow item is equal to the amount of the cash account;

[0015] A generating unit is used to generate a target cash flow statement corresponding to the voucher entry line information based on the target cash flow item and the target amount of the target cash flow item.

[0016] In a third aspect, an embodiment of the present application provides a computer device, including:

[0017] CPU, memory, input and output interfaces, wired or wireless network interfaces, and power supply;

[0018] The memory is a short-term storage memory or a persistent storage memory;

[0019] The central processing unit is configured to communicate with the memory and execute instructions in the memory to perform the aforementioned method for generating a cash flow statement.

[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes instructions. When the instructions are executed on a computer, the computer executes the aforementioned method for generating a cash flow statement.

[0021] In a fifth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the aforementioned method for generating a cash flow statement.

[0022] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages: the cash flow items corresponding to non-cash accounts and the amounts of the cash flow items can be determined based on the preset mapping relationship, and the accuracy and efficiency of matching the cash flow items and the amounts of the cash flow items are high. Especially in the scenario of multiple debits and multiple loans, the occurrence of repeated, missing and / or incorrectly calculated entry line voucher data, as well as the low efficiency of calculating entry line voucher data can be greatly reduced, and the accuracy and efficiency of matching the cash flow items and the amounts of the cash flow items are greatly improved. Therefore, the accuracy and efficiency of the generation of the cash flow statement are high. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic diagram of the architecture of a cash flow statement generation system disclosed in an embodiment of the present application;

[0024] Figure 2 A schematic diagram of a flow chart of a method for generating a cash flow statement disclosed in an embodiment of the present application;

[0025] Figure 2-1 A schematic diagram of a table of accounts including a preset mapping relationship disclosed in an embodiment of the present application;

[0026] Figure 2-2 A schematic diagram of a target voucher table containing cash flow item information disclosed in an embodiment of the present application;

[0027] Figure 2-3 A schematic diagram of a target cash flow statement disclosed in an embodiment of the present application;

[0028] Figure 3 A schematic diagram of a flow chart of another method for generating a cash flow statement disclosed in an embodiment of the present application;

[0029] Figure 3-1 A flowchart of another method for generating a cash flow statement disclosed in an embodiment of the present application;

[0030] Figure 4A schematic diagram of a flow chart of another method of generating a cash flow statement disclosed in an embodiment of the present application;

[0031] Figure 4-1 A schematic diagram of a credential configuration interface disclosed in an embodiment of the present application;

[0032] Figure 4-2 A schematic diagram of another credential configuration interface disclosed in an embodiment of the present application;

[0033] Figure 5 A schematic diagram of the structure of a cash flow statement generating device disclosed in an embodiment of the present application;

[0034] Figure 6 A schematic diagram of the structure of a computer device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0035] Embodiments of the present application provide a method for generating a cash flow statement, an apparatus for generating a cash flow statement, a computer device, a computer-readable storage medium, and a computer program product containing instructions, for generating a cash flow statement while improving the efficiency and accuracy of the generation of the cash flow statement.

[0036] The present application can be applied to various information management systems, such as enterprise resource planning systems (ERP), tax systems, financial systems, human resources systems, supply chain systems, etc.

[0037] See also Figure 1 In the embodiment of the present application, the architecture of the system for generating a cash flow statement includes:

[0038] Computer device 101 and client 102. When generating a cash flow statement, computer device 101 can be connected to client 102. Computer device 101 can obtain voucher entry line information sent by client 102, can determine the cash flow items corresponding to non-cash accounts based on a preset mapping relationship, and can determine the amount of the cash flow items corresponding to the non-cash accounts based on the amount of the non-cash accounts. After determining whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account among the cash flow items corresponding to the non-cash accounts, determine the target cash flow items of the target counterpart accounts of the cash accounts and the target amount of the target cash flow items based on the determination result, and finally generate the target cash flow statement corresponding to the voucher entry line information based on the target cash flow items and the target amount of the target cash flow items, and return the target cash flow statement to client 102.

[0039] Some key terms in the examples of this application are explained as follows:

[0040] Subject: refers to accounting subjects, which are items for classifying and calculating the specific contents of accounting elements in economic activities.

[0041] Voucher: refers to accounting voucher, which is a written record of the occurrence or completion of economic transactions and is the basis for registering accounts.

[0042] Voucher entry: The data line in the voucher that records the summary, account, debit amount, and credit amount.

[0043] Direction of debit or credit: refers to the direction of inflow or outflow of funds when conducting financial transactions. Here it refers to the direction of the amount recorded in the voucher entry.

[0044] Multiple debit / multiple credit: There are multiple debit / credit voucher entries in the voucher.

[0045] Cash voucher: When a voucher contains cash accounts, bank accounts, cash and bank equivalent accounts, the voucher is called a cash voucher.

[0046] Cash equivalents: investments held by a company that are short-term, highly liquid, easily convertible to known amounts of cash and subject to a very low risk of changes in value.

[0047] Cash Account: An attribute of an account, which means that this type of account is used to account for cash inflows / outflows.

[0048] Bank account: An attribute of an account, which means that this type of account is used to account for inter-bank fund transactions.

[0049] Cash and bank equivalents account: an attribute of an account, which means that this type of account is used to account for cash and bank equivalents.

[0050] Cash accounts: refers to the general term for accounts whose attributes are cash, bank, current and bank equivalents.

[0051] Cash flow statement: It is one of the three basic reports in financial statements, which expresses the increase or decrease in an organization's cash (including bank deposits) within a fixed period (usually monthly or quarterly).

[0052] Cash flow items: cash flow items, items in the cash flow statement used to record the direction of cash flows in an enterprise's economic activities.

[0053] based on Figure 1 For the system for generating the cash flow statement shown, see Figure 2 , Figure 2 The present invention is a flowchart of a method for generating a cash flow statement disclosed in an embodiment of the present invention, the method comprising:

[0054] 201. Obtain voucher entry line information, which includes accounting subjects and the amounts of accounting subjects. Accounting subjects include cash subjects and non-cash subjects. Non-cash subjects include the target counterparty subjects and other subjects of cash subjects.

[0055] In this embodiment, when generating a cash flow statement, voucher entry line information can be obtained. The voucher entry line information includes accounting accounts and amounts of accounting accounts. Accounting accounts include cash accounts and non-cash accounts. Non-cash accounts include target counterparty accounts and other accounts of cash accounts.

[0056] Specifically, for example, the voucher entry line information includes the cash account "bank deposit", the target counterpart account of the cash account "main business income, other business income, accounts payable, bills payable, etc." accounting accounts, and the amounts of these accounting accounts. The amount of the accounting account includes the debit and credit direction and amount value. For example, the amount of the bank deposit is the voucher debit amount of 150 yuan. The voucher entry line information can also include other information, such as summary, date, etc.

[0057] It is understandable that the voucher entry line information obtained can be a few lines of voucher entry line information or a large amount (such as thousands or tens of thousands of lines) of voucher entry line information. The specific number of voucher entry line information is not limited here.

[0058] 202. Determine the cash flow items corresponding to the non-cash accounts based on the preset mapping relationship, and determine the amounts of the cash flow items corresponding to the non-cash accounts based on the amounts of the non-cash accounts.

[0059] After obtaining the voucher entry line information, the cash flow items corresponding to the non-cash accounts can be determined based on the preset mapping relationship, and the amount of the cash flow items corresponding to the non-cash accounts can be determined based on the amount of the non-cash accounts.

[0060] It can be understood that the preset mapping relationship is used to characterize the association between each preset account and the debit / credit cash flow item. The preset mapping relationship can be expressed as the correspondence between the preset accounts and the cash flow items in the account table, or in other reasonable ways, which are not limited here.

[0061] For details, please refer to Figure 2-1 , Figure 2-1 This is a schematic diagram of a table of accounts containing a preset mapping relationship disclosed in an embodiment of the present application. As shown in 21, the debit cash flow item corresponding to the account "short-term investment" is "cash received from short-term investments, long-term bond investments and long-term equity investments", and the corresponding credit cash flow item is "cash paid for short-term investments, long-term bond investments and long-term equity investments".

[0062] To be more specific, continuing with the above example, please refer to Figure 2-2 , Figure 2-2 This is a schematic diagram of a target voucher table containing cash flow item information disclosed in an embodiment of the present application. As shown in 2-2, the cash flow items corresponding to the target counterparty accounts of these cash accounts, such as "main business income", "other business income", and "accounts payable", are "cash received from the sale of finished products, goods, and provision of services", "cash received from other operating activities", "cash paid for the purchase of raw materials, goods, and services", etc., and the amounts are "inflow amount 100", "inflow amount 50", "outflow amount 110", etc. These cash flow item information can be presented together with the account information to obtain the target voucher table.

[0063] It is worth mentioning that pre-setting the relationship between accounting subjects and cash flow classification can reduce the manual operation time and possibility of errors in manually judging each transaction, thereby improving the accuracy and efficiency of matching accounting subjects with cash flow data.

[0064] 203. Among the cash flow items corresponding to non-cash accounts, after determining whether there is a single or multiple cash flow items whose amount or the sum of amounts is equal to the amount of the cash account, determine the target cash flow item of the target counterpart account of the cash account and the target amount of the target cash flow item based on the determination result, and the target amount of the target cash flow item is equal to the amount of the cash account.

[0065] After determining the cash flow items corresponding to the non-cash accounts based on the preset mapping relationship and determining the amounts of the cash flow items corresponding to the non-cash accounts based on the amounts of the non-cash accounts, it is possible to determine, among the cash flow items corresponding to the non-cash accounts, whether there is a single or multiple cash flow items whose amount or the sum of amounts is equal to the amount of the cash accounts, and then determine the target cash flow items of the target counterpart accounts of the cash accounts and the target amounts of the target cash flow items based on the determination results, the target amount of the target cash flow items being equal to the amount of the cash accounts.

[0066] Specifically, continue to Figure 2-2In the example shown, there are three cash accounts, namely "Bank Deposits_Bank A", "Bank Deposits_Bank B" and "Bank Deposits_Bank C". For "Bank Deposits_Bank A", it can be determined that there are multiple cash flow items "Cash received from sales of finished products, goods and provision of services" and "Cash received related to other operating activities" in the target counterpart account of "Bank Deposits_Bank A", and the amount of "Cash received from sales of finished products, goods and provision of services" can be determined to be "Inflow amount 100" and the amount of "Cash received from other operating activities" can be determined to be "Inflow amount 50"; for "Bank Deposits_Bank B", it can be determined that there is a single cash flow item "Cash paid for purchase of raw materials, goods and services" in the target counterpart account of "Bank Deposits_Bank B", and the amount of "Cash paid for purchase of raw materials, goods and services" can be determined to be "Outflow amount 110"; for "Bank Deposits_Bank C", it can be determined that there is a single cash flow item "Employee salaries paid" in the target counterpart account of "Bank Deposits_Bank C", and the amount of "Employee salaries paid" can be determined to be "Inflow amount 60".

[0067] Assuming that there is no single or multiple cash flow items whose amount or sum is equal to the amount of cash account, the target cash flow item and the target amount of the target cash flow item can be determined according to other methods. Other methods can be to flexibly adjust the cash flow item and the amount of the cash flow item by analyzing business logic or financial rules to obtain the target cash flow item and the target amount of the target cash flow item. For example, when processing voucher entry line information in batches, if the voucher's debits and credits are unbalanced, the system allows the user to temporarily store multiple debits and multiple credits in the early stage, and then find errors through real-time verification and make adjustments. Other methods can also be other reasonable methods, which are not limited here.

[0068] It is worth mentioning that determining the target cash flow items and the target amounts of the target counterpart accounts of cash accounts based on the determination results can improve the flexibility of determining the target cash flow items and the target amounts of the target cash flow items, as well as the feasibility of obtaining an accurate cash flow statement.

[0069] 204. Generate a target cash flow statement corresponding to the voucher entry line information based on the target cash flow items and the target amounts of the target cash flow items.

[0070] After determining the target cash flow items and the target amounts of the target counterpart accounts of the cash accounts based on the determination results, you can generate a target cash flow statement corresponding to the voucher entry line information based on the target cash flow items and the target amounts of the target cash flow items.

[0071] Specifically, continuing with the above example, see Figure 2-3 , Figure 2-3 A schematic diagram of a target cash flow statement disclosed in an embodiment of the present application, comprising Figure 2-3 It can be seen that all cash flow items (including "cash flows from operating activities", "cash received from sales of finished products, goods, and provision of services", "cash paid for purchase of raw materials, goods, and services", "cash received from investment income", etc.), account information and corresponding amounts can be integrated to form a comprehensive target cash flow statement.

[0072] In an embodiment of the present application, the target cash flow items and the target amounts of the target cash flow items of the target counterpart accounts of the cash accounts can be generated based on the preset mapping relationship. The target amount of the target cash flow item is equal to the amount of the cash account. The accuracy and efficiency of matching the target cash flow items and the amounts of the target cash flow items are high. Especially in a scenario of multiple debits and multiple loans, the occurrence of repeated, missing and / or incorrectly calculated entry line voucher data, as well as the low efficiency of calculating entry line voucher data can be greatly reduced. The accuracy and efficiency of matching the cash flow items and the amounts of the cash flow items are greatly improved. Therefore, the accuracy and efficiency of generating the cash flow statement are high.

[0073] based on Figure 2 In the embodiment described, during the process of generating a cash flow statement, although the efficiency and accuracy of generating a cash flow statement can be improved to a certain extent, there is still a situation where higher efficiency and accuracy requirements / expectations cannot be met. In order to solve the above problem, the following provides a detailed embodiment that can be optionally executed during the implementation of this solution. Please refer to Figure 3 , Figure 3 This is a flow chart of another method for generating a cash flow statement disclosed in an embodiment of the present application. Another embodiment of the method for generating a cash flow statement of the present application includes:

[0074] 301. Obtain voucher entry line information, which includes accounting subjects and the amounts of accounting subjects. Accounting subjects include cash subjects and non-cash subjects. Non-cash subjects include the target counterparty subjects and other subjects of cash subjects.

[0075] 302. Determine the cash flow item corresponding to the non-cash account based on the preset mapping relationship, and determine the amount of the cash flow item corresponding to the non-cash account based on the amount of the non-cash account.

[0076] Steps 301 to 302 in this embodiment are similar to those in the previous embodiment. Figure 2 Steps 201 to 202 in the illustrated embodiment are similar and will not be described in detail herein.

[0077] 303. In the cash flow items corresponding to the non-cash accounts, determine whether there is a single or multiple cash flow items whose amount or the sum of amounts is equal to the amount of the cash account. If so, execute step 304; if not, execute step 305.

[0078] After determining the cash flow items corresponding to the non-cash accounts based on the preset mapping relationship and determining the amounts of the cash flow items corresponding to the non-cash accounts based on the amounts of the non-cash accounts, it can be determined among the cash flow items corresponding to the non-cash accounts whether there is a single or multiple cash flow items whose amount or the sum of amounts is equal to the amount of the cash accounts.

[0079] Among them, before determining whether there are single or multiple cash flow items whose amount or the sum of amounts is equal to the amount of cash accounts among the cash flow items corresponding to non-cash accounts, the voucher entry line information can be grouped according to the item category to obtain at least one voucher entry line information combination, and the method for determining whether there are single or multiple cash flow items whose amount or the sum of amounts is equal to the amount of cash accounts among the cash flow items corresponding to non-cash accounts can be that, among the cash flow items corresponding to the non-cash accounts in each voucher entry line information combination, it is determined whether there are single or multiple cash flow items whose amount or the sum of amounts is equal to the amount of cash accounts.

[0080] It is understandable that the grouping method may be based on the summary, or other reasonable methods that can distinguish project categories, which is not limited here.

[0081] More specifically, for the method of grouping based on summaries, please continue to give examples. Figure 2-2 For example, we can first group them according to the summary, and get the combination corresponding to summary 1 ("Bank deposits_Bank A", "Cash received from sales of finished products, goods, and provision of services", "Cash received from other operating activities", "Bank deposits_Bank B", "Cash paid for purchase of raw materials, goods, and acceptance of services"), and the combination corresponding to summary 2 ("Bank deposits_Bank C", "Payment of employee salaries"). For the combination corresponding to summary 1, "Bank deposits_Bank A", we can determine that there is no single cash flow item with the same amount as "Bank deposits_Bank A", but there are multiple cash flow items ("Cash received from sales of finished products, goods, and provision of services", "Cash received from other operating activities") whose sum is equal to the amount of "Bank deposits_Bank A".

[0082] It is worth mentioning that grouping the voucher entry line information by project category can reduce the repeated calculation or missing calculation of the same cash flow items between project categories, thereby improving the accuracy of matching cash flow items and thus improving the accuracy of cash flow statement generation.

[0083] 304. Take one or more cash flow items as target cash flow items, and take the amount or sum of the amounts of the one or more cash flow items as the target amount of the target cash flow items.

[0084] After determining whether there are one or more cash flow items whose amount or sum of amounts is equal to the amount of the cash account, if the determination result is that there are, the one or more cash flow items are used as target cash flow items, and the amount or sum of amounts of the one or more cash flow items is used as the target amount of the target cash flow items.

[0085] Among them, the method of taking a single or multiple cash flow items as target cash flow items can be: if there is a single cash flow item among the cash flow items corresponding to the non-cash accounts, then the single cash flow item is taken as the target cash flow item; if there is no single cash flow item among the cash flow items corresponding to the non-cash accounts, and there are multiple cash flow items, then the multiple cash flow items are taken as the target cash flow items.

[0086] 305. After determining the initial cash flow item and the initial amount of the initial cash flow item of the initial counterpart account of the cash account, and obtaining the difference between the initial amount of the initial cash flow item and the amount of the cash account, determine the target cash flow item and the target amount of the target cash flow item based on the difference.

[0087] After determining whether there are single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash-type account, if the determination result is that they do not exist, determine the initial cash flow item of the initial counterpart account of the cash-type account and the initial amount of the initial cash flow item, and after obtaining the difference between the initial amount of the initial cash flow item and the amount of the cash-type account, determine the target cash flow item and the target amount of the target cash flow item based on the difference.

[0088] Among them, the method for determining the target cash flow item and the target amount of the target cash flow item based on the difference may be, if the difference is zero, then the initial cash flow item is used as the target cash flow item, and the initial amount of the initial cash flow item is used as the target amount of the target cash flow item; if the difference is not zero, then based on the difference, the updated initial cash flow item and / or the initial amount of the initial cash flow item are obtained, and the updated initial cash flow item and / or the initial amount of the initial cash flow item are the target cash flow item and / or the target amount of the target cash flow item.

[0089] It can be understood that the means of determining the target cash flow item and the target amount of the target cash flow item based on the difference can be achieved through user operation in the interface, or through a preset algorithm to determine the target cash flow item and the target amount of the target cash flow item based on the difference, or other reasonable methods, which are not limited here.

[0090] It is worth mentioning that multiple cash flow item matching strategies with different priorities can be set, and the current cash flow item matching strategy can be dynamically adjusted based on the determination results, which improves the accuracy, efficiency and flexibility of cash flow item matching.

[0091] 306. Generate a target cash flow statement corresponding to the voucher entry line information based on the target cash flow items and the target amounts of the target cash flow items.

[0092] After determining the target cash flow items and the target amounts of the target cash flow items, you can generate a target cash flow statement corresponding to the voucher entry line information based on the target cash flow items and the target amounts of the target cash flow items.

[0093] Specifically, each target cash flow item in the target voucher, the target amount of the target cash flow item and other information of the target cash flow item (such as period, etc.) can be obtained, and then the amount of each target cash flow item is totaled, and the current period amount and the cumulative amount for the year are calculated to obtain a cash flow statement (report), and the cash flow statement can be designed and displayed using HTML technology.

[0094] To facilitate understanding of this embodiment, a specific implementation of this embodiment is given below for illustration:

[0095] For details, please refer to Figure 3-1 , Figure 3-1 A flow chart of another method for generating a cash flow statement disclosed in an embodiment of the present application is shown as follows: Figure 3-1It can be seen that the method for generating a cash flow statement can be to first group the voucher entry lines according to the summary to obtain the group "G1, G2, G3, etc.", and divide "G1, G2, G3, etc." into the group "C1, C2, etc." containing cash accounts and the group "NC1, NC2, etc." (other accounts) not containing cash accounts, and then process the group "C1, C2, etc." containing cash accounts in sequence. The cumulative sum of all cash accounts in the Cn group can be taken, and the algorithm can be used to find a combination in which the cumulative sum of the amounts of any other number of non-cash accounts is equal to the cumulative sum of all cash accounts, and determine whether such a combination exists. If so, the cash flow items in the group in the Cn group are retained (specified), and the remaining cash flow items are not specified. If not, the information corresponding to all non-cash accounts that do not exist in the group group is filled into the group group. It can be determined whether the group Cn containing cash accounts has been processed. If not, continue to execute the above steps. If it has been processed, it can be calculated whether the cumulative amount of all Cn groups is equal to the cumulative amount of cash flow items in group Cn. If they are equal, it is determined that the current retention (specification) and non-specification of cash flow items are correct, and the accurately matched cash flow items and cash flow item amounts can be obtained. If they are not equal, the current cash flow item information can be saved for subsequent modification (update) to make the cumulative amount of all Cn groups equal to the cumulative amount of cash flow items in group Cn. Finally, the cash flow items and cash flow item amounts corresponding to these equal cumulative amounts can be saved to obtain the target voucher.

[0096] In the embodiment of the present application, the target cash flow item and the target amount of the target cash flow item of the target counterpart account of the cash account can be generated based on the preset mapping relationship. The target amount of the target cash flow item is equal to the amount of the cash account. The accuracy and efficiency of matching the target cash flow item and the target cash flow item amount are high. Especially in the scenario of multiple borrowing and multiple lending, the occurrence of repeated, missing and / or incorrect calculation of the voucher data of the entry line, as well as the low efficiency of calculating the voucher data of the entry line can be greatly reduced. The accuracy and efficiency of matching the cash flow item and the amount of the cash flow item are greatly improved. Therefore, the accuracy and efficiency of the generation of the cash flow statement are high. Secondly, the voucher entry line information can be grouped according to the project category, which can reduce the repeated calculation or lack of calculation of the same cash flow item between the project categories, thereby improving the accuracy of matching the cash flow item, thereby improving the accuracy of the generation of the cash flow statement. Then, multiple cash flow item matching strategies with different priorities can be set, and the current cash flow item matching strategy can be dynamically adjusted based on the determination result, thereby improving the accuracy, efficiency and flexibility of the cash flow item matching. In short, it meets the requirements / expected situations of higher efficiency and accuracy.

[0097] based on Figure 3 In the embodiment described, during the process of generating a cash flow statement, although the accuracy, efficiency and flexibility of generating a cash flow statement can be improved to a certain extent, the method of "obtaining updated initial cash flow items and / or initial amounts of initial cash flow items based on differences to determine target cash flow items and / or target amounts of target cash flow items" may have low updating accuracy and efficiency, resulting in low accuracy and efficiency of generating a cash flow statement. In order to solve the above problems, a detailed embodiment of this solution that can be optionally executed during implementation is provided below. Please refer to Figure 4 , Figure 4 The present invention discloses a flow chart of another method for generating a cash flow statement according to an embodiment of the present invention. The method of another embodiment of the method for generating a cash flow statement according to the present invention includes:

[0098] 401. Obtain voucher entry line information, which includes accounting subjects and the amounts of accounting subjects. Accounting subjects include cash subjects and non-cash subjects. Non-cash subjects include the target counterparty subjects of cash subjects and other subjects.

[0099] Step 401 in this embodiment is similar to the aforementioned Figure 3 Step 301 in the illustrated embodiment is similar and will not be described in detail here.

[0100] Among them, the method for obtaining the voucher entry line information can be, after displaying the voucher configuration interface, obtaining and displaying the voucher entry line information entered by the user in the accounting subject information area of ​​the voucher configuration interface.

[0101] 402. Determine the cash flow item corresponding to the non-cash account based on the preset mapping relationship, and determine the amount of the cash flow item corresponding to the non-cash account based on the amount of the non-cash account.

[0102] Step 402 in this embodiment is similar to the aforementioned Figure 3 Step 302 in the illustrated embodiment is similar and will not be described in detail here.

[0103] Among them, the method for determining the cash flow items corresponding to non-cash accounts based on a preset mapping relationship, and determining the amount of the cash flow items corresponding to the non-cash accounts based on the amount of the non-cash accounts can be that if a trigger signal for configuring the cash flow items corresponding to the non-cash accounts is detected, the cash flow items corresponding to the non-cash accounts are first determined based on the preset mapping relationship, and the amount of the cash flow items corresponding to the non-cash accounts is determined based on the amount of the non-cash accounts, and then the cash flow items corresponding to the non-cash accounts and the amount of the cash flow items corresponding to the non-cash accounts are displayed in the cash flow item information area of ​​the voucher entry table of the voucher configuration interface.

[0104] For details, please refer to Figure 4-1 , Figure 4-1 A schematic diagram of a credential configuration interface disclosed in an embodiment of the present application, comprising Figure 4-1 It can be seen that the voucher configuration interface includes the voucher entry line information entered by the user. After the user enters the voucher entry line information, the cash flow items corresponding to the non-cash accounts can be automatically generated in the voucher configuration interface based on the preset mapping relationship, and the amount of the cash flow items corresponding to the non-cash accounts can be determined. These voucher entry line information, cash flow items and the amount of cash flow items constitute the target voucher.

[0105] It is worth mentioning that the voucher configuration interface can save users from the need to manually handle the relationship between the current voucher and cash flow when entering vouchers. The processing of cash flow is automated, and the voucher structure that combines cash flow item information and account information can disperse the data processing work of the cash flow statement to each voucher saving operation, avoiding the existing technology that requires opening the cash flow statement for data calculation and aggregation each time the configuration is performed. Therefore, the efficiency and accuracy of the voucher configuration are improved, thereby improving the efficiency and accuracy of the generation of the cash flow statement.

[0106] 403. In the cash flow items corresponding to the non-cash accounts, determine whether there is a single or multiple cash flow items whose amount or the sum of amounts is equal to the amount of the cash account. If so, execute step 404; if not, execute step 405.

[0107] 404. Take one or more cash flow items as target cash flow items, and take the amount or sum of the amounts of the one or more cash flow items as the target amount of the target cash flow items.

[0108] Steps 403 to 404 in this embodiment are similar to those in the previous Figure 3 Steps 303 to 304 in the illustrated embodiment are similar and will not be described in detail here.

[0109] 405. After determining the initial cash flow item and the initial amount of the initial cash flow item of the initial counterpart account of the cash account, and obtaining the difference between the initial amount of the initial cash flow item and the amount of the cash account, if the difference is zero, the initial cash flow item is used as the target cash flow item, and the initial amount of the initial cash flow item is used as the target amount of the target cash flow item; if the difference is not zero, the first update information and / or the second update information is obtained based on the difference, and the initial cash flow item and / or the initial amount of the initial cash flow item are updated based on the first update information and / or the second update information to obtain the target cash flow item and / or the target amount of the target cash flow item.

[0110] Specifically, if the result of the determination is that it does not exist, the initial cash flow item and the initial amount of the initial cash flow item of the initial counterpart account of the cash account can be determined, and after obtaining the difference between the initial amount of the initial cash flow item and the amount of the cash account, the target cash flow item and the target amount of the target cash flow item are determined based on the difference. More specifically, the method for determining the target cash flow item and the target amount of the target cash flow item based on the difference can be that if the difference is zero, the initial cash flow item is used as the target cash flow item, and the initial amount of the initial cash flow item is used as the target amount of the target cash flow item. If the difference is not zero, the updated initial cash flow item and / or the initial amount of the initial cash flow item are obtained based on the difference, and the updated initial cash flow item and / or the initial amount of the initial cash flow item are the target cash flow item and / or the target amount of the target cash flow item.

[0111] Among them, the method for determining the initial cash flow items and the initial amount of the initial cash flow items of the initial counterpart accounts of the cash accounts can be to determine the initial cash flow items and the initial amount of the initial cash flow items of the initial counterpart accounts of the cash accounts, and specify the initial cash flow items and the initial amount of the initial cash flow items in the cash flow item information area.

[0112] Among them, if the difference is not zero, the method for obtaining the updated initial cash flow item and / or the initial amount of the initial cash flow item based on the difference may be, after displaying the prompt information in the voucher configuration interface, obtaining the updated initial cash flow item and / or the initial amount of the initial cash flow item after the user modifies the information in the accounting subject information area and / or the cash flow item information area.

[0113] For details, please continue to refer to Figure 4-1 ,Depend on Figure 4-1 It can be seen that the voucher configuration interface displays "balance" (the target amount of the cash flow item is equal to the amount of the cash account), which means that the difference is zero.

[0114] More specifically, the method for obtaining the updated initial cash flow item and / or the initial amount of the initial cash flow item based on the difference may include but is not limited to any one of the following two methods:

[0115] (1) Directly update the initial cash flow items and / or the initial amounts of the initial cash flow items.

[0116] Specifically, first update information may be obtained based on the difference, the first update information being used to represent an increase, decrease or replacement of an initial cash flow item and / or an initial amount of the initial cash flow item, and then the initial cash flow item and / or the initial amount of the initial cash flow item may be updated based on the first update information to obtain an updated initial cash flow item and / or the initial amount of the initial cash flow item;

[0117] For more details, please refer to Figure 4-2 , Figure 4-2 A schematic diagram of another credential configuration interface disclosed in an embodiment of the present application, comprising Figure 4-2 It can be seen that the voucher configuration interface shows "unbalanced" (the target amount of the cash flow item is not equal to the amount of the cash account), which means that the difference is not zero. At this time, you can directly determine the update direction based on the difference "60", such as updating "unspecified" for "paid employee salaries" to "specified", or directly updating the initial amount of a certain initial cash flow item.

[0118] (2) First update the cash accounts, the amounts of cash accounts, the non-cash accounts and / or the amounts of non-cash accounts, and then update the initial cash flow items and / or the initial amounts of the initial cash flow items.

[0119] Specifically, the second update information can be obtained based on the difference first, and the second update information is used to represent the increase, decrease or replacement of cash accounts, the amount of cash accounts, non-cash accounts and / or the amount of non-cash accounts. Then, the cash accounts, the amount of cash accounts, non-cash accounts and / or the amount of non-cash accounts are updated based on the second update information, and the initial cash flow items and / or the initial amounts of the initial cash flow items are updated to obtain the updated initial cash flow items and / or the initial amounts of the initial cash flow items.

[0120] To be more specific, for example, if the account information entered by the user at the beginning is incorrect, the user can determine the direction that needs to be updated based on the difference "60", thereby modifying and updating the account information (for example, changing the amount of accounts payable from 150 to 100, etc.), and then re-determine the corresponding cash flow items and the amounts of the cash flow items after the updated account information based on the preset mapping relationship.

[0121] It can be understood that the equality of the amount of cash-related accounts and the target amount of cash flow items is the basis for generating an accurate cash flow statement, while the situation that causes the amount of cash-related accounts to be unequal to the target amount of cash flow items involves many aspects, such as the initial voucher account information being wrong, or the cash flow item information being wrong, etc. The voucher configuration interface of this embodiment can calculate the difference, and the specific difference can provide the feasibility of targeted modification, and can comprehensively cover and solve various situations that cause the amount of cash-related accounts to be unequal to the target amount of cash flow items, thereby improving the accuracy, comprehensiveness and pertinence of updating cash flow item information, thereby improving the accuracy of the cash flow statement.

[0122] It is worth mentioning that in the voucher configuration interface, targeted updates can be made based on the difference, which improves the accuracy and efficiency of cash flow item information updates, thereby improving the accuracy and efficiency of cash flow statement generation.

[0123] It is also worth mentioning that the present embodiment does not need to limit the rationality and accuracy of the voucher entry line information initially obtained (for example, the voucher entry line information initially obtained does not need to be equal to the debit and credit amounts, or the debit and credit amounts are correct). For the voucher entry line information that is reasonable or accurate, an accurate cash flow statement can be obtained through the method of "targeted update of cash flow item information based on the difference", thereby improving the range of scenarios that can be adapted to the generation of an accurate cash flow statement.

[0124] 406. Generate a target cash flow statement corresponding to the voucher entry line information based on the target cash flow items and the target amounts of the target cash flow items.

[0125] After determining the target cash flow items and the target amounts of the target cash flow items, you can generate a target cash flow statement corresponding to the voucher entry line information based on the target cash flow items and the target amounts of the target cash flow items.

[0126] Step 406 in this embodiment is similar to the above Figure 3 Step 306 in the illustrated embodiment is similar and will not be described in detail here.

[0127] Among them, after the target cash flow statement is displayed on the report interface, the final amount in the target cash flow statement can also be compared with the standard final amount (including but not limited to that calculated through the account balance sheet) to verify whether the final amount in the target cash flow statement is correct. If it is incorrect, an error prompt message will be displayed on the report interface for the user to return to the voucher configuration interface to update the accounting subject information or cash flow item information, so as to obtain the correct target cash flow statement when balance is achieved.

[0128] In the embodiment of the present application, the target cash flow item and the target amount of the target cash flow item of the target counterpart account of the cash account can be generated based on the preset mapping relationship. The target amount of the target cash flow item is equal to the amount of the cash account. The accuracy and efficiency of matching the target cash flow item and the target cash flow item amount are high. Especially in the scenario of multiple borrowing and multiple lending, the occurrence of repeated, missing and / or incorrect calculation of the entry line voucher data, as well as the low efficiency of calculating the entry line voucher data, can be greatly reduced. The accuracy and efficiency of matching the cash flow item and the amount of the cash flow item are greatly improved. Therefore, the accuracy and efficiency of the generation of the cash flow statement are high. Secondly, the voucher configuration interface improves the efficiency and accuracy of the voucher configuration, thereby improving the efficiency and accuracy of the generation of the cash flow statement. Then, in the voucher configuration interface, targeted updates can be performed based on the difference, which improves the accuracy and efficiency of the cash flow item information update, thereby improving the accuracy and efficiency of the generation of the cash flow statement. Finally, for the reasonable and accurate voucher entry line information, the "targeted update of cash flow item information based on the difference" method can be used to obtain an accurate cash flow statement, which improves the scope of scenarios adapted to the generation of an accurate cash flow statement.

[0129] The method for generating a cash flow statement in the embodiment of the present application is described above. The device for generating a cash flow statement in the embodiment of the present application is described below. Figure 5 , one embodiment of the cash flow statement generation device in the embodiment of the present application includes:

[0130] an acquisition unit, used to acquire voucher entry line information, wherein the voucher entry line information includes accounting subjects and amounts of the accounting subjects, wherein the accounting subjects include cash subjects and non-cash subjects, wherein the non-cash subjects include target counterparty subjects and other subjects of the cash subjects;

[0131] A determination unit, configured to determine the cash flow item corresponding to the non-cash account based on a preset mapping relationship, and determine the amount of the cash flow item corresponding to the non-cash account based on the amount of the non-cash account;

[0132] The determination unit is further configured to determine, among the cash flow items corresponding to the non-cash items, whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account, and then determine, based on the determination result, a target cash flow item of a target counterpart account of the cash account and a target amount of the target cash flow item, wherein the target amount of the target cash flow item is equal to the amount of the cash account;

[0133] A generating unit is used to generate a target cash flow statement corresponding to the voucher entry line information based on the target cash flow item and the target amount of the target cash flow item.

[0134] The determination unit is specifically used to, if the determination result is existence, use the single or multiple cash flow items as the target cash flow items, and use the amount or the sum of the amounts of the single or multiple cash flow items as the target amount of the target cash flow items; and / or if the determination result is non-existence, determine the initial cash flow items of the initial counterpart accounts of the cash-like accounts and the initial amount of the initial cash flow items, obtain the difference between the initial amount of the initial cash flow items and the amount of the cash-like accounts, and then determine the target cash flow items and the target amount of the target cash flow items based on the difference.

[0135] The determination unit is specifically used to use the single cash flow item as the target cash flow item if the single cash flow item exists among the cash flow items corresponding to the non-cash accounts; if the single cash flow item does not exist among the cash flow items corresponding to the non-cash accounts and the multiple cash flow items exist, use the multiple cash flow items as the target cash flow items.

[0136] The determination unit is specifically used to, if the difference is zero, use the initial cash flow item as the target cash flow item, and use the initial amount of the initial cash flow item as the target amount of the target cash flow item; if the difference is not zero, obtain an updated initial cash flow item and / or an initial amount of the initial cash flow item based on the difference, and the updated initial cash flow item and / or the initial amount of the initial cash flow item are the target cash flow item and / or the target amount of the target cash flow item.

[0137] The determination unit is specifically used to obtain first update information based on the difference, the first update information is used to represent the increase, decrease or replacement of the initial cash flow item and / or the initial amount of the initial cash flow item, and the initial cash flow item and / or the initial amount of the initial cash flow item are updated based on the first update information to obtain the updated initial cash flow item and / or the initial amount of the initial cash flow item; and / or obtain second update information based on the difference, the second update information is used to represent the increase, decrease or replacement of the cash account, the amount of the cash account, the non-cash account and / or the amount of the non-cash account, and the cash account, the amount of the cash account, the non-cash account and / or the amount of the non-cash account are updated based on the second update information to update the initial cash flow item and / or the initial amount of the initial cash flow item to obtain the updated initial cash flow item and / or the initial amount of the initial cash flow item.

[0138] The acquisition unit is specifically used to acquire and display the voucher entry line information entered by the user in the accounting subject information area of ​​the voucher configuration interface after the voucher configuration interface is displayed;

[0139] The determining unit is specifically configured to determine the cash flow item corresponding to the non-cash account based on a preset mapping relationship if a trigger signal for configuring the cash flow item corresponding to the non-cash account is detected, and determine the amount of the cash flow item corresponding to the non-cash account based on the amount of the non-cash account, and display the cash flow item corresponding to the non-cash account and the amount of the cash flow item corresponding to the non-cash account in the cash flow item information area of ​​the voucher configuration interface;

[0140] The determining unit is specifically used to determine the initial cash flow item of the initial counterpart account of the cash account and the initial amount of the initial cash flow item, and specify the initial cash flow item and the initial amount of the initial cash flow item in the cash flow item information area;

[0141] The determination unit is specifically used to obtain the updated initial cash flow item and / or the initial amount of the initial cash flow item after the user modifies the information in the accounting subject information area and / or the cash flow item information area after the prompt information is displayed in the voucher configuration interface.

[0142] The cash flow statement generating device further comprises:

[0143] A grouping unit, used to group the voucher entry line information according to the item category to obtain at least one voucher entry line information combination;

[0144] The determination unit is specifically used to determine whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account in the cash flow items corresponding to the non-cash account of each voucher entry line information combination.

[0145] In an embodiment of the present application, the target cash flow items and the target amounts of the target cash flow items of the target counterpart accounts of the cash accounts can be generated based on the preset mapping relationship. The target amount of the target cash flow item is equal to the amount of the cash account. The accuracy and efficiency of matching the target cash flow items and the amounts of the target cash flow items are high. Especially in a scenario of multiple debits and multiple loans, the occurrence of repeated, missing and / or incorrectly calculated entry line voucher data, as well as the low efficiency of calculating entry line voucher data can be greatly reduced. The accuracy and efficiency of matching the cash flow items and the amounts of the cash flow items are greatly improved. Therefore, the accuracy and efficiency of generating the cash flow statement are high.

[0146] See below Figure 6In the embodiment of the present application, an embodiment of the computer device 600 includes:

[0147] CPU 601, memory 605, input / output interface 604, wired or wireless network interface 603 and power supply 602;

[0148] The memory 605 is a temporary storage memory or a permanent storage memory;

[0149] The CPU 601 is configured to communicate with the memory 605 and execute the instructions in the memory 605 to perform the aforementioned Figure 2 The method in the illustrated embodiment.

[0150] The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium includes instructions, when the instructions are executed on a computer, the computer executes the aforementioned Figure 2 The method in the illustrated embodiment.

[0151] The present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the aforementioned Figure 2 The method in the illustrated embodiment.

[0152] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0153] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0154] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0155] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0156] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0157] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A method for generating a cash flow statement, characterized in that: include: Obtaining voucher entry line information, the voucher entry line information including accounting subjects and amounts of the accounting subjects, the accounting subjects including cash subjects and non-cash subjects, the non-cash subjects including target counterparty subjects and other subjects of the cash subjects; Determine the cash flow item corresponding to the non-cash account based on the preset mapping relationship, and determine the amount of the cash flow item corresponding to the non-cash account based on the amount of the non-cash account; After determining whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account in the cash flow items corresponding to the non-cash account, determine the target cash flow item of the target counterpart account of the cash account and the target amount of the target cash flow item based on the determination result, and the target amount of the target cash flow item is equal to the amount of the cash account; A target cash flow statement corresponding to the voucher entry line information is generated based on the target cash flow item and the target amount of the target cash flow item.

2. The method according to claim 1, characterized in that The step of determining the target cash flow item of the target counterpart account of the cash account and the target amount of the target cash flow item based on the determination result includes: If the determination result is yes, the single or multiple cash flow items are used as the target cash flow items, and the amount or the sum of the amounts of the single or multiple cash flow items are used as the target amount of the target cash flow items; and / or If the determination result is non-existent, determining the initial cash flow item of the initial counterpart account of the cash account and the initial amount of the initial cash flow item; After obtaining the difference between the initial amount of the initial cash flow item and the amount of the cash account, the target cash flow item and the target amount of the target cash flow item are determined based on the difference.

3. The method according to claim 2, characterized in that The taking the single or multiple cash flow items as the target cash flow items includes: If the single cash flow item exists in the cash flow items corresponding to the non-cash items, the single cash flow item is used as the target cash flow item; If the single cash flow item does not exist in the cash flow items corresponding to the non-cash accounts, but the multiple cash flow items exist, the multiple cash flow items are used as the target cash flow items.

4. The method according to claim 2, characterized in that: The determining the target cash flow item and the target amount of the target cash flow item based on the difference includes: If the difference is zero, the initial cash flow item is used as the target cash flow item, and the initial amount of the initial cash flow item is used as the target amount of the target cash flow item; If the difference is not zero, an updated initial cash flow item and / or an initial amount of the initial cash flow item is obtained based on the difference, and the updated initial cash flow item and / or the initial amount of the initial cash flow item is the target cash flow item and / or the target amount of the target cash flow item.

5. The method according to claim 4, characterized in that The obtaining of the updated initial cash flow item and / or the initial amount of the initial cash flow item based on the difference includes: Acquire first update information based on the difference, the first update information being used to indicate an increase, decrease or replacement of the initial cash flow item and / or an initial amount of the initial cash flow item; updating the initial cash flow item and / or the initial amount of the initial cash flow item based on the first update information to obtain an updated initial cash flow item and / or the initial amount of the initial cash flow item; and / or Based on the difference, obtain second update information, where the second update information is used to indicate an increase, decrease or replacement of the cash account, the amount of the cash account, the non-cash account and / or the amount of the non-cash account; Based on the second update information, the cash account, the amount of the cash account, the non-cash account and / or the amount of the non-cash account are updated to update the initial cash flow item and / or the initial amount of the initial cash flow item to obtain the updated initial cash flow item and / or the initial amount of the initial cash flow item.

6. The method according to claim 4, characterized in that The obtaining of voucher entry line information includes: After displaying the voucher configuration interface, obtaining and displaying the voucher entry line information entered by the user in the accounting subject information area of ​​the voucher configuration interface; The determining the cash flow item corresponding to the non-cash account based on the preset mapping relationship, and determining the amount of the cash flow item corresponding to the non-cash account based on the amount of the non-cash account, includes: If a trigger signal for configuring the cash flow item corresponding to the non-cash account is detected, the cash flow item corresponding to the non-cash account is determined based on a preset mapping relationship, and the amount of the cash flow item corresponding to the non-cash account is determined based on the amount of the non-cash account; Displaying the cash flow items corresponding to the non-cash accounts and the amounts of the cash flow items corresponding to the non-cash accounts in the cash flow item information area of ​​the voucher configuration interface; The step of determining the initial cash flow item of the initial counterpart account of the cash account and the initial amount of the initial cash flow item includes: Determine the initial cash flow item of the initial counterpart account of the cash account and the initial amount of the initial cash flow item, and specify the initial cash flow item and the initial amount of the initial cash flow item in the cash flow item information area; If the difference is not zero, obtaining the updated initial cash flow item and / or the initial amount of the initial cash flow item based on the difference includes: After the prompt information is displayed in the voucher configuration interface, the updated initial cash flow item and / or the initial amount of the initial cash flow item obtained after the user modifies the information in the accounting subject information area and / or the cash flow item information area is obtained.

7. The method according to any one of claims 1 to 6, characterized in that Before determining whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account in the cash flow items corresponding to the non-cash account, the method further includes: Grouping the voucher entry line information according to the item category to obtain at least one voucher entry line information combination; The step of determining whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account in the cash flow items corresponding to the non-cash account includes: In the cash flow items corresponding to the non-cash accounts of each voucher entry line information combination, determine whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account.

8. A cash flow statement generating device, characterized in that: include: an acquisition unit, used to acquire voucher entry line information, wherein the voucher entry line information includes accounting subjects and amounts of the accounting subjects, wherein the accounting subjects include cash subjects and non-cash subjects, wherein the non-cash subjects include target counterparty subjects and other subjects of the cash subjects; A determination unit, configured to determine the cash flow item corresponding to the non-cash account based on a preset mapping relationship, and determine the amount of the cash flow item corresponding to the non-cash account based on the amount of the non-cash account; The determination unit is further configured to determine, among the cash flow items corresponding to the non-cash items, whether there is a single or multiple cash flow items whose amount or sum of amounts is equal to the amount of the cash account, and then determine, based on the determination result, a target cash flow item of a target counterpart account of the cash account and a target amount of the target cash flow item, wherein the target amount of the target cash flow item is equal to the amount of the cash account; A generating unit is used to generate a target cash flow statement corresponding to the voucher entry line information based on the target cash flow item and the target amount of the target cash flow item.

9. A computer device, characterized in that: include: CPU and memory; The memory is a short-term storage memory or a persistent storage memory; The central processing unit is configured to communicate with the memory and execute instructions in the memory to perform the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises instructions, and when the instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 7.

11. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 7.