Bill generation method and device, storage medium and computer device

By automatically comparing and adjusting payment plans in contract information, the complex financial settlement issues in offline store operations have been resolved, enabling efficient and accurate bill generation, reducing manual intervention, and improving operational management efficiency.

CN114240587BActive Publication Date: 2025-11-21GUANGZHOU PINWEI SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111495953.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-08
Publication Date
2025-11-21
Estimated Expiration
2041-12-08

AI Technical Summary

Technical Problem

In the operation of offline stores, the timing of contract changes is uncertain, which makes financial settlements extremely complicated. Manual verification of bills and settlements is inefficient and prone to miscalculations and omissions, affecting normal operation and management activities.

Method used

By acquiring contract information before and after the change, the system automatically compares and adjusts the first and second payment plans to generate invoices. This includes an information acquisition module, a plan adjustment module, and an invoice generation module, thus achieving automated invoice generation.

Benefits of technology

It improves the efficiency and accuracy of bill generation, reduces manual intervention, and enables traceability of the entire contract settlement lifecycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114240587B_ABST
    Figure CN114240587B_ABST
Patent Text Reader

Abstract

The bill generation method and device, the storage medium and the computer equipment provided by the application can compare the first payment plan in the contract information before the change and the second payment plan in the contract information after the change, and adjust the first payment plan and the second payment plan according to the comparison result, and then generate respective bills according to the adjusted first payment plan and the second payment plan. The process does not require manual intervention, automatically identifies the content of the clauses in the first payment plan and the second payment plan, and adjusts the first payment plan and the second payment plan. Compared with manual calculation, the work efficiency and the calculation accuracy are improved. Moreover, the payment plan content after the adjustment can be traced back to master the entire contract settlement life cycle.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of contract settlement, and in particular to a bill generation method and device, a storage medium and a computer device. BACKGROUND

[0002] At present, in the operation process of an offline store, different settlement rules and cooperation modes are often set during the merchant negotiation to attract merchants to settle in, and a corresponding lease contract is signed according to the negotiation result. With the progress of the operation process, the contract content is often adjusted and a new contract version is generated, such as adjustment of rent billing rules, contract renewal, contract replacement of merchants, and addition of new clause content. The contract change point is uncertain and does not correspond to the accounting settlement period, resulting in an abnormally complex financial settlement.

[0003] For the operation and management of an offline store, this situation is more prominent. A large number of change scenarios cannot be automatically processed by the system, and manual calculation is required to import the adjusted bill into the financial system, consuming a large amount of manpower and resources. Moreover, the manual checking of the bill settlement is low in efficiency and prone to miscalculation and omission, which seriously affects the normal operation and management activities of the offline store. SUMMARY

[0004] The present application aims to at least solve one of the above technical defects, in particular the technical defect that the manual checking of the bill settlement is low in efficiency and prone to miscalculation and omission, which seriously affects the normal operation and management activities of the offline store.

[0005] The present application provides a bill generation method, which comprises:

[0006] obtaining contract information before the change and contract information after the change, wherein the contract information before the change comprises a first payment plan corresponding to each contract clause, and the contract information after the change comprises a second payment plan corresponding to each contract clause;

[0007] comparing the first payment plan with the second payment plan to obtain a comparison result, and adjusting the first payment plan and the second payment plan according to the comparison result;

[0008] determining the bill generation conditions of the first payment plan and the second payment plan according to the adjusted first payment plan and second payment plan, and generating the bills of the first payment plan and the second payment plan according to the adjusted first payment plan and second payment plan when the adjusted first payment plan and second payment plan meet the respective bill generation conditions.

[0009] Optionally, the step of obtaining the contract information before the change and the contract information after the change comprises:

[0010] receive a contract change request sent by a user, the contract change request comprising changed contract information;

[0011] audit the changed contract information based on the contract change request, and obtain contract information before the change according to the changed contract information after the audit is passed.

[0012] Optionally, the step of generating a payment plan corresponding to each contract term in the contract information comprises:

[0013] generating a payment plan for each contract term according to a settlement mode, a payment term, a settlement period and a billing unit corresponding to each contract term in the contract information.

[0014] Optionally, the step of comparing the first payment plan with the second payment plan to obtain a comparison result comprises:

[0015] determining a payment start and end time of the first payment plan, a payment start and end time of the second payment plan, and a billing accounting time corresponding to a bill that has been issued and / or frozen in the first payment plan;

[0016] comparing the latest billing accounting time in the billing accounting time with the payment start and end time of the first payment plan and the second payment plan to obtain a comparison result.

[0017] Optionally, the step of adjusting the first payment plan and the second payment plan according to the comparison result comprises:

[0018] if the payment end time in the payment start and end time of the first payment plan is greater than the latest billing accounting time, adjusting the payment end time in the payment start and end time of the first payment plan to the latest billing accounting time;

[0019] if there is no bill that has been issued and / or frozen, deleting the first payment plan;

[0020] if the payment end time in the payment start and end time of the second payment plan is less than the latest billing accounting time, deleting the second payment plan and making a payment according to a bill that has been issued in the first payment plan;

[0021] if the payment start time in the payment start and end time of the second payment plan is less than the latest billing accounting time and the payment end time in the payment start and end time of the second payment plan is greater than the latest billing accounting time, adjusting the payment start time in the payment start and end time of the second payment plan to the latest billing accounting time;

[0022] if the payment start time in the payment start and end time of the second payment plan is greater than the latest billing time, the second payment plan is not adjusted;

[0023] if there is no issued and / or frozen bill, the second payment plan is not adjusted.

[0024] Optionally, the changed contract information further comprises a change effective date;

[0025] if the change effective date is less than the latest billing time, the change effective date is adjusted to the latest billing time;

[0026] if the change effective date is less than the payment end time in the payment start and end time of the first payment plan, the change effective date is taken as the payment end time in the payment start and end time of the first payment plan;

[0027] if the change effective date is greater than the payment end time in the payment start and end time of the first payment plan, the first payment plan is not adjusted;

[0028] if the change effective date is less than the payment start time in the payment start and end time of the first payment plan, the first payment plan is deleted;

[0029] if the change effective date is greater than the payment start time in the payment start and end time of the second payment plan, the change effective date is taken as the payment start time in the payment start and end time of the second payment plan;

[0030] if the change effective date is less than the payment start time in the payment start and end time of the second payment plan, the second payment plan is not adjusted;

[0031] if the change effective date is greater than the payment end time in the payment start and end time of the second payment plan, the second payment plan is deleted.

