Method and device for automated accounting test, electronic equipment and storage medium
By using an automated accounting testing method, which employs a hierarchical structure and multi-dimensional data verification, the problems of low efficiency and error-proneness in traditional testing methods are solved. This achieves efficient and accurate accounting testing, improving system stability and data utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SICHUAN RURAL COMMERCIAL UNITED BANK CO LTD
- Filing Date
- 2026-04-07
- Publication Date
- 2026-07-03
Smart Images

Figure CN122332280A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of financial technology, and more specifically, to a method, apparatus, electronic device, and storage medium for automated accounting and testing. Background Technology
[0002] With the rapid development of electronic payment services, acquiring systems need continuous iteration and upgrades, facing increasingly complex transaction data processing and accounting tasks, requiring testing for specific clearing and settlement scenarios. Acquiring institutions conduct accounting tests after payment transactions; considering security and data accuracy, each upgrade involves extensive functional and regression testing. However, traditional accounting testing methods rely on manual operation, which is inefficient, error-prone, and difficult to adapt to the demands of large-scale, high-frequency transaction data processing. Integrated testing suffers from slow response times, high testing costs, and low data integrity and utilization.
[0003] Therefore, there is an urgent need for an efficient accounting testing method and system to make test data preparation, defect identification and other processes more intelligent, thereby improving testing efficiency and accuracy and reducing testing costs. Summary of the Invention
[0004] The technical problem this invention aims to solve is that financial systems require integrated testing during clearing and settlement, which results in slow response times, high testing costs, and low data integrity and utilization.
[0005] To solve the above-mentioned technical problems, according to one aspect of the present invention, an automated accounting and testing method is provided, comprising the following steps: Step S1: Obtain order information and corresponding merchant configuration information from the acquiring system database of the financial system, and obtain marketing information from the marketing system; store the obtained order information, merchant configuration information, and marketing information in an information storage module; Step S2: Calculate and generate corresponding order data based on the information obtained in Step S1 and the acquiring business logic, form a basic dataset, and store it in the information storage module; Step S3: Compare and test the order information in the basic dataset generated in Step S2 with the corresponding order data in the acquiring system; generate a first-level identifier field based on the comparison test result and store it in the information storage module; the first-level identifier records whether the order data accounting result passes; if it fails, record the corresponding error information; Step S4: Calculate the clearing and settlement amount of the merchant and each revenue sharing party according to the clearing rules using the order data with the correct comparison result in Step S3 and the merchant's revenue sharing party information; and compare the clearing and settlement amount of each entity with the corresponding acquiring system clearing batch task. The obtained settlement amounts for each entity are compared, and a secondary identifier field for the corresponding order data is generated and stored based on the comparison results, and updated in the information storage module. The secondary identifier records the settlement calculation result; if it fails, the corresponding error message is recorded. Step S5: Based on the order data with correct results from step S4, the corresponding accounting entries are generated using the chart of accounts and rule table, and compared with the entries generated by the acquiring system. Based on the comparison results, a tertiary identifier field for the corresponding order data is generated and stored, and updated in the information storage module. The tertiary identifier records the entry calculation result; if it fails, the corresponding error message is recorded. Information; Step S6: Based on the level identifiers and order data information generated in one or more of steps S3, S4, and S5, the test analysis process from overall situation to detailed traceability is completed through structured data and multi-dimensional aggregation. A test report is generated based on the identifiers and basic data information at each level. Step S6 can be executed at any stage of steps S3, S4, and S5. Step S6 has no strong dependency on steps S4 and S5, thus increasing the flexibility of the system. This completes the entire accounting process from order accounting to settlement accounting and then to journal entry accounting, improving the completeness and reliability of accounting testing.
[0006] According to an embodiment of the present invention, in step S6, the test analysis process may include the following sub-steps:
[0007] S61. Based on hierarchical identification, provide the pass rate or failure rate for each level, and statistically analyze the reasons for errors, including: xx% of errors in order amount / actual payment / handling fee / revenue sharing / marketing amount in failed order data for Level 1 identification (xx% of errors); xx% of errors in total transaction amount / marketing amount / revenue sharing / profit sharing / settlement amount calculation in failed clearing and settlement accounting data for Level 2 identification (xx% of errors); xx% of errors in account mapping number / debit / credit relationship / amount in failed journal entry accounting data for Level 3 identification (xx% of errors); Provide an overall trend of the test results through information analysis of the hierarchical identification; S62. Based on the information provided in step S61... The overall situation information is further analyzed according to payment method and scenario. The scenarios include: Alipay / WeChat / UnionPay QuickPass / Personal Mobile Banking + Initiator Scan / Initiator Scan / Online Payment. One or more of the first-level, second-level, and third-level identifiers in step S61 are used to analyze the error ratio. In step S63, the information in S62 is used to locate the error. The distribution of the merchant type, merchant nature, settlement method, settlement account, revenue sharing type, and profit sharing type in the data given in S62 is statistically analyzed to locate the specific merchant configuration that is prone to the corresponding error when performing a certain transaction.
[0008] According to an embodiment of the present invention, in step S1, the order information may include transaction amount, payment method, transaction scenario, merchant number, order number and type; the merchant configuration information includes merchant number, merchant type, merchant account, merchant settlement method, merchant revenue sharing method and merchant handling fee; the marketing information includes transaction scenario, investment method, participating merchants and marketing amount.
[0009] According to an embodiment of the present invention, in step S2, the information calculated based on the information obtained in step S1 and the acquiring business logic may include the actual payment amount, handling fee, revenue sharing amount, bonus, merchant marketing subsidy, bank marketing subsidy, and third-party marketing subsidy for the corresponding order, and then stored.
[0010] According to an embodiment of the present invention, the error information in step S3 may include error information related to actual payment, handling fees, revenue sharing, profit sharing, and marketing accounting.
[0011] According to an embodiment of the present invention, the error information in step S4 may include calculation errors of merchant settlement, revenue sharing party, and profit sharing party.
[0012] According to an embodiment of the present invention, the error information in step S5 may include subject mapping errors and loan relationship errors.
[0013] According to a second aspect of the present invention, an apparatus for automated accounting testing is provided, comprising: a data acquisition module for acquiring merchant configuration information, transaction information, and marketing information of an acquiring system; a basic dataset generation module for generating a basic transaction dataset based on the acquired data and storing it in an information storage module; a basic data comparison testing module for comparing the generated dataset with corresponding order data in the acquiring system, obtaining a first-level identifier for the comparison result, and writing it into the corresponding data in the information storage module; a clearing data generation and accounting module for generating clearing data using the configuration information and basic data, performing accounting tests with the clearing data of the acquiring system, generating a second-level identifier for the data based on the accounting results, and writing it into the corresponding data in the information storage module; a simulated entry generation and verification module for generating corresponding simulated accounting entries based on each clearing flow information and account mapping table, performing verification tests with the accounting entries generated by the acquiring system, generating a third-level identifier based on the test results, and writing it into the data in the information storage module; and an information storage module. The system is used to store datasets generated in the basic dataset generation module and update the corresponding data's identifier information based on the processing results of the basic data comparison test module, the clearing data generation and accounting module, and the simulated entry generation and verification module. The test report generation module generates test reports based on the various levels of identifiers in the data from the information storage module and the corresponding merchants and payment scenarios. Specifically, it generates basic test data using merchant configuration information, marketing information, and transaction information, compares and verifies this data with the corresponding transaction order data in the acquiring system, and adds a first-level identifier to the basic data to record the verification results. It generates clearing comparison data using the basic data and accounting mapping rules that passed the first-level identifier and compares and verifies this data with the corresponding clearing data in the acquiring system, adding a second-level identifier to the corresponding basic data to record the results. It selects the basic data that passed the clearing test, generates test accounting entries according to the account mapping table, and verifies them against the corresponding entry flow table in the acquiring system, adding a third-level identifier based on the results. Finally, it generates a test report based on the added multi-level identifiers, completing the automated accounting verification test.
[0014] According to a third aspect of the present invention, an electronic device is provided, comprising: a memory, a processor, and an automated accounting test program stored in the memory and executable on the processor, wherein the automated accounting test program, when executed by the processor, implements the steps of the automated accounting test method described above.
[0015] According to a fourth aspect of the present invention, a computer storage medium is provided, wherein an automated accounting test program is stored on the computer storage medium, and when the automated accounting test program is executed by a processor, it implements the steps of the above-described automated accounting test method.
[0016] Compared with the prior art, the technical solution provided by the embodiments of the present invention can achieve at least the following beneficial effects:
[0017] According to the automated accounting testing method of the present invention, a hierarchical structure is established, which can realize the coordinated or independent functions of each module of the system, increasing the system flexibility and reducing costs.
[0018] The automated accounting testing method of the present invention integrates data integrity from data generation to data processing, and allows for the reuse of test data. During the retesting stage, data can be selected for comparative testing based on the problems that arise, thereby improving data utilization.
[0019] According to the automated accounting testing method of this invention, during accounting testing after payment transactions by acquiring institutions, automated data acquisition, processing, and verification significantly reduce manual intervention, improving accounting efficiency and accuracy. A multi-level identification mechanism enables refined data management, marking the testing status at each stage, quickly locating problems, aiding in root cause analysis, and ensuring data traceability. Detailed reports covering each testing stage are generated based on the test data, providing strong data support for business decisions and development optimization. Furthermore, this data can be reused during retesting, improving system efficiency while ensuring data consistency and enhancing testing accuracy.
[0020] The automated accounting testing method of the present invention accurately locates problems and reduces testing errors through a multi-level identification mechanism and multi-dimensional data verification.
[0021] The automated accounting testing method of the present invention covers all aspects of the acquiring system accounting, and performs accounting tests on order data, settlement data and accounting entries, thereby improving the completeness and reliability of the test.
[0022] The automated accounting testing method of the present invention helps to quickly trace and solve problems and improve system stability through detailed multi-dimensional test reports. Attached Figure Description
[0023] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings of the embodiments will be briefly described below. Obviously, the drawings described below only relate to some embodiments of the present invention and are not intended to limit the present invention.
[0024] Figure 1 This is a flowchart illustrating a method for automated accounting testing according to an embodiment of the present invention;
[0025] Figure 2 This is a schematic diagram illustrating an apparatus for automated accounting testing according to an embodiment of the present invention. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the described embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0027] Unless otherwise defined, the technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention pertains. The terms “first,” “second,” and similar terms used in the specification and claims of this patent application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an” or “a” and similar terms do not indicate a limitation of quantity, but rather indicate the presence of at least one.
[0028] Figure 1 This is a flowchart illustrating a method for automated accounting testing according to an embodiment of the present invention.
[0029] like Figure 1 As shown, the method for testing automated accounting includes the following steps:
[0030] Step S1: Obtain order information and corresponding merchant configuration information from the acquiring system database of the financial system, obtain marketing information from the marketing system, and store the obtained order information, merchant configuration information, and marketing information in the information storage module.
[0031] Step S2: Based on the information obtained in Step S1 and the acquiring business logic, calculate and generate the corresponding order data, form a basic dataset, and store it in the information storage module.
[0032] Step S3: Compare the order information in the basic dataset generated in Step S2 with the corresponding order data in the acquiring system. Based on the comparison test results, generate a first-level identifier field for the corresponding order data in the basic dataset and store it, then update it in the information storage module. The first-level identifier records whether the order data calculation result passes or fails. If it fails, the corresponding error message is recorded.
[0033] Step S4: Based on the clearing rules, use the order data and merchant revenue sharing information that are correct according to the comparison results in Step S3 to calculate the clearing and settlement amount for the merchant and each revenue sharing party. Compare the clearing and settlement amount of each entity with the clearing and settlement amount of each entity obtained by the corresponding acquiring system clearing batch task. Generate and store the secondary identifier field of the corresponding order data according to the comparison results, and update it in the information storage module. The secondary identifier records the clearing and settlement calculation result. If it fails, the corresponding error information is recorded.
[0034] Step S5: Based on the correct order data from Step S4, generate corresponding accounting entries using the chart of accounts and rule table, and verify them against the entries generated by the acquiring system. Based on the verification results, generate and store the corresponding order data's third-level identifier field, and update it in the information storage module. The third-level identifier records the entry calculation results; if it fails, it records the corresponding error information.
[0035] Step S6: Based on the level identifiers and order data information generated in one or more of steps S3, S4, and S5, complete the test analysis process from overall situation to detailed traceability through structured data and multi-dimensional aggregation, and generate a test report based on the level identifiers and basic data information.
[0036] Step S6 can be executed at any stage of steps S3, S4, and S5. Step S6 has no strong dependency on steps S4 and S5, thus increasing the flexibility of the system. This completes the entire accounting process from order accounting to settlement accounting and then to journal entry accounting, improving the completeness and reliability of accounting testing.
[0037] According to the automated accounting testing method of the present invention, a hierarchical structure is established, which can realize the coordinated or independent functions of each module of the system, increase the system flexibility, and reduce costs; through a multi-level identification mechanism and multi-dimensional data verification, problems can be accurately located and testing errors can be reduced.
[0038] According to one or more embodiments of the present invention, in step S6, the test analysis process includes the following sub-steps:
[0039] S61. Provide the pass rate or failure rate for each level of the system, and statistically analyze the reasons for errors, including: For Level 1 orders that failed, the percentage of errors in order amount / actual payment / handling fee / revenue sharing / marketing amount is xx%; For Level 2 clearing and settlement accounting data that failed, the percentage of errors in total transaction amount / marketing amount / revenue sharing / profit sharing / settlement amount is xx%; For Level 3 journal entry accounting data that failed, the percentage of errors in account mapping number / debit / credit relationship / amount is xx%; The analysis of information from the level-based system provides an overall trend in the testing results.
[0040] S62. Further analysis is conducted on the overall situation information provided in step S61 according to payment method and scenario. The scenarios include: Alipay / WeChat / UnionPay QuickPass / Personal Mobile Banking + Active Scan / Passive Scan / Online Payment. One or more of the first-level identifier, second-level identifier, and third-level identifier in step S61 are used to analyze the error ratio.
[0041] S63. Use the information in S62 to locate the merchant. Statistically analyze the distribution of the merchant type, merchant nature, settlement method, settlement account, revenue sharing type, and profit sharing type in the data given in S62. This will help identify which specific merchant configuration is prone to making certain errors when performing a particular transaction.
[0042] The automated accounting testing method of the present invention integrates data integrity from data generation to data processing, and allows for the reuse of test data. During the retesting stage, data can be selected for comparative testing based on the problems that arise, thereby improving data utilization.
[0043] According to one or more embodiments of the present invention, in step S1, the order information includes transaction amount, payment method, transaction scenario, merchant number, order number and type; the merchant configuration information includes merchant number, merchant type, merchant account, merchant settlement method, merchant revenue sharing method, and merchant handling fee; the marketing information includes transaction scenario, funding method, participating merchants, and marketing amount.
[0044] According to one or more embodiments of the present invention, in step S2, information including the actual payment amount, handling fee, revenue sharing amount, bonus, merchant marketing subsidy, bank marketing subsidy, and third-party marketing subsidy of the corresponding order are calculated based on the information obtained in step S1 and the acquiring business logic, and then stored.
[0045] According to one or more embodiments of the present invention, the error information in step S3 includes error information related to actual payment, handling fees, revenue sharing, profit sharing, and marketing accounting.
[0046] According to one or more embodiments of the present invention, the error information in step S4 includes calculation errors in merchant settlement, revenue sharing, and profit sharing.
[0047] According to one or more embodiments of the present invention, the error information in step S5 includes account mapping errors and loan relationship errors.
[0048] The automated accounting testing method of this invention covers all aspects of the acquiring system's accounting process, conducting accounting tests on order data, settlement data, and accounting entries, thereby improving the completeness and reliability of the testing. Detailed, multi-dimensional test reports facilitate rapid tracing and resolution of problems, enhancing system stability.
[0049] Figure 2 This is a schematic diagram illustrating an apparatus for automated accounting testing according to an embodiment of the present invention.
[0050] like Figure 2 As shown, the automated accounting test device includes: a data acquisition module, a basic dataset generation module, a basic data comparison test module, a liquidation data generation and accounting module, a simulated entry generation and verification module, an information storage module, and a test report generation module.
[0051] The data acquisition module is used to acquire merchant configuration information, transaction information, and marketing information from the acquiring system.
[0052] The basic dataset generation module is used to generate a basic transaction dataset based on the acquired data information and store it in the information storage module.
[0053] The basic data comparison test module is used to compare the generated dataset with the corresponding order data in the acquiring system, obtain the first-level identifier of the comparison result data, and write it into the corresponding data in the information storage module.
[0054] The clearing data generation and accounting module is used to generate clearing data and accounting tests with the clearing data of the acquiring system using configuration information and basic data. Based on the accounting results, it generates secondary identifiers for the data and writes them into the corresponding data in the information storage module.
[0055] The simulated journal entry generation and verification module is used to generate corresponding simulated accounting entries based on each clearing flow information and account mapping table, and to verify and test the accounting entries generated by the acquiring system. Based on the test results, a three-level identifier is generated and written into the data of the information storage module.
[0056] The information storage module is used to store the datasets generated in the basic dataset generation module, and to update the identification information of the corresponding data based on the processing results of the basic data comparison and testing module, the clearing data generation and accounting module, and the simulated entry generation and verification module.
[0057] The test report generation module is used to generate test reports based on the various levels of identifiers in the information storage module and the corresponding merchants, payment scenarios, etc.
[0058] The process involves generating basic test data using merchant configuration information, marketing information, and transaction information. This data is then compared and verified with the corresponding transaction order data in the acquiring system. A first-level identifier is added to the basic data to record the verification results. Next, clearing comparison data is generated using the basic data that passed the first-level identifier and the accounting mapping rules. This data is then compared and calculated with the corresponding clearing data in the acquiring system. A second-level identifier is added to the corresponding basic data to record the results. Finally, basic data that passed the clearing test is selected, and test accounting entries are generated according to the account mapping table. These entries are then compared and tested with the corresponding entry log in the acquiring system. A third-level identifier is added based on the results. A test report is generated based on the added multi-level identifiers, completing the automated accounting test.
[0059] According to the method and apparatus for automated accounting testing of the present invention, during accounting testing after payment transactions by acquiring institutions, automated data acquisition, processing, and verification significantly reduce manual intervention, improving accounting efficiency and accuracy. A multi-level identification mechanism enables refined data management, marking the testing status at each stage, quickly locating problems, aiding in root cause analysis, and ensuring data traceability. Detailed reports covering each testing stage are generated based on the test data, providing strong data support for business decisions and development optimization. Furthermore, this data can be reused during retesting, improving system efficiency while ensuring data consistency and enhancing testing accuracy.
[0060] According to another aspect of the present invention, an apparatus for automated accounting testing is provided, comprising: a memory, a processor, and an automated accounting testing program stored in the memory and executable on the processor, wherein the automated accounting testing program, when executed by the processor, implements the steps of the automated accounting testing method described above.
[0061] The present invention also provides a computer storage medium.
[0062] An automated accounting test program is stored on a computer storage medium. When the automated accounting test program is executed by the processor, it implements the steps of the automated accounting test method described above.
[0063] The method implemented when the automated accounting test program running on the processor is executed can be referred to in various embodiments of the automated accounting test method of the present invention, and will not be repeated here.
[0064] The present invention also provides a computer program product.
[0065] The computer program product of the present invention includes an automated accounting test program, which, when executed by a processor, implements the steps of the automated accounting test method as described above.
[0066] The method implemented when the automated accounting test program running on the processor is executed can be referred to in various embodiments of the automated accounting test method of the present invention, and will not be repeated here.
[0067] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0068] The above description is merely an exemplary embodiment of the present invention and is not intended to limit the scope of protection of the present invention, which is determined by the appended claims.
Claims
1. A method of automating a test of accounting, wherein, Includes the following steps: Step S1: Obtain order information and corresponding merchant configuration information from the acquiring system database of the financial system, obtain marketing information from the marketing system, and store the obtained order information, merchant configuration information, and marketing information; Step S2: Calculate and generate corresponding order data based on the information obtained in step S1 and the acquiring business logic, and store the basic dataset. Step S3: Compare the order information in the basic dataset generated in Step S2 with the corresponding order data in the acquiring system. Based on the comparison test results, generate and store a first-level identifier field for the corresponding order data in the basic dataset. The first-level identifier records whether the order data calculation result passes or fails. If it fails, the corresponding error message is recorded. Step S4: Based on the clearing rules, use the order data and merchant revenue sharing information that are correct according to the comparison results in Step S3 to calculate the clearing and settlement amount for the merchant and each revenue sharing party. Compare the clearing and settlement amount of each entity with the clearing and settlement amount of each entity obtained by the corresponding acquiring system clearing batch task. Generate and store the secondary identifier field of the corresponding order data according to the comparison results. The secondary identifier records the clearing and settlement calculation result. If it fails, record the corresponding error information. Step S5: Based on the correct order data from Step S4, generate corresponding accounting entries using the chart of accounts and rule table, and verify them against the entries generated by the acquiring system. Based on the verification results, generate and store the corresponding order data's third-level identifier field. The third-level identifier records the entry calculation results; if it fails, record the corresponding error information. Step S6: Based on the level identifiers and order data information generated in one or more of steps S3, S4, and S5, complete the test analysis process from overall situation to detailed traceability through structured data and multi-dimensional aggregation, and generate a test report based on the level identifiers and basic data information. Step S6 can be executed at any stage of steps S3, S4, and S5. Step S6 has no strong dependency on steps S4 and S5, thus increasing the flexibility of the system. This completes the entire accounting process from order accounting to settlement accounting and then to journal entry accounting, improving the completeness and reliability of accounting testing.
2. The method of automated accounting test, as claimed in claim 1, wherein, In step S6, the test analysis process includes the following sub-steps: S61. Provide the pass rate or failure rate for each level of the system, and statistically analyze the reasons for errors, including the percentage of errors in order amount / actual payment amount / handling fee / revenue sharing amount / marketing amount among orders that failed at the first-level system (xx%). In the secondary identification, the percentage of errors in the calculation of total transaction amount / marketing amount / revenue sharing / profit sharing amount / settlement amount in the data that failed the clearing and settlement accounting was xx%; in the tertiary identification, the percentage of errors in the account mapping number / debit / credit relationship / amount in the data that failed the journal entry accounting was xx%; the overall trend of the test results is provided through the information analysis in the hierarchical identification; S62. Further analysis is conducted on the overall situation information provided in step S61 according to payment method and scenario. The scenarios include: Alipay / WeChat / UnionPay QuickPass / Personal Mobile Banking + Active Scan / Passive Scan / Online Payment. One or more of the first-level identifier, second-level identifier, and third-level identifier in step S61 are used to analyze the error ratio. S63. Use the information in S62 to locate the merchant. Statistically analyze the distribution of the merchant type, merchant nature, settlement method, settlement account, revenue sharing type, and profit sharing type in the data given in S62. This will help identify which specific merchant configuration is prone to making certain errors when performing a particular transaction.
3. The method of automated accounting testing of claim 1, wherein, In step S1, the order information includes transaction amount, payment method, transaction scenario, merchant number, order number and type; the merchant configuration information includes merchant number, merchant type, merchant account, merchant settlement method, merchant revenue sharing method, and merchant handling fee; the marketing information includes transaction scenario, funding method, participating merchants, and marketing amount.
4. The method of automated accounting testing of claim 1, wherein, In step S2, based on the information obtained in step S1 and the acquiring business logic, information including the actual payment amount, handling fee, revenue sharing amount, bonus, merchant marketing subsidy, bank marketing subsidy, and third-party marketing subsidy for the corresponding order is calculated and then stored.
5. The method of automated accounting testing of claim 1, wherein, The error messages in step S3 include errors related to actual payment, handling fees, revenue sharing, profit sharing, and marketing accounting.
6. The method of automated accounting testing of claim 1, wherein, The error messages in step S4 include calculation errors in merchant settlement, revenue sharing, and profit sharing.
7. The method of automated accounting testing of claim 1, wherein, The error messages in step S5 include errors in account mapping and debit / credit relationships.
8. An apparatus for automated accounting and verification testing, comprising: The data acquisition module is used to acquire merchant configuration information, transaction information, and marketing information from the acquiring system. The basic dataset generation module is used to generate a basic transaction dataset based on the acquired data information and store it in the information storage module; The basic data comparison and testing module is used to compare the generated dataset with the corresponding order data in the acquiring system, obtain the first-level identifier of the comparison result data, and write it into the corresponding data in the information storage module. The clearing data generation and accounting module is used to generate clearing data and accounting tests with the acquiring system clearing data using configuration information and basic data. Based on the accounting results, it generates secondary identifiers for the data and writes them into the corresponding data in the information storage module. The simulated journal entry generation and verification module is used to generate corresponding simulated accounting entries based on each clearing flow information and account mapping table, and verify them against the accounting entries generated by the acquiring system. Based on the test results, a three-level identifier is generated and written into the data of the information storage module. The information storage module is used to store the datasets generated in the basic dataset generation module, and update the identification information of the corresponding data based on the processing results of the basic data comparison and testing module, the clearing data generation and accounting module, and the simulated entry generation and verification module. The test report generation module is used to generate test reports based on the various levels of identifiers and corresponding merchants and payment scenarios in the information storage module. The process involves generating basic test data using merchant configuration information, marketing information, and transaction information. This data is then compared and verified with the corresponding transaction order data in the acquiring system. A first-level identifier is added to the basic data to record the verification results. Next, clearing comparison data is generated using the basic data that passed the first-level identifier and the accounting mapping rules. This data is then compared and calculated with the corresponding clearing data in the acquiring system. A second-level identifier is added to the corresponding basic data to record the results. Finally, basic data that passed the clearing test is selected, and test accounting entries are generated according to the account mapping table. These entries are then compared and tested with the corresponding entry log in the acquiring system. A third-level identifier is added based on the results. A test report is generated based on the added multi-level identifiers, completing the automated accounting test.
9. An electronic device comprising: The system includes a memory, a processor, and an automated accounting test program stored in the memory and executable on the processor, wherein the automated accounting test program, when executed by the processor, implements the steps of the automated accounting test method as described in any one of claims 1 to 7.
10. A computer storage medium, wherein, The computer storage medium stores an automated accounting test program, which, when executed by a processor, implements the steps of the automated accounting test method as described in any one of claims 1 to 7.