Invoicing method, computing device and computer readable storage medium

By automating the acquisition and processing of document information and generating invoicing applications and invoices, the problem of low invoicing efficiency and accuracy caused by differences in laws and regulations is solved, an efficient and accurate invoicing process is achieved, and the user experience is improved.

CN118608221APending Publication Date: 2024-09-06ZHONGKE YUNGU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410862465.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Due to differences in laws and regulations, existing invoicing methods vary in invoicing types and methods across countries, resulting in low invoicing efficiency and accuracy in financial management. In addition, untimely information transmission or personnel changes can easily lead to untimely, missed, or missing invoicing.

Method used

By obtaining the target document information, searching the preset configuration table to determine the invoicing configuration information, generating an invoicing application form, and generating invoices based on the templates in the invoicing template library, the automated invoicing process is realized and manual recording and statistics are reduced by financial personnel.

Benefits of technology

It improves the efficiency and accuracy of invoicing, processes documents requiring invoicing in a timely manner, improves user experience, and reduces communication costs and manual entry errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608221A
    Figure CN118608221A
Patent Text Reader

Abstract

The invention discloses an invoicing method, computing equipment and a computer readable storage medium. The method comprises the following steps: acquiring receipt information corresponding to a target receipt; searching a preset configuration table according to the document information, and determining invoicing configuration information matched with the target document; when it is determined that push invoicing needs to be performed on the target document based on the invoicing configuration information, executing a preset invoicing application operation to generate an invoicing application form for the target document; determining a target invoicing template from a preset invoicing template library according to the information of the invoicing application form; and determining the value of each invoicing field in the target invoicing template based on the receipt information and the information of the invoicing application form, so as to generate a corresponding invoice. Therefore, the invoicing efficiency and accuracy can be improved, and the user experience is improved at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of invoice technology, and in particular to an invoicing method, a computing device and a computer-readable storage medium. Background Art

[0002] Due to the different laws and regulations of different countries, the types and methods of invoicing are also different in each country. How to manage the invoicing of different countries has always been the focus of financial management. The existing invoicing method usually requires sales staff to frequently communicate with financial personnel through telephone, text messages, emails, etc., and the local accountants manually record and count. If the information is not transmitted in time or the personnel change, it is easy to cause untimely invoicing, missed invoicing, insufficient invoicing, etc., affecting the efficiency and accuracy of invoicing. Summary of the invention

[0003] The purpose of this application is to provide an invoicing method, device, system and computer-readable storage medium, which can improve the efficiency and accuracy of invoicing while enhancing the user experience.

[0004] To achieve the above objectives:

[0005] In a first aspect, an embodiment of the present application provides a method for issuing invoices, the method comprising:

[0006] Get the document information corresponding to the target document;

[0007] Searching a preset configuration table according to the document information to determine the invoicing configuration information matching the target document;

[0008] When it is determined based on the invoicing configuration information that the target document needs to be invoiced, a preset invoicing application operation is executed to generate an invoicing application form for the target document;

[0009] Determining a target invoicing template from a preset invoicing template library according to the information of the invoicing application form;

[0010] The values ​​of each invoicing field in the target invoicing template are determined based on the document information and the information of the invoicing application form to generate a corresponding invoice.

[0011] Optionally, the document information includes the country, company, document source, document type, and contract business type corresponding to the target document.

[0012] Optionally, the document information further includes a billing business type corresponding to the target document; and obtaining the document information corresponding to the target document includes:

[0013] The correspondence between the preset document type and the invoicing business type is queried according to the document type to determine the invoicing business type corresponding to the target document.

[0014] Optionally, searching a preset configuration table according to the document information to determine the invoicing configuration information matching the target document includes:

[0015] Searching a preset configuration table according to the document information to detect whether there is configuration information matching the document information in the preset configuration table;

[0016] If so, based on the configuration information matching the document information, the invoicing configuration information matching the target document is determined.

[0017] Optionally, the document information further includes a contract number and a document number corresponding to the target document, and the invoicing configuration information includes an invoicing business subtype; when it is determined based on the invoicing business subtype that the target document needs to be pushed for invoicing, a preset invoicing application operation is performed to generate an invoicing application form for the target document, including:

[0018] When it is determined based on the invoicing business subtype that the target document needs to be invoiced, an invoicing application request is written to a preset invoicing pool so that the preset invoicing pool generates a target document number; the invoicing application request includes the contract number and the document number;