[0032] Optionally, the billing generation condition comprises a billing day condition and a billing precondition;

[0033] the billing day condition comprises a time for generating a settlement fee bill;

[0034] the billing precondition comprises a general line payment plan, a ladder co-ordination line payment plan and a guaranteed co-ordination line payment plan, the guaranteed co-ordination line payment plan comprises a first guaranteed payment plan, a second guaranteed payment plan and a third guaranteed payment plan;

[0035] the step of judging whether the adjusted payment plan meets the billing generation condition comprises:

[0036] determining whether the time of generating the billing invoice corresponding to the adjusted payment plan satisfies the billing date condition;

[0037] If yes, determining whether the adjusted payment plan satisfies that all ordinary payment plans associated with the adjusted payment plan have been calculated within the period range of the adjusted payment plan;

[0038] If no, executing the ordinary payment plan, and if yes, executing the step-by-step payment plan;

[0039] If all non-guaranteed payment plans within the period range of the adjusted payment plan have been calculated, executing the third guaranteed payment plan;

[0040] If the third guaranteed payment plan within the period range of the adjusted payment plan has been calculated, executing the second guaranteed payment plan;

[0041] If the second guaranteed payment plan within the period range of the adjusted payment plan has been calculated, executing the first guaranteed payment plan.

[0042] The application further provides a billing generation device, comprising:

[0043] an information acquisition module, configured to acquire contract information before change and contract information after change, wherein the contract information before change comprises first payment plans corresponding to respective contract terms, and the contract information after change comprises second payment plans corresponding to respective contract terms;

[0044] a plan adjustment module, configured to compare the first payment plans with the second payment plans to obtain a comparison result, and adjust the first payment plans and the second payment plans according to the comparison result;

[0045] a billing generation module, configured to determine billing generation conditions of the first payment plans and the second payment plans according to the adjusted first payment plans and the adjusted second payment plans, and generate respective billing invoices according to the adjusted first payment plans and the adjusted second payment plans when the adjusted first payment plans and the adjusted second payment plans satisfy the respective billing generation conditions.

[0046] The application further provides a storage medium, wherein the storage medium stores computer readable instructions, and the computer readable instructions are executed by one or more processors to make the one or more processors execute steps of the billing generation method according to any one of the above embodiments.

[0047] The application further provides a computer device, wherein computer readable instructions are stored in the computer device, and the computer readable instructions are executed by one or more processors to make the one or more processors execute the steps of the bill generation method in any one of the above embodiments.

[0048] From the above technical solutions, the embodiments of the application have the following advantages:

[0049] The bill generation method, device, storage medium and computer device provided by the application can compare the first payment plan in the contract information before the change and the second payment plan in the contract information after the change, and adjust the first payment plan and the second payment plan according to the comparison result, and then generate respective bills according to the adjusted first payment plan and second payment plan. The process does not require manual intervention, automatically identifies the content of the clauses in the first payment plan and the second payment plan, and adjusts the first payment plan and the second payment plan. Compared with manual accounting, the work efficiency and the accounting accuracy are improved. In addition, by tracing the adjusted first payment plan and second payment plan, the entire contract settlement life cycle can be mastered. BRIEF DESCRIPTION OF DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.

[0051] Figure 1 A flowchart of a bill generation method provided by the embodiment of the application is shown in the figure.

[0052] Figure 2 A structure diagram of a contract change page provided by the embodiment of the application is shown in the figure.

[0053] Figure 3 A page display diagram of a contract clause change interface provided by the embodiment of the application is shown in the figure.

[0054] Figure 4 A page display diagram of a contract clause input interface provided by the embodiment of the application is shown in the figure.

[0055] Figure 5 A structure diagram of a corresponding payment plan under a multi-version contract provided by the embodiment of the application is shown in the figure.

[0056] Figure 6A structural schematic diagram of a bill generation device provided for an embodiment of the present application is provided.

[0057] Figure 7 An internal structural schematic diagram of a computer device provided for an embodiment of the present application is provided. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0059] At present, in the operation process of an offline store, different settlement rules and cooperation modes are often set during the merchant negotiation to attract merchants to settle in, and a corresponding lease contract is signed according to the negotiation result. With the progress of the operation process, the contract content is often adjusted and a new contract version is generated, such as rent billing rule adjustment, contract renewal, contract replacement of merchants, and addition of new clause content. The contract change point is uncertain and does not correspond to the accounting settlement period, resulting in an abnormally complex financial settlement.

[0060] For the operation and management of an offline store, this situation is more prominent. A large number of change scenarios cannot be automatically processed by the system, and manual calculation is required to import the adjusted bill into the financial system, which consumes a large amount of manpower and material resources. In addition, the manual checking and settlement efficiency of the bill is low, and it is easy to cause miscalculation and omission problems, which seriously affects the normal operation and management activities of the offline store.

[0061] Therefore, the present application provides the following technical solutions, which are specifically described below.

[0062] In one embodiment, as shown in Figure 1 Figure 1 A flowchart of a bill generation method provided for an embodiment of the present application is provided. The present application provides a bill generation method, which comprises the following steps.

[0063] S110: Obtain the contract information before the change and the contract information after the change.

[0064] In this step, the contract version signed by the user in the initial stage may be adjusted to a certain extent with the progress of the operation process, such as rent billing rule adjustment, contract renewal, contract replacement of merchants, and addition of new clause content. At this time, if the adjusted bill is calculated manually and then imported into the settlement system for bill generation and settlement, the accuracy of the bill and the efficiency of the generated bill will be affected.

[0065] ​In order to facilitate the management of contract content and timely adjustment, the user can log in to the financial system and import the changed contract information into the financial system, so as to automatically adjust and execute the payment plan through the financial system.

[0066] Specifically, the financial system in the present application can provide a contract change page, and the user can edit the contract information in the page. Illustratively, as shown in Figure 2 , Figure 2 the page display diagram of the contract change page provided by the embodiment of the present application; Figure 2 In the contract change page, the input box corresponding to the contract number, the input box corresponding to the merchant, the input box corresponding to the change type, the input box corresponding to the change effective time, the input box corresponding to the bill month, the input box corresponding to the change reason, and the input box corresponding to the note are displayed. The user can fill in the corresponding input box according to the changed contract content, and click the confirm button, and the financial system will generate a new contract version based on the existing contract content, and enter the contract clause change interface, as shown in Figure 3 、 4 , Figure 3 the page display diagram of the contract clause change interface provided by the embodiment of the present application, Figure 4 the page display diagram of the contract clause input interface provided by the embodiment of the present application.

