CN118297732A - Bill generation method and device, storage medium and electronic equipment - Google Patents

Bill generation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN118297732A
CN118297732A CN202310006448.3A CN202310006448A CN118297732A CN 118297732 A CN118297732 A CN 118297732A CN 202310006448 A CN202310006448 A CN 202310006448A CN 118297732 A CN118297732 A CN 118297732A
Authority
CN
China
Prior art keywords
information
expense
fee
bill
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310006448.3A
Other languages
Chinese (zh)
Inventor
席冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Publication of CN118297732A publication Critical patent/CN118297732A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a bill generation method and device, a storage medium and electronic equipment, wherein a target reconciliation page is generated based on first expense information and second expense information; the first expense information is expense information which corresponds to expense elements in an account period and meets the bill generation conditions, and the second expense information is expense information which corresponds to expense elements not in the account period and meets the bill generation conditions; responding to a deleting instruction of a user on the first expense information, and deleting the first expense information corresponding to the deleting instruction; responding to an adding instruction of a user to the second expense information, and taking the second expense information corresponding to the adding instruction as the first expense information; and generating a bill based on the current first fee information in response to the reconciliation completion instruction. According to the scheme, the target account checking page is generated before the bill is generated, so that a user can check in advance through the target account checking page and adjust the cost through the target account checking page.

Description

