Invoice cancel-after-verification method and device, storage medium and electronic equipment

By automatically matching and writing off invoices in the invoice pool, the problem of invoice verification in the existing technology is solved, and a fast and accurate invoice verification process is achieved.

CN119107190APending Publication Date: 2024-12-10BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310675743.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-08
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

In the prior art, invoice verification is inefficient and requires manual matching and verification, which is time-consuming and error-prone.

Method used

Provide an invoice verification method and device, which generates and performs a verification task by automatically matching the data to be written off with the invoice in the invoice pool, reduces manual participation and improves the verification efficiency.

Benefits of technology

It effectively reduces manual participation in the invoice verification process, shortens the verification time, improves the verification efficiency, and reduces the probability of errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119107190A_ABST
    Figure CN119107190A_ABST
Patent Text Reader

Abstract

The invention provides an invoice cancel-after-verification method and device, a storage medium and electronic equipment, which are applied to an invoice cancel-after-verification system, and the method comprises the steps: processing a cancel-after-verification application provided by a user, and obtaining to-be-cancel-after-verification data; determining an invoice matched with the to-be-cancelled-after-verification data in a preset invoice pool; generating a cancel-after-verification task based on the invoice matched with the data to be cancel-after-verification and the data to be cancel-after-verification; and executing the cancel-after-verification task to cancel the invoice matched with the to-be-cancel-after-verification data after verification. In the scheme provided by the invention, the invoice is matched with the to-be-cancelled-after-verification data in the invoice pool, the cancelled-after-verification task is generated based on the to-be-cancelled-after-verification data and the invoice matched with the to-be-cancelled-after-verification data, and the invoice matched with the to-be-cancelled-after-verification data can be cancelled after the cancelled-after-verification task is executed, so that manual participation is effectively reduced, the invoice can be cancelled-after-verification automatically, and the user experience is improved. The time spent on invoice verification is shortened, and the invoice verification efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial technology, and in particular to an invoice verification method and device, a storage medium and an electronic device. Background Art

[0002] As enterprises develop, they conduct more and more business transactions. The financial department of enterprises needs to prepare accounting accounts based on the bills in business transactions. Invoices are one of the important documents for preparing accounting accounts. Invoices need to be written off when preparing accounting accounts.

[0003] The current method of writing off invoices is usually that the finance department collects invoices regularly, and then the finance staff needs to match the invoices one by one offline, and then write off the matched invoices. This method of writing off invoices takes a long time and is inefficient. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides an invoice cancellation method and device, a storage medium and an electronic device. By applying the present invention, invoices can be automatically matched with the data to be cancelled and the invoices can be cancelled, thereby effectively reducing the manual participation in the invoice cancellation process, reducing the time required for invoice cancellation, and improving the efficiency of invoice cancellation.

[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0006] An invoice cancellation method, applied to an invoice cancellation system, includes:

[0007] Process the write-off application provided by the user and obtain the data to be written off;

[0008] Determining invoices matching the data to be written off in a preset invoice pool;

[0009] Processing the data to be written off and the invoices matching the data to be written off to generate a writing-off task;

[0010] The write-off task is executed to write off the invoices matching the data to be written off.

[0011] Optionally, in the above method, determining invoices matching the data to be written off in a preset invoice pool includes:

[0012] Determine whether the data to be written off contains invoice configuration information;

[0013] When it is determined that the data to be written off has invoice configuration information, based on the invoice configuration information, determining invoices matching the data to be written off in the invoice pool;

[0014] When it is determined that the data to be written off does not have invoice configuration information, extracting invoice writing-off information of the data to be written off;

[0015] Based on the invoice verification information, invoices matching the data to be verified are determined in the invoice pool.

[0016] Optionally, in the above method, determining invoices matching the data to be written off in the invoice pool based on the invoice configuration information includes:

[0017] Determine the invoice in the invoice pool corresponding to the invoice configuration information as the first invoice;

[0018] Determining the invoice amount of the first invoice, and determining the amount of the data to be written off;

[0019] When the invoice amount is greater than or equal to the amount of the data to be written off, determining the first invoice as an invoice matching the data to be written off;

[0020] When the invoice amount is not greater than the amount of the data to be written off, determining the amount difference between the amount of the data to be written off and the invoice amount;

[0021] Based on the amount difference, a second invoice is determined in the invoice pool, and the second invoice and the first invoice are both determined as invoices that match the data to be written off.