[0067] Figure 3 In the contract clause change interface, the contract information corresponding to each contract clause before the change is displayed, and the payment plan corresponding to each contract clause is displayed. When the user needs to change a contract clause, the user can click the contract clause, and enter the contract clause input interface in Figure 4 , the contract clause input interface displays the settlement method of the contract clause, the existence of fixed income, exemption, settlement start time, settlement end time, payment clause, segmented deduction point, ladder calculation method, etc. The user can complete the adjustment of the contract clause of the new version in the contract clause input interface, and submit the contract change for approval. The financial system background can automatically generate the changed contract information.

[0068] When the financial system needs to adjust the payment plan according to the changed contract information, the contract information before the change can be found according to the contract number in the changed contract information, and the first payment plan corresponding to the contract information before the change is used to adjust the second payment plan corresponding to the changed contract information.

[0069] It can be understood that a contract contains multiple contract clauses according to different settlement rules, and the contract clauses in the present application are mainly divided according to the settlement method, the payment clause, the settlement period and the billing unit. For example:

[0070] Contract Clause 1: 2021-01-01~2021-06-30, rent is collected monthly, unit price 100 yuan / square meter;

[0071] Contract Clause 2: 2021-07-01~2021-12-31, rent is collected every three months, unit price 110 yuan / square meter;

[0072] Contract Clause 3: 2021-01-01~2021-12-31, water fee is collected monthly, unit price 4 yuan / ton.

[0073] Each of the above contract clauses corresponds to a payment plan, so there are three different first payment plans in this contract. During the change process, the three first payment plans will generate their respective second payment plans, and be compared and adjusted with the first payment plans before the change. Assume that the contract change content is as follows:

[0074] Contract Clause 1: 2021-01-01~2021-06-30, rent is collected every three months, unit price 120 yuan / square meter (adjust the unit price and payment clause)

[0075] Contract Clause 2: 2021-07-01~2022-03-30, rent is collected every three months, unit price 110 yuan / square meter (adjust the time range of the clause);

[0076] Contract Clause 3: 2021-01-01~2021-12-31, water fee is collected monthly, unit price 4 yuan / ton (delete the clause);

[0077] Contract Clause 4: 2021-01-01~2021-12-31, electricity fee is collected monthly, unit price 0.67 yuan / kilowatt (add a new clause).

[0078] From the above content, it can be seen that the changed contract also contains three second payment plans, which correspond to the contract clauses 1, 2 and 4 in the contract before the change. Among them, the unit price, payment clause, time range of the clause in contract clauses 1~2 are changed, so they need to be compared with the first payment plan and adjusted; the original contract clause 3 is deleted, so the second payment plan is empty, at this time only the first payment plan can be deleted; and contract clause 4 is a new clause, there is no first payment plan, so the second payment plan does not need to be adjusted and can be saved directly.

[0079] It should be noted that the contract information in the present application includes but is not limited to offline store rental contracts, and the signing subject is a supplier or individual who intends to open a store in the plaza and sign a contract with the plaza operator, and the signing object is a specific offline store plaza operator.

[0080] Generally, the operation of a square stall by an offline store operator needs to go through a series of processes such as marketing, entering, settlement and withdrawal. In the marketing stage, after the square operator and the entering merchant negotiate and sign a paper contract, the operation personnel can enter the paper contract content into the settlement system.

[0081] Moreover, in order to attract high-quality merchants to the greatest extent, different settlement methods are often set according to different merchants during the negotiation process. For example, in the joint operation mode, a separate deduction rate can be set for hot-selling goods, or a ladder deduction rate can be set according to the total sales of the merchant in a quarter or a year, or a minimum sales target can be set for the merchant.

[0082] In addition, in addition to the basic rent, the merchant's business process often needs to pay water and electricity fees, property management fees, deposit and other various fees to the square, and the payment period of different fees is also different (such as half a month, a month, three months, etc.).

[0083] Therefore, the terms and conditions of the contract information in this application include but are not limited to the specific settlement method, payment terms, settlement period and billing unit, etc. The financial system can generate different payment plans according to different settlement methods, payment terms, etc. in different contract information.

[0084] Among them, the settlement method can include the fee benchmark, billing method and guarantee rule corresponding to different fee item types; the fee item type can include rent, water and electricity fees, property management fees, etc., the billing method can include pure deduction rate, ladder deduction rate, classification deduction rate, single price calculation, etc., the fee benchmark can include total sales, rentable area, water and electricity reading, sales points, etc., and the guarantee rule can include interval guarantee, annual guarantee, etc.

[0085] The payment terms can include the fee settlement period corresponding to different fee item types, such as every half a month, every ten days, every half a year, etc.; the settlement period can include the start and end time of the specific settlement corresponding to different fee item types, that is, the time range of the settlement, including the start date and end date of the contract; the billing unit can include the settlement threshold corresponding to different fee item types, such as the deduction rate in the pure deduction rate, the single price in the single price billing, the start and end amount and the corresponding deduction rate or single price in the ladder deduction rate, the classification code and the corresponding deduction rate in the classification deduction, etc.

[0086] Based on this, the financial system can generate a corresponding first payment plan according to the contract information before the change, and generate a corresponding second payment plan according to the contract information after the change.

[0087] Further, when the contract information is entered in this application, different cost items can be entered into the financial system as independent clauses according to different cost items such as rent, property management fee, water and electricity fee, and the like. In addition, if the same type of cost uses different billing methods in different time periods, it can also be split into multiple independent clauses and entered into the financial system, for example:

[0088] Independent Clause 1: 2021-01-01 to 2021-06-31, rent is charged at 10% of store sales, and is collected monthly.

[0089] Independent Clause 2: 2021-07-01 to 2021-12-31, rent is charged at 12% of store sales, and is collected monthly.

[0090] Independent Clause 3: 2021-01-01 to 2021-12-31, property management fee is charged at 20 yuan per square meter of leasable area, and is collected every three months.

[0091] Each independent clause specifies its payment frequency, such as Independent Clause 1 and Independent Clause 2 above, which are collected monthly, and Independent Clause 3, which is collected every three months. When generating a payment plan, each independent clause can be split into sub-periods according to the payment frequency, such as the split payment plan sub-periods of Independent Clause 3 as follows: Payment Plan 1: 2021-01-01 to 2021-03-31; Payment Plan 2: 2021-04-01 to 2021-06-30; Payment Plan 3: 2021-07-01 to 2021-09-30; Payment Plan 4: 2021-10-01 to 2021-12-31.