[0019] Sending an invoicing approval application to a preset approval node, wherein the invoicing approval application includes the target document number, the contract number, and the document number;

[0020] In response to the editing operation on the invoicing approval application, the invoicing data corresponding to the product in the target document is pulled based on the contract number and the document number, and an invoicing application form for the target document is generated according to the invoicing data and the target document number.

[0021] Optionally, determining a target invoicing template from a preset invoicing template library according to the information of the invoicing application form includes:

[0022] Matching the information of the invoicing application form with a preset invoicing template library to determine a target invoicing template code; the preset invoicing template library includes a plurality of invoicing template codes;

[0023] The corresponding template requirements are determined according to the target invoicing template code, and the target invoicing template is generated based on the template requirements.

[0024] Optionally, determining the value of each invoicing field in the target invoicing template based on the document information and the information of the invoicing application form, and generating a corresponding invoice includes:

[0025] Based on the document information, the information of the invoicing application form and the value logic corresponding to each invoicing field in the target invoicing template, the value of each invoicing field in the target invoicing template is determined, and an invoice corresponding to the target document is generated.

[0026] Optionally, the invoicing configuration information includes a push mode; and the method further includes:

[0027] The invoice is pushed to an enterprise resource planning system based on the pushing method.

[0028] In a second aspect, an embodiment of the present application provides a computing device, comprising: a processor and a memory storing a computer program, and when the processor runs the computer program, the above-mentioned invoicing method is implemented.

[0029] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the above-mentioned invoicing method is implemented.

[0030] The invoicing method, computing device and computer-readable storage medium provided in the embodiment of the present application include: obtaining the document information corresponding to the target document; searching the preset configuration table according to the document information to determine the invoicing configuration information that matches the target document; when it is determined based on the invoicing configuration information that the target document needs to be pushed for invoicing, executing the preset invoicing application operation to generate an invoicing application form for the target document; determining the target invoicing template from the preset invoicing template library according to the information of the invoicing application form; determining the value of each invoicing field in the target invoicing template based on the document information and the information of the invoicing application form to generate the corresponding invoice. In this way, the preset configuration table is searched through the document information corresponding to the target document to determine the invoicing configuration information that matches the target document, and the preset invoicing application operation is executed based on the invoicing configuration information, thereby obtaining the invoice corresponding to the target document, without the need for manual recording and statistics by financial personnel, and the necessary documents can be invoiced in a timely manner, thereby improving the efficiency and accuracy of invoicing, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of a process of issuing invoices provided by an embodiment of the present invention;

[0032] Figure 2 A schematic diagram of the process of identifying and pushing invoice types in an embodiment of the present invention;

[0033] Figure 3 A schematic diagram of the process of automatic invoice generation in an embodiment of the present invention;

[0034] Figure 4A schematic diagram of the process of automatically identifying and generating an invoicing template in an embodiment of the present invention;

[0035] Figure 5 A schematic diagram of the structure of a computing device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0036] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0037] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0038] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.

[0039] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0040] It should be noted that, in this article, step codes such as S101, S102, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S102 first and then S101, etc., but these should all be within the scope of protection of this application.

[0041] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0043] See also Figure 1 , is an invoicing method provided in an embodiment of the present application. The invoicing method can be executed by an invoicing device provided in an embodiment of the present application. The invoicing device can be implemented in software and / or hardware. In this embodiment, the execution subject of the invoicing method is a computing device such as a computer or a server. The invoicing method provided in this embodiment includes:

[0044] Step S101: Obtain document information corresponding to the target document.

[0045] Optionally, the target document may be any document, and its type may include a payment notice, a shipping application, a shipping order, a paid service order, and a sales receipt, etc. For the target document, it may include a variety of document information, and the document information corresponding to the target document may be obtained from the target document itself, or may be obtained from the outside based on the target document. In one embodiment, the document information includes the country, company, document source, document type, contract business type, contract number, and document number corresponding to the target document. Among them, the country corresponding to the target document may be the country where the target document is generated. For example, taking the target document as a payment notice, if the payment notice is generated after the customer in country A pays, the country corresponding to the payment notice is country A. The company corresponding to the target document may be a subsidiary of the target document, that is, a subsidiary that generates the target document, etc. The document source corresponding to the target document may include a host and accessories, etc. The document type corresponding to the target document may include a payment notice, a shipping application, a shipping order, a paid service order, and a sales receipt, etc. The contract business types corresponding to the target document include the host business type and the service parts business type, among which the host business type may specifically include the parent company's export business, subsidiary's local business, subsidiary's export business, subsidiary's distribution business and other types, and the service parts business type may specifically include the parent company's export sales, parent company's export distribution sales, subsidiary's export sales, subsidiary's export distribution sales and other types, which are not specifically limited here. The contract number corresponding to the target document refers to the number corresponding to the contract associated with the target document. For example, if the target document is generated based on contract a, then the contract number corresponding to the target document is the number of contract a. The document number corresponding to the target document refers to the unique number of the target document itself, to distinguish it from other documents.