Bill generation method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of logistics technologies, and in particular, to a bill generating method and apparatus, a storage medium, and an electronic device.
Background
In the prior art, after receiving a bill creation instruction, a billing system generates a bill directly based on the charge which is not settled in the settlement state in the billing period. After the bill is generated, the settlement staff can acquire the cost details in the bill and enter the reconciliation stage, so that the reconciliation settlement is relatively delayed, and once the bill is generated, the cost adjustment in the bill can only be performed in an offline adjustment mode by the settlement staff, so that the manpower resource is greatly consumed.
Therefore, how to provide a technical solution capable of implementing advanced accounting and online fee adjustment is a technical problem that those skilled in the art continue to solve at present.
Disclosure of Invention
The application provides a bill generation method and device, a storage medium and electronic equipment, and aims to realize early account checking and online cost adjustment.
And supplementing similar problems of knowledge points to improve recall rate.
In order to achieve the above object, the present application provides the following technical solutions:
a bill generation method, comprising:
Responding to a bill generation instruction, and acquiring a billing period and a fee element of a bill to be generated, wherein the billing period and the fee element are included in the bill generation instruction;
Generating a target reconciliation page based on the respective first fee information and the respective second fee information; the first expense information is expense information which corresponds to the expense elements in the account period and meets preset bill generation conditions, and the second expense information is expense information which does not correspond to the expense elements in the account period and meets the bill generation conditions;
Responding to a deleting instruction of a user to the first expense information through the target account page, and deleting the first expense information corresponding to the deleting instruction;
Responding to an adding instruction of the user to the second expense information through the target account page, and taking the second expense information corresponding to the adding instruction as first expense information;
And responding to the checking completion instruction of the user, and generating a bill based on the current first expense information.
The method, optionally, generates the target reconciliation page based on the respective first fee information and the respective second fee information, including:
Acquiring each expense information corresponding to the expense elements in the account period;
For each expense information corresponding to the expense elements in the account period, if the expense information is determined to meet the preset bill generation condition, determining the expense information as first expense information;
Generating an initial reconciliation page based on the respective first fee information; the initial reconciliation page comprises a fee increasing button;
And responding to a trigger instruction of a user for a fee increasing button in the initial reconciliation page, determining each fee information meeting the bill generation condition, which corresponds to the fee element and is not in the account period, as second fee information, and loading each second fee information into the initial reconciliation page to obtain a target reconciliation page.
In the above method, optionally, the billing task to which the first fee information belongs includes a task status.
The method, before generating the initial reconciliation page based on the first fee information, optionally includes:
setting the task state to a pause state;
before generating the bill based on the current first fee information, the method further comprises:
and setting the task state to an executing state.
In the above method, optionally, the determining that the fee information meets a preset bill generation condition includes:
Judging whether the settlement state of the expense information is an outstanding state, judging whether the calculation state of the expense information is a calculated state, and judging whether the expense information is not used for bill generation;
And if the settlement state is an outstanding state, the calculation state is a calculated state and the expense information is not used for bill generation, determining that the expense information meets the preset bill generation condition.
In the foregoing method, optionally, after deleting the first fee information corresponding to the deletion instruction, the method further includes:
Setting a special identifier for the first expense information corresponding to the deleting instruction; the special identifier is used for identifying that the first expense information is not used for bill generation;
And storing the first expense information with the special identifier into an expense total resource pool.
A bill generating apparatus comprising:
an obtaining unit, configured to obtain, in response to a bill generation instruction, a billing period and a fee element of a bill to be generated included in the bill generation instruction;
The first generation unit is used for generating a target reconciliation page based on the first expense information and the second expense information; the first expense information is expense information which corresponds to the expense elements in the account period and meets preset bill generation conditions, and the second expense information is expense information which does not correspond to the expense elements in the account period and meets the bill generation conditions;
a deleting unit, configured to delete first fee information corresponding to a deletion instruction of the first fee information in response to the deletion instruction of the first fee information by a user through the target account page;
An adding unit configured to respond to an adding instruction of the user to the second fee information through the target reconciliation page, and to use second fee information corresponding to the adding instruction as first fee information;
and the second generation unit is used for responding to the checking completion instruction of the user and generating a bill based on the current first fee information.
The above apparatus, optionally, the first generating unit is specifically configured to:
Acquiring each expense information corresponding to the expense elements in the account period;
For each expense information corresponding to the expense elements in the account period, if the expense information is determined to meet the preset bill generation condition, determining the expense information as first expense information;
Generating an initial reconciliation page based on the respective first fee information; the initial reconciliation page comprises a fee increasing button;
And responding to a trigger instruction of a user for a fee increasing button in the initial reconciliation page, determining each fee information meeting the bill generation condition, which corresponds to the fee element and is not in the account period, as second fee information, and loading each second fee information into the initial reconciliation page to obtain a target reconciliation page.
A storage medium having stored thereon a set of instructions, wherein the set of instructions, when executed by a processor, implement a bill generation method as described above.
An electronic device, comprising:
a memory for storing at least one set of instructions;
And the processor is used for executing the instruction set stored in the memory, and realizing the bill generation method by executing the instruction set.
Compared with the prior art, the application has the following advantages:
The application provides a bill generation method and device, a storage medium and electronic equipment, comprising the following steps: responding to the bill generation instruction, acquiring a billing period and a fee element of the bill to be generated, which are included in the bill generation instruction, and generating a target reconciliation page based on each first fee information and each second fee information; the first expense information is expense information which corresponds to expense elements in an account period and meets preset bill generation conditions, and the second expense information is expense information which corresponds to expense elements not in the account period and meets the bill generation conditions; responding to a deleting instruction of the user to the first expense information through the target account page, and deleting the first expense information corresponding to the deleting instruction; responding to an adding instruction of a user to the second expense information through a target account page, and taking the second expense information corresponding to the adding instruction as the first expense information; and responding to the reconciliation completion instruction of the user, and generating a bill based on the current first fee information. Therefore, according to the scheme, the target reconciliation page is generated before the bill is generated, so that a user can reconcile in advance through the target reconciliation page, and the cost is adjusted through the target reconciliation page.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a bill generation method according to the present application;
FIG. 2 is a flow chart of another method of bill generation according to the present application;
FIG. 3 is a flow chart of another method of bill generation according to the present application;
FIG. 4 is a flow chart of another method of bill generation according to the present application;
FIG. 5 is an exemplary diagram of a billing method provided by the present application;
FIG. 6 is a schematic diagram of a bill generating device according to the present application;
fig. 7 is a schematic structural diagram of an electronic device according to the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used for distinguishing between different devices, modules, or units and not for limiting the order or interdependence of the functions performed by these devices, modules, or units.
It should be noted that references to "one" or "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be interpreted as "one or more" unless the context clearly indicates otherwise.
The application is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor devices, distributed computing environments that include any of the above devices or devices, and the like.
In this embodiment, for convenience of understanding, the following description will be given of the related terms related to the present application:
And (3) account discharging: and the system correctly generates a bill, and forms a bill detail file.
Accounting period: bill start date to bill end date.
Billing credentials: the cost normally calculated in the system.
Accounting fee: the cost for adjusting the system can be positive or negative by manually introducing the cost into the system.
Billing rules: bill generation basis and criteria consisting of a collection object, a payment object, a fee subject, a billing period, and the like.
Cost subject: for associating Fei Yongxiang (charging items, e.g., freight, storage, etc.), which charging items are included in the current bill may be determined based on the charging items associated therewith.
The embodiment of the application provides a bill generation method which can be applied to a charging system, and a flow chart of the method is shown in fig. 1, and specifically comprises the following steps:
S101, responding to a bill generation instruction, and acquiring a billing period and a fee element of a bill to be generated, wherein the billing period and the fee element are included in the bill generation instruction.
In this embodiment, a bill generation instruction is received, and a bill period and a fee element of a bill to be generated, which are included in the bill generation instruction, are acquired in response to the bill generation instruction; illustratively, the fee elements include, but are not limited to, a payee object, a payment object, and a fee subject.
The bill generation instruction may be generated by triggering a bill creation function key in the charging system by the user, or may be generated by presetting a bill rule and timing. Wherein, the date of the start of the preset accounting period and the cost element are preset in the billing rule.
In this embodiment, before receiving the bill generation instruction generated by triggering the bill creation function key in the billing system, the method further includes generating an information input interface, so that the user can input the billing period and the fee element of the bill to be generated through the information input interface.
S102, generating a target reconciliation page based on the first fee information and the second fee information.
In this embodiment, a target reconciliation page is generated based on each of the first fee information and each of the second fee information; the target reconciliation page comprises a plurality of first fee information and a plurality of second fee information.
The first expense information is expense information which corresponds to expense elements in the accounting period and meets preset bill generation conditions, and the second expense information is expense information which corresponds to expense elements not in the accounting period and meets the bill generation conditions.
Referring to fig. 2, the process of generating the target reconciliation page based on the respective first fee information and the respective second fee information specifically includes the steps of:
s201, acquiring the respective expense information corresponding to the expense elements in the accounting period.
In this embodiment, each piece of fee information corresponding to a fee element in the accounting period is acquired, specifically, the fee total resource pool is traversed, and each piece of fee information corresponding to the fee element in the accounting period is acquired from the fee information included in the fee total resource pool.
S202, determining the cost information as first cost information if the cost information meets the preset bill generation conditions according to each cost information corresponding to the cost elements in the accounting period.
In this embodiment, for each fee information corresponding to a fee element in a billing period, it is determined whether the fee information satisfies a preset bill generation condition, and if it is determined that the fee information satisfies the preset generation condition, the fee information is determined as first fee information.
In this embodiment, after determining that the cost information meets the preset bill generation condition, a bill number identifier may be further set for the cost information, where the bill number identifier is used to describe a bill number of a generated bill corresponding to the subsequent cost information.
Referring to fig. 3, a process of determining that the fee information satisfies a preset bill generation condition includes the steps of:
s301, judging whether the settlement state of the expense information is an unaddressed state, if not, executing S302, and if so, executing S303.
In this embodiment, it is determined whether the settlement state of the fee information is an outstanding state.
S302, determining that the cost information does not meet preset bill generation conditions.
In this embodiment, if the settlement state of the fee information is not an outstanding state, the calculation state of the fee information is not a calculated state or the fee information is used for bill generation, it is determined that the fee information does not satisfy the preset bill generation condition.
S303, judging whether the calculation state of the expense information is the calculated state, if not, executing S302, and if so, executing S304.
In this embodiment, if the settlement state of the fee information is an outstanding state, it is further determined whether the calculation state of the fee information is a calculated state.
S304, judging whether the cost information is not used for bill generation, if not, executing S302, and if so, executing S305.
In this embodiment, if the calculation state of the fee information is the calculated state, it is further determined whether the fee information is not used for bill generation, specifically, whether the bill number of the fee information is empty, if so, it is determined that the fee information is not used for bill generation, and if not, it is determined that the fee information is used for bill generation.
S305, determining that the cost information meets preset bill generation conditions.
In this embodiment, if the settlement state of the fee information is an outstanding state, the calculation state of the fee information is a calculated state, and the fee information is not used for bill generation, it is determined that the fee information satisfies a preset bill generation condition.
S203, generating an initial reconciliation page based on the first fee information.
In this embodiment, an initial reconciliation page is generated based on the respective first fee information, wherein the initial reconciliation page includes the respective first fee information and the fee increasing button.
S204, responding to a trigger instruction of a user to a fee increasing button in the initial reconciliation page, determining each fee information meeting the bill generation condition corresponding to the fee elements not in the accounting period as second fee information, and loading each second fee information into the initial reconciliation page to obtain a target reconciliation page.
In this embodiment, after the user triggers the fee adding button in the initial reconciliation page, a trigger instruction of the user to the fee adding button in the initial reconciliation page is received, the trigger instruction of the fee adding button is responded, each fee information meeting the bill generation condition corresponding to the fee element which is not in the accounting period in the fee total resource pool is obtained, each fee information meeting the bill generation condition corresponding to the fee element which is not in the accounting period is determined as the second fee information, and each second fee information is loaded into the initial reconciliation page, so that the target reconciliation page is obtained.
In this embodiment, a process of determining, as the second fee information, each fee information satisfying the bill generation condition corresponding to the fee elements not in the accounting period specifically includes: and acquiring each piece of expense information which is not in the accounting period and corresponds to the expense element in the expense total resource pool, and determining the expense information as second expense information when the expense information which is not in the accounting period and corresponds to the expense element is determined to meet the bill generation condition according to each piece of expense information. Note that, the process of determining that the fee information corresponding to the fee element and not in the accounting period satisfies the bill generation condition refers to each step shown in embodiment 3, and will not be described herein.
S103, deleting the first expense information corresponding to the deleting instruction in response to the deleting instruction of the user to the first expense information through the target account page.
In this embodiment, the user may check through the target check page, and in the process of checking through the target check page, the user may delete the first fee information in the target check page according to the requirement.
In this embodiment, a deletion instruction of the user for the first fee information through the target reconciliation page is received, the deletion instruction is responded, and the first fee information corresponding to the deletion instruction is deleted, that is, the first fee information corresponding to the deletion instruction in the target reconciliation page is deleted from the target reconciliation page.
S104, responding to an adding instruction of the user to the second expense information through the target account page, and taking the second expense information corresponding to the adding instruction as the first expense information.
In this embodiment, in the process that the user checks the target account through the target account page, the user may add the second fee information in the target page according to the requirement, that is, select the second fee information.
In this embodiment, an addition instruction of the user to the second fee information through the target account page is received, and the second fee information corresponding to the addition instruction is used as the first fee information in response to the addition instruction.
S105, responding to the reconciliation completion instruction of the user, and generating a bill based on the current first fee information.
In this embodiment, after the user finishes checking, a checking completion instruction of the user is received, where the checking completion instruction may be generated by the user by triggering a confirmation button in the target checking page.
In this embodiment, in response to a reconciliation completion instruction of the user, a bill is generated based on the current first fee information, wherein the detailed process of generating the bill based on the current first fee information is referred to in the prior art, and is not repeated here.
In the bill generation method provided by the embodiment of the application, in response to a bill generation instruction, acquiring a billing period and a fee element of a bill to be generated, which are included in the bill generation instruction, and generating a target reconciliation page based on each first fee information and each second fee information; the first expense information is expense information which corresponds to expense elements in an account period and meets preset bill generation conditions, and the second expense information is expense information which corresponds to expense elements not in the account period and meets the bill generation conditions; responding to a deleting instruction of the user to the first expense information through the target account page, and deleting the first expense information corresponding to the deleting instruction; responding to an adding instruction of a user to the second expense information through a target account page, and taking the second expense information corresponding to the adding instruction as the first expense information; and responding to the reconciliation completion instruction of the user, and generating a bill based on the current first fee information. Therefore, according to the scheme, the target account checking page is generated before the bill is generated, so that a user can check in advance through the target account checking page and adjust the cost through the target account checking page, and the bill generation efficiency is improved and the user experience is improved because the cost is not required to be adjusted in a wireless manner.
In the bill generation method provided by the embodiment of the application, the bill task to which the first expense information belongs comprises a task state. And triggering generation of the bill task to which the first expense information belongs when receiving the bill generation instruction. After generating the billing task, the billing task is initialized, and the task state of the billing task is set as the executing state. When the billing task is in an executing state, the billing task executes each step in the flow according to a preset sequence. The bill task executes the process of each step in the flow according to a preset sequence, and specifically comprises the following steps: and acquiring the cost information which corresponds to the cost elements in the account period and meets the preset bill generation conditions, and generating a bill based on the acquired cost information.
In the bill generating method provided by the embodiment of the present application, before the step S203, the method further includes the following steps:
Setting the task state to a pause state;
In this embodiment, before generating the initial reconciliation page based on the respective first fee information, setting the task state to a suspended state is further included, where the billing task suspends each step in the execution flow when the billing task is in the suspended state. Specifically, by detecting whether the billing task completes the fee information corresponding to the fee element in the acquisition period and meeting the preset billing generation condition, if the billing task is detected to complete the fee information corresponding to the fee element in the acquisition period and meeting the preset billing generation condition, the task state is set to be in a pause state.
In this embodiment, by setting the task state to the suspension state, each step in the execution flow of the billing task is suspended, so that the target reconciliation page can be generated based on each first fee information and each second fee information, and the reconciliation can be performed in advance through the target reconciliation page, and the fee adjustment can be performed.
In the bill generation method provided by the embodiment of the present application, before generating the bill based on the current first fee information mentioned in the step S105, the method further includes the following steps:
The task state is set to the executing state.
In this embodiment, after the user's checking is received, that is, before the bill is generated based on the current respective first fee information, the task state is set to the in-process state, that is, the task state of the billing task is set to the in-process state, based on the current respective first fee information, so that the billing task generates the bill based on the current respective first fee information. Therefore, according to the technical scheme, the bill is generated based on the adjusted first expense information, so that the accuracy of the bill is ensured.
By way of example, the setting of the task state may be achieved by a over schedule, wherein over is a dynamic scheduling service.
Referring to fig. 4, in the bill generating method provided by the embodiment of the present application, after step S103, the method may further include the following steps:
s401, setting a special identifier for the first expense information corresponding to the deleting instruction.
In this embodiment, after the first fee information corresponding to the deletion instruction is deleted, a special identifier may be further set for the first fee information corresponding to the deletion instruction, specifically, the bill number identifier in the first fee information is deleted, and a special identifier is set for the first fee information corresponding to the deletion instruction, where the special identifier is used to identify that the first fee information is not used for bill generation.
S402, storing the first expense information with the special identifier into an expense total resource pool.
In this embodiment, the first fee information with the special identifier is stored in the fee total resource pool.
According to the bill generation method provided by the embodiment of the application, the special mark is set for the first expense information corresponding to the deleting instruction, and the first expense information with the special mark is stored in the expense total resource pool, so that the first expense is prevented from being missed.
Referring to fig. 5, the specific implementation procedure of the bill generation method according to the embodiment of the present application is illustrated as follows:
1. the charging system calculates a required charging result (charging certificate) according to the system configuration.
2. The generation of a billing task is triggered by the arrival of the current customer's billing period (date arrives at the start date of the configured billing period in the billing rules) or by manual creation of a bill.
3. Billing tasks start state flows based on the over scheduling technique:
a. Initializing a billing task, wherein the billing task starts to be executed, and screening all fees (namely the above mentioned fee information) in the account period according to the collection object, the payment object and the fee subject.
B. Fees meeting the following conditions are checked and screened, and these fees are marked with the pre-emptive bill number.
I. The settlement state is an outstanding fee.
And (3) the cost of the bill is not generated.
Calculating the cost of success (i.e. the calculation status is calculated).
C. the pre-generation starts and the billing task is suspended by setting the task state to a suspended state, and all the cost details to be contained in the bill to be produced can be displayed in the web page at the front end of the billing task (namely the reconciliation page mentioned above). At this time, the user can perform operations of two modes, namely a "fee rejection mode" and a "fee increase mode" in the front-end page.
I. Cost rejection mode: the front-end page displays the marked fees, a user can delete the appointed fees according to service demands, the deleted fees automatically remove marked account numbers and return to a total fee resource pool for use in next generation of bills. To prevent cost omission, the partially removed cost is marked with a special mark before returning to the total cost resource pool.
Cost-increasing mode: the front-end page screens all fees which are not in the account period and meet the three conditions in b according to the collection object, the payment object and the fee subject, and can be added to the bill in advance by special business requirements.
D. And after the user determines the cost, continuing to execute the billing task, and summarizing the determined cost.
E. And (5) completing the pre-generation and completing the billing task.
F. a billing file (i.e., the billing mentioned above) is generated.
It should be noted that although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Corresponding to the method shown in fig. 1, the embodiment of the present application further provides a bill generating device, which is used for implementing the method in fig. 1, and the structural schematic diagram of the bill generating device is shown in fig. 6, and specifically includes:
an obtaining unit 601, configured to obtain, in response to a bill generation instruction, a billing period and a fee element of a bill to be generated included in the bill generation instruction;
A first generation unit 602, configured to generate a target reconciliation page based on the respective first fee information and the respective second fee information; the first expense information is expense information which corresponds to the expense elements in the account period and meets preset bill generation conditions, and the second expense information is expense information which does not correspond to the expense elements in the account period and meets the bill generation conditions;
A deleting unit 603, configured to delete, in response to a deletion instruction of the first fee information by the user via the target reconciliation page, the first fee information corresponding to the deletion instruction;
an adding unit 604, configured to respond to an adding instruction of the user to the second fee information through the target ledger sheet, and take the second fee information corresponding to the adding instruction as first fee information;
The second generating unit 605 is configured to generate a bill based on the current respective first fee information in response to the accounting completion instruction of the user.
According to the bill generation device provided by the embodiment of the application, the target account checking page is generated before the bill is generated, so that a user can check in advance through the target account checking page and adjust the cost through the target account checking page, and the bill generation efficiency is improved and the user experience is further improved because the cost is not required to be adjusted in a line.
In one embodiment of the present application, based on the foregoing scheme, the first generating unit 602 is specifically configured to:
Acquiring each expense information corresponding to the expense elements in the account period;
For each expense information corresponding to the expense elements in the account period, if the expense information is determined to meet the preset bill generation condition, determining the expense information as first expense information;
Generating an initial reconciliation page based on the respective first fee information; the initial reconciliation page comprises a fee increasing button;
And responding to a trigger instruction of a user for a fee increasing button in the initial reconciliation page, determining each fee information meeting the bill generation condition, which corresponds to the fee element and is not in the account period, as second fee information, and loading each second fee information into the initial reconciliation page to obtain a target reconciliation page.
In one embodiment of the present application, based on the foregoing, the billing task to which the first fee information belongs includes a task status.
In one embodiment of the present application, based on the foregoing scheme, it may be further configured to:
a first setting unit configured to set the task state to a suspended state;
and the second setting unit is used for setting the task state into an executing state.
In one embodiment of the present application, based on the foregoing solution, the first generating unit 602 is specifically configured to, when determining that the cost information meets a preset bill generation condition:
Judging whether the settlement state of the expense information is an outstanding state, judging whether the calculation state of the expense information is a calculated state, and judging whether the expense information is not used for bill generation;
And if the settlement state is an outstanding state, the calculation state is a calculated state and the expense information is not used for bill generation, determining that the expense information meets the preset bill generation condition.
In one embodiment of the present application, based on the foregoing scheme, it may be further configured to:
a third setting unit, configured to set a special identifier for the first fee information corresponding to the deletion instruction; the special identifier is used for identifying that the first expense information is not used for bill generation;
and the storage unit is used for storing the first expense information with the special identifier into the expense total resource pool.
The embodiment of the application also provides a storage medium storing a set of instructions, wherein the bill generation method as disclosed in any of the above embodiments is performed when the set of instructions is run.
The embodiment of the application also provides an electronic device, the structure of which is shown in fig. 7, specifically including a memory 701 for storing at least one group of instruction sets; a processor 702 for executing a set of instructions stored in the memory, by executing the set of instructions, to implement the bill generation method as disclosed in any of the embodiments above.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The above description is only illustrative of the presently disclosed preferred embodiments and of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be made by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as the above-described features, are mutually replaced with the technical features having similar functions disclosed in the disclosure (but not limited to the disclosure).