[0092] The above independent clauses have the same meaning as the contract clauses in the previous section. The above split payment plans are each independently settled and generate corresponding bills when the bill generation conditions are met.

[0093] S120: Compare the first payment plan with the second payment plan to obtain a comparison result, and adjust the first payment plan and the second payment plan according to the comparison result.

[0094] In this step, after obtaining the contract information before the change and the contract information after the change through S110, the first payment plan corresponding to the contract information before the change can be compared with the second payment plan corresponding to the contract information after the change, and the first payment plan and the second payment plan can be adjusted according to the comparison result.

[0095] It can be understood that, since the rent, property management fee, water and electricity fee and the like each independently generate a payment plan and generate a bill, in order to avoid frequent communication with the merchant to verify the details of the fee, the fee of each month can usually be packaged together to form a bill, and the bill is handed over to the merchant for confirmation. Therefore, the bill has a bill accounting time attribute.

[0096] And after obtaining the second payment plan corresponding to the changed contract information, in order to ensure the effectiveness of the second payment plan and the continuity between the first payment plan and the second payment plan, and avoid the conflict in time between the first payment plan and the second payment plan, the first payment plan and the second payment plan are compared before the second payment plan is used to generate a bill, so as to adjust the first payment plan and the second payment plan.

[0097] Specifically, when comparing the first payment plan and the second payment plan, comparison can be made from multiple dimensions. For example, whether the contract numbers corresponding to the first payment plan and the second payment plan are consistent, whether the payment plan row types are consistent, whether the fee types are consistent, whether the billing methods are consistent, whether there is overlap in the bill accounting time, advance or lag, and the like.

[0098] Further, the process of adjusting the second payment plan according to the comparison result in the present application includes but is not limited to truncating the first payment plan with a plan end time greater than the bill accounting time, truncating the second payment plan with a plan start time greater than the bill accounting time, and writing the adjusted first and second payment plans into a storage medium according to a specified structure.

[0099] It can be understood that, since the contract number, plan row type, fee type and billing method of the second payment plan are determined when the contract is changed, the role of comparison here is mainly to identify the relevance between the first payment plan before the change and the second payment plan after the change.

[0100] For example, the contract A before the change has the following clauses:

[0101] Clause 1: From 2021-01-01 to 2021-12-31, rent is deducted by 8% of sales, and is collected monthly;

[0102] Clause 2: From 2021-01-01 to 2021-12-31, water fee is 4 yuan per ton, and is collected monthly.

[0103] The changed clause content is as follows:

[0104] Clause A: From 2021-01-01 to 2021-12-31, rent is deducted by 8% of sales, and is collected monthly (with a minimum guarantee of 1 million yuan per year).

[0105] Clause B: 2021-01-01~2021-12-31, water fee is 4 yuan / ton, monthly (delete clause);

[0106] Clause C: 2021-01-01~2021-12-31, electricity fee is 0.67 yuan / kWh, monthly (new clause).

[0107] In order to be able to identify the respective original first payment plan corresponding to the second payment plan after the change, the first payment plan and the second payment plan are matched according to the contract number+plan type (ordinary line, guaranteed line)+fee type (rent, water fee, electricity fee)+billing method (point deduction type, fixed amount type), and the matching result is as follows:

[0108] Clause A ordinary line plan corresponds to the first payment plan: clause 1, matching condition, contract A+rent+point deduction type+ordinary line;

[0109] Clause A guaranteed line plan corresponds to the first payment plan: none, matching condition, contract A+rent+point deduction type+guaranteed line;

[0110] Clause C ordinary line plan corresponds to the first payment plan: none, matching condition, contract A+electricity fee+fixed amount type+ordinary line.

[0111] After determining the pairing relationship between the second payment plan and the first payment plan through the above-mentioned manner, the next step of adjusting the start and end time of the first and second payment plans can be executed.

[0112] S130: Determine the respective billing conditions according to the adjusted first payment plan and the second payment plan, and generate the respective bills according to the adjusted first payment plan and the second payment plan when the adjusted first payment plan and the second payment plan meet the respective billing conditions.

[0113] In this step, after adjusting the first payment plan and the second payment plan through S120, the respective billing conditions can be determined according to the adjusted first payment plan and the second payment plan, and the respective bills can be generated according to the adjusted first payment plan and the second payment plan when the billing conditions are met.

[0114] For example, the present application can determine the corresponding billing time and billing precondition according to the adjusted payment plan, and take the billing settlement time and the billing precondition as the billing conditions. Among them, the billing precondition can include ordinary line payment plan, ladder co-ordination line payment plan and guaranteed co-ordination line payment plan.

[0115] It can be understood that the ordinary line payment plan refers to all non-ladder pooling and non-guaranteed payment plans, each contract term corresponds to at least one ordinary line payment plan, and the ladder pooling line payment plan and the guaranteed pooling line payment plan are generated on the basis of the adjustment line of the ordinary line payment plan, so they are prior to and dependent on the ordinary line. In addition, when the ladder pooling line payment plan and the guaranteed pooling line payment plan exist at the same time, the ladder pooling line payment plan will also be prior to the guaranteed pooling line payment plan.

[0116] When the corresponding bill generation condition is determined, the financial system can judge whether the adjusted payment plan meets the bill generation condition, and if it meets, the corresponding bill is generated according to the adjusted payment plan.

[0117] The process of generating a bill in the present application can include the following:

[0118] 1) Determine the corresponding fee benchmark of the payment plan, and obtain the corresponding benchmark value in the payment period of the payment plan;

[0119] 2) Determine the corresponding billing method of the payment plan, obtain the specific billing formula, and bring the benchmark value obtained in step 1) into the billing formula to calculate the total amount of fee items in the payment period;

[0120] 3) For the ladder pooling line payment plan, the total amount of historical fee items collected in the payment period can be deducted, and the result is used as the ladder pooling line adjustment fee;

[0121] 4) For the guaranteed pooling line payment plan, the total amount of historical benchmarks in the payment period can be calculated; if the total amount of benchmarks meets the guarantee condition, the guaranteed fee item amount is 0; if the total amount of benchmarks does not meet the guarantee condition, the guaranteed fee item amount is obtained by bringing the limited amount according to the guarantee condition into the billing formula, and the total amount of historical fee items collected in the period is deducted. The result is used as the guaranteed fee item.