[0022] Optionally, in the above method, determining invoices matching the data to be written off in the invoice pool based on the invoice writing-off information includes:

[0023] Based on the invoice cancellation information and preset cancellation conditions, the invoices in the invoice pool are combined to obtain at least one invoice combination corresponding to the invoice cancellation information, wherein the invoice combination contains at least one invoice;

[0024] determining a combination score for each of said invoice combinations;

[0025] The invoices in the invoice combination with the highest combination score are determined as the invoices matching the data to be written off.

[0026] The above method may optionally further include:

[0027] The status of the invoice matching the data to be written off and the status of the data to be written off are both marked as written off.

[0028] An invoice cancellation device, applied to an invoice cancellation system, comprises:

[0029] An acquisition unit, used for acquiring the data to be written off;

[0030] A determination unit, used to determine invoices matching the data to be written off in a preset invoice pool;

[0031] A generating unit, configured to generate a write-off task based on an invoice matching the data to be written off and the data to be written off;

[0032] The write-off unit is used to execute the write-off task and write off the invoices matching the data to be written off.

[0033] In the above device, optionally, the determining unit includes:

[0034] A judgment subunit, used to judge whether the data to be written off contains invoice configuration information;

[0035] A first determining subunit is configured to determine, when it is determined that the data to be written off has invoice configuration information, in the invoice pool, an invoice matching the data to be written off based on the invoice configuration information;

[0036] An extraction subunit is used to extract the invoice cancellation information of the data to be cancelled when it is determined that the data to be cancelled does not have invoice configuration information;

[0037] The second determining subunit is used to determine, based on the invoice verification information, invoices in the invoice pool that match the data to be verified.

[0038] In the above device, optionally, the first determining subunit includes:

[0039] A first determining module, configured to determine an invoice in the invoice pool corresponding to the invoice configuration information as a first invoice;

[0040] A second determination module is used to determine the invoice amount of the first invoice and the amount of the data to be written off;

[0041] A third determination module, configured to determine the first invoice as an invoice matching the data to be written off when the invoice amount is greater than or equal to the amount of the data to be written off;

[0042] A fourth determination module, configured to determine the difference between the amount of the data to be written off and the invoice amount when the invoice amount is not greater than the amount of the data to be written off;

[0043] A fifth determination module is used to determine a second invoice in the invoice pool based on the amount difference, and determine both the second invoice and the first invoice as invoices that match the data to be written off.

[0044] In the above device, optionally, the second determining subunit includes:

[0045] A combination module, configured to combine the invoices in the invoice pool based on the invoice cancellation information and preset cancellation conditions to obtain at least one invoice combination corresponding to the invoice cancellation information, wherein the invoice combination includes at least one invoice;

[0046] A sixth determination module, configured to determine a combination score for each of the invoice combinations;

[0047] The seventh determination module is used to determine the invoices in the invoice combination with the highest combination score as the invoices matching the data to be written off.

[0048] The above device may optionally further include:

[0049] The marking unit is used to mark the status of the invoice matching the data to be written off and the status of the data to be written off as written off.

[0050] A storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the invoice cancellation method as described above.

[0051] An electronic device includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the invoice verification method as described above.

[0052] Compared with the prior art, the present invention has the following advantages:

[0053] The present invention provides an invoice cancellation method and device, a storage medium and an electronic device, the method comprising: obtaining data to be cancelled that is to be cancelled; determining invoices that match the data to be cancelled in a preset invoice pool; generating a cancellation task based on the invoices that match the data to be cancelled and the data to be cancelled; and executing the cancellation task to cancel the invoices that match the data to be cancelled. In the scheme provided by the present invention, invoices are matched for the data to be cancelled in the invoice pool, and a cancellation task is generated based on the data to be cancelled and the invoices that match the data to be cancelled. After executing the cancellation task, the invoices that match the data to be cancelled can be cancelled, thereby effectively reducing manual participation, automatically canceling invoices, shortening the time spent on invoice cancellation, and improving the efficiency of invoice cancellation. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0055] Figure 1 A method flow chart of an invoice cancellation method provided by an embodiment of the present invention;

[0056] Figure 2 A flow chart of a method for determining invoices matching the data to be written off in a preset invoice pool provided by an embodiment of the present invention;

[0057] Figure 3 A system framework diagram of an invoice cancellation system provided by an embodiment of the present invention;

