CN117217195A - Financial certificate generation method, device, equipment and storage medium - Google Patents

Financial certificate generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN117217195A
CN117217195A CN202311199322.9A CN202311199322A CN117217195A CN 117217195 A CN117217195 A CN 117217195A CN 202311199322 A CN202311199322 A CN 202311199322A CN 117217195 A CN117217195 A CN 117217195A
Authority
CN
China
Prior art keywords
financial
field
business
document
service
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
CN202311199322.9A
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.)
China Merchants Bank Co Ltd
Original Assignee
China Merchants Bank Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Merchants Bank Co Ltd filed Critical China Merchants Bank Co Ltd
Priority to CN202311199322.9A priority Critical patent/CN117217195A/en
Publication of CN117217195A publication Critical patent/CN117217195A/en
Pending legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for generating financial certificates, and belongs to the technical field of data processing. The financial document generation method comprises the steps of obtaining a business document and a preset data conversion template; based on the type of the service bill field, extracting corresponding service bill field information from the service bill; determining target result service data based on the service bill field information and the value logic formula; acquiring financial evidence field information based on the first mapping relation and the target result business data; and generating a target financial credential based on the financial credential field information. The invention improves the universality of the conversion from the business bill to the financial certificate when dealing with complex business.

Description

Financial certificate generation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a financial credential.
Background
For the conversion from business document to financial document, a set of data conversion template is preset in the related technical scheme to define the mapping relationship between the business document field and the financial document field, so as to obtain the financial document.
However, when a new service system is docked with the preset data conversion template, a great deal of research and development is required to be put into the configuration of the preset mapping relationship to meet the requirements, so that the service data docking and the financial evidence calculation conversion under the complex scene cannot be met. Therefore, the universality in the process of converting the business document into the financial document in the related art is low.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for generating financial vouchers, which aim to solve the technical problem of higher cost in the process of converting business vouchers into financial vouchers in the related technology.
In order to achieve the above object, the present invention provides a method for generating a financial document, the method for generating a financial document includes obtaining a business document and a preset data conversion template; the preset data conversion template comprises a first mapping relation between result service data and financial evidence fields; the result service data is the calculation result of a value logic formula formed by connecting and combining at least one service bill field through a preset keyword calculator and/or a preset logic keyword;
based on the type of the business document field, extracting corresponding business document field information from the business document;
determining target result service data based on the service bill field information and the value logic formula;
acquiring financial evidence field information based on the first mapping relation and the target result business data;
based on the financial credential field information, a target financial credential is generated.
Optionally, the business document includes a header field and a detail field; the value logic formula comprises a credential head formula and a credential body formula;
based on the type of the business document field, extracting the corresponding business document field information from the business document, including:
based on the type of the business document field in the credential header formula, extracting corresponding business document field information from the header field;
and extracting corresponding business document field information from the detail field based on the type of the business document field in the certificate body formula.
Optionally, the step of generating the target financial credential based on the financial credential field information includes:
combining the financial evidence field information with a financial evidence template to obtain financial evidence data;
and carrying out format check and lending balance check on the financial document data to obtain the target financial document.
Optionally, the step of extracting the corresponding service document field information from the service document based on the type of the service document field further includes:
extracting an original business document field from a business document;
and converting the original business document field into a corresponding business document field based on a second mapping relation between the original business document field and the business document field.
Optionally, the value logic formula is obtained by adjusting the existing value logic formula by the user based on the type of the business document.
Optionally, the service document includes at least one of an application range field, a receiving time point field and a locking time point field;
after the business bill and the preset data conversion template are acquired, the method further comprises the steps of:
judging whether the business document needs to calculate a financial document or not based on the application range field;
based on the receiving time point field, judging whether the business process node corresponding to the business document can allow the business document to calculate the financial document; and/or
Based on the locking time point field, judging whether the business process node corresponding to the business document needs to lock the calculation result of the financial document.
Optionally, the step of acquiring the business document includes:
acquiring a service data message corresponding to a service bill;
if the service data message has a multi-layer structure, converting the data of the multi-layer structure into service detail data through a recursion algorithm;
based on the type of the business document field, extracting the corresponding business document field information from the business document comprises the following steps:
and extracting corresponding business bill field information from the business detail data based on the type of the business bill field.
In addition, in order to achieve the above object, the present invention also provides a generation device of financial credentials, including:
the business bill acquisition module is used for acquiring business bills and a preset data conversion template; the preset data conversion template comprises a first mapping relation between result service data and financial evidence fields; the result service data is the calculation result of a value logic formula formed by connecting and combining at least one service bill field through a preset keyword calculator and/or a preset logic keyword;
the bill field information reading module is used for extracting corresponding business bill field information from the business bill based on the type of the business bill field;
the result service data generation module is used for determining target result service data based on the service bill field information and the value logic formula;
the voucher field information generating module is used for obtaining financial voucher field information based on the first mapping relation and the target result business data;
and the financial credential generation module is used for generating a target financial credential based on the financial credential field information.
In addition, to achieve the above object, the present invention also provides a financial credential generating apparatus, including: the system comprises a memory, a processor and a financial credential generation program stored on the memory and capable of running on the processor, wherein the financial credential generation program is configured to implement the steps of the financial credential generation method.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, on which a financial document generation program is stored, which when executed by a processor, implements the steps of the above-described financial document generation method.
The financial document generation method comprises the steps of obtaining a business document and a preset data conversion template; the preset data conversion template comprises a first mapping relation between result service data and financial evidence fields; the result service data is the calculation result of a value logic formula formed by connecting and combining at least one service bill field through a preset keyword calculator and/or a preset logic keyword; based on the type of the business document field, extracting corresponding business document field information from the business document; determining target result service data based on the service bill field information and the value logic formula; acquiring financial evidence field information based on the first mapping relation and the target result business data; based on the financial credential field information, a target financial credential is generated.
Therefore, the value logic formula is introduced into the preset data conversion template, the service receipt field is logically calculated by using the value logic formula to obtain the result service data, and the financial evidence field is obtained by using the first mapping relation, so that the conversion from a plurality of service receipt fields to evidence fields is realized, the conversion from the service receipt to the financial evidence in a complex scene is satisfied, and the universality of the conversion from the service receipt to the financial evidence is further improved.
Drawings
FIG. 1 is a schematic diagram of a device for generating financial credentials for a hardware operating environment in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of a method for generating financial credentials according to the present invention;
FIG. 3 is a flow chart of a second embodiment of the method for generating financial credentials of the present invention;
FIG. 4 is a flow chart of a third embodiment of a method of generating financial credentials of the present invention;
FIG. 5 is a schematic diagram of functional modules of a first embodiment of a method for generating financial credentials according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a device structure for generating financial credentials of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the generation apparatus of the financial document may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the structure shown in FIG. 1 does not constitute a limitation of the generation apparatus of the financial instrument, and may include more or fewer components than illustrated, or may combine certain components, or may be a different arrangement of components.
As shown in fig. 1, an operating system, a data storage module, a network communication module, a user interface module, and a generation program of financial credentials may be included in a memory 1005 as one type of computer-readable storage medium.
In the generation device of the financial credentials shown in fig. 1, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the financial document generation apparatus of the present invention may be provided in the financial document generation apparatus, and the financial document generation apparatus calls the financial document generation program stored in the memory 1005 through the processor 1001 and executes the financial document generation method provided by the embodiment of the present invention.
An embodiment of the present invention provides a method for generating a financial document, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a method for generating a financial document according to the present invention.
In this embodiment, the method for generating the financial document includes:
step S100: and acquiring the business bill and a preset data conversion template.
The preset data conversion template comprises a first mapping relation between result service data and financial evidence fields; the result service data is the calculation result of a value logic formula formed by connecting and combining at least one service bill field through a preset keyword calculator and/or a preset logic keyword.
Specifically, a business document refers to a document or paper form that is traded, flow approved or recorded within an enterprise or organization, which records important information in various business activities. In a particular scenario, the business document may be any one or more of a sales order, a purchase order, and a reimbursement order. And the financial instrument may be an important accounting document or billing instrument for recording and certifying the occurrence and completion of the financial transaction.
The preset data conversion template is a structured template which is configured in advance and used for defining data conversion rules and operations, and describes a process of converting source data into target data. In a specific application process, the preset data conversion template may include field mapping, data type conversion, data calculation, and/or data conversion modes such as conditional logic.
In this embodiment, a first mapping relationship between the result service data and the financial credential field is configured in the preset data conversion template. The result business data can be efficiently converted into the financial credential field by the first preset mapping rule in the first mapping relationship. The result service data is the calculation result of a plurality of groups of value logic formulas, and the value logic formulas are formed by connecting and combining a plurality of service bill fields through preset key word calculators and/or preset logic key words according to preset connection rules. Wherein, the preset keyword calculator may include: the predetermined logical key may include one or more of if-else and/or/not (and/or not) of one or more of arithmetic operators (add, subtract, multiply, divide, modulo) and relational operators (for comparing magnitude relationships of two values).
For example: the business document field comprises fields of A, B, C, D and the like, the configured value logic formula is (A+B) OR (C.times.D), the result business data is the calculation result of (A+B) OR (C.times.D), and the calculation result is mapped with the financial document field M. It can be understood that after the specific field information of a and B OR C and D is obtained, the specific field information of M can be obtained according to the value logic formula (a+b) OR (c×d) and the mapping relationship, thereby realizing the conversion from A, B, C and D to M.
In addition, the value logic formula is obtained by adjusting the existing value logic formula by a user based on the type of the business document.
Specifically, when coping with new service data or service documents, a user can properly adjust the combination connection relation of the service document fields in the value logic formula according to new multiple service document types to obtain a new value logic formula so as to meet the conversion requirements of multiple service documents.
Therefore, the adaptation of the same preset data conversion template to various business documents is realized by simply adjusting the value logic formula. And repeated coding in the process of independent mapping setting for each business bill type is avoided, and simultaneously, the requirement of a user on repeated iteration of a mapping rule is met. And furthermore, a service system docking scene can be completed through simple script configuration and a small amount of codes, so that zero research and development investment in the process of user-defined configuration for different service scenes is realized.
In addition, circulation control logic such as while/do-while, for and/or break/continuous and the like can be introduced into the value logic formula, so that repeated calculation, data screening and circulation nesting under complex business logic and data operation scenes can be realized.
For example, an accumulation calculation is performed on a certain field until a certain condition is satisfied or a certain number of times is reached. The data set is traversed using a while loop, and the required data is screened out according to specific conditions. Or, the processing of multi-layer loop nesting is realized by using loop control logic to process complex business logic.
Step S500: and extracting corresponding business document field information from the business document based on the type of the business document field.
Specifically, after the service receipt and the preset data conversion template are acquired, in order to obtain specific field information of the credential field, field information of the service receipt field needs to be extracted from the service receipt. In the extraction process, the field information corresponding to the business document field is required to be extracted according to the type of the business document field contained in the value logic formula.
For example: the value logic formula is (A+B) ×C-D, wherein the included fields are A, B, C and D, and the field information of A, B, C and D needs to be extracted from the business document.
Further, the step S500 specifically includes:
step S510: based on the type of the business document field in the credential header formula, the corresponding business document field information is extracted from the header field.
Step S520: and extracting corresponding business document field information from the detail field based on the type of the business document field in the certificate body formula.
Specifically, in the implementation process, the business document field related to the conversion includes a header field and a detail field. The header field may be top-level information in the business document, and is used to describe basic attributes and context information of the whole business document. It contains data related to the whole business document, such as document number, date, sponsor, audit status, etc. The header field provides information summarizing and identifying the entire business document to facilitate management and tracking of the business document.
The detail field may be specific entry or line item information in the business document, and is used to describe each specific transaction or item in the document. It contains detailed data for each entry in the business document, such as item name, quantity, unit price, discount, etc. The detail field provides a detailed description and record of a specific item in the document.
The value logic formula comprises a credential head formula and a credential body formula. In the process of extracting the field information of the business document, the field information is extracted from the corresponding header field in the business document according to the type of the header field contained in the credential header formula, and the field information is extracted from the corresponding detail field in the business document according to the type of the detail field contained in the credential body formula.
Further, the step S500 specifically further includes:
step S530: extracting an original business document field from the business document.
Step S540: and converting the original business document field into a corresponding business document field based on a second mapping relation between the original business document field and the business document field.
Specifically, in some complex scenarios, only the original business document field can be obtained from the business document, but the original business document field cannot be directly converted, so that the original business document field needs to be converted into the corresponding business document field first.
In the specific implementation process, a mapping table calling function can be preset in a value logic formula, and the preset mapping table is called to convert an original business document field into a corresponding business document field. The preset mapping table comprises a second mapping relation between the original business document field and the business document field, the second mapping relation comprises a second preset mapping rule from the original business document field to the business document field, and the fields in the original business document can be converted into corresponding business document fields according to the second preset mapping rule.
And the preset mapping table dynamically maps according to the original business document field. Specifically, in the process of converting the original business document field into the corresponding business document field, the corresponding business document field is searched from the mapping table according to the original business document field value on the business document as input. And determining a mapping rule for conversion by comparing the field value of the original business document with the conditions defined in a preset mapping table.
Step S600: and determining the target result service data based on the service bill field information and the value logic formula.
Specifically, after the service bill field information is extracted from the service bill, the service bill field information is substituted into the corresponding service bill field in the value logic formula, and the target result service data is determined through calculation.
In the specific implementation process, a calling mode can be preset in a preset data conversion template, and a calculation engine is called to analyze and calculate a value logic formula. The calculation engine may be any one of QLExpress (Java-based lightweight expression parser engine) and JEP (Java Expression Parser, java-based expression parser library).
Step S700: and obtaining the financial credential field information based on the first mapping relation and the target result business data.
Specifically, after the target result service data is determined, the financial credential field information is determined according to a first mapping rule in the first mapping relation.
Step S800: based on the financial credential field information, a target financial credential is generated.
Specifically, after all the financial evidence field information is determined, the financial evidence field information is combined according to a preset combination mode to obtain the target financial evidence.
Further, step S800 specifically includes:
step S810: and acquiring a financial document template.
Step S820: and combining the financial evidence field information with the financial evidence template to obtain financial evidence data.
Step S830: and carrying out format check and lending balance check on the financial document data to obtain the target financial document.
It will be appreciated that in general, the financial instrument will have a unified financial instrument template. The financial document template provides a standardized format and structure that ensures consistency and standardization of the financial document. After all the financial document field information is determined, the financial document field information can be combined to obtain corresponding financial document data according to a financial document template.
In addition, in order to ensure accuracy and compliance of the financial document, it is necessary to perform a format check and a lending balance check on the obtained financial document data. The format check is used for checking whether the financial document data meets the specified format and field requirements, and the lending balance check is a check for ensuring balance between the amount of lender and the amount of lender on each financial document, namely, the total amount of lender is equal to the total amount of lender.
In the specific implementation process, a preset voucher data checker can be called, format check and loan balance check are performed on the obtained financial voucher data, and a target financial voucher is obtained after the check is completed.
In this embodiment, the method for generating the financial document includes acquiring a business document and a preset data conversion template; the preset data conversion template comprises a first mapping relation between result service data and financial evidence fields; the result service data is the calculation result of a value logic formula formed by connecting and combining at least one service bill field through a preset keyword calculator and/or a preset logic keyword; based on the type of the business document field, extracting corresponding business document field information from the business document; determining target result service data based on the service bill field information and the value logic formula; acquiring financial evidence field information based on the first mapping relation and the target result business data; based on the financial credential field information, a target financial credential is generated.
Therefore, the value logic formula is introduced into the preset data conversion template, and is simply adjusted according to different service bill types, so that the preset data conversion template can be applied to different service bill types to realize the conversion from the service bill to the financial certificate, and the universality of the conversion from the service bill to the financial certificate when the complex service is handled and the new service is docked is improved.
Further, a second embodiment is proposed based on the first embodiment, referring to fig. 3, fig. 3 is a flow chart of a second embodiment of a method for generating a financial document according to the present invention. In the second embodiment, the step S100 specifically includes:
step S110: and acquiring a service data message corresponding to the service bill and a preset data conversion template.
Step S120: if the service data message has a multi-layer structure, converting the data of the multi-layer structure into service detail data through a recursion algorithm.
At this time, step S500 specifically includes:
and extracting corresponding business bill field information from the business detail data based on the type of the business bill field.
Specifically, in order to realize data exchange and cooperative processing between different systems and improve consistency, accuracy and safety of data, service documents are generally transmitted in the form of service data messages. Therefore, in the process of acquiring the service bill, the service data message corresponding to the service bill needs to be acquired first, then the service data message is analyzed and converted into service detail data, and the field information of the service bill is extracted from the service detail data.
It will be appreciated that in the acquired service data messages there may be a multi-level structure, such as a tree structure or a nested structure. The service data message is processed through a recursion algorithm, the hierarchical structures can be traversed and analyzed, each hierarchy is sequentially processed through recursion calling, and detail data of each hierarchy is obtained.
Specifically, a recursive function or method for processing a tree structure or a nested structure of service data messages needs to be defined first. And accessing the child node of the current node or the nested structure of the next level in the service data message by a recursion function or method, and decomposing the original problem into smaller similar child problems. And then calling the self to process the sub-problem, obtaining the result of the sub-problem, and merging the result of the sub-problem to obtain the solution of the original problem. Finally, the final result is returned.
Therefore, the service bill field information is directly extracted from the service detail data, and the situation that the service bill field information is extracted after the service detail data are converted into the service bill is avoided. The execution efficiency of the butt joint business data in the process of converting the business bill into the financial certificate is improved to a certain extent.
Further, a third embodiment is proposed based on the first embodiment, referring to fig. 4, fig. 4 is a schematic flow chart of a third embodiment of a method for generating a financial document according to the present invention. In a third embodiment, after step S100, at least one of the following steps is further included:
step S200: judging whether the business document needs to calculate a financial document or not based on the application range field;
step S300: based on the receiving time point field, judging whether the business process node corresponding to the business document can allow the business document to calculate the financial document;
step S400: based on the locking time point field, judging whether the business process node corresponding to the business document needs to lock the calculation result of the financial document.
It will be appreciated that not all business documents require calculation of financial credentials. In order to screen out the business document requiring financial document calculation, in a specific implementation process, a corresponding judging mechanism may be set in a preset data conversion template, and specific fields in the business document are used as judging conditions, where the judging conditions may include an application range field, a receiving time point field and/or a locking time point field.
The application scope field may be any field satisfying the filtering requirement, and determines whether to generate a financial credential, such as an amount field, a subject code field, a status field, and the like, according to the value of the application scope field.
Taking a purchase order as an example, assume that there is a business document of the purchase order, which includes the following fields: order number, vendor name, order amount, and payment status. It is now necessary to screen out business documents from these fields that require financial document calculations.
First, screening is performed according to the amount field, an amount threshold may be set, and when the amount of the order exceeds or equals to the threshold, credential calculation is required, otherwise, no calculation is performed. For example, the threshold is set to 1000 yuan, and if the order amount is 1500 yuan, the condition of calculating the voucher is satisfied.
Second, screening is based on the payment status, if the payment status is paid, then it is indicated that the order has been subjected to financial processing and that the financial instrument has been generated, then it is not necessary to calculate the financial instrument again. And when the payment state is unpaid, performing credential calculation.
By combining the two conditions, the business document meeting the condition of calculating the certificate can be screened out through judging the sum field and the payment state field. In this example, the voucher calculation is only required when the order amount is 1000 yuan or more and the payment status is unpaid.
The receiving time point field and the locking time point field are fields of the business document, which can reflect business process nodes corresponding to the business document, so that whether the business document needs to be subjected to credential calculation and/or the calculation result of the financial credential is locked according to the corresponding business process nodes.
It will be appreciated that in some business processes, financial processing may be required at a particular node, such as after approval, before payment, after warehousing, etc., where the corresponding credentials are generated. In addition, in some cases, to prevent the credential result from being mishandled or modified, the corresponding node may need to lock the credential result.
For example: assume that there is a purchasing business process, including the following nodes: purchase application, purchase approval, purchase order, receiving and warehousing, and financial payment. It is now necessary to determine from these nodes whether credential calculations are required.
First, at this node of receiving and warehousing, a corresponding receipt voucher needs to be generated. This voucher includes two subjects of inventory orders and accounts payables to which the corresponding amounts need to be entered.
Second, at the financial payment node, a payment voucher needs to be generated. This voucher includes two subjects, accounts payable and bank deposit, to which the corresponding amount is to be entered.
By integrating the two nodes, the business document needing to be subjected to credential calculation can be determined. In this scenario, when the business document passes the receiving and warehousing node and the financial payment node, a corresponding voucher needs to be generated and/or a corresponding voucher calculation result needs to be locked.
Therefore, by setting the application range field, the receiving time point field, the locking time point field and other judging conditions, the financial certificate calculating function can be selectively applied according to the service requirement, so that the efficiency and the accuracy are improved. Meanwhile, the opportunity of calculating the financial document is ensured to meet the requirement of the business process. In addition, accidental altering or deleting operations can be avoided, and the integrity and consistency of the financial certificates are ensured.
Further, in order to achieve the above object, the present invention further provides a financial credential generating device, where the financial credential generating device may include:
the business bill acquisition module is used for acquiring business bills and a preset data conversion template; the preset data conversion template comprises a first mapping relation between result service data and financial evidence fields; the result service data is the calculation result of a value logic formula formed by connecting and combining at least one service bill field through a preset keyword calculator and/or a preset logic keyword;
the bill field information reading module is used for extracting corresponding business bill field information from the business bill based on the type of the business bill field;
the result service data generation module is used for determining target result service data based on the service bill field information and the value logic formula;
the voucher field information generating module is used for obtaining financial voucher field information based on the first mapping relation and the target result business data;
and the financial credential generation module is used for generating a target financial credential based on the financial credential field information.
It should be noted that, the functions that can be achieved by each module in the generation device of the financial document and the corresponding achieved technical effects provided in this embodiment may refer to descriptions of specific implementations in each embodiment of the generation method of the financial document of the present invention, and for brevity of description, details are not repeated here.
In addition, the embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium is stored with a generation program of the financial certificate, and the generation program of the financial certificate realizes the steps of wiping the farmer comparison method across the network when being executed by a processor. Therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer-readable storage medium according to the present invention, please refer to the description of the method embodiments of the present invention. As an example, the program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the statement "a method of generating comprising one financial instrument" does not exclude that an additional identical element is present in a process, method, article or system comprising the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a computer readable storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A method of generating a financial document, the method comprising the steps of:
acquiring a business bill and a preset data conversion template; the preset data conversion template comprises a first mapping relation between result business data and financial evidence fields; the result service data is the calculation result of a value logic formula formed by connecting and combining at least one service bill field through a preset keyword calculator and/or a preset logic keyword;
based on the type of the service bill field, extracting corresponding service bill field information from the service bill;
determining target result service data based on the service bill field information and the value logic formula;
acquiring financial evidence field information based on the first mapping relation and the target result business data;
and generating a target financial credential based on the financial credential field information.
2. A method of generating financial credentials as claimed in claim 1, in which the business document comprises a header field and a detail field; the value logic formula comprises a credential head formula and a credential body formula;
the step of extracting the corresponding business document field information from the business document based on the type of the business document field comprises the following steps:
based on the type of the business document field in the credential header formula, extracting corresponding business document field information from the header field;
and extracting corresponding business document field information from the detail field based on the type of the business document field in the certificate body formula.
3. A method of generating financial credentials as recited in claim 1, wherein the step of generating the target financial credentials based on the financial credentials field information comprises:
combining the financial evidence field information with a financial evidence template to obtain financial evidence data;
and carrying out format check and lending balance check on the financial document data to obtain the target financial document.
4. The method of generating financial instrument according to claim 1, wherein the step of extracting corresponding business document field information from the business document based on the type of the business document field further comprises:
extracting an original business document field from the business document;
and converting the original business document field into a corresponding business document field based on a second mapping relation between the original business document field and the business document field.
5. The method of claim 1, wherein the value logic formula is obtained by a user adjusting an existing value logic formula based on the type of the business document.
6. The method of claim 1, wherein the business document includes at least one of an application range field, a reception time point field, and a locking time point field;
after the service bill and the preset data conversion template are acquired, the method further comprises the following steps:
judging whether the business document needs to calculate a financial voucher or not based on the application range field;
based on the receiving time point field, judging whether the business process node corresponding to the business bill can allow the business bill to calculate financial certificates or not; and/or
And judging whether the business process node corresponding to the business document needs to lock the calculation result of the financial document or not based on the locking time point field.
7. A method of generating financial credentials as claimed in any of claims 1 to 6, in which the step of obtaining business documents comprises:
acquiring a service data message corresponding to the service bill;
if the service data message has a multi-layer structure, converting the data of the multi-layer structure into service detail data through a recursion algorithm;
the extracting the corresponding business document field information from the business document based on the type of the business document field comprises the following steps:
and extracting corresponding business bill field information from the business detail data based on the type of the business bill field.
8. A financial instrument generation apparatus, the apparatus comprising:
the business bill acquisition module is used for acquiring business bills and a preset data conversion template; the preset data conversion template comprises a first mapping relation between result business data and financial evidence fields; the result service data is the calculation result of a value logic formula formed by connecting and combining at least one service bill field through a preset keyword calculator and/or a preset logic keyword;
the receipt field information reading module is used for extracting corresponding service receipt field information from the service receipt based on the type of the service receipt field;
the result service data generation module is used for determining target result service data based on the service bill field information and the value logic formula;
the credential field information generation module is used for obtaining financial credential field information based on the first mapping relation and the target result business data;
and the financial credential generation module is used for generating a target financial credential based on the financial credential field information.
9. A financial instrument generation apparatus, the apparatus comprising: memory, a processor and a generation program of financial credentials stored on the memory and executable on the processor, the generation program of financial credentials configured to implement the steps of the generation method of financial credentials as claimed in any of claims 1 to 7.
10. A computer-readable storage medium, wherein a generation program of financial credentials is stored on the computer-readable storage medium, which when executed by a processor, implements the steps of the generation method of financial credentials of any of claims 1 to 7.
CN202311199322.9A 2023-09-15 2023-09-15 Financial certificate generation method, device, equipment and storage medium Pending CN117217195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311199322.9A CN117217195A (en) 2023-09-15 2023-09-15 Financial certificate generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311199322.9A CN117217195A (en) 2023-09-15 2023-09-15 Financial certificate generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117217195A true CN117217195A (en) 2023-12-12