[0122] In the above embodiment, after obtaining the contract information before the change and the contract information after the change, the first payment plan in the contract information before the change and the second payment plan in the contract information after the change can be compared, and the first payment plan and the second payment plan are adjusted according to the comparison result, and then the bills of the first payment plan and the second payment plan are generated according to the adjusted first payment plan and the second payment plan. The process does not require manual intervention, automatically identifies the content of the first payment plan and the second payment plan, and adjusts the first payment plan and the second payment plan. Compared with manual accounting, not only the work efficiency is improved, but also the accounting accuracy is improved; and by tracing the adjusted first payment plan and the second payment plan, the entire contract settlement life cycle can be mastered.

[0123] In one embodiment, the step of obtaining the contract information before the change and the contract information after the change in S110 can include:

[0124] S111: receiving a contract change request sent by a user, the contract change request including the contract information after the change.

[0125] S112: auditing the contract information after the change based on the contract change request, and obtaining the contract information before the change according to the contract information after the change after the audit is passed.

[0126] In this embodiment, when the financial system receives the contract change request sent by the user, the contract information entered by the user on the contract change page can be obtained according to the contract change request. As shown in the contract change page Figure 2 The user can enter the relevant contract clause content in the contract change page, such as the cost type, the settlement method, the payment period, the billing unit, the guarantee method, and the like, so as to form the contract information after the change.

[0127] When the financial system obtains the contract information after the change, the contract information after the change can be audited, and the contract information before the change can be obtained according to the contract information after the change after the audit is passed, such as searching the contract information before the change stored in the database according to the contract number of the contract information after the change.

[0128] In one embodiment, the step of generating the corresponding payment plan according to the contract information can include generating the payment plan of each contract clause according to the settlement method, the payment clause, the settlement period, and the billing unit corresponding to each contract clause in the contract information.

[0129] In this embodiment, when generating the payment plan, the cost type in the payment plan can be determined according to the cost item type in the contract information, the contract in the payment plan can be determined according to the contract number in the contract information, the billing method in the payment plan can be determined according to the settlement method in the clause information, the row type in the payment plan can be determined according to the guarantee rule, and the start date and the end date in the payment plan can be determined according to the cost start and end time.

[0130] Specifically, the step of generating the corresponding payment plan according to the contract information can include the following:

[0131] 1) determining the start date and the end date in the payment plan, splitting the complete period into each sub-period according to the configured payment frequency, and writing the contract number, the contract version number, the contract clause, the sub-period time range, the billing date, and the like into the sub-period payment plan;

[0132] 2) If the contract terms set the ladder pooling configuration, then generate the ladder pooling payment plan according to the ladder pooling rules;

[0133] 3) If the contract terms set the guaranteed pooling configuration, then generate the first-level guaranteed pooling, second-level guaranteed pooling and third-level guaranteed pooling payment plan according to the guaranteed pooling rules.

[0134] It can be understood that the guaranteed pooling payment plan in the present application can be divided into three levels, and the main difference between them is the settlement period, and the rule is first-level guaranteed> second-level guaranteed> third-level guaranteed. For example, if the first-level guaranteed pooling payment plan is annual pooling, then the second-level guaranteed pooling payment plan can be selected as quarterly or monthly frequency for guaranteed pooling; if the second-level guaranteed pooling payment plan is quarterly guaranteed, then the third-level guaranteed pooling payment plan can only be monthly pooling.

[0135] As shown in Figure 5 , Figure 5 the structure diagram of the corresponding payment plan under the multi-version contract provided by the embodiment of the present application, Figure 5 In the structure diagram, there are 11 different versions of the contract under the same contract number, wherein the cost item under the contract number is rent, the settlement type is classified deduction, the payment plan line type is ordinary line, the plan start time and the plan end time between adjacent versions have inheritance, the billing date is the date of generating the bill, which is specifically the third of each month, and the accounting month refers to the accounting month corresponding to the payment plan generating the bill.

[0136] In one embodiment, the step of comparing the first payment plan with the second payment plan in S120 to obtain a comparison result can include:

[0137] S121: determining the payment start and end time of the first payment plan, the payment start and end time of the second payment plan, and the billing accounting time corresponding to the bills that have been issued and / or frozen in the first payment plan.

[0138] S122: comparing the latest billing accounting time in the billing accounting time with the payment start and end time of the first payment plan and the second payment plan to obtain a comparison result.

[0139] In the present embodiment, when comparing the first payment plan with the second payment plan, the payment start and end time of the first payment plan, the payment start and end time of the second payment plan, and the billing accounting time corresponding to the bills that have been issued and / or frozen in the first payment plan can be determined first, then the latest billing accounting time in the billing accounting time is compared with the payment start and end time of the first payment plan and the second payment plan, and then the comparison result is obtained.

[0140] It can be understood that the issuance in the present application refers to the action of confirming and locking the bill. Once the bill is issued, it means that all the fees of the bill have been checked and are correct, including the fee amount, the billing period, the information of the two parties to which the fee belongs, etc., and the bill after issuance will be open to the merchant for viewing. Therefore, after the bill is issued, the corresponding fee content is locked and cannot be modified.

[0141] In addition, the bill issuance needs to be operated in sequence according to the accounting month rule, that is, if the current issued bill belongs to the accounting month of 2021-07, it is required that all bills of the contract earlier than the accounting month of 2021-07 have been completed issuance, and then the current bill can be operated.

[0142] In one embodiment, the step of adjusting the first payment plan and the second payment plan according to the comparison result in S120 can include:

[0143] S123: If the payment termination time in the payment start and end time of the first payment plan is greater than the latest billing time, adjust the payment termination time in the payment start and end time of the first payment plan to the latest billing time.

[0144] S124: If there is no issued and / or frozen bill, delete the first payment plan.

[0145] S125: If the payment termination time in the payment start and end time of the second payment plan is less than the latest billing time, delete the second payment plan and repay according to the issued bill in the first payment plan.

[0146] S126: If the payment start time in the payment start and end time of the second payment plan is less than the latest billing time, and the payment termination time in the payment start and end time of the second payment plan is greater than the latest billing time, adjust the payment start time in the payment start and end time of the second payment plan to the latest billing time.

[0147] S127: If the payment start time in the payment start and end time of the second payment plan is greater than the latest billing time, do not adjust the second payment plan.

[0148] S128: If there is no issued and / or frozen bill, do not adjust the second payment plan.

[0149] In this embodiment, when adjusting the first payment plan, if the payment termination time in the payment start and end time of the first payment plan is greater than the latest billing time, the payment termination time in the payment start and end time of the first payment plan is adjusted to the latest billing time; if there is no issued and / or frozen bill, the first payment plan is deleted.

[0150] When adjusting the second payment plan, if the payment termination time of the second payment plan is less than the latest billing time in the first payment plan, the second payment plan is deleted, and the repayment is continued according to the issued bill in the first payment plan.