[0058] Figure 4 A simplified flow chart of invoice cancellation by the invoice cancellation system provided by the embodiment of the present invention;

[0059] Figure 5 A schematic diagram of the structure of an invoice cancellation device provided by an embodiment of the present invention;

[0060] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also 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 "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0063] Currently, invoice verification is usually done manually offline, which is time-consuming, inefficient, and prone to errors.

[0064] In order to solve the above-mentioned problems, the present invention provides an invoice cancellation solution. By applying the solution provided by the present invention, there is no need to manually cancel invoices one by one offline. The present invention can automatically match invoices for the data to be cancelled, thereby performing cancellation, effectively reducing manual participation, improving the efficiency of invoice cancellation, and reducing the probability of human errors.

[0065] The present invention can be used in many general or special computing device environments or configurations. For example: personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor devices, distributed computing environments including any of the above devices or devices, etc. The method provided by the present invention can be applied to an invoice verification system, which can be composed of intelligent computers or distributed processors.

[0066] Reference Figure 1 , is a method flow chart of an invoice cancellation method provided by an embodiment of the present invention, and is specifically described as follows:

[0067] S101. Process the write-off application provided by the user and obtain the write-off data to be written off.

[0068] The invoice cancellation system receives cancellation applications from business personnel, parses the cancellation applications, and obtains data to be cancelled. The data to be cancelled includes information such as documents provided in the cancellation application. The documents are written certificates obtained or filled out by users when economic transactions occur, which record the actual situation of transactions and matters, for example.

[0069] Preferably, the business personnel can manually enter the relevant information of the cancellation application on the invoice cancellation application page, such as uploading the picture of the document to be cancelled and the applicant, etc. Preferably, the invoice cancellation system can be provided with a picture acquisition device for collecting pictures. When the business personnel do not want to manually enter the information of the cancellation application, they can use the picture acquisition device in the invoice cancellation system to collect the picture of the document to be cancelled, and then use the preset picture recognition algorithm to process the picture to obtain the document information in the picture, determine the type of the document based on the document information, or determine the type of the document based on the document type information input by the business personnel, and then determine the template corresponding to the type of the document, fill the document into the template, so as to obtain the electronic version of the cancellation application, and show the obtained cancellation application to the applicant. When the applicant confirms that it is correct, the cancellation application can be uploaded to the invoice cancellation system, and then the invoice cancellation system parses the cancellation application to obtain the data to be cancelled, thereby improving the speed of obtaining the data to be cancelled.

[0070] Preferably, the documents can be divided into different types, and the data of different types of documents are slightly different. Therefore, different templates are set for different types, which can more accurately convert the image into an electronic document.

[0071] S102: Determine invoices that match the data to be written off in a preset invoice pool.

[0072] The invoice pool stores the invoices entered by the staff. Preferably, the invoices in the invoice pool include both the cancelled invoices and the uncancelled invoices. Invoices refer to the business vouchers issued and received by all units and individuals in the purchase and sale of goods, provision or acceptance of services, and other business activities. They are the original basis for accounting.

[0073] When determining the invoices that match the data to be written off, determine them among the unwritten off invoices.

[0074] Furthermore, the staff can use the invoice information entry module to enter the invoice into the system. The invoice information entry module can be set with a scanning device and a manual input module. When entering the invoice information, the staff can choose to use the scanning device to scan and enter, or they can choose to enter manually. After the invoice is entered, the relevant information is stored in the invoice pool for subsequent matching and verification. Using a scanning device to enter invoices can speed up the invoice entry process, reduce the workload of the staff, and improve the work efficiency of the staff.

[0075] Preferably, when entering an invoice, it is possible to detect whether the invoice already exists in the invoice pool. If so, the staff is reminded that the invoice has already been entered to avoid duplicate entry of invoices.

[0076] Preferably, a bill management module is also provided in the invoice cancellation system, which can manage the invoices in the invoice pool, such as modifying and deleting abnormal invoices, and can also support staff to manually cancel the invoices that do not meet the automatic cancellation conditions.

[0077] Reference Figure 2 , which is a flow chart of a method for determining invoices matching the data to be written off in a preset invoice pool provided by an embodiment of the present invention, and is specifically described as follows:

[0078] S201. Determine whether there is invoice configuration information for the data to be written off; when it is determined that there is invoice configuration information for the data to be written off, execute S202; when it is determined that there is no invoice configuration information for the data to be written off, execute S203.