[0046] It should be noted that the information of each document may be specifically embodied in the form of a code or the like. For example, for country A, the corresponding code may be set to 1; for country B, the corresponding code may be set to 2, and so on.

[0047] In one implementation, the document information further includes the invoicing business type corresponding to the target document; acquiring the document information corresponding to the target document includes:

[0048] Query the correspondence between the preset document type and the invoicing business type according to the document type, and determine the invoicing business type corresponding to the target document.

[0049] Among them, the invoicing business type corresponding to the target document refers to the type of invoicing for the target document, which can be any of the following: down payment invoicing, normal invoicing, and advance invoicing, etc. It is not directly included in the information of the target document itself, but needs to be obtained through query. After determining the document type corresponding to the target document, the correspondence between the preset document type and the invoicing business type can be queried to determine the invoicing business type corresponding to the target document. Here, different document types can correspond to the same or different invoicing business types. For example, for a collection notice, the corresponding invoicing business type can be down payment invoicing; for a delivery application, a paid service form, and a sales receipt, the corresponding invoicing business type can be normal invoicing. In this way, the invoicing business type corresponding to the target document can be accurately determined, further improving the efficiency and accuracy of invoicing.

[0050] Step S102: Search the preset configuration table according to the document information to determine the invoicing configuration information that matches the target document.

[0051] Among them, the preset configuration table stores the configuration information corresponding to the documents that need to be pushed for invoicing, and only the target documents whose document information meets the corresponding configuration information will be pushed for invoicing. Each configuration information may include information such as country, company, document source, invoicing business type, invoicing business subtype, contract business type, invoicing method and push method. At the same time, the invoicing configuration information may be part of the configuration information in the preset configuration table, such as invoicing business subtype, push method, etc. The invoicing business subtype is used to indicate the time point for pushing invoicing, which may specifically include push at the time of delivery, push at the time of receipt, push at the time of non-receipt, etc. The invoicing method includes format invoice export, direct connection of machine-printed invoice, direct connection of electronic invoice, etc. The push method refers to the specific method of pushing invoices to the enterprise resource planning system, such as normal push, scheduled push, etc. Here, the invoicing configuration information can be used to indicate the time point, push method, etc. for pushing invoicing for the target document, which may specifically include invoicing business subtype, push method, etc.

[0052] In one embodiment, searching a preset configuration table according to the document information to determine the invoicing configuration information matching the target document includes:

[0053] Search the preset configuration table according to the document information to detect whether there is configuration information matching the document information in the preset configuration table;

[0054] If so, based on the configuration information that matches the document information, the invoicing configuration information that matches the target document is determined.

[0055] It can be understood that, based on actual needs, only part of the documents may need to be invoiced, while other documents do not need to be invoiced. For example, for documents whose contract business type is the distribution business of a subsidiary, it may not be necessary to invoice. Therefore, the preset configuration table can be searched first according to the document information to detect whether there is configuration information matching the document information in the preset configuration table, that is, to determine whether it is necessary to push invoice for the target document. If there is configuration information matching the document information, it means that it is necessary to push invoice for the target document. Based on the configuration information matching the document information, the invoicing configuration information matching the target document is determined. Among them, the configuration information may include information such as country, company, document source, invoicing business type, invoicing business subtype, invoicing method, contract business type, and push method. Here, the invoicing configuration information at least includes the invoicing business subtype, and may also include information such as the push method. In this way, it is possible to accurately determine whether it is necessary to push invoice for the target document, and when it is necessary to push invoice for the target document, quickly and accurately determine the invoicing configuration information matching the target document, further improving the invoicing efficiency.

[0056] Step S103: when it is determined based on the invoicing configuration information that the target document needs to be invoiced, a preset invoicing application operation is executed to generate an invoicing application form for the target document.