Claims (10)

1. A method of billing comprising:
Responding to a bill generation instruction, and acquiring a billing period and a fee element of a bill to be generated, wherein the billing period and the fee element are included in the bill generation instruction;
Generating a target reconciliation page based on the respective first fee information and the respective second fee information; the first expense information is expense information which corresponds to the expense elements in the account period and meets preset bill generation conditions, and the second expense information is expense information which does not correspond to the expense elements in the account period and meets the bill generation conditions;
Responding to a deleting instruction of a user to the first expense information through the target account page, and deleting the first expense information corresponding to the deleting instruction;
Responding to an adding instruction of the user to the second expense information through the target account page, and taking the second expense information corresponding to the adding instruction as first expense information;
And responding to the checking completion instruction of the user, and generating a bill based on the current first expense information.
2. The method of claim 1, wherein generating the target reconciliation page based on the respective first fee information and the respective second fee information comprises:
Acquiring each expense information corresponding to the expense elements in the account period;
For each expense information corresponding to the expense elements in the account period, if the expense information is determined to meet the preset bill generation condition, determining the expense information as first expense information;
Generating an initial reconciliation page based on the respective first fee information; the initial reconciliation page comprises a fee increasing button;
And responding to a trigger instruction of a user for a fee increasing button in the initial reconciliation page, determining each fee information meeting the bill generation condition, which corresponds to the fee element and is not in the account period, as second fee information, and loading each second fee information into the initial reconciliation page to obtain a target reconciliation page.
3. The method of claim 2, wherein the billing task to which the first fee information pertains comprises a task status.
4. A method according to claim 3, wherein prior to generating the initial reconciliation page based on the respective first fee information, comprising:
setting the task state to a pause state;
before generating the bill based on the current first fee information, the method further comprises:
and setting the task state to an executing state.
5. The method of claim 2, wherein the determining that the fee information satisfies a preset bill generation condition comprises:
Judging whether the settlement state of the expense information is an outstanding state, judging whether the calculation state of the expense information is a calculated state, and judging whether the expense information is not used for bill generation;
And if the settlement state is an outstanding state, the calculation state is a calculated state and the expense information is not used for bill generation, determining that the expense information meets the preset bill generation condition.
6. The method of claim 1, wherein after deleting the first fee information corresponding to the deletion instruction, further comprising:
Setting a special identifier for the first expense information corresponding to the deleting instruction; the special identifier is used for identifying that the first expense information is not used for bill generation;
And storing the first expense information with the special identifier into an expense total resource pool.
7. A bill generating apparatus, comprising:
an obtaining unit, configured to obtain, in response to a bill generation instruction, a billing period and a fee element of a bill to be generated included in the bill generation instruction;
The first generation unit is used for generating a target reconciliation page based on the first expense information and the second expense information; the first expense information is expense information which corresponds to the expense elements in the account period and meets preset bill generation conditions, and the second expense information is expense information which does not correspond to the expense elements in the account period and meets the bill generation conditions;
a deleting unit, configured to delete first fee information corresponding to a deletion instruction of the first fee information in response to the deletion instruction of the first fee information by a user through the target account page;
An adding unit configured to respond to an adding instruction of the user to the second fee information through the target reconciliation page, and to use second fee information corresponding to the adding instruction as first fee information;
and the second generation unit is used for responding to the checking completion instruction of the user and generating a bill based on the current first fee information.
8. The apparatus according to claim 7, wherein the first generating unit is specifically configured to:
Acquiring each expense information corresponding to the expense elements in the account period;
For each expense information corresponding to the expense elements in the account period, if the expense information is determined to meet the preset bill generation condition, determining the expense information as first expense information;
Generating an initial reconciliation page based on the respective first fee information; the initial reconciliation page comprises a fee increasing button;
And responding to a trigger instruction of a user for a fee increasing button in the initial reconciliation page, determining each fee information meeting the bill generation condition, which corresponds to the fee element and is not in the account period, as second fee information, and loading each second fee information into the initial reconciliation page to obtain a target reconciliation page.
9. A storage medium storing a set of instructions, wherein the set of instructions when executed by a processor implement the bill generation method of any one of claims 1-6.
10. An electronic device, comprising:
a memory for storing at least one set of instructions;
A processor for executing a set of instructions stored in said memory, by which the bill generation method according to any one of claims 1-6 is implemented.
CN202310006448.3A 2023-01-04 Bill generation method and device, storage medium and electronic equipment Pending CN118297732A (en)