[0079] It should be noted that some of the data to be written off contain invoice configuration information, which is information about the invoice to be written off with the data to be written off, including but not limited to information such as invoice number and invoice code.

[0080] Business personnel can set invoice configuration information for the data to be written off, thereby specifying the invoices that need to be written off for the data to be written off, writing off the specified invoices, and speeding up the efficiency of invoice writing off.

[0081] When determining whether there is invoice configuration information for the data to be written off, it can be determined in the information maintenance module of the data to be written off whether there is invoice configuration information for the data to be written off. Specifically, it can be determined whether there is invoice configuration information corresponding to the bill identifier of the data to be written off in the information maintenance module of the data to be written off. If so, it is determined that there is invoice configuration information for the data to be written off. If not, it is determined that there is no invoice configuration information for the data to be written off.

[0082] If the data to be written off has invoice configuration information, an invoice matching the data to be written off can be determined in the invoice pool based on the invoice configuration information. For the specific process, refer to S202 to S207.

[0083] If the invoice configuration information does not exist in the data to be written off, the process from S208 to S211 is executed.

[0084] S202: Determine the invoice in the invoice pool that corresponds to the invoice configuration information as the first invoice.

[0085] Based on the invoice number and invoice code in the invoice configuration information, determine whether the invoices specified by the invoice configuration information all exist in the invoice pool. When the invoices specified by the invoice configuration information all exist in the invoice pool, these invoices are determined as the first invoices. When the invoices specified by the invoice configuration information only partially exist in the invoice pool or none of them exist, it is necessary to send a manual cancellation request for the data to be cancelled to the staff so that the staff can manually match the invoices for the data to be cancelled, thereby canceling the data to be cancelled and the invoices matching the data to be cancelled.

[0086] S203: Determine the invoice amount of the first invoice, and determine the amount of the data to be written off.

[0087] The invoice amount here is the total amount of the first invoice. You can first determine the amount involved in each first invoice, and then sum up the amounts to get the invoice amount.

[0088] S204, determine whether the invoice amount is greater than or equal to the amount of the data to be written off; when the invoice amount is greater than or equal to the amount of the data to be written off, execute S205; when the invoice amount is less than the amount of the data to be written off, execute S206.

[0089] Compare the invoice amount with the amount of the data to be written off to determine whether the invoice amount is greater than or equal to the amount of the data to be written off.

[0090] Preferably, when the invoice amount is greater than or equal to the amount of the data to be written off, the first invoice amount meets the preset write-off condition, and when the invoice amount is less than the amount of the data to be written off, the first invoice amount does not meet the write-off condition.

[0091] Preferably, when the invoice amount is greater than the amount of the data to be written off, and the difference between the invoice amount and the amount of the data to be written off is less than or equal to the preset difference, S205 can be executed; when the difference between the invoice amount and the amount of the data to be written off is greater than the preset difference, a review request can be sent to the staff for the staff to review, and if the staff determines that it can be written off, S205 can be executed; if the staff chooses manual write-off, the staff manually configures the invoice for the data to be written off, and writes off the data to be written off and the invoice.

[0092] It should be noted that the preset difference can be set according to actual needs. When the invoice amount is greater than the amount of the data to be written off, it is further determined whether the difference between the invoice amount and the amount of the data to be written off is less than the preset difference. This is to ensure that the difference between the invoice amount and the amount of the data to be written off is within the preset range. Usually, one invoice is written off once, which can effectively avoid using a large invoice to write off a small amount of data to be written off, wasting the amount that can be written off on the invoice, thereby improving the rationality of invoice writing off and avoiding waste of the amount that can be written off.

[0093] S205: Determine the first invoice as the invoice that matches the data to be written off.

[0094] S206: Determine the difference between the amount of the data to be written off and the invoice amount.

[0095] When the invoice amount is not greater than the amount of the data to be written off, it means that the amount of the invoice configured for the data to be written off has not yet met the write-off conditions for the amount of the data to be written off. In other words, the invoice configured for the data to be written off does not meet the write-off conditions. At this time, it is necessary to determine the difference between the amount of the data to be written off and the invoice amount. Preferably, the amount of the data to be written off minus the invoice amount can be used to obtain the difference in amount between the two.