[0057] Among them, based on the invoicing configuration information, it is determined that the target document needs to be pushed for invoicing, which can be detected that the invoicing business subtype matches the document type corresponding to the target document or that the product status corresponding to the target document meets the preset conditions between the invoicing business subtype, etc. For example, assuming that the document type corresponding to the target document is a sales receipt, and the invoicing business subtype is receipt, it can be considered that the invoicing business subtype matches the document type corresponding to the target document. For another example, assuming that the document type corresponding to the target document is a delivery application form, and the invoicing business subtype is outbound, when it is detected that the product corresponding to the target document is outbound, it is considered that the target document needs to be pushed for invoicing.

[0058] Here, the preset invoicing application operation can be set according to actual needs, including pushing invoicing application requests, sending invoicing approval applications, etc.

[0059] In one embodiment, when the document information includes a contract number and a document number corresponding to a target document, and the invoicing configuration information includes an invoicing business subtype, when it is determined based on the invoicing business subtype that the target document needs to be pushed for invoicing, a preset invoicing application operation is performed to generate an invoicing application form for the target document, including:

[0060] When it is determined that the target document needs to be invoiced based on the invoicing business subtype, an invoicing application request is written to the preset invoicing pool so that the preset invoicing pool generates a target document number; the invoicing application request includes the contract number and the document number;

[0061] Send the invoicing approval application to the preset approval node. The invoicing approval application includes the target document number, contract number, and document number.

[0062] In response to the editing operation on the invoicing approval application, the invoicing data corresponding to the product in the target document is pulled based on the contract number and the document number, and an invoicing application form for the target document is generated according to the invoicing data and the target document number.

[0063] Here, when it is determined that the target document needs to be pushed for invoicing based on the invoicing business subtype, an invoicing application request including the contract number and the document number can be written to the preset invoicing pool first, so that the preset invoicing pool can generate a target order number based on the invoicing application request; then, an invoicing approval application including the target order number as well as the contract number and the document number is sent to the preset approval node, so that the preset approval node can supplement the invoicing information; then, after obtaining the editing operation for the invoicing approval application, the invoicing data corresponding to the product in the target document is pulled based on the contract number and the document number, so as to generate an invoicing application form for the target document according to the invoicing data and the target order number.

[0064] It should be noted that the preset approval node can be the node where the salesperson associated with the target document is located. In addition, the preset approval node can also submit attachments based on the invoicing approval application to facilitate the subsequent review of the invoicing application form. Here, when the editing operation for the invoicing approval application is obtained, the product details, tax code, tax rate and other data in the target document can be pulled based on the contract number and document number, and the tax base, tax amount, invoiced tax amount, and tax-inclusive amount of the applied invoicing amount of a single product can be calculated based on the unit price of the product in the product details. Then, the total tax base, applied invoicing amount, tax amount, invoiced tax amount and other invoicing data in the invoicing application form can be automatically calculated based on the tax base, applied invoicing amount, tax amount, invoiced tax amount, etc., to generate an invoicing application form for the target document. In this way, the invoicing application form for the target document can be automatically and accurately generated, further improving the efficiency and accuracy of invoicing.

[0065] Step S104: determining a target invoicing template from a preset invoicing template library according to the information of the invoicing application form.

[0066] The information of the invoicing application form may include information such as country, payment method, company, whether it is a third party, invoicing business type, contract business type, document source, and invoicing data. When determining the target invoicing template from the preset invoicing template library according to the information of the invoicing application form, the target invoicing template may be determined from the preset invoicing template library based on partial information of the invoicing application form such as country, payment method, company, whether it is a third party, invoicing business type, contract business type, document source, etc. Here, the invoicing template includes invoicing fields consisting of information required for the corresponding type of invoice, including but not limited to country, company, amount, product data, etc., which are not specifically limited here.

[0067] Specifically, the information of the invoicing application form is matched with the preset invoicing template library to determine the target invoicing template code; the preset invoicing template library includes multiple invoicing template codes; the corresponding template requirements are determined according to the target invoicing template code, and the target invoicing template is generated based on the template requirements.

[0068] Here, the preset invoicing template library may include multiple invoicing template codes, and each invoicing template code is associated with a corresponding template requirement, and the template requirement includes information such as required invoicing fields. After determining the target invoicing template code corresponding to the information of the invoicing application form, the corresponding template requirement may be determined according to the target invoicing template code, and then based on the template requirement, the target invoicing template may be generated through Apache POI or the like.