[0151] If the payment start time of the second payment plan is less than the latest billing time in the first payment plan, and the payment termination time of the second payment plan is greater than the latest billing time in the first payment plan, the payment start time of the second payment plan can be adjusted to the latest billing time.

[0152] If the payment start time of the second payment plan is greater than the latest billing time, the second payment plan does not need to be adjusted, and if there is no issued and / or frozen bill, the second payment plan is not adjusted.

[0153] For example, if the latest billing time in the first payment plan is 2021-06-30, and the user supplements a cost clause from 2010-01-01 to 2025-12-01, the system automatically truncates the historical cost in the time range from 2010-01-01 to 2021-06-30.

[0154] If the latest billing time of the first payment plan is a specific time period, such as 2021-10-01 to 2021-10-15, and the payment start and end time of the second payment plan is 2021-10-01 to 2021-10-31, since the cost from 1 to 15 has been issued and cannot be modified, therefore after the contract is renewed, the October payment plan should include two segments: the first payment plan: 2021-10-01 to 2021-10-15, and the second payment plan (truncated): 2021-10-16 to 2021-10-31.

[0155] Further, the second payment plan in this application is divided into multiple sub-periods according to the payment frequency in the contract clause, and the adjustment of the payment termination time is also operated in units of sub-periods. For example, the time range of the first payment plan is 2021-01-01~2021-12-31, and it is paid every three months, then there will be the following sub-periods:

[0156] Period 1: 2021-01-01~2021-03-31;

[0157] Period 2: 2021-04-01~2021-06-30;

[0158] Period 3: 2021-07-01~2021-09-30;

[0159] Period 4: 2021-10-01~2021-12-31.

[0160] If the billing time is 2021-06-30, then the sub-periods 3, 4 of the first payment plan are deleted at this time. It can be understood that the billing time is calculated according to the sub-periods of the first payment plan corresponding to each contract term, and must be aligned with the end time of the sub-periods of the first payment plan, so there is no need to adjust the end time of the sub-periods of the first payment plan. However, for the second payment plan, the billing time may not be aligned with the start time of the sub-periods, so the start time of the sub-periods of the second payment plan needs to be adjusted. For example, the sub-periods of the second payment plan are as follows:

[0161] Period A: 2021-01-15~2021-04-14;

[0162] Period B: 2021-04-15~2021-07-14;

[0163] Period C: 2021-07-15~2021-09-14;

[0164] Period D: 2021-10-15~2022-01-14.

[0165] If the billing time is 2021-06-30, then delete Period A, and adjust the start time of Period B to 2021-07-01, as follows:

[0166] Period A: (deleted);

[0167] Period B: 2021-07-01~2021-07-14;

[0168] Period C: 2021-07-15~2021-09-14;

[0169] Period D: 2021-10-15~2022-01-14.

[0170] After merging the first and second payment plans, the complete plan after the change can be obtained as follows:

[0171] Period 1 (from the first payment plan): 2021-01-01~2021-03-31;

[0172] Period 2 (from the first payment plan): 2021-04-01 ~ 2021-06-30;

[0173] Period B (from the second payment plan): 2021-07-01 ~ 2021-07-14;

[0174] Period C (from the second payment plan): 2021-07-15 ~ 2021-09-14;

[0175] Period D (from the second payment plan): 2021-10-15 ~ 2022-01-14.

[0176] In one embodiment, the changed contract information can further include a change effective date.

[0177] S210: If the change effective date is less than the latest billing time, adjust the change effective date to the latest billing time.

[0178] S211: If the change effective date is less than the payment end time in the first payment plan start and end time, take the change effective date as the payment end time in the first payment plan start and end time.

[0179] S212: If the change effective date is greater than the payment end time in the first payment plan start and end time, do not adjust the first payment plan.

[0180] S213: If the change effective date is less than the payment start time in the first payment plan start and end time, delete the first payment plan.

[0181] S214: If the change effective date is greater than the payment start time in the second payment plan start and end time, take the change effective date as the payment start time in the second payment plan start and end time.

[0182] S215: If the change effective date is less than the payment start time in the second payment plan start and end time, do not adjust the second payment plan.

[0183] S216: If the change effective date is greater than the payment end time in the second payment plan start and end time, delete the second payment plan.

[0184] In this embodiment, after the contract is changed, the specific change effective date corresponding to the changed contract can be specified to plan the future contract adjustment in advance. Moreover, since the contract change specifies the future effective date, the first payment plan may still have some sub-periods that have not generated invoices, so the first payment plan also needs to perform invoice generation checking.

[0185] When the changed contract information contains the change effective date, the change effective date can be compared with the latest invoice accounting time, the payment end time in the start and end time of the first payment plan, and the payment start time in the start and end time of the second payment plan, so as to adjust the first payment plan and the second payment plan.

[0186] Specifically, if the change effective date is less than the latest invoice accounting time, the change effective date can be adjusted to the latest invoice accounting time.

[0187] If the change effective date is less than the payment end time in the start and end time of the first payment plan, the change effective date is taken as the payment end time in the start and end time of the first payment plan; if the change effective date is greater than the payment end time in the start and end time of the first payment plan, the first payment plan is not adjusted; if the change effective date is less than the payment start time in the start and end time of the first payment plan, the first payment plan can be deleted.

[0188] If the change effective date is greater than the payment start time in the start and end time of the second payment plan, the change effective date is taken as the payment start time in the start and end time of the second payment plan; if the change effective date is less than the payment start time in the start and end time of the second payment plan, the second payment plan is not adjusted; if the change effective date is greater than the payment end time in the start and end time of the second payment plan, the second payment plan can be deleted.

[0189] It can be understood that this mainly aims at the scenario that the contract change takes effect in the future, such as supplier change. It is possible that the contract supplier change will not really take effect until the end of the month, but the contract change has been approved in the current month. Therefore, after the contract change, the start time of the new payment plan will be based on the change effective time, and the current period will continue to use the payment plan before the change. For example:

[0190] The first payment plan: 2021-01-01~2021-12-31;

[0191] The second payment plan: 2021-01-01~2021-12-31;

[0192] The invoice accounting time: 2021-05-31;

[0193] Effective date of change: 2021-06-15.

[0194] After adjusting the first payment plan and the second payment plan according to the effective date of change, the following can be obtained:

[0195] The first payment plan: 2021-01-01~2021-06-14;

[0196] The second payment plan: 2021-06-15~2021-12-31.