[0096] S207. Based on the amount difference, determine the second invoice in the invoice pool, and determine both the second invoice and the first invoice as invoices that match the data to be written off.

[0097] Preferably, based on the invoices in the invoice pool whose status is unwritten, each invoice set is determined, the invoice set contains at least one invoice, and preferably, the total amount of the invoices in the invoice set is greater than or equal to the amount difference.

[0098] Each invoice set can be scored based on the total amount of each invoice set and the time each invoice entered the pool, and the invoice in the invoice set with the highest score is determined as the second invoice; preferably, the closer the total amount of the invoice set is to the amount difference, the higher the score is, and the earlier the invoice entered the pool, the higher the score is. The scores of each item are aggregated and the average is calculated to be the score of the invoice set.

[0099] It should be noted that after determining each invoice set, the invoice set is scored based on the total amount of the invoice set and the time when the invoices in the invoice set entered the pool. The closer the total amount is to the amount difference and the earlier the time of entering the pool is, the higher the score is. In this way, invoices that enter the invoice pool early can be written off, and the amount of the matched invoices can be ensured to be an appropriate amount, so that the allocation of invoices is more reasonable and the waste of the amount that can be written off in the invoice is avoided.

[0100] S208. Extract invoice cancellation information of the data to be cancelled.

[0101] When the data to be written off does not have invoice configuration information, it is necessary to extract invoice verification information from the data to be written off, and based on the invoice verification information, determine invoices matching the data to be written off in the invoice pool. For the specific process, refer to S209 to S211.

[0102] It should be noted that invoice verification information includes but is not limited to the amount of the data to be verified, the applicable invoice type, etc.

[0103] S209: Based on the invoice cancellation information and preset cancellation conditions, the invoices in the invoice pool are combined to obtain at least one invoice combination corresponding to the invoice cancellation information.

[0104] It should be noted that the invoice combination contains at least one invoice.

[0105] Preferably, the cancellation condition can be that the total amount of the invoice is greater than or equal to the amount of the data to be cancelled, and the difference between the total amount of the invoice and the amount of the data to be cancelled is within a preset range. Furthermore, the cancellation condition can also be one of the matching conditions when matching the invoice with the data to be cancelled.

[0106] S210: Determine a combination score for each invoice combination.

[0107] In the method provided by the embodiment of the present invention, when determining the combined score of each invoice combination, the score can be made according to the total invoice amount of the invoice combination and the time when each invoice in the invoice combination enters the pool. Exemplarily, after determining the total invoice amount of the invoice combination, the score is made according to the amount of the data to be written off and the total invoice amount. For each invoice in the invoice combination, the invoice is scored according to the time when the invoice enters the pool, and the obtained scores are summarized and averaged to obtain the combined score of the invoice combination. It should be noted that the closer the total invoice amount is to the amount of the data to be written off, the higher the score obtained, and the earlier the invoice enters the pool, the higher the score obtained. By scoring from these two dimensions, the invoices that enter the pool first can be written off, and the invoices can be reasonably selected according to the amount of the data to be written off, so as to avoid wasting the write-off amount of the invoice.

[0108] The pool entry time of the present invention is the time when the invoice is entered into the invoice pool.

[0109] S211. Determine the invoices in the invoice combination with the highest combination score as the invoices that match the data to be written off.

[0110] The invoices in the invoice combination with the highest combination score are determined as the invoices that match the data to be written off. Invoices that entered the pool earlier can be written off first, and the total amount of the invoices is as close to the amount of the data to be written off as possible. Invoices can be reasonably matched with the data to be written off in terms of amount, avoiding waste of the amount that can be written off.

[0111] S103: Generate a write-off task based on the invoices that match the data to be written off and the data to be written off.

[0112] The write-off task contains the relationship between the data to be written off and the invoices matching the data to be written off. This relationship can be recorded using a key-value pair.

[0113] S104. Execute the write-off task to write off the invoices that match the data to be written off.

[0114] In the method provided by the embodiment of the present invention, executing the write-off task can not only write off the invoices matching the data to be written off, but also write off the data to be written off.

[0115] Preferably, after the data to be written off and the invoice matching the data to be written off are written off, the status of the invoice matching the data to be written off and the status of the data to be written off can be marked as written off for subsequent query.

