Tax invoice issuance method, device, equipment and medium based on RPA and AI
Through the tax invoice issuance method based on RPA and AI, the tax invoice issuance process is automated, which solves the problem of low manual issuance efficiency, achieves efficient and accurate tax invoice issuance, and reduces tax risks.
Patent Information
- Application Number
- CN202110911474.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-10
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-08-10
AI Technical Summary
The current issuance of tax invoices relies on manual processing, which is inefficient, time-consuming, labor-intensive, error-prone, and increases tax-related risks.
The tax invoice issuance method based on RPA and AI is used to automatically obtain the information of the object to be invoiced by identifying the email subject and attachment content, and upload the invoice information in the business system to achieve automatic invoicing and reduce manual operations.
It improves the efficiency and accuracy of tax invoice issuance, reduces tax risks, and improves user experience.
Smart Images

Figure CN113610585B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of electronic invoice technology, and more specifically, to a tax invoice issuance method, device, equipment and medium based on RPA and AI. Background Art
[0002] RPA (Robotic Process Automation) uses specific "robot software" to simulate human operations on computers and automatically execute process tasks according to rules.
[0003] AI (Artificial Intelligence) is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.
[0004] RPA has unique advantages: low code and non-intrusive. Low code means that RPA does not require a high level of IT to operate, and business personnel who do not understand programming can also develop processes; non-intrusive means that RPA can simulate human operations without the need for software system open interfaces. However, traditional RPA has certain limitations: it can only be based on fixed rules and has limited application scenarios. With the continuous development of AI technology, the deep integration of RPA and AI has overcome the limitations of traditional RPA. RPA+AI=Hand work+Head work is greatly changing the value of labor.
[0005] At present, tax invoices are generally issued manually. A lot of manpower is needed to issue tax invoices each time, and it is very troublesome to organize data. With few staff, repetitive work brings huge pressure to the staff. In addition, business personnel need to obtain invoice data from various systems, and then issue invoices after completing the data collection. Once errors occur in this manual invoicing process, tax risks will be caused. Therefore, manual tax invoice issuance is time-consuming and labor-intensive, and the efficiency is very low. Summary of the invention
[0006] The embodiments of the present invention provide a tax invoice issuance method, device, equipment and medium based on RPA and AI, which are used to overcome the problem of low efficiency of manual invoicing and improve the accuracy of invoicing.
[0007] In a first aspect, the present invention provides a tax invoice issuance method based on RPA and AI, the method comprising:
[0008] S1. If an email containing a first preset field in the subject is received from a designated sender, and it is determined that the attachment format and content of the email meet the preset tax invoice issuance application requirements, the invoice object to be issued for which the tax invoice needs to be issued is obtained from the attachment content; wherein the first preset field is used to indicate the issuance of invoice information through the first business system;
[0009] S2. For any object to be invoiced, open the invoicing information page in the first business system;
[0010] S3. Input the invoicing related information in the attachment into the corresponding position of the invoicing information page, and upload the bill information of the invoicing object by triggering the invoicing information upload instruction; wherein, the invoicing related information includes: institution name, taxpayer identification number, address, telephone number, bank and account number.
[0011] Optionally, the method further includes:
[0012] S4. For the invoicing object whose bill information has not been successfully uploaded, return to execute the operation of opening the billing information page. When the number of re-operations reaches the set number, if the bill information has not been successfully uploaded, add a note of upload failure to the invoicing object;
[0013] S5. For the invoice object whose bill information is successfully uploaded, a note of successful upload is added to the invoice object;
[0014] S6. After adding annotation information to all objects to be invoiced, forward the attachment containing the annotation information to the sender of the email.
[0015] Optionally, the method further includes:
[0016] S7. If an email containing a second preset field in the subject is received, and the attachment format and content of the email meet the preset tax invoice issuance application requirements, the invoice object to be issued for which the tax invoice is required in the attachment content is obtained; wherein the second preset field is used to indicate that the bill is issued through the second business system; the second business system is used to issue tax invoices for financial business;
[0017] S8. For any object to be invoiced, query the transaction information of the object to be invoiced in the second business system;
[0018] S9. If the running amount in the running information is consistent with the amount corresponding to the object to be invoiced in the attachment content, a corresponding bill is issued for the object to be invoiced by triggering the invoicing information issuance instruction.
[0019] Optionally, the step of triggering an invoicing information issuance instruction to issue a corresponding bill for the object to be invoiced includes:
[0020] Issue different bills for different items corresponding to the object to be invoiced; or,
[0021] The transaction information of different items corresponding to the object to be invoiced is merged so that the bill information corresponding to different items can be displayed on the same invoice.
[0022] Optionally, the method further includes:
[0023] For the transaction information of the invoice object with inconsistent query amount, add a note indicating that the transaction information query failed for the invoice object; and
[0024] For the invoice object with successful invoice information issuance, add the mark information of successful upload to the invoice object;
[0025] After adding the annotation information to all the objects to be invoiced, the attachment containing the annotation information is forwarded to the sender of the email.
[0026] Optionally, the method further includes:
[0027] Get the email list of the mailbox inbox;
[0028] If there is no email in the mailbox inbox, or
[0029] If the email is sent by a non-specified sender,
[0030] Then return to execute the operation of obtaining the email list of the mailbox inbox.
[0031] Optionally, the subject of the email is identified by using a semantic recognition algorithm in natural language processing (NLP); and
[0032] If the attachment content is in PDF format, the attachment is recognized by using an optical character recognition (OCR) method to obtain the attachment content.
[0033] In a second aspect, an embodiment of the present invention further provides a tax invoice issuing device based on RPA and AI, the device comprising:
[0034] The module for acquiring objects to be invoiced is configured to, if an email containing a first preset field in the subject sent by a designated sender is received, and if it is determined that the attachment format and attachment content of the email meet the preset tax invoice issuance application requirements, acquire the objects to be invoiced that need to be invoiced in the attachment content; wherein the first preset field is used to indicate that the bill information is issued through the first business system;
[0035] The invoicing information page opening module is configured to open the invoicing information page in the first business system for any object to be invoiced;
[0036] The bill information uploading module is configured to input the billing related information in the attachment content into the corresponding position of the billing information page, and upload the bill information of the billing object by triggering the billing information upload instruction; wherein the billing related information includes: institution name, taxpayer identification number, address, telephone number, bank and account number.
[0037] Optionally, the device further comprises:
[0038] The first marking module is configured to return to the operation of opening the invoicing information page for the invoicing object whose invoice information has not been successfully uploaded, and when the number of re-operations reaches a set number, if the invoice information has not been successfully uploaded, add the marking information of upload failure to the invoicing object; for the invoicing object whose invoice information has been successfully uploaded, add the marking information of upload success to the invoicing object;
[0039] The first forwarding module is configured to forward the attachment containing the marked information to the sender of the email after adding the marked information to all the objects to be invoiced.
[0040] Optionally, the device further comprises:
[0041] The second preset field identification module is configured to obtain the invoiced object that needs to be invoiced in the attachment content if an email containing the second preset field in the subject is received and the attachment format and content of the email meet the preset tax invoice issuance application requirements; wherein the second preset field is used to indicate that the bill is issued through the second business system; the second business system is used to issue tax invoices for financial business;
[0042] A transaction information query module is configured to query the transaction information of any object to be invoiced in the second business system;
[0043] The invoicing module is configured to issue a corresponding bill for the object to be invoiced by triggering an invoicing information issuance instruction if the transaction amount in the transaction information is consistent with the amount corresponding to the object to be invoiced in the attachment content.
[0044] Optionally, the invoicing module is specifically configured as follows:
[0045] If the running amount in the running information is consistent with the amount corresponding to the object to be invoiced in the attachment content, different bills are issued for different items corresponding to the object to be invoiced;
[0046] or,
[0047] The transaction information of different items corresponding to the object to be invoiced is merged so that the bill information corresponding to different items can be displayed on the same invoice.
[0048] Optionally, the device further comprises:
[0049] The second marking module is configured to add marking information indicating that the query flow failed to the object to be invoiced for the transaction flow information of the object to be invoiced with inconsistent query amount; and
[0050] For the invoice object with successful invoice information issuance, add the mark information of successful upload to the invoice object;
[0051] The second forwarding module is configured to forward the attachment containing the marked information to the sender of the email after adding the marked information to all the objects to be invoiced.
[0052] Optionally, the device further comprises:
[0053] The mailbox list acquisition module is configured as follows:
[0054] Get the email list of the mailbox inbox; if there is no email in the mailbox inbox, or
[0055] If the email is sent by a non-specified sender,
[0056] Then return to execute the operation of obtaining the email list of the mailbox inbox.
[0057] Optionally, the subject of the email is identified by using a semantic recognition algorithm in natural language processing (NLP); and
[0058] If the attachment content is in PDF format, the attachment is recognized by using an optical character recognition (OCR) method to obtain the attachment content.
[0059] In a third aspect, an embodiment of the present invention further provides a computing device, including:
[0060] A memory storing executable program code;
[0061] a processor coupled to the memory;
[0062] The processor calls the executable program code stored in the memory to execute the tax invoice issuance method based on RPA and AI provided in any embodiment of the present invention.
[0063] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the tax invoice issuance method based on RPA and AI provided by any embodiment of the present invention is implemented.
[0064] The technical solution provided by the embodiment of the present invention realizes the automatic issuance of tax invoices through the RPA robot. If the RPA robot receives an email with a first preset field in the subject sent by a designated sender, and when it is determined that the attachment format and attachment content of the email meet the preset tax invoice issuance application requirements, the object to be invoiced that needs to be invoiced can be obtained from the attachment content. By inputting the invoicing-related information of the object to be invoiced into the invoicing information page of the first business system, and after triggering the invoicing information upload instruction, the bill information of the invoicing object can be uploaded, thereby realizing the automatic issuance of tax invoices. Compared with the manual tax invoice issuance method in the prior art, the technical solution provided by the embodiment of the present invention solves the problem of time-consuming and labor-intensive manual operation process, improves the efficiency and accuracy of tax invoice issuance, reduces tax risks, and improves user experience.
[0065] The innovative features of the embodiments of the present invention include:
[0066] 1. When the RPA robot receives an email containing a first preset field from a designated sender, if it recognizes that the attachment format and content of the email meet the preset tax invoice issuance application requirements, the invoice-related information in the attachment content is input into the corresponding position of the invoice information page of the first business system to upload the bill information of the invoice object, thereby realizing automatic issuance of tax invoices, improving the efficiency and accuracy of tax invoice issuance, and is one of the innovations of the embodiments of the present invention.
[0067] 2. For an email sent by a designated sender and containing a second preset field, if the RPA robot recognizes that the attachment format and content of the email meet the preset tax invoice issuance application requirements, it will query the running amount of the object to be invoiced in the second business system, and automatically compare it with the amount corresponding to the object to be invoiced in the attachment content, replacing the manual data comparison method, reducing the difficulty of manual verification of the amount, and reducing the occurrence of wrong invoice issuance. If it is determined that the amount is consistent, the running information of different items corresponding to the object to be invoiced can be merged, so that the bill information corresponding to different items is displayed on the same invoice, replacing the manual data entry operation, improving the efficiency and accuracy of tax invoice issuance, which is one of the innovations of the embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0069] Figure 1a This is a screenshot of the process of issuing tax invoices based on a combination of RPA and AI, created using the automation service platform UiBot;
[0070] Figure 1b This is a screenshot of an RPA robot issuing a tax invoice;
[0071] Figure 2a This is a flow chart of a tax invoice issuance method based on RPA and AI provided in Embodiment 1 of the present invention;
[0072] Figure 2b It is a schematic diagram of an attachment that meets the preset tax invoice issuance application requirements provided by the first embodiment of the present invention;
[0073] Figure 3 This is a flow chart of a tax invoice issuance method based on RPA and AI provided in Embodiment 2 of the present invention;
[0074] Figure 4 This is a structural block diagram of a tax invoice issuing device based on RPA and AI provided in Embodiment 3 of the present invention;
[0075] Figure 5 It is a structural diagram of a computing device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0076] 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.
[0077] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present invention and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0078] In order to explain the contents of the embodiments of the present invention more clearly and clearly, the basic working principles of the embodiments of the present invention are briefly introduced below.
[0079] Robotic Process Automation (RPA), referred to as Robotic Process Automation, uses specific "robot software" to simulate human operations on computers and automatically execute process tasks according to rules.
[0080] AI (Artificial Intelligence) is the abbreviation of artificial intelligence. It is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.
[0081] In existing businesses, many cumbersome and repetitive tax invoice issuance processes should be handled manually. After obtaining the invoicing data, the invoicing data needs to be manually sorted. After the sorting is completed, it is necessary to frequently log in to each business system to obtain the supplier's reconciliation data. The process is cumbersome and time-consuming. Invoicing can only be performed after there are no problems with the reconciliation. However, if the invoiced commodity categories are complex and diverse, it is easy to cause invoicing errors and create tax risks. Therefore, based on this consideration, an embodiment of the present invention proposes a tax invoice issuance method based on RPA and AI to realize the automatic issuance of tax invoices and improve the efficiency of tax invoice issuance. Figure 1a This is a screenshot of the process of issuing tax invoices based on a combination of RPA and AI created by the automation service platform UiBot. The automation service platform is a platform that can provide AI capabilities for RPA robots. In this embodiment, after the run instruction is triggered, the RPA robot will follow the following steps: Figure 1a The process shown is to carry out the tax invoice issuance operation.
[0082] like Figure 1a As shown, when the RPA robot issues a tax invoice, it needs to read the invoicing information from the specified mailbox. First, the mailbox configuration information, including the mailbox account, password, etc., needs to be read to log in to the mailbox. After logging in to the mailbox, you can read the mail list of the mailbox inbox and determine whether there are any mails in the mail list that need to be processed. If there are no received mails in the mail list, wait half an hour and refresh the mailbox inbox again; if there are received mails in the mail list, determine whether the mail type is the type of mail that needs to be issued for tax invoices. If the mail type meets the type of mail for tax invoice issuance, the platform that needs to issue the tax invoice is determined by the content of the mail subject. For example, the keywords in the mail subject can be used to determine whether the platform for issuing tax invoices is the company's internal business operating system ( Figure 1a is the core system) or the "China Banking, Insurance and Credit Electronic Invoice Service Platform" ( Figure 1aThe invoice is issued through the Yinbaoxin Platform (referred to as the Yinbaoxin Platform). Among them, the recognition of the email subject can be carried out by the semantic recognition method in NLP (Natural Language Processing). Regardless of which platform is used for invoicing, it is necessary to first determine whether the email attachment meets the preset invoicing requirements, for example, whether the format of the attachment conforms to the preset table format, whether the column names of each column in the table are in the preset position, and whether there is invoicing-related information that needs to be invoiced in the attachment content, such as: header, tax number, bank and amount, etc. Among them, if the attachment is in PDF format, the OCR (Optical Character Recognition) method can be used to obtain the attachment content.
[0083] Specifically, if the subject of the email indicates that the invoice should be issued through the company's internal business operating system, then the business system data, such as account number and password, should be obtained to log in to the business system, provided that the format and content of the attachment meet the preset tax invoice issuance application requirements. After logging in to the business system, open the invoicing information page and enter the invoicing related information, such as the customer unit structure number, invoice type, etc., in the corresponding position of the page. Figure 1b This is a screenshot of an RPA robot issuing a tax invoice. The RPA robot will input the invoice-related information in the attachment into Figure 1b The corresponding position of the invoicing page shown in the figure. By triggering the invoicing upload instruction, the bill information is uploaded. If the upload is not successful, it returns to execute the operation of obtaining the business system data.
[0084] If the subject of the email indicates that the invoice is to be issued through the "China Banking, Insurance and Trust Electronic Invoice Service Platform" (hereinafter referred to as the Banking, Insurance and Trust Platform), then on the premise that the format and content of the attachments meet the preset tax invoice issuance application requirements, obtain the "China Banking, Insurance and Trust" platform data, such as account number and password, to log in to the "Banking, Insurance and Trust" platform. After logging in to the "Banking, Insurance and Trust" platform, open the transaction merge page, query the transaction information of the object to be invoiced, and when the transaction amount is consistent with the amount of the object to be invoiced in the attachment, trigger the invoicing instruction to issue the corresponding bill information for the object to be invoiced. Specifically, in the process of invoicing, different bills can be issued for different items corresponding to the object to be invoiced, or the transaction information of different items corresponding to the object to be invoiced can be merged so that the bill information corresponding to different items is displayed on the same invoice.
[0085] By adopting the above-mentioned method of automatically issuing tax invoices, the timeliness, accuracy, consistency, reliability and integrity of the invoice data are guaranteed. It replaces the process of manually logging into the system and entering information repeatedly, reduces the tax risks caused by manual invoice errors, and improves the efficiency and accuracy of invoice issuance.
[0086] The following is a detailed introduction to the specific implementation process of the tax invoice issuance method based on RPA and AI provided in an embodiment of the present invention.
[0087] Embodiment 1
[0088] Figure 2a This is a flow chart of a tax invoice issuance method based on RPA and AI provided in the first embodiment of the present invention. The method is executed by a tax invoice issuance device based on RPA and AI, and the device can be implemented in software and / or hardware. The method provided in this embodiment can be applied to an automated service platform, such as UiBot, which is a platform that can provide AI capabilities for RPA robots. Figure 2a As shown, the method includes:
[0089] S110. If an email containing a first preset field in the subject is received from a designated sender, and when it is determined that the attachment format and attachment content of the email meet the preset tax invoice issuance application requirements, the objects to be invoiced that require tax invoice issuance in the attachment content are obtained.
[0090] In this embodiment, the designated sender is a person who has a demand for tax invoice issuance. When the designated sender has a demand for tax invoice issuance, he or she will usually send the tax invoice issuance email and the attachment containing the invoice-related information to the designated mailbox. The attachment content and format of the email must comply with the preset tax invoice issuance application requirements. For example, in the preset tax invoice issuance application requirements, the attachment format is generally a table format, and each row in the table represents the relevant information of the object to be invoiced, such as the company name, tax number, amount and bank of account opening. When the sender edits the email, the subject of the email must also indicate the specific business platform for invoicing. For example, for financial and non-financial businesses, invoicing can be performed through different invoicing operation platforms. For financial businesses, such as financial insurance in the insurance industry, which requires official supervision, it is preferred to use the "China Banking, Insurance and Credit Electronic Invoice Service Platform" for invoicing.
[0091] In this embodiment, the RPA robot can log in to the designated mailbox by obtaining the configuration information of the mailbox, such as the mailbox password, account number and mail server address. After logging in to the mailbox, the mail list of the inbox can be obtained. For example, the RPA robot can refresh the inbox of the designated mailbox periodically, such as every half an hour. If there is an email in the inbox, it is determined whether the sender of the email is the designated sender; if it is an email sent by the designated sender, it can be determined on which platform the invoicing operation needs to be performed by identifying the subject of the email. If an email is received from a non-designated sender, the email can be removed from the inbox.
[0092] In this embodiment, the semantic recognition method in NLP can be used to identify whether the subject of the email contains the first preset field. If it is identified that the subject of the email sent by the designated sender contains the first preset field, the demand of the designated sender is to issue an invoice in the first business system according to the content in the attachment. Among them, the first preset field is used to instruct the RPA robot to issue the bill information through the first business system. Among them, the first business system is an operating platform that can issue tax invoices. Preferably, in this embodiment, tax invoice issuance operations for non-financial businesses can be performed in the first business system.
[0093] When the RPA robot determines that the email is sent by the designated sender, and when it is determined that the email subject contains the first preset field, it determines whether the attachment format and content of the email meet the preset tax invoice issuance application requirements. Among them, the attachment format in the preset tax invoice issuance application requirements is generally in a table format. The attachment content in the table is the invoice-related information for the tax invoice issuance, and the content of each column in the table is also predetermined, for example, the first column is the unit name, the second column is the unit tax number, etc.
[0094] Specifically, Figure 2b Schematic diagram of an attachment that meets the preset tax invoice issuance application requirements provided by the first embodiment of the present invention, such as Figure 2b As shown, each row in the table contains the invoicing related information corresponding to the object to be invoiced. In the preset tax invoice application requirements, the content of each column in the table has a corresponding preset position. For example, the content of the first column in the table is the customer name, the second column is the taxpayer identification number, the third column is the address and phone number, and the fourth column is the bank account number of the account opening bank. If RPA detects that the column name of a column in the attached table is the same as Figure 2b When the column names of the corresponding columns shown do not match, such as the third column of the attachment table that is not the taxpayer identification number, the email can be removed from the inbox and the operation of obtaining the mailbox inbox list is returned.
[0095] When the RPA robot determines that the attachment format and content of the email meet the preset tax invoice issuance application requirements, it can log in to the first business system by obtaining the first business system data, such as the login account and password.
[0096] For example, if the login to the first business system fails, you can retry to log in to the system. If the number of consecutive logins reaches a preset threshold, such as 5 times, a feedback can be sent to the sender via email to inform the sender that the login to the first business system failed and that the email account and password need to be confirmed. If they are not correct, the password needs to be changed.
[0097] S120. For any object to be invoiced, open the invoicing information page in the first business system.
[0098] After logging into the first business system, you can open Figure 1b The billing information page shown. If the page does not open normally, it may be due to network reasons that cause the system to be abnormal, and you need to log in to the system again. After the system login is successful, open the billing information page.
[0099] S130: Input the billing related information in the attachment content into the corresponding position of the billing information page, and upload the bill information of the billing object by triggering the billing information upload instruction.
[0100] Among them, the invoicing-related information includes: organization name, taxpayer identification number, address, telephone number, and opening bank and account.
[0101] For example, since the attachment is in the form of a table, the content of a row in the table represents the invoicing-related content of an object to be invoiced. During the invoicing process, tax invoices can be issued for each object to be invoiced in the order of the rows in the table. That is, after the bill information of an object to be invoiced is successfully uploaded, the tax invoices are issued in sequence according to the position of the row of the object to be invoiced in the table. Furthermore, for each object to be invoiced whose bill information is successfully uploaded, a successful upload mark can be added to the original attachment for the object to be invoiced.
[0102] Exemplarily, for each object to be invoiced, after the RPA robot triggers the invoicing information upload instruction, if the bill information is not uploaded successfully, it returns to execute the operation of opening the invoicing information page. When the number of re-operations reaches the set number, for example 5 times, if the bill information has not been uploaded successfully, an upload failure annotation information is added to the original attachment for the object to be invoiced.
[0103] Furthermore, after adding annotation information (upload success or upload failure) to all objects to be invoiced, the attachment containing the annotation information is forwarded to the sender of the email to inform the sender of the bill upload status.
[0104] The technical solution provided in this embodiment realizes the automatic issuance of tax invoices through the RPA robot. If the RPA robot receives an email with a first preset field in the subject sent by a designated sender, and when it is determined that the attachment format and attachment content of the email meet the preset tax invoice issuance application requirements, the object to be invoiced that needs to be invoiced can be obtained from the attachment content. By inputting the invoicing related information of the object to be invoiced into the invoicing information page of the first business system, and uploading the bill information of the invoicing object when the invoicing information upload instruction is triggered, the automatic issuance of tax invoices is realized. Compared with the manual issuance of tax invoices in the prior art, the technical solution provided by this embodiment solves the problem of time-consuming and labor-intensive manual operation process, improves the efficiency and accuracy of tax invoice issuance, reduces tax risks, and improves user experience.
[0105] Embodiment 2
[0106] Figure 3 This is a flow chart of a tax invoice issuance method based on RPA and AI provided in the second embodiment of the present invention. Based on the above embodiment, this embodiment adds the operation of issuing tax invoices through the China Banking, Insurance and Credit Electronic Invoice Service Platform, such as Figure 3 As shown, the method includes:
[0107] S200: Obtain a list of emails in the mailbox inbox.
[0108] S201, determine whether there is an email in the inbox, if so, execute step S202; otherwise, return to execute step S200.
[0109] S202, determine whether the email is sent by a designated sender, if so, execute step S203; otherwise, return to execute step S200.
[0110] S203, determining whether the email subject contains the first preset field, if so, executing step S204; otherwise, executing step S207.
[0111] S204: Determine whether the attachment format and attachment content meet the preset tax invoice issuance application requirements. If so, execute step S205; otherwise, remove the email and return to step S200.
[0112] S205. Obtain the invoiced objects that need to be invoiced in the attachment content. For any invoiced object, open the invoicing information page in the first business system and continue to execute step S206.
[0113] S206: Input the billing related information in the attachment content into the corresponding position of the billing information page, and upload the bill information of the billing object by triggering the billing information upload instruction.
[0114] S207, determining whether the email subject contains the second preset field, if so, executing step S208; otherwise, returning to executing step S200.
[0115] The second preset field is used to indicate that the bill is issued through the second business system, and the second business system, for example, the China Banking, Insurance and Credit Electronic Invoice Service Platform, is used to issue tax invoices for financial services. Whether the second preset field is included in the email subject can be determined by using the semantic recognition algorithm in NLP.
[0116] S208. Determine whether the attachment format and attachment content meet the preset tax invoice issuance application requirements. If so, execute step S209; otherwise, remove the email and return to execute step S200.
[0117] If the attachment is in PDF format, the attachment can be recognized by using an optical character recognition (OCR) method to obtain the attachment content.
[0118] S209, obtaining the objects to be invoiced that need to be invoiced in the attachment content, and for any object to be invoiced, querying the transaction information of the object to be invoiced in the second business system, and continuing to execute step S210.
[0119] S210: If the transaction amount in the transaction information is consistent with the amount corresponding to the object to be invoiced in the attachment content, the corresponding bill is issued for the object to be invoiced by triggering the invoicing information issuance instruction.
[0120] In this embodiment, the method of using RPA robots to perform flow verification reduces the difficulty of manual verification and improves the efficiency and accuracy of verification.
[0121] Specifically, the process of triggering the invoicing information issuance instruction to issue a corresponding bill for the object to be invoiced may include:
[0122] Issue different bills for different items corresponding to the object to be invoiced; or,
[0123] The transaction information of different items corresponding to the object to be invoiced is merged so that the bill information corresponding to different items can be displayed on the same invoice.
[0124] Furthermore, for the transaction information of the object to be invoiced with inconsistent amounts, a note indicating that the transaction information query failed can be added to the original attachment for the object to be invoiced; and,
[0125] For the invoice object whose bill information has been successfully issued, you can add the successful upload mark information for the invoice object in the original attachment.
[0126] After adding annotation information to all objects to be invoiced, the attachment containing the annotation information can be forwarded to the sender of the email to inform the sender of the upload status of the tax invoice information.
[0127] Based on the above embodiments, this embodiment processes the billing information related to financial business on the second business billing platform. This facilitates the company's management of financial and non-financial businesses. During the processing, the running amount of the object to be invoiced is queried and automatically compared with the amount corresponding to the object to be invoiced in the attached content, replacing the manual data comparison method, reducing the difficulty of manual verification of the amount, and reducing the occurrence of wrong invoice issuance. If it is determined that the amount is consistent, the running information of different items corresponding to the object to be invoiced can be merged, so that the bill information corresponding to different items is displayed on the same invoice, replacing the manual data entry operation, and improving the efficiency of tax invoice issuance.
[0128] Embodiment 3
[0129] Figure 4 This is a structural block diagram of a tax invoice issuing device based on RPA and AI provided in Embodiment 3 of the present invention. Figure 4 As shown, the device includes: a module for obtaining objects to be invoiced 410, a module for opening an invoicing information page 420, and a module for uploading bill information 430; wherein,
[0130] The module 410 for obtaining objects to be invoiced is configured to, if an email containing a first preset field in the subject sent by a designated sender is received, and if it is determined that the attachment format and attachment content of the email meet the preset tax invoice issuance application requirements, obtain the objects to be invoiced that need to be invoiced in the attachment content; wherein the first preset field is used to indicate that the bill information is issued through the first business system;
[0131] The invoicing information page opening module 420 is configured to open the invoicing information page in the first business system for any object to be invoiced;
[0132] The bill information upload module 430 is configured to input the billing related information in the attachment content into the corresponding position of the billing information page, and upload the bill information of the billing object by triggering the billing information upload instruction; wherein the billing related information includes: institution name, taxpayer identification number, bank and account.
[0133] Optionally, the device further comprises:
[0134] The first marking module is configured to return to the operation of opening the invoicing information page for the invoicing object whose invoice information has not been successfully uploaded, and when the number of re-operations reaches a set number, if the invoice information has not been successfully uploaded, add the marking information of upload failure to the invoicing object; for the invoicing object whose invoice information has been successfully uploaded, add the marking information of upload success to the invoicing object;
[0135] The first forwarding module is configured to forward the attachment containing the marked information to the sender of the email after adding the marked information to all the objects to be invoiced.
[0136] Optionally, the device further comprises:
[0137] The second preset field identification module is configured to obtain the invoiced object that needs to be invoiced in the attachment content if an email containing the second preset field in the subject is received and the attachment format and content of the email meet the preset tax invoice issuance application requirements; wherein the second preset field is used to indicate that the bill is issued through the second business system; the second business system is used to issue tax invoices for financial business;
[0138] A transaction information query module is configured to query the transaction information of any object to be invoiced in the second business system;
[0139] The invoicing module is configured to issue a corresponding bill for the object to be invoiced by triggering an invoicing information issuance instruction if the transaction amount in the transaction information is consistent with the amount corresponding to the object to be invoiced in the attachment content.
[0140] Optionally, the invoicing module is specifically configured as follows:
[0141] If the running amount in the running information is consistent with the amount corresponding to the object to be invoiced in the attachment content, different bills are issued for different items corresponding to the object to be invoiced;
[0142] or,
[0143] The transaction information of different items corresponding to the object to be invoiced is merged so that the bill information corresponding to different items can be displayed on the same invoice.
[0144] Optionally, the device further comprises:
[0145] The second marking module is configured to add marking information indicating that the query flow failed to the object to be invoiced for the transaction flow information of the object to be invoiced with inconsistent query amount; and
[0146] For the invoice object with successful invoice information issuance, add the mark information of successful upload to the invoice object;
[0147] The second forwarding module is configured to forward the attachment containing the marked information to the sender of the email after adding the marked information to all the objects to be invoiced.
[0148] Optionally, the device further comprises:
[0149] The mailbox list acquisition module is configured as follows:
[0150] Get the email list of the mailbox inbox; if there is no email in the mailbox inbox, or
[0151] If the email is sent by a non-specified sender,
[0152] Then return to execute the operation of obtaining the email list of the mailbox inbox.
[0153] Optionally, the subject of the email is identified by using a semantic recognition algorithm in natural language processing (NLP); and
[0154] If the attachment content is in PDF format, the attachment is recognized by using an optical character recognition (OCR) method to obtain the attachment content.
[0155] The RPA and AI-based tax invoice issuing device provided in the embodiment of the present invention can execute the RPA and AI-based tax invoice issuing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in the above embodiments, please refer to the RPA and AI-based tax invoice issuing method provided in any embodiment of the present invention.
[0156] Embodiment 4
[0157] See also Figure 5 , Figure 5 Schematic diagram of a computing device provided by Embodiment 4 of the present invention. Figure 5 As shown, the computing device may include:
[0158] A memory 701 storing executable program codes;
[0159] a processor 702 coupled to the memory 701;
[0160] Among them, the processor 702 calls the executable program code stored in the memory 701 to execute the tax invoice issuance method based on RPA and AI provided by any embodiment of the present invention.
[0161] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the tax invoice issuance method based on RPA and AI provided by any embodiment of the present invention.
[0162] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0163] In the embodiments provided by the present invention, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0164] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0165] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above methods of various embodiments of the present invention.
[0166] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0167] Those skilled in the art can understand that the accompanying drawings are only schematic diagrams of an embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present invention.
[0168] Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description of the embodiment, or can be changed accordingly and located in one or more devices different from the embodiment. The modules in the above embodiment can be combined into one module, or can be further divided into multiple sub-modules.
[0169] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A tax invoice issuance method based on RPA and AI. It is characterized in that include: S1. Read the mailbox configuration information to log in to the mailbox; After logging into the mailbox, read the email list of the mailbox inbox; Determine whether there are any emails in the email list that need to be processed, and if there are no received emails in the email list, periodically refresh the inbox of the designated mailbox; If there is a received email in the email list, determine whether the email type is a type of email that requires a tax invoice to be issued; If the email type meets the email type for tax invoice issuance, the platform for tax invoice issuance is determined by judging the content of the email subject; if an email with a first preset field in the subject sent by a designated sender is received, and when it is determined that the attachment format and attachment content of the email meet the preset tax invoice issuance application requirements, the object to be invoiced that needs to be invoiced in the attachment content is obtained; wherein the first preset field is used to indicate that the bill information is issued through the first business system, and the first business system is used to issue tax invoices for non-financial businesses; S2. For any object to be invoiced, open the invoicing information page in the first business system; S3. Input the invoicing related information in the attachment to the corresponding position of the invoicing information page, and upload the bill information of the invoicing object by triggering the invoicing information upload instruction; wherein the invoicing related information includes: institution name, taxpayer identification number, address, telephone number, bank and account number; S7. If an email containing a second preset field in the subject is received, and the attachment format and content of the email meet the preset tax invoice issuance application requirements, the invoice object to be issued for which the tax invoice is required in the attachment content is obtained; wherein the second preset field is used to indicate that the bill is issued through the second business system; the second business system is used to issue tax invoices for financial business; S8. For any object to be invoiced, query the transaction information of the object to be invoiced in the second business system; S9. If the running amount in the running information is consistent with the amount corresponding to the object to be invoiced in the attachment content, a corresponding bill is issued for the object to be invoiced by triggering the invoicing information issuance instruction.
2. The method according to claim 1, It is characterized in that The method further comprises: S4. For the invoicing object whose bill information has not been successfully uploaded, return to execute the operation of opening the billing information page. When the number of re-operations reaches the set number, if the bill information has not been successfully uploaded, add a note of upload failure to the invoicing object; S5. For the invoice object whose bill information is successfully uploaded, a note of successful upload is added to the invoice object; S6. After adding annotation information to all objects to be invoiced, forward the attachment containing the annotation information to the sender of the email.
3. The method according to claim 1, It is characterized in that The method of issuing a corresponding bill for the object to be invoiced by triggering the invoicing information issuance instruction includes: Issue different bills for different items corresponding to the object to be invoiced; or, The transaction information of different items corresponding to the object to be invoiced is merged so that the bill information corresponding to different items can be displayed on the same invoice.
4. The method according to claim 3 or 1, It is characterized in that The method further comprises: For the transaction information of the invoice object with inconsistent query amount, add a note indicating that the transaction information query failed for the invoice object; and For the invoice object with successful invoice information issuance, add the mark information of successful upload to the invoice object; After adding the annotation information to all the objects to be invoiced, the attachment containing the annotation information is forwarded to the sender of the email.
5. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: If there is no email in the mailbox inbox, or If the email is sent by a non-specified sender, Then return to execute the operation of obtaining the email list of the mailbox inbox.
6. The method according to any one of claims 1 to 5, Features: The subject of the email is identified by using a semantic recognition algorithm in natural language processing (NLP); and If the attachment content is in PDF format, the attachment is recognized by using an optical character recognition (OCR) method to obtain the attachment content.
7. A tax invoice issuing device based on RPA and AI, It is characterized in that include: The module for obtaining objects to be invoiced is configured to read the mailbox configuration information to log in to the mailbox; After logging into the mailbox, read the email list of the mailbox inbox; Determine whether there are any emails in the email list that need to be processed, and if there are no received emails in the email list, periodically refresh the inbox of the designated mailbox; If there is a received email in the email list, determine whether the email type is a type of email that requires a tax invoice to be issued; If the email type meets the email type for tax invoice issuance, the platform for tax invoice issuance is determined by judging the content of the email subject; if an email with a first preset field in the subject sent by a designated sender is received, and when it is determined that the attachment format and attachment content of the email meet the preset tax invoice issuance application requirements, the object to be invoiced that needs to be invoiced in the attachment content is obtained; wherein the first preset field is used to indicate that the bill information is issued through the first business system, and the first business system is used to issue tax invoices for non-financial businesses; The invoicing information page opening module is configured to open the invoicing information page in the first business system for any object to be invoiced; The bill information uploading module is configured to input the billing related information in the attachment content into the corresponding position of the billing information page, and upload the bill information of the billing object by triggering the billing information uploading instruction; wherein the billing related information includes: institution name, taxpayer identification number, address, telephone number, bank and account number; The second preset field identification module is configured to obtain the invoiced object that needs to be invoiced in the attachment content if an email containing the second preset field in the subject is received and the attachment format and content of the email meet the preset tax invoice issuance application requirements; wherein the second preset field is used to indicate that the bill is issued through the second business system; the second business system is used to issue tax invoices for financial business; A transaction information query module is configured to query the transaction information of any object to be invoiced in the second business system; The invoicing module is configured to issue a corresponding bill for the object to be invoiced by triggering an invoicing information issuance instruction if the transaction amount in the transaction information is consistent with the amount corresponding to the object to be invoiced in the attachment content.
8. A device, It is characterized in that The device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the tax invoice issuance method based on RPA and AI as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the RPA and AI-based tax invoice issuance method as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Management system and management method for output invoices of value-added tax
CN106709770A
Invoice issuing method, device and equipment and computer readable storage medium
CN109741118A
RPA robot control system and method based on mail system
CN110968006A
Automatic print system of tax reciept
CN205827573U
System is opened to long -range tax reciept based on network
CN207074453U