[0197] In an embodiment, the billing generation condition includes a billing day condition and a billing precondition, the billing day condition can include the time of generating a settlement expense bill; the billing precondition can include a general line payment plan, a ladder pooling line payment plan, and a guaranteed pooling line payment plan, the guaranteed pooling line payment plan can include a first-level guaranteed payment plan, a second-level guaranteed payment plan, and a third-level guaranteed payment plan.

[0198] The step of determining whether the adjusted payment plan meets the billing generation condition in S130 can include:

[0199] S131: determining whether the time of generating a settlement expense bill corresponding to the adjusted payment plan meets the billing day condition.

[0200] S132: if yes, determining whether the adjusted payment plan meets the condition that the associated general line payment plan has been calculated within its cycle range.

[0201] S133: if no, executing the general line payment plan, and if yes, executing the ladder pooling line payment plan.

[0202] S134: if all non-guaranteed payment plans within the cycle range of the adjusted payment plan have been calculated, executing the third-level guaranteed payment plan.

[0203] S135: if the third-level guaranteed payment plan within the cycle range of the adjusted payment plan has been calculated, executing the second-level guaranteed payment plan.

[0204] S136: if the second-level guaranteed payment plan within the cycle range of the adjusted payment plan has been calculated, executing the first-level guaranteed payment plan.

[0205] In this embodiment, when determining whether the adjusted first payment plan or the second payment plan meets the billing generation condition, a comprehensive determination can be made according to the billing day condition and the billing precondition.

[0206] For example, it can be judged whether the bill date corresponding to the current payment plan meets the requirement, if not, it continues to wait, if it meets the requirement, it is judged according to the line type of the payment plan whether the corresponding bill precondition meets the requirement, if the bill precondition is the payment plan of the ladder uniform plan line, it is judged whether the associated ordinary line payment plan in the cycle range has generated a bill, if not, it continues to wait, if it meets the requirement, it generates the corresponding bill according to the payment plan of the ladder uniform plan line.

[0207] Further, if there is a guaranteed payment plan in the payment plan, it is judged whether all non-guaranteed payment plans in the cycle range have been calculated, if it has been calculated, it generates the corresponding bill according to the three-level guaranteed payment plan, if it does not meet the requirement, it continues to wait; when executing the three-level guaranteed payment plan, it can be judged whether the three-level guaranteed payment plan in the cycle range has been calculated, if it has been calculated, it generates the corresponding bill according to the two-level guaranteed payment plan, if it has not been calculated, it continues to wait; when executing the two-level guaranteed payment plan, it can also be judged whether the two-level guaranteed plan in the cycle range has been calculated, if it has been calculated, it generates the corresponding bill according to the one-level guaranteed payment plan, if it has not been calculated, it continues to wait.

[0208] The bill generation device provided by the embodiment of the present application is described below, and the bill generation device described below can be correspondingly referred to the bill generation method described above.

[0209] In one embodiment, as shown in Figure 6 , Figure 6 a structural schematic diagram of a bill generation device provided by the embodiment of the present application; the present application also provides a bill generation device, which comprises an information acquisition module 210, a plan adjustment module 220, and a bill generation module 230, and specifically comprises the following:

[0210] The information acquisition module 210 is used for acquiring the contract information before the change and the contract information after the change, wherein the contract information before the change comprises a first payment plan corresponding to each contract term, and the contract information after the change comprises a second payment plan corresponding to each contract term.

[0211] The plan adjustment module 220 is used for comparing the first payment plan with the second payment plan to obtain a comparison result, and adjusting the first payment plan and the second payment plan according to the comparison result.

[0212] The bill generation module 230 is used for determining the bill generation condition of each of the first payment plan and the second payment plan according to the adjusted first payment plan and second payment plan, and generating the bill of each of the first payment plan and the second payment plan according to the adjusted first payment plan and second payment plan when the adjusted first payment plan and second payment plan meet the bill generation condition of each of the first payment plan and the second payment plan.

[0213] In the above embodiments, after the contract information before the change and the contract information after the change are obtained, the first payment plan in the contract information before the change and the second payment plan in the contract information after the change can be compared, and the first payment plan and the second payment plan are adjusted according to the comparison result, and then the respective bills are generated according to the adjusted first payment plan and the second payment plan. This process does not require manual intervention, automatically identifies the content of the clauses in the first payment plan and the second payment plan, and adjusts the first payment plan and the second payment plan. Compared with manual calculation, not only the work efficiency is improved, but also the calculation accuracy is improved. Moreover, by tracing the adjusted first payment plan and the second payment plan, the entire contract settlement life cycle can be mastered.

[0214] In one embodiment, the present application further provides a storage medium, wherein the storage medium stores computer readable instructions, and the computer readable instructions are executed by one or more processors to enable the one or more processors to perform the steps of the bill generation method according to any one of the above embodiments.

[0215] In one embodiment, the present application further provides a computer device, wherein the computer device stores computer readable instructions, and the computer readable instructions are executed by one or more processors to enable the one or more processors to perform the steps of the bill generation method according to any one of the above embodiments.

[0216] As shown in Figure 7 , Figure 7 Fig. 1 shows a schematic diagram of an internal structure of a computer device according to an embodiment of the present application. The computer device 300 can be provided as a server. As shown in Figure 7 , the computer device 300 includes a processing component 302, which further includes one or more processors, and a memory resource represented by a memory 301, for storing instructions executable by the processing component 302, such as an application. The application stored in the memory 301 can include one or more than one module each corresponding to a set of instructions. In addition, the processing component 302 is configured to execute the instructions to perform the bill generation method according to any one of the above embodiments.

[0217] The computer device 300 can further include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input / output (I / O) interface 305. The computer device 300 can operate based on an operating system stored in the memory 301, such as Windows Server™, Mac OS X™, Unix™, Linux™, Free BSD™, or the like.

[0218] Those skilled in the art can understand that Figure 7 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. A specific computer device can include more or fewer components than those shown in the figure, or combine some components, or have a different arrangement of components.

[0219] Finally, it should be noted that the terms such as first and second, etc. are merely used to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article or device including the element.

[0220] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts are referred to each other.