[0069] It should be noted that when it is determined from the preset invoicing template library that there are multiple invoicing templates matching the information of the invoicing application form, a selection interface may be output to allow the user to select a desired invoicing template as a target invoicing template.

[0070] Step S105: Determine the value of each invoicing field in the target invoicing template based on the document information and the information of the invoicing application form to generate a corresponding invoice.

[0071] Specifically, based on the document information, the information of the invoicing application form and the value-taking logic corresponding to each invoicing field in the target invoicing template, the value of each invoicing field in the target invoicing template is determined, and the invoice corresponding to the target document is generated.

[0072] Here, since the document information includes information such as the country, company, and invoicing business type corresponding to the target document, and the information of the invoicing application form includes information such as the invoicing data corresponding to the target document, the values ​​of each invoicing field in the target invoicing template can be determined accordingly based on the document information and the information of the invoicing application form to generate an invoice corresponding to the target document.

[0073] In summary, in the invoicing method provided in the above embodiment, the preset configuration table is searched through the document information corresponding to the target document to determine the invoicing configuration information matching the target document, and the preset invoicing application operation is performed based on the invoicing configuration information, so as to obtain the invoice corresponding to the target document. There is no need for manual recording and statistics by financial personnel, and the required documents can be invoiced in time, which improves the efficiency and accuracy of invoicing and improves the user experience.

[0074] In one embodiment, the invoicing configuration information includes a push mode; the method further includes:

[0075] Push invoices to the ERP system based on push mode.

[0076] Here, the push mode may be normal push, scheduled push, etc. When the push condition is determined to be met based on the push mode, the invoice may be pushed to the enterprise resource planning system in a timely manner to record and issue the invoice generated for the target document, thereby automatically generating an income voucher.

[0077] Based on the same inventive concept as the above-mentioned embodiment, the above-mentioned embodiment is described in detail below through a specific example.

[0078] The invoicing method provided in this embodiment can be implemented by an invoicing system, which mainly includes: an invoicing type automatic identification and push module, an invoicing automatic generation module and an invoicing template automatic generation module. Figures 2 to 4 , briefly describe the functions of each module of the invoicing system.

[0079] 1. Automatic invoice type identification and push module

[0080] The invoice type automatic identification and push module is used to identify different countries, different subsidiaries, and different business types. Specifically, it may include: capital module, logistics module, accessories module, and service module; among them,

[0081] The fund module includes a fund claim submodule and a payment receipt notice submodule. The fund claim submodule is used to bind funds to customers and fund types, and the payment receipt notice submodule is used to approve funds and automatically generate and push invoices.

[0082] The logistics module includes a sales receipt submodule and a sales receipt review submodule. The sales receipt submodule is used to realize the receipt function of outbound orders, and the sales receipt review submodule is used to realize the receipt review of outbound orders and the automatic generation and push of invoices.

[0083] The accessories module includes the accessories shipping sub-module, and the accessories shipping sub-module is used to realize the automatic generation and push of accessories shipping, receipt and invoicing.

[0084] The service module includes a paid service submodule, and the paid service submodule is used to realize the completion of paid services and the automatic generation and push of invoices;

[0085] The ERP module includes an ERP voucher submodule, and the ERP voucher submodule is used to realize the automatic generation of invoicing vouchers.

[0086] The specific steps for automatic identification and push of invoice types are as follows:

[0087] When the payment receipt is reviewed and approved, the capital module identifies and matches the country, subsidiary, and invoicing type in the document, and pushes the down payment invoicing application; when the sales receipt is reviewed and approved, the logistics module identifies and matches the country, subsidiary, invoicing business type, contract business type, invoicing business subtype, and push method in the document, and pushes the normal invoicing; when the shipment receipt is reviewed and approved, the accessories module identifies and matches the country, subsidiary, invoicing business type, contract business type, invoicing business subtype, and push method in the document, and pushes the normal invoicing; when the paid service is completed, the service module identifies and matches the country, subsidiary, invoicing business type, contract business type, invoicing business subtype, and push method in the document, and pushes the normal invoicing.

[0088] 2. Automatic invoicing generation module