[0116] In the method provided in the embodiment of the present invention, data to be written off to be written off is obtained; invoices matching the data to be written off are determined in a preset invoice pool; based on the invoices matching the data to be written off and the data to be written off, a writing-off task is generated; and the writing-off task is executed to write off the invoices matching the data to be written off. In the scheme provided in the present invention, invoices are matched for the data to be written off in the invoice pool, and a writing-off task is generated based on the data to be written off and the invoices matching the data to be written off. After the writing-off task is executed, the invoices matching the data to be written off can be written off, thereby effectively reducing manual participation, automatically writing off invoices, shortening the time spent on invoice writing-off, and improving the efficiency of invoice writing-off.

[0117] Reference Figure 3 , which is a system framework diagram of the invoice cancellation system provided in an embodiment of the present invention, and includes a to-be-cancelled data maintenance module, an invoice information entry module, a bill management module, a matching module and an automatic cancellation module.

[0118] It should be noted that the data maintenance module to be written off is used to specify the invoices to be written off for the data to be written off, that is, to set the invoice configuration information for the data to be written off. It should be noted that when the business personnel need to specify the invoices to be written off for the data to be written off, they can call this module to configure the corresponding information. Furthermore, the data maintenance module to be written off can also maintain the information of the documents to be written off. Preferably, specifying the invoices to be written off for the data to be written off is an optional operation. If the business party needs to specify the invoices to be written off, the invoice configuration information can be maintained in advance at this stage. In the subsequent matching stage, the bill can only be matched to the maintained invoice. If the invoice maintenance is not performed, the subsequent matching stage can match all invoices that meet the write-off conditions.

[0119] The invoice information entry module is an operation for the staff to enter the invoice information into the invoice system after receiving the invoice. The invoice information can be entered by scanning and entering with a ticket scanning device or manually. After the invoice is entered, the relevant information is stored in the invoice to be written off pool for subsequent matching and writing off. Preferably, the system has a duplicate checking function when scanning or entering. If the invoice information already exists in the system, there will be a corresponding prompt when scanning or entering.

[0120] The bill management module can manage invoices. For abnormal invoices, operations such as modification and deletion can be performed. For bills that do not meet the conditions for automatic write-off, staff can manually write off. For example, when the staff finds that the collected invoice is wrong, they can delete the invoice in the system and ask the business party to reissue the invoice and then collect it again. At the same time, when the invoice does not meet the automatic write-off due to the amount problem, for example, the invoice amount is greater than the amount of the data to be written off and the invoice amount and the amount of the data to be written off are within the error range, the financial staff can manually write off.

[0121] Matching module: When data to be written off is generated or a new invoice is entered, the matching module first checks whether the data to be written off has invoice configuration information. If the invoice configuration information exists, the matching module searches the invoice pool to see whether all the invoices specified for the data to be written off exist. If they do, a matching relationship is created and a writing-off task is generated. If the invoice configuration information does not exist, the invoice pool is searched for invoice combinations that meet the verification conditions such as the payee and payee and amount of the data to be written off. A matching relationship can be created to generate a writing-off task based on the earliest collected invoice combination that meets the writing-off conditions.

[0122] The write-off module is used to execute the write-off tasks generated by the matching module. After the write-off task is successfully executed, it will record the write-off relationship between the data to be written off and the invoice, change the write-off status of the data to be written off, update the invoice write-off status, and perform corresponding operations according to the configuration, such as automatically completing the financial first review operation.

[0123] Reference Figure 4, which is a simplified flow chart of invoice cancellation by the invoice cancellation system provided by the embodiment of the present invention, and is specifically described as follows:

[0124] The financial staff enters the invoice into the invoice pool through the invoice entry module. Preferably, the invoice information can be collected into the system through an invoice scanner. Invoices that fail to be scanned can be entered manually. The invoice pool is used to store the invoices entered by the staff. The system can mark the invoices in the invoice pool, for example, marking whether the invoice has been matched and whether it has been written off. The data to be written off is explained using a document as an example.

[0125] When the system receives a document to be written off, it calls the invoice matching module to match the invoice for the document in the invoice pool, generates a write-off task based on the matched invoice and the document, and calls the write-off module to execute the write-off task, thereby automatically writing off the document and the invoice matching the document. The system changes the status identifier of the written-off invoice in the invoice pool according to the executed write-off task, and can also trigger the next set task, such as triggering a task that has passed the first-level financial approval.

[0126] Furthermore, the staff can also manage the invoices in the invoice pool through the bill management module, such as maintaining or deleting the collected invoice information, and manually write off the invoices that do not meet the automatic write-off requirements.