[0221] The above description of the disclosed embodiments enables a person skilled in the art to implement or use the present application. Various modifications to the embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A bill generation method, characterized in that, The method includes: Obtain the contract information before the change and the contract information after the change. The contract information before the change includes the first payment plan corresponding to each contract clause, and the contract information after the change includes the second payment plan corresponding to each contract clause. The first payment plan and the second payment plan are compared to obtain the comparison results, and the first payment plan and the second payment plan are adjusted according to the comparison results. The billing conditions are determined according to the adjusted first payment plan and the second payment plan, and the bills are generated according to the adjusted first payment plan and the second payment plan when the adjusted first payment plan and the second payment plan meet their respective billing conditions. The step of comparing the first payment plan with the second payment plan to obtain the comparison result includes: Determine the start and end dates of the first payment plan, the start and end dates of the second payment plan, and the billing calculation dates for the bills that have been issued and / or frozen in the first payment plan; The latest billing time in the billing time is compared with the start and end times of the first payment plan and the second payment plan to obtain the comparison result; The step of adjusting the first payment plan and the second payment plan based on the comparison results includes: If the payment termination time in the payment start and end time of the first payment plan is greater than the latest billing time, then the payment termination time in the payment start and end time of the first payment plan will be adjusted to the latest billing time. If no invoices have been issued and / or frozen, the first payment plan will be deleted; If the payment termination time in the payment start and end time of the second payment plan is less than the latest billing time, then the second payment plan is deleted, and repayment is made according to the bills already issued in the first payment plan. If the payment start time in the payment start and end time of the second payment plan is less than the latest billing time, and the payment end time in the payment start and end time of the second payment plan is greater than the latest billing time, then the payment start time in the payment start and end time of the second payment plan will be adjusted to the latest billing time. If the payment start time in the payment start and end time of the second payment plan is greater than the latest billing time, then the second payment plan will not be adjusted; If no invoices have been issued and / or frozen, the second payment plan will not be adjusted.

2. The bill generation method according to claim 1, characterized in that, The steps of obtaining the contract information before and after the change include: Receive a contract change request sent by a user, the contract change request including the changed contract information; The revised contract information is reviewed based on the contract change request, and the original contract information is obtained based on the revised contract information after the review is approved.

3. The bill generation method according to claim 1, characterized in that, The process of generating the first payment plan or the second payment plan includes: Based on the settlement method, payment terms, settlement cycle and billing unit corresponding to each contract clause in the contract information before the change, generate the first payment plan for each contract clause; Alternatively, a second payment plan for each contract clause can be generated based on the settlement method, payment terms, settlement cycle, and billing unit corresponding to each contract clause in the revised contract information.

4. The bill generation method according to claim 1, characterized in that, The revised contract information also includes the effective date of the change; If the effective date of the change is earlier than the latest billing time, then the effective date of the change will be adjusted to the latest billing time. If the effective date of the change is less than the payment end time in the start and end time of the first payment plan, then the effective date of the change shall be used as the payment end time in the start and end time of the first payment plan; If the effective date of the change is greater than the payment end time in the start and end time of the first payment plan, then the first payment plan will not be adjusted; If the effective date of the change is less than the payment start time in the start and end time of the first payment plan, then the first payment plan is deleted; If the effective date of the change is greater than the payment start date in the start and end time of the second payment plan, then the effective date of the change shall be used as the payment start date in the start and end time of the second payment plan; If the effective date of the change is earlier than the payment start date in the second payment plan's start and end time, then the second payment plan will not be adjusted; If the effective date of the change is later than the payment end date in the start and end time of the second payment plan, then the second payment plan will be deleted.

5. The bill generation method according to claim 1, characterized in that, The bill generation conditions include billing date conditions and billing prerequisite conditions; The billing date condition includes the time when the settlement bill is generated; The preconditions for the bill include ordinary bank payment plans, tiered pooled bank payment plans, and guaranteed pooled bank payment plans. The guaranteed pooled bank payment plans include first-level guaranteed payment plans, second-level guaranteed payment plans, and third-level guaranteed payment plans. The step of determining whether the adjusted payment plan meets the bill generation conditions includes: Determine whether the time for generating the settlement fee statement corresponding to the adjusted payment plan meets the billing date condition; If satisfied, then determine whether the adjusted payment plan satisfies that the associated ordinary bank payment plan within its period has been calculated. If the conditions are not met, the ordinary bank payment plan will be executed; if the conditions are met, the tiered coordinated bank payment plan will be executed. If all non-minimum guaranteed payment plans within the period of the adjusted payment plan have been calculated, then the three-tier minimum guaranteed payment plan shall be executed. If the adjusted payment plan has been calculated for the three-tier guaranteed payment plan within its period, then the two-tier guaranteed payment plan will be executed. If the adjusted payment plan has completed the calculation of the secondary guaranteed payment plan within its period, then the primary guaranteed payment plan will be executed.

6. A bill generation device, characterized in that, include: The information acquisition module is used to acquire contract information before the change and contract information after the change. The contract information before the change includes the first payment plan corresponding to each contract clause, and the contract information after the change includes the second payment plan corresponding to each contract clause. The plan adjustment module is used to compare the first payment plan with the second payment plan, obtain the comparison result, and adjust the first payment plan and the second payment plan according to the comparison result; The bill generation module is used to determine the respective bill generation conditions based on the adjusted first payment plan and the second payment plan, and to generate the respective bills based on the adjusted first payment plan and the second payment plan when the adjusted first payment plan and the second payment plan meet their respective bill generation conditions. The step in the plan adjustment module that compares the first payment plan with the second payment plan to obtain the comparison result includes: Determine the start and end dates of the first payment plan, the start and end dates of the second payment plan, and the billing calculation dates for the bills that have been issued and / or frozen in the first payment plan; The latest billing time in the billing time is compared with the start and end times of the first payment plan and the second payment plan to obtain the comparison result; The step of adjusting the first payment plan and the second payment plan based on the comparison results in the plan adjustment module includes: If the payment termination time in the payment start and end time of the first payment plan is greater than the latest billing time, then the payment termination time in the payment start and end time of the first payment plan will be adjusted to the latest billing time. If no invoices have been issued and / or frozen, the first payment plan will be deleted; If the payment termination time in the payment start and end time of the second payment plan is less than the latest billing time, then the second payment plan is deleted, and repayment is made according to the bills already issued in the first payment plan. If the payment start time in the payment start and end time of the second payment plan is less than the latest billing time, and the payment end time in the payment start and end time of the second payment plan is greater than the latest billing time, then the payment start time in the payment start and end time of the second payment plan will be adjusted to the latest billing time. If the payment start time in the payment start and end time of the second payment plan is greater than the latest billing time, then the second payment plan will not be adjusted; If no invoices have been issued and / or frozen, the second payment plan will not be adjusted.

7. A storage medium, characterized in that: The storage medium stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the bill generation method as described in any one of claims 1 to 5.

8. A computer device, characterized in that: The computer device stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the bill generation method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Pre-charge information processing method and device

    CN109102380A