[0089] After the invoicing type is identified and pushed, it will be split and written into the preset invoicing pool according to the sales order number. The invoicing application will be automatically generated according to the rules based on the country, subsidiary, document source, and contract number in the preset invoicing pool, and the process engine will be called to generate the approval flow. When the salesperson edits the invoicing application, the invoicing details will be automatically brought out for calculation according to the rules.

[0090] The automatic invoicing generation module includes the invoicing application sub-module and the invoicing pool sub-module. The invoicing application sub-module is used to realize the automatic generation, approval and automatic push of invoicing application details, and automatic generation of invoicing templates; the invoicing pool sub-module is used to realize the automatic generation of all automatically generated invoicing information and the creation of invoicing applications.

[0091] The specific steps for automatic invoicing are as follows:

[0092] 1) After the invoicing type is identified and pushed, the data will be split according to the sales order number and written into the preset invoicing pool;

[0093] 2) After the preset invoicing pool data is generated, the invoicing application is automatically generated according to the rules based on the country, subsidiary, document source, and contract number in the preset invoicing pool, and the process engine is called to generate the invoicing approval flow, and a message is pushed to the salesperson to submit the invoicing;

[0094] 3) When editing an invoicing application, the salesperson can retrieve the invoicing product details, tax code, and tax rate in real time based on the external contract / receipt review form / shipping order / paid service order on the invoicing application form;

[0095] 4) Automatically calculate the tax base, tax amount, invoiced tax amount, and tax-inclusive amount of the invoiced product details based on the product unit price in the invoiced product details;

[0096] 5) Automatically calculate the total tax base, invoice application amount (tax included), tax amount, and invoice tax amount of the invoice application form based on the detailed tax base, invoice application amount, tax amount, and invoice tax amount (tax included);

[0097] 6) After the invoicing application is approved, the invoicing data is automatically transmitted to the ERP module to automatically generate an income voucher.

[0098] 3. Automatic generation module of invoicing template

[0099] According to the invoicing application form's country, payment method, company code, whether it is a third party, invoicing business type, invoice type, document source and other fields, the corresponding template code is matched according to the invoicing template adaptation rules; then the corresponding template requirements are found according to the template code, and the template content, i.e. the invoicing template, is automatically generated through Apache POI. The specific steps are as follows:

[0100] 1) First, classify the invoicing templates of each country according to their key information configuration, and configure a unique invoicing template code for each country, each subsidiary, and each invoicing business type.

[0101] 2) Define the value logic of the fields in each invoicing template. Each template code corresponds to the content of a unique invoicing template.

[0102] 3) Then configure the template file corresponding to each template number.

[0103] 4) After the local accounting operation template is exported, the corresponding invoicing template code is matched through the adaptation rules of the invoicing template according to the value of the key information in the selected invoicing application document, and then the content in each invoicing application template is generated through Apache POI, thereby realizing the generation of different types of invoicing templates for each country.

[0104] In summary, in the invoicing system provided in this embodiment, firstly, an invoicing system that can cover all countries is established, which includes key functional modules such as capital module, logistics module, host module, accessories module, service module, invoicing module and ERP module; secondly, the automation and online processing of invoicing data and invoicing template generation reduces the need for manual entry and ensures the traceability of the entire process, thereby greatly improving the invoicing efficiency; secondly, by integrating the entire process from collection, receipt to invoicing, and integrating the ERP system, it is ensured that data flow between systems is unimpeded and data differences are eliminated. Therefore, it has the following advantages: 1) It connects the data of the original information islands in series, and makes them online and transparent, eliminating the need for repeated offline communication, reducing communication costs, and allowing business and finance to keep abreast of the invoicing situation at any time; 2) It reduces the proportion of information manually entered by sales staff, shortens the invoicing cycle, and most invoicing information can be automatically identified, brought out and calculated by the system, improving invoicing efficiency; 3) The invoicing system automatically determines the invoicing content, reduces manual cross-checking operations, eliminates errors in manual operations, improves the accuracy of cross-checking, and improves work quality; 4) According to different invoicing methods and invoicing types, it adapts to different invoicing templates to realize automatic financial accounting, which greatly improves work efficiency.

[0105] Based on the same inventive concept as the above embodiments, an embodiment of the present invention provides a computing device, such as Figure 5 As shown, the computing device includes: a processor 310 and a memory 311 storing a computer program; wherein, Figure 5 The processor 310 shown in the figure is not used to indicate that the number of the processor 310 is one, but is only used to indicate the positional relationship of the processor 310 relative to other devices. In actual applications, the number of the processor 310 may be one or more; similarly, Figure 5 The memory 311 shown in the figure has the same meaning, that is, it is only used to refer to the position relationship of the memory 311 relative to other devices. In practical applications, the number of memories 311 can be one or more. When the processor 310 runs the computer program, the invoicing method applied to the above computing device is implemented.