[0127] By applying the solution provided by the present invention, invoices can be automatically matched to documents, thereby canceling invoices. The entire process reduces manual participation, can effectively reduce the workload of staff, and reduce the error rate in the process of canceling invoices.

[0128] and Figure 1 Correspondingly, an embodiment of the present invention provides an invoice cancellation device, which is used to support Figure 1 In a specific implementation of the method shown, the device can be set in an invoice verification system.

[0129] Reference Figure 5 , is a schematic diagram of the structure of an invoice cancellation device provided by an embodiment of the present invention, and is specifically described as follows:

[0130] The acquisition unit 501 is used to process the write-off application provided by the user and acquire the data to be written off;

[0131] A determination unit 502, configured to determine invoices matching the data to be written off in a preset invoice pool;

[0132] A generating unit 503, configured to process the data to be written off and the invoices matching the data to be written off, and generate a writing-off task;

[0133] The write-off unit 504 is used to execute the write-off task and write off the invoices that match the data to be written off.

[0134] In the device provided by the embodiment of the present invention, the cancellation application provided by the user is processed to obtain the data to be cancelled; the invoice matching the data to be cancelled is determined in the preset invoice pool; the cancellation task is generated based on the invoice matching the data to be cancelled and the data to be cancelled; the cancellation task is executed to cancel the invoice matching the data to be cancelled. In the scheme provided by the present invention, invoices are matched for the data to be cancelled in the invoice pool, and the cancellation task is generated based on the data to be cancelled and the invoice matching the data to be cancelled. After the cancellation task is executed, the invoice matching the data to be cancelled can be cancelled, thereby effectively reducing manual participation, automatically canceling the invoice, shortening the time spent on invoice cancellation, and improving the efficiency of invoice cancellation.

[0135] In another device provided by an embodiment of the present invention, the determining unit 502 includes:

[0136] A judgment subunit, used to judge whether the data to be written off contains invoice configuration information;

[0137] A first determining subunit is configured to determine, when it is determined that the data to be written off has invoice configuration information, in the invoice pool, an invoice matching the data to be written off based on the invoice configuration information;

[0138] An extraction subunit is used to extract the invoice cancellation information of the data to be cancelled when it is determined that the data to be cancelled does not have invoice configuration information;

[0139] The second determining subunit is used to determine, based on the invoice verification information, invoices in the invoice pool that match the data to be verified.

[0140] In another device provided by an embodiment of the present invention, the first determining subunit includes:

[0141] A first determining module, configured to determine an invoice in the invoice pool corresponding to the invoice configuration information as a first invoice;

[0142] A second determination module is used to determine the invoice amount of the first invoice and the amount of the data to be written off;

[0143] A third determination module, configured to determine the first invoice as an invoice matching the data to be written off when the invoice amount is greater than or equal to the amount of the data to be written off;

[0144] A fourth determination module, configured to determine the difference between the amount of the data to be written off and the invoice amount when the invoice amount is not greater than the amount of the data to be written off;

[0145] A fifth determination module is used to determine a second invoice in the invoice pool based on the amount difference, and determine both the second invoice and the first invoice as invoices that match the data to be written off.

[0146] In another device provided by an embodiment of the present invention, the second determining subunit includes:

[0147] A combination module, configured to combine the invoices in the invoice pool based on the invoice cancellation information and preset cancellation conditions to obtain at least one invoice combination corresponding to the invoice cancellation information, wherein the invoice combination includes at least one invoice;

[0148] A sixth determination module, configured to determine a combination score for each of the invoice combinations;

[0149] The seventh determination module is used to determine the invoices in the invoice combination with the highest combination score as the invoices matching the data to be written off.

[0150] Another device provided in an embodiment of the present invention further includes:

[0151] The marking unit is used to mark the status of the invoice matching the data to be written off and the status of the data to be written off as written off.

[0152] An embodiment of the present invention further provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned invoice cancellation method.

[0153] The embodiment of the present invention further provides an electronic device, the structural diagram of which is shown in FIG. Figure 6 As shown, it specifically includes a memory 601 and one or more instructions 602, wherein the one or more instructions 602 are stored in the memory 601 and are configured to be executed by one or more processors 603 to execute the one or more instructions 602 to execute the above-mentioned invoice verification method.