Publications (1)

Publication Number Publication Date
CN118297732A true CN118297732A (en) 2024-07-05

Family

ID=

Similar Documents

Publication Publication Date Title
CN105933372B (en) Task distributes execution method, server and terminal
US20030225989A1 (en) System for calculating billable time
CN111428945A (en) Business audit processing method and device and electronic equipment
CN111071094A (en) Charging method and device
CN113315160B (en) Load scheduling method, device, equipment and storage medium of energy storage equipment
CN112633959A (en) Mobile equipment management system, method and device and electronic equipment
CN118297732A (en) Bill generation method and device, storage medium and electronic equipment
CN111311213B (en) Online payment method and device for express batch mailing and electronic equipment
CN111784294A (en) Method, device, server and storage medium for determining prepaid luggage service
CN111127176A (en) Intelligent order arranging method based on leasing system
CN107945004B (en) Method and device for collecting accumulated fees
CN205751043U (en) There is fingerprint and the filling machine of recognition of face payment function
CN111626726A (en) Life payment method, device, equipment and storage medium
CN109035450A (en) Mobile sentry box implementation method, medium and device based on cloud platform
CN112561675B (en) Settlement method, settlement device, computer equipment and storage medium
CN112200396B (en) Resource transfer and allocation method and device
US11182767B1 (en) Systems and methods for managing payments using a communication device
CN111415263A (en) Data matching method and device
CN106920083B (en) Service implementation method, payment method and device
CN110457272A (en) Bill batch processing method and device
KR102142485B1 (en) Method, apparatus and computer readable recording medium for providing wake up call service based on caller voice
CN114493247A (en) Work task supporting method, device, equipment and storage medium
CN117273856A (en) Network about vehicle order processing method, device and storage medium
CN113781063A (en) User resource processing method and device
JP2011180661A (en) Money depositing machine and cash management system

Legal Events

Date Code Title Description
PB01 Publication