[0106] The computing device may also include: at least one network interface 312. The various components in the computing device are coupled together via a bus system 313. It is understood that the bus system 313 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 313 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 313 is not used in the example above. Figure 5 Various buses are labeled as bus system 313.

[0107] The memory 311 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 311 described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable types of memories.

[0108] The memory 311 in the embodiment of the present invention is used to store various types of data to support the operation of the computing device. Examples of these data include: any computer program used to operate on the computing device, such as an operating system and an application; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program may include various applications, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. Here, the program that implements the method of the embodiment of the present invention may be included in the application program.

[0109] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer storage medium, in which a computer program is stored. The computer storage medium may be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) or other memory; it may also be various devices including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer storage medium is executed by the processor, the invoicing method applied to the above-mentioned computing device is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to Figure 1 The description of the illustrated embodiment will not be repeated here.

[0110] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0111] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.

[0112] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for issuing invoices, characterized in that: include: Get the document information corresponding to the target document; Searching a preset configuration table according to the document information to determine the invoicing configuration information matching the target document; When it is determined based on the invoicing configuration information that the target document needs to be invoiced, a preset invoicing application operation is executed to generate an invoicing application form for the target document; Determining a target invoicing template from a preset invoicing template library according to the information of the invoicing application form; The values ​​of each invoicing field in the target invoicing template are determined based on the document information and the information of the invoicing application form to generate a corresponding invoice.

2. The method according to claim 1, characterized in that: The document information includes the country, company, document source, document type, and contract business type corresponding to the target document.

3. The method according to claim 2, characterized in that The document information also includes the invoicing business type corresponding to the target document; the acquiring of the document information corresponding to the target document includes: The correspondence between the preset document type and the invoicing business type is queried according to the document type to determine the invoicing business type corresponding to the target document.

4. The method according to claim 3, characterized in that The step of searching a preset configuration table according to the document information to determine the invoicing configuration information matching the target document includes: Searching a preset configuration table according to the document information to detect whether there is configuration information matching the document information in the preset configuration table; If so, based on the configuration information matching the document information, the invoicing configuration information matching the target document is determined.

5. The method according to claim 1 or 4, characterized in that: The document information further includes a contract number and a document number corresponding to the target document, and the invoicing configuration information includes an invoicing business subtype; when it is determined based on the invoicing business subtype that the target document needs to be pushed for invoicing, a preset invoicing application operation is performed to generate an invoicing application form for the target document, including: When it is determined based on the invoicing business subtype that the target document needs to be invoiced, an invoicing application request is written to a preset invoicing pool so that the preset invoicing pool generates a target document number; the invoicing application request includes the contract number and the document number; Sending an invoicing approval application to a preset approval node, wherein the invoicing approval application includes the target document number, the contract number, and the document number; In response to the editing operation on the invoicing approval application, the invoicing data corresponding to the product in the target document is pulled based on the contract number and the document number, and an invoicing application form for the target document is generated according to the invoicing data and the target document number.

6. The method according to claim 1, characterized in that Determining a target invoicing template from a preset invoicing template library according to the information of the invoicing application form includes: Matching the information of the invoicing application form with a preset invoicing template library to determine a target invoicing template code; the preset invoicing template library includes a plurality of invoicing template codes; The corresponding template requirements are determined according to the target invoicing template code, and the target invoicing template is generated based on the template requirements.

7. The method according to claim 1, characterized in that The determining the value of each invoicing field in the target invoicing template based on the document information and the information of the invoicing application form, and generating a corresponding invoice, includes: Based on the document information, the information of the invoicing application form and the value logic corresponding to each invoicing field in the target invoicing template, the value of each invoicing field in the target invoicing template is determined, and an invoice corresponding to the target document is generated.

8. The method according to claim 1 or 4, characterized in that: The invoicing configuration information includes a push mode; the method further includes: The invoice is pushed to the enterprise resource planning system based on the pushing method.

9. A computing device, characterized in that include: A processor and a memory storing a computer program, wherein when the processor runs the computer program, the invoicing method according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the invoicing method according to any one of claims 1 to 8 is implemented.