[0154] The specific implementation processes and derivative methods of the above-mentioned embodiments are all within the protection scope of the present invention.

[0155] It should be noted that the collection, collection, update, analysis, processing, use, transmission, storage and other aspects of invoices and other bills involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for invoices and bills to prevent illegal access to user personal information data in bills and maintain user personal information security and network security.

[0156] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0157] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0158] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An invoice cancellation method, characterized in that: Applied to invoice verification system, including: Process the write-off application provided by the user and obtain the data to be written off; Determining invoices matching the data to be written off in a preset invoice pool; Processing the data to be written off and the invoices matching the data to be written off to generate a writing-off task; The write-off task is executed to write off the invoices matching the data to be written off.

2. The method according to claim 1, characterized in that The determining of the invoices matching the data to be written off in the preset invoice pool includes: Determine whether the data to be written off contains invoice configuration information; When it is determined that the data to be written off has invoice configuration information, based on the invoice configuration information, determining invoices matching the data to be written off in the invoice pool; When it is determined that the data to be written off does not have invoice configuration information, extracting invoice writing-off information of the data to be written off; Based on the invoice verification information, invoices matching the data to be verified are determined in the invoice pool.

3. The method according to claim 2, characterized in that The determining, based on the invoice configuration information, in the invoice pool, an invoice matching the data to be written off includes: Determine the invoice in the invoice pool corresponding to the invoice configuration information as the first invoice; Determining the invoice amount of the first invoice, and determining the amount of the data to be written off; When the invoice amount is greater than or equal to the amount of the data to be written off, determining the first invoice as an invoice matching the data to be written off; When the invoice amount is not greater than the amount of the data to be written off, determining the amount difference between the amount of the data to be written off and the invoice amount; Based on the amount difference, a second invoice is determined in the invoice pool, and the second invoice and the first invoice are both determined as invoices that match the data to be written off.

4. The method according to claim 2, characterized in that: The determining, based on the invoice write-off information, in the invoice pool, an invoice matching the data to be written off includes: Based on the invoice cancellation information and preset cancellation conditions, the invoices in the invoice pool are combined to obtain at least one invoice combination corresponding to the invoice cancellation information, wherein the invoice combination contains at least one invoice; determining a combination score for each of said invoice combinations; The invoices in the invoice combination with the highest combination score are determined as the invoices matching the data to be written off.

5. The method according to claim 1, characterized in that Also includes: The status of the invoice matching the data to be written off and the status of the data to be written off are both marked as written off.

6. An invoice cancellation device, characterized in that: Applied to invoice verification system, including: An acquisition unit, used to process the write-off application provided by the user and acquire the data to be written off; A determination unit, used to determine invoices matching the data to be written off in a preset invoice pool; A generating unit, used for processing the data to be written off and the invoices matching the data to be written off, and generating a writing-off task; The write-off unit is used to execute the write-off task and write off the invoices matching the data to be written off.

7. The device according to claim 6, characterized in that The determining unit comprises: A judgment subunit, used to judge whether the data to be written off contains invoice configuration information; A first determining subunit is configured to determine, when it is determined that the data to be written off has invoice configuration information, in the invoice pool, an invoice matching the data to be written off based on the invoice configuration information; An extraction subunit is used to extract the invoice cancellation information of the data to be cancelled when it is determined that the data to be cancelled does not have invoice configuration information; The second determining subunit is used to determine, based on the invoice verification information, invoices in the invoice pool that match the data to be verified.

8. The device according to claim 7, characterized in that The first determining subunit includes: A first determining module, configured to determine an invoice in the invoice pool corresponding to the invoice configuration information as a first invoice; A second determination module is used to determine the invoice amount of the first invoice and the amount of the data to be written off; A third determination module, configured to determine the first invoice as an invoice matching the data to be written off when the invoice amount is greater than or equal to the amount of the data to be written off; A fourth determination module, configured to determine the difference between the amount of the data to be written off and the invoice amount when the invoice amount is not greater than the amount of the data to be written off; A fifth determination module is used to determine a second invoice in the invoice pool based on the amount difference, and determine both the second invoice and the first invoice as invoices that match the data to be written off.

9. A storage medium, characterized in that: The storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the invoice cancellation method according to any one of claims 1 to 5.

10. An electronic device, characterized in that: It comprises a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to execute the invoice cancellation method as described in any one of claims 1 to 5.