Family

ID=89050632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311199322.9A Pending CN117217195A (en) 2023-09-15 2023-09-15 Financial certificate generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117217195A (en)

Similar Documents

Publication Publication Date Title
Cont et al. Recovering portfolio default intensities implied by CDO quotes
Bartl et al. Computational aspects of robust optimized certainty equivalents and option pricing
US10540375B2 (en) Systems and methods for self-pairing databases
US7958026B2 (en) Hierarchical transaction filtering
US20020046053A1 (en) Web based risk management system and method
US20110238566A1 (en) System and methods for determining and reporting risk associated with financial instruments
US11227333B2 (en) Using automated data validation in loan origination to evaluate credit worthiness and data reliability
US20210065304A1 (en) Contract automation with blockchain based interaction and recording
CN112330181A (en) Enterprise credit evaluation method and device based on block chain
US20080270312A1 (en) Taxonomy extension generation and management
CN113205402A (en) Account checking method and device, electronic equipment and computer readable medium
Jin et al. Arrow–Debreu equilibria for rank‐dependent utilities with heterogeneous probability weighting
CN110991992B (en) Processing method and device of business process information, storage medium and electronic equipment
Schroder et al. Optimality and state pricing in constrained financial markets with recursive utility under continuous and discontinuous information
CN111367776A (en) Recording method, device, equipment and storage medium of resource transfer service
CN113034275A (en) Management system and method based on block chain network and terminal equipment
CN115841395A (en) Method and system for generating accounting entry data and related equipment
CN117217195A (en) Financial certificate generation method, device, equipment and storage medium
JP2001222656A (en) System, device, method for financial affair management, and recording medium
CN105144213A (en) Accounting for contract formation and fulfillment activities
CN114091109A (en) Cross-border e-commerce platform data verification method, system, terminal and storage medium
CN109614607B (en) Report data processing method, device, computer equipment and storage medium
CN111209337A (en) Financial report generation system, method, device, equipment and medium based on block chain
CN114240610B (en) Automatic fund collection method, device, computer equipment and storage medium
US20230042992A1 (en) Disbursement authorization data object processing system utilizing real-time status data and authentication keys

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination