CA3147372C - Electronic invoice management method, device, computer apparatus, and storage medium - Google Patents
Electronic invoice management method, device, computer apparatus, and storage medium Download PDFInfo
- Publication number
- CA3147372C CA3147372C CA3147372A CA3147372A CA3147372C CA 3147372 C CA3147372 C CA 3147372C CA 3147372 A CA3147372 A CA 3147372A CA 3147372 A CA3147372 A CA 3147372A CA 3147372 C CA3147372 C CA 3147372C
- Authority
- CA
- Canada
- Prior art keywords
- invoice
- request
- information
- electronic
- party application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003860 storage Methods 0.000 title claims abstract description 43
- 238000007726 management method Methods 0.000 title abstract description 55
- 238000000034 method Methods 0.000 claims abstract description 103
- 238000012986 modification Methods 0.000 claims description 210
- 230000004048 modification Effects 0.000 claims description 204
- 238000004590 computer program Methods 0.000 claims description 29
- 150000003839 salts Chemical class 0.000 claims description 12
- 238000012552 review Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 2
- 239000000284 extract Substances 0.000 claims description 2
- 229940079593 drug Drugs 0.000 description 18
- 239000003814 drug Substances 0.000 description 18
- 238000010586 diagram Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 10
- 230000003993 interaction Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 208000037805 labour Diseases 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/33—User authentication using certificates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F21/645—Protecting data integrity, e.g. using checksums, certificates or signatures using a third party
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- Development Economics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Economics (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to an electronic invoice management method, device, computer apparatus, and storage medium. The described method comprises: receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order; when the third-party application identified by the access token is an authorized application, generating the invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third- party application; receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information; and relating the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens. The aforementioned method permits electronic invoice management for customer purchases without customer user information.
Description
ELECTRONIC INVOICE MANAGEMENT METHOD, DEVICE, COMPUTER
APPARATUS, AND STORAGE MEDIUM
Technical Field [0001] The present invention relates to the field of invoice management technologies, in particular, to a method, a device, a computer apparatus, and a storage medium for electronic invoice management.
Background
APPARATUS, AND STORAGE MEDIUM
Technical Field [0001] The present invention relates to the field of invoice management technologies, in particular, to a method, a device, a computer apparatus, and a storage medium for electronic invoice management.
Background
[0002] According to the national policies of "promoting the use of electronic invoice, supporting companies and operators to issue electronic invoices according to rules, and allowing the use of electronic invoices for reimbursement", the use of electronic invoice has been greatly developed and covers many service fields such as retailers, e-commerce, and travels.
Especially in the fast-moving service fields such as supermarkets and restaurants, the application of electronic invoice has become more prevalent. Generally, the merchants print a QR code on each purchase receipt, and customers can obtain issued electronic invoices by scanning the QR codes.
Especially in the fast-moving service fields such as supermarkets and restaurants, the application of electronic invoice has become more prevalent. Generally, the merchants print a QR code on each purchase receipt, and customers can obtain issued electronic invoices by scanning the QR codes.
[0003] However, the traditional scanning-based electronic invoice issuing encounters problems of that:
[0004] in the fields applying scanning-based electronic invoice issuing, a great portion of customers is occupied by non-member customers. After issuing electronic invoices, the back end cannot access user information of the non-member customers, wherein the order-receipt-customer relations are difficult to obtain, consequently with difficult invoice management of the customer electronic invoices.
Summary
Summary
[0005] Accordingly, aiming at the aforementioned technical problems, an electronic invoice management method, device, computer apparatus, and storage medium are provided in the present invention, permitting electronic invoice management for customer purchases without customer user information.
[0006] An electronic invoice management method, comprises: receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to Date Recue/Date Received 2022-02-01 request an electronic invoice for a target order; when the third-party application identified by the access token is an authorized application, generating the invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application;
receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information; and relating the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information; and relating the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
[0007] In one of embodiments, the described method further includes: when the invoice permission request carrying an access token from a third-party application is received, acquiring a username on the described third-party application and the secret key corresponding to the described use name, wherein the described invoice permission request is used to request peimission to issue the electronic invoice of the described target order; and acquiring the described access token based on the described username and the described secret key, and sending the described access token to the described third-party application.
[0008] In one of embodiments, after relating the electronic invoice with the access token, the described method further includes: sending a notification to the described third-party application for indicating that the electronic invoice has been successfully issued; when the invoice reviewing request sent from the described third-party application is received, where if the described invoice reviewing request is detected to carry the described access token, acquiring the invoice information of the described electronic invoice based on the described access token, and sending the invoice information of the described electronic invoice to the described third-party application.
[0009] In one of embodiments, after relating the electronic invoice with the access token, the described method further includes: receiving the title modification request sent form the described third-party application, wherein the described title modification request is used to request modifications on the invoice title of described electronic invoice; where if the described title modification request is detected to carry the described access token, sending the title medication page to the described third-party application; receiving the modified invoice title from the title medication page sent from the described third-party application so as to replace the invoice title in the described electronic invoice by the described modified invoice title for obtaining the modified electronic invoice, wherein the described modified electronic invoice and the described access token are related.
Date Recue/Date Received 2022-02-01
Date Recue/Date Received 2022-02-01
[0010] Preferably, after obtaining the modified electronic invoice, the method further includes:
off-writing the described electronic invoice before the modification; and sending the invoice information of the described modified electronic invoice to the described third-party application.
off-writing the described electronic invoice before the modification; and sending the invoice information of the described modified electronic invoice to the described third-party application.
[0011] In one of embodiments, before sending the title medication page to the described third-party application, the described method further includes: identifying the primary invoice information according to the described title modification request; querying recorded title modification times of the described electronic invoice in a modification table based on the described primary invoice information; where if the number of the described title modification times is greater than a pre-set number, sending a notification to the described third-party application indicating the failure of the described electronic invoice title modification; and where if the number of the described title modification times is smaller than the described pre-set number, proceeding to the procedure of sending the title medication page to the described third-party application.
[0012] In one of embodiments, after generating the electronic invoice for the target order based on the described invoice information, the described method further includes:
receiving the exchange request for a paper-based invoice sent by the described third-party application, wherein the described exchange request for a paper-based invoice is used to request the exchange from the described electronic invoice to a paper-based invoice; where if the described exchange request for a paper-based invoice is detected to carry the described access token, saving the secondary invoice information of the described electronic invoice into the paper-based invoice pool, wherein the described paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the described electronic invoice.
receiving the exchange request for a paper-based invoice sent by the described third-party application, wherein the described exchange request for a paper-based invoice is used to request the exchange from the described electronic invoice to a paper-based invoice; where if the described exchange request for a paper-based invoice is detected to carry the described access token, saving the secondary invoice information of the described electronic invoice into the paper-based invoice pool, wherein the described paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the described electronic invoice.
[0013] In one of embodiments, before receiving the invoice request sent from the described third-party application, the described method further includes: receiving the issuing-pending order information of the described target order sent by the order issuing system;
generating an identification code for the described target order; generating a primary encrypting information of the described identification code by the salt according to the described issuing-pending order information; encrypting the described identification code by the described primary encrypting information to obtain the encrypted identification code; and sending the encrypted identification code to the described order issuing system. The invoice request by the third-party application is received, by means of: receiving the invoice request sent by the third-party application, wherein Date Recue/Date Received 2023-03-07 the described invoice request is obtained by scanning the described encrypted identification code provided by the described order issuing system by the described third-party application. The described method further includes: extracting the secondary encrypting information from the described invoice request, and where if the described secondary encrypting information matches with the described primary encrypting information, proceeding to the procedure of sending the invoice issuing page to the third-party application.
generating an identification code for the described target order; generating a primary encrypting information of the described identification code by the salt according to the described issuing-pending order information; encrypting the described identification code by the described primary encrypting information to obtain the encrypted identification code; and sending the encrypted identification code to the described order issuing system. The invoice request by the third-party application is received, by means of: receiving the invoice request sent by the third-party application, wherein Date Recue/Date Received 2023-03-07 the described invoice request is obtained by scanning the described encrypted identification code provided by the described order issuing system by the described third-party application. The described method further includes: extracting the secondary encrypting information from the described invoice request, and where if the described secondary encrypting information matches with the described primary encrypting information, proceeding to the procedure of sending the invoice issuing page to the third-party application.
[0014] An electronic invoice management device, comprises: a receiving module, configured to receive an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order; a sending module, configured to generate the invoice issuing page for the target order based on the invoice request when the third-party application identified by the access token is an authorized application, and send the invoice issuing page to the third-party application; a generation module, configured to receive invoice information sent from the third-party application and generate the electronic invoice for the target order based on the invoice information; and a management module, configured to relate the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
[0015] A computer apparatus, comprises a memory unit, a processor, and computer programs stored in the memory unit executable on the processor, wherein any methods in the aforementioned embodiments are performed when the described processor executes the described computer programs.
[0016] A readable computer storage medium with computer programs stored, is characterized in that, any methods in the aforementioned embodiments are performed when the described computer programs are executed on the described processor.
[0017] The aforementioned electronic invoice management method, device, computer apparatus, and storage medium receive an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
when the third-party application identified by the access token is an authorized application, generate the invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application; receive invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information; and relate the electronic invoice with the access token, wherein electronic invoices Date Recue/Date Received 2022-02-01 for target orders are managed by access tokens. Therefore, the back end is permitted to manage electronic invoices for customer purchases without customer user information by authorizing the access token to the third-party application, achieve non-member customer management, and expand management on non-member electronic invoice.
Brief descriptions of the drawings
when the third-party application identified by the access token is an authorized application, generate the invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application; receive invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information; and relate the electronic invoice with the access token, wherein electronic invoices Date Recue/Date Received 2022-02-01 for target orders are managed by access tokens. Therefore, the back end is permitted to manage electronic invoices for customer purchases without customer user information by authorizing the access token to the third-party application, achieve non-member customer management, and expand management on non-member electronic invoice.
Brief descriptions of the drawings
[0018] Fig. 1 is an application environment diagram of an electronic invoice management method provided in one of embodiments;
[0019] Fig. 2 is an application scenario diagram of an electronic invoice management method provided in one of embodiments;
[0020] Fig. 3 is a procedure flow diagram of an electronic invoice management method provided in one of embodiments;
[0021] Fig. 4 is illustrative diagram of a general electronic invoice format provided in one of embodiments;
[0022] Fig. 5 is a diagram of information interaction process amongst all devices for querying electronic invoices in one of embodiments;
[0023] Fig. 6 is an interface display diagram of a display interface in the third-party application in one of embodiments;
[0024] Fig. 7 is a procedure flow diagram of the electronic invoice title modification provided in one of embodiments;
[0025] Fig. 8 is a procedure flow diagram of the exchange to a paper-based invoice provided in one of embodiments;
[0026] Fig. 8 is a procedure flow diagram of the exchange process for an electronic invoice to a paper-based invoice provided in one of embodiments;
[0027] Fig. 9 is a diagram of information interaction process amongst all devices for issuing electronic invoice for a target order in one of embodiments;
[0028] Fig. 10 is a structure diagram of an electronic invoice management device provided in one of embodiments; and
[0029] Fig. 11 is a structure diagram of the computer apparatus provided in one of embodiments.
Detailed descriptions Date Recue/Date Received 2022-02-01
Detailed descriptions Date Recue/Date Received 2022-02-01
[0030] In order to make the objective, the technical scheme, and the advantages of the present invention clearer, the present invention will be explained further in detail precisely below with references to the accompanying drawings. Obviously, the embodiments described below are only a portion of embodiments of the present invention and cannot represent all possible embodiments.
Based on the embodiments in the present invention, the other applications by those skilled in the art without any creative works are falling within the scope of the present invention.
Based on the embodiments in the present invention, the other applications by those skilled in the art without any creative works are falling within the scope of the present invention.
[0031] An electronic invoice management method provided in the present invention can be applied to the application environment shown in Fig. 1. As shown in Fig. 1, the back end 104 is configured to perform an electronic invoice management method in the present invention.
In particular, a user accesses the third-party application on the terminal 102 to send the invoice request carrying the access token to the back end 104, wherein the invoice request is used to request an electronic invoice for a target order. When the back end 104 identifies a third-party application by the access token as an authorized application, the invoice issuing page for the target order is generated based on the invoice request and sent to the third-party application on the terminal 102. Furthermore, the third-party application displays the invoice issuing page to the user to ask the user to fill invoice information for the target order on the invoice issuing page. The terminal 102 sends an invoice issuing page with the invoice information to the back end 104. Furthermore, the back end 104 receives invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information. Then, the back end 104 relates the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens. Therefore, the back end is permitted to manage electronic invoice for customer purchases without customer user information by authorizing the access token to the third-party application, achieve non-member customer management, and expand management on non-member electronic invoice.
In particular, a user accesses the third-party application on the terminal 102 to send the invoice request carrying the access token to the back end 104, wherein the invoice request is used to request an electronic invoice for a target order. When the back end 104 identifies a third-party application by the access token as an authorized application, the invoice issuing page for the target order is generated based on the invoice request and sent to the third-party application on the terminal 102. Furthermore, the third-party application displays the invoice issuing page to the user to ask the user to fill invoice information for the target order on the invoice issuing page. The terminal 102 sends an invoice issuing page with the invoice information to the back end 104. Furthermore, the back end 104 receives invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information. Then, the back end 104 relates the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens. Therefore, the back end is permitted to manage electronic invoice for customer purchases without customer user information by authorizing the access token to the third-party application, achieve non-member customer management, and expand management on non-member electronic invoice.
[0032] An electronic invoice management method provided in the present invention can further be applied to the application environment shown in Fig. 2. As shown in Fig. 2, the application environment includes merchant invoice issuing subsystem, the third-party application, the invoice pre-issuing subsystem, and the invoice issuing subsystem. Wherein, the invoice pre-issuing subsystem and the invoice issuing subsystem are allocated in the back end 104.
The third-party application on the terminal 102 is configured to manage user-issued electronic invoice. The merchant invoice issuing subsystem is configured to provide order information of the target order Date Recue/Date Received 2022-02-01 to the user, so as to send the invoice request to the back end 104 for requesting to issue the electronic invoice for the target order. As shown in Fig. 2, the user is a customer. The merchant invoice issuing subsystem print the target order receipt for the customer; the customer scans the QR code on the receipt via the third-party application to acquire order information of the target order; the customer uses the third-party application to submit the invoice issuing application to the invoice pre-issuing subsystem; and the customer accesses and manages the invoice information of the electronic invoice returned by the invoice pre-issuing subsystem via the third-party application.
The information interactions amongst individual systems and devices in the application environment shown in Fig. 2 can refer to detailed descriptions for an electronic invoice management method in the following embodiments.
The third-party application on the terminal 102 is configured to manage user-issued electronic invoice. The merchant invoice issuing subsystem is configured to provide order information of the target order Date Recue/Date Received 2022-02-01 to the user, so as to send the invoice request to the back end 104 for requesting to issue the electronic invoice for the target order. As shown in Fig. 2, the user is a customer. The merchant invoice issuing subsystem print the target order receipt for the customer; the customer scans the QR code on the receipt via the third-party application to acquire order information of the target order; the customer uses the third-party application to submit the invoice issuing application to the invoice pre-issuing subsystem; and the customer accesses and manages the invoice information of the electronic invoice returned by the invoice pre-issuing subsystem via the third-party application.
The information interactions amongst individual systems and devices in the application environment shown in Fig. 2 can refer to detailed descriptions for an electronic invoice management method in the following embodiments.
[0033] In an embodiment, as shown in Fig. 2, an electronic invoice management method is provided. For example, the described method can be applied to the back end shown in Fig. 1. In particular, the back end comprises the invoice pre-issuing subsystem and the invoice issuing subsystem. An electronic invoice management method comprises the following steps:
[0034] S302, receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order.
[0035] In the present embodiment, the user submits the invoice request to the invoice pre-issuing subsystem via the third-party application on the terminal for requesting to issue the electronic invoice for the target order. The invoice request carries an access token. The access token is used to identify authorized third-party applications. In detail, the invoice pre-issuing subsystem generates an access token and send the access token to the teiininal. The third-party application on the terminal attaches the access token to the invoice request to identify authorized third-party applications to the invoice pre-issuing subsystem based on the access token in the invoice request.
[0036] S304, when the third-party application identified by the access token is an authorized application, generating the invoice issuing page for the target order based on the invoice request, and sending the invoice issuing page to the third-party application.
[0037] In the present embodiment, the invoice pre-issuing subsystem parses the invoice request to acquire the access token in the invoice request. Furthermore, the access token is recognized. When the third-party application identified by the access token is an authorized application, the invoice issuing page for the target order is generated based on the invoice request.
In particular, the invoice request is used for requesting to issue the electronic invoice of the target order. Possibly, the Date Recue/Date Received 2022-02-01 invoice pre-issuing subsystem can be pre-set as a primary general template on the invoice issuing page, wherein the primary general template contains general information for issuing electronic invoices, such as "tax identification number", "title", "address", "contact number", and other general fields for the electronic invoices. When the invoice request is received, acquiring data information to be filled in the electronic invoice for the target order according to the target order indicated in the invoice request, wherein the data information is filled in the primary general template to generate the invoice issuing page for the target order. In particular, data information to be filled in the electronic invoice for the target order can include company basic information, transaction data, reimbursing objects, etc. For example, the invoice issuing page can be a HTML
web page form, wherein the HTML 5 web page form includes company basic information, transaction data, reimbursing objects. Furthermore, the invoice issuing page is sent to the third-party application.
In particular, the invoice request is used for requesting to issue the electronic invoice of the target order. Possibly, the Date Recue/Date Received 2022-02-01 invoice pre-issuing subsystem can be pre-set as a primary general template on the invoice issuing page, wherein the primary general template contains general information for issuing electronic invoices, such as "tax identification number", "title", "address", "contact number", and other general fields for the electronic invoices. When the invoice request is received, acquiring data information to be filled in the electronic invoice for the target order according to the target order indicated in the invoice request, wherein the data information is filled in the primary general template to generate the invoice issuing page for the target order. In particular, data information to be filled in the electronic invoice for the target order can include company basic information, transaction data, reimbursing objects, etc. For example, the invoice issuing page can be a HTML
web page form, wherein the HTML 5 web page form includes company basic information, transaction data, reimbursing objects. Furthermore, the invoice issuing page is sent to the third-party application.
[0038] S306, receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information.
[0039] In the present embodiment, when the third-party application receives the invoice issuing page, the invoice issuing page is displayed on the terminal. The user fills invoice information of the electronic invoice on the invoice issuing page, such as the title information and the tax identification number. Then, the third-party application sends the invoice information on the invoice issuing page to the invoice pre-issuing subsystem. As shown in Fig. 2, the invoice pre-issuing subsystem sends invoice data carrying invoice information to the invoice issuing subsystem via a message middleware to generate the electronic invoice for the target order according to the invoice data by the invoice issuing subsystem. In detail, the invoice issuing subsystem is allocated with a pre-set electronic invoice secondary general template, wherein the general format of electronic invoice is set in the secondary general template as shown in Fig. 4.
The invoice issuing subsystem fills invoice data into the secondary general template to generate the electronic invoice for the target order. Furthermore, the invoice issuing subsystem feedbacks the electronic invoice to the invoice pre-issuing subsystem.
The invoice issuing subsystem fills invoice data into the secondary general template to generate the electronic invoice for the target order. Furthermore, the invoice issuing subsystem feedbacks the electronic invoice to the invoice pre-issuing subsystem.
[0040] S308, relating the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
[0041] In the present embodiment, the invoice pre-issuing subsystem relates the electronic invoice for the target invoice with the access token. The target order electronic invoice can be accessed by Date Recue/Date Received 2022-02-01 the relationship with the access token in the invoice pre-issuing subsystem, wherein the access token can be used for invoice management of the target order electronic invoices. Besides, the access token is used to identify authorized third-party applications, therefore, the invoice pre-issuing subsystem can manage third-party applications by access tokens. When a third-party application carrying an access token accesses the invoice pre-issuing subsystem, the invoice pre-issuing subsystem can query target order electronic invoice by access tokens.
For non-member users, third-party applications can be directly used to apply for issuing target order electronic invoices, wherein the third-party applications can query target order of electronic invoices from the invoice pre-issuing subsystem. The invoice pre-issuing subsystem performs invoice management for the target order invoices via access tokens related with third-party applications, wherein the third-party application target order of electronic invoices can be queried by access tokens and the invoice information of electronic invoices are returned to the third-party applications. Therefore, the order management for non-member users on the back end can be achieved, with expanded non-member electronic invoice management on the back end.
For non-member users, third-party applications can be directly used to apply for issuing target order electronic invoices, wherein the third-party applications can query target order of electronic invoices from the invoice pre-issuing subsystem. The invoice pre-issuing subsystem performs invoice management for the target order invoices via access tokens related with third-party applications, wherein the third-party application target order of electronic invoices can be queried by access tokens and the invoice information of electronic invoices are returned to the third-party applications. Therefore, the order management for non-member users on the back end can be achieved, with expanded non-member electronic invoice management on the back end.
[0042] The aforementioned electronic invoice management method can receive an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order; when the third-party application identified by the access token is an authorized application, generate the invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application;
receive invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information; and relate the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
Therefore, the back end is permitted to manage electronic invoice for customer purchases without customer user information by authorizing the access token to the third-party application, achieve non-member customer management, and expand management on non-member electronic invoice.
receive invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information; and relate the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
Therefore, the back end is permitted to manage electronic invoice for customer purchases without customer user information by authorizing the access token to the third-party application, achieve non-member customer management, and expand management on non-member electronic invoice.
[0043] In an embodiment, before receiving an invoice request carrying an access token from a third-party application, the described method further includes: when the invoice permission request carrying an access token from a third-party application is received, acquiring a usemame on the described third-party application and the secret key corresponding to the described use name, wherein the described invoice permission request is used to request permission to issue the electronic invoice of the described target order; and acquiring the described access token based on Date Recue/Date Received 2022-02-01 the described usemame and the described secret key, and sending the described access token to the described third-party application.
[0044] In the present embodiment, the access token is acquired based on the usemame on the third-party application and corresponding secret key by the invoice pre-issuing subsystem. The invoice pre-issuing subsystem identifies authorized third-party applications by access tokens. When the third-party application submits an invoice request to the invoice pre-issuing subsystem for the first time, the invoice pre-issuing subsystem sends the access token to the third-party application. In other words, in the first invoice request, the third-party application requests permissions from the invoice pre-issuing subsystem. At the same time, the invoice pre-issuing subsystem acquires the usemame on the third-party application and corresponding secret key, then acquires the access token by the usemame on the third-party application and corresponding secret key. Possibly, the access token for the third-party application is generated by the usemame on the third-party application and corresponding secret key to acquire the access token. In another possible way, the invoice pre-issuing subsystem carries multiple access tokens to be distributed to third-party applications, and the access tokens are related to the user names on the third-party applications and corresponding secret keys wherein corresponding access tokens can be acquired by the user names on the third-party applications and corresponding secret keys.
Furthermore, the third-party applications can attach the access tokens in the following invoice requests for issuing electronic invoices, wherein the invoice pre-issuing subsystem responds to the invoice request based on the access token to issue the electronic invoice corresponding to the invoice request. Possibly, the third-party application attaches the access token in the following invoice requests for issuing target order electronic invoices, wherein the invoice pre-issuing subsystem responds to the invoice request based on the access token to issue the electronic invoice corresponding to the invoice request. Therefore, the target order of electronic invoices for users on the third-party applications can be managed based on access tokens, to achieve non-member customer management and expand management on non-member electronic invoice.
Furthermore, the third-party applications can attach the access tokens in the following invoice requests for issuing electronic invoices, wherein the invoice pre-issuing subsystem responds to the invoice request based on the access token to issue the electronic invoice corresponding to the invoice request. Possibly, the third-party application attaches the access token in the following invoice requests for issuing target order electronic invoices, wherein the invoice pre-issuing subsystem responds to the invoice request based on the access token to issue the electronic invoice corresponding to the invoice request. Therefore, the target order of electronic invoices for users on the third-party applications can be managed based on access tokens, to achieve non-member customer management and expand management on non-member electronic invoice.
[0045] In one of embodiments, after relating the electronic invoice with the access token, the described method further includes: sending a notification to the described third-party application for indicating that the electronic invoice has been successfully issued; when the invoice reviewing request sent from the described third-party application is received, where if the described invoice reviewing request is detected to carry the described access token, acquiring the invoice information Date Recue/Date Received 2022-02-01 of the described electronic invoice based on the described access token, and sending the invoice information of the described electronic invoice to the described third-party application.
[0046] In the present embodiment, after receiving the target order of electronic invoices by the invoice pre-issuing subsystem, a notification is sent to the third-party application for indicating that the electronic invoice has been successfully issued. When a user searches issued electronic invoices via the third-party application, the third-party application sends an invoice reviewing request to the invoice pre-issuing subsystem. Where if the described invoice reviewing request is detected to carry the described access token by the invoice pre-issuing subsystem, the invoice information is sent to the third-party application. For example, as shown in Fig. 5, a customer uses the third-party application to review the applied electronic invoices from the invoice pre-issuing system via remote service ports by the authorized access tokens as the searching certificates. The invoice pre-issuing system searches the electronic invoices applied by the described customer based on the access tokens for invoice applications and the relationships with the target order electronic invoices, wherein invoice information, formatting files, order information, and other related information are acquired and written in the invoice detail pages.
Moreover, the invoice detail pages are returned to the third-party application. Therefore, the linking relationships between the third-party applications and electronic invoices in the back end is achieved by access tokens, wherein the back end is permitted to manage customer electronic invoices without customer user information and users can review user electronic invoices without registration information.
Moreover, the invoice detail pages are returned to the third-party application. Therefore, the linking relationships between the third-party applications and electronic invoices in the back end is achieved by access tokens, wherein the back end is permitted to manage customer electronic invoices without customer user information and users can review user electronic invoices without registration information.
[0047] In an embodiment, after relating the electronic invoice with the access token, the described method further includes: receiving the title modification request sent form the described third-party application, wherein the described title modification request is used to request modifications on the invoice title of described electronic invoice; where if the described title modification request is detected to carry the described access token, sending the title medication page to the described third-party application; receiving the modified invoice title from the title medication page sent from the described third-party application so as to replace the invoice title in the described electronic invoice by the described modified invoice title for obtaining the modified electronic invoice, wherein the described modified electronic invoice and the described access token are related.
Date Recue/Date Received 2022-02-01
Date Recue/Date Received 2022-02-01
[0048] Preferably, after obtaining the modified electronic invoice, the method further includes:
off-writing the described electronic invoice before the modification; and sending the invoice information of the described modified electronic invoice to the described third-party application.
off-writing the described electronic invoice before the modification; and sending the invoice information of the described modified electronic invoice to the described third-party application.
[0049] In the present embodiment, the back end provides the title modification service for issued electronic invoices. Possibly, the invoice pre-issuing subsystem on the back end can provide the title modification service for issued electronic invoices. As shown in Fig. 6, the third-party applications provide title modification elements. Uses can trigger the title modification elements to submit the title modification requests to the back end. When the back end detects the access tokens in the title modification requests, the title modification page is sent to the third-party application. The title modification page contains editable elements to receive the desired invoice title edited by users. And/or, the title modification page can provide available invoice titles for the modification. The users can select corresponding desired invoice titles. The modified invoice titles can be determined on the title modification page. The back end changes the previous invoice title into the desired invoice title to obtain the modified electronic invoice, wherein the modified electronic invoice is related to the access token. Therefore, when the third-party application searches the modified electronic invoices, the back end can access the modified electronic invoices by the access tokens. Furthermore, the back end off-writes the electronic invoice before the modification and sends the invoice information of the described modified electronic invoice to the described third-party application. Herein, the titles of issued electronic invoices are modified to satisfy user demands.
[0050] To clarify, in the traditional electronic invoice issuing approaches, the electronic invoice title modification service is not provided. Where if an electronic invoice title is needed to modify, the user needs to contact the customer service to manually modify the electronic invoice to obtain the modified electronic invoices. In the present embodiment, the self-modification service for invoice titles is provided to users. Users can initiate the title modification request from the third-party applications, wherein the back end provides the invoice title modification service. Therefore, the automated invoice title modification process is achieved for electronic invoices.
[0051] In an embodiment, before sending the title medication page to the described third-party application, the described method further includes: identifying the primary invoice information according to the described title modification request; querying recorded title modification times of the described electronic invoice in a modification table based on the described primary invoice Date Recue/Date Received 2022-02-01 information; where if the number of the described title modification times is greater than a pre-set number, sending a notification to the described third-party application indicating the failure of the described electronic invoice title modification; and where if the number of the described title modification times is smaller than the described pre-set number, proceeding to the procedure of sending the title medication page to the described third-party application.
[0052] In the present embodiment, in the automated invoice title modification process provided by the invoice pre-issuing subsystem, the number of times to modify invoice title is restricted. In detail, a pre-set number of times is set in advance to restrict the number of times to modify invoice title. The invoice pre-issuing subsystem records the number of title modification times for each issued electronic invoice by a modification recording table. The numbers of times for electronic invoice title modification are related to order information of each electronic invoice. The invoice pre-issuing subsystem identifies the primary order information of the electronic invoice based on the title modification request, recorded title modification times of the described electronic invoice in a modification table is queried based on the described primary invoice information. Where if the number of the described title modification times is less or equal to a pre-set number, the procedure of sending the title medication page to the described third-party application is performed.
Otherwise, a notification to the described third-party application indicating the failure of the described electronic invoice title modification is sent.
Otherwise, a notification to the described third-party application indicating the failure of the described electronic invoice title modification is sent.
[0053] In detail, the invoice title is a necessary component of an electronic invoice. The invoice titles are generally selected by a customer from several invoice titles. In the meanwhile, the invoice title modification is a normal invoice exchange process in the field of invoice. For example, referring to the process shown in Fig. 7, the automated invoice title modification service for issued invoices is provided to users. A customer can click the title modification button on the third-party application, and the front end sends the title modification request to the invoice pre-issuing subsystem. To prevent unlimited malicious title modifications for electronic invoice frauds, the invoice pre-issuing subsystem configures a unified management platform to restrict the numbers of times for electronic invoice title modification. The invoice pre-issuing subsystem receives the title modification requests by customers and verifies that whether the numbers of times for electronic invoice title modification pass the restriction by searching the title modification recording table based on the order information. Where if the restriction is passed, the front-end description message is returned as "The limit of title modification times has been passed. No more Date Recue/Date Received 2022-02-01 self-modification allowed. Please visit customer service for title modifications". Where if the restriction remains, the title modification page is directed to allow customers edit the title information and resubmit the invoice request to the invoice pre-issuing subsystem.
[0054] After the invoice pre-issuing subsystem receives the title modification applications by customers, the records are saved into the title modification table. The original electronic invoices are off-written with the status updated to being off-written. Then, the new electronic invoices with modified titles are issued. Customers can review invoice information from the invoice query lists.
[0055] In an embodiment, after generating the electronic invoice for the target order based on the described invoice information, the described method further includes:
receiving the exchange request for a paper-based invoice sent by the described third-party application, wherein the described exchange request for a paper-based invoice is used to request the exchange from the described electronic invoice to a paper-based invoice; where if the described exchange request for a paper-based invoice is detected to carry the described access token, saving the secondary invoice information of the described electronic invoice into the paper-based invoice pool, wherein the described paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the described electronic invoice.
receiving the exchange request for a paper-based invoice sent by the described third-party application, wherein the described exchange request for a paper-based invoice is used to request the exchange from the described electronic invoice to a paper-based invoice; where if the described exchange request for a paper-based invoice is detected to carry the described access token, saving the secondary invoice information of the described electronic invoice into the paper-based invoice pool, wherein the described paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the described electronic invoice.
[0056] As a new invoice format, electronic invoices are not accepted by some customers. In the meanwhile, some companies require the VAT special invoices for expense verification, wherein the electronic invoices are not usable for expense verification. Therefore, the service to exchange electronic invoices to paper-based invoices is significantly important. In the present embodiment, the self-exchange to normal VAT paper-based invoices is supported. As shown in Fig. 6, the third-party applications provide elements for paper-based invoice exchange. Users can trigger the elements for paper-based invoice exchange to submit requests for paper-based invoice exchange to the back end. When the back end detects the access tokens in the paper-based invoice exchange requests, the secondary invoice information of the described electronic invoice is saved into the paper-based invoice pool, so as to acquire the secondary order information from the invoice pool and issue the paper-based invoices corresponding to the electronic invoices based on the secondary order information. In particular, the primary order information can be identical to the secondary order information. In the meanwhile, the electronic invoice is off-written.
Besides, when the access tokens in paper-based invoice exchange requests are detected, the paper-based invoice exchange page can be sent to the third-party application, wherein the paper-based invoice exchange page is Date Recue/Date Received 2022-02-01 configured to receive mailing address by users. The paper-based invoice exchange page is shown in Fig. 8. After the back end receives the mailing address for the paper-based invoice exchange page sent by the third-party applications, the mailing address of the paper-based invoices are related to the secondary order information in the invoice pool, to locate the mailing address of the paper-based invoices according to the secondary order information.
Besides, when the access tokens in paper-based invoice exchange requests are detected, the paper-based invoice exchange page can be sent to the third-party application, wherein the paper-based invoice exchange page is Date Recue/Date Received 2022-02-01 configured to receive mailing address by users. The paper-based invoice exchange page is shown in Fig. 8. After the back end receives the mailing address for the paper-based invoice exchange page sent by the third-party applications, the mailing address of the paper-based invoices are related to the secondary order information in the invoice pool, to locate the mailing address of the paper-based invoices according to the secondary order information.
[0057] For example, as the process shown in Fig. 9, for the issued electronic invoices, the self-exchange to paper-based invoices is provided to customers. When the customers click the button of paper-based invoice exchange on the third-party applications, the front end sends the paper-based invoice exchange requests to the invoice pre-issuing subsystem. The invoice pre-issuing subsystem searches for invoice exchange records based on the secondary order information of the electronic invoice, to verify that whether the paper-based invoices for the target orders are exchanged. Where if the paper-based invoices have been exchanged, the front description message is returned as "the paper-based invoices have been exchanged; no more exchange request is proceeded". Where if the paper-based invoices have not been exchanged, the front paper-based invoice exchange page is returned to allow customers to fill the mailing address for the paper-based invoice and submit the paper-based invoice exchange request.
[0058] After the invoice pre-issuing subsystem receives paper-based invoice exchange requests submitted by the front end, the record is saved into the exchange record table. The original electronic invoices are off-written with the status updated to being off-written. The secondary order information for paper-based invoice exchange is saved into the paper-based invoice pool.
The invoice issuing officers can query order information of the paper-based invoices via the invoice pool by the invoice pre-issuing subsystem. The paper-based invoices are issued offline and mailed according to the mailing information submitted by customers.
The invoice issuing officers can query order information of the paper-based invoices via the invoice pool by the invoice pre-issuing subsystem. The paper-based invoices are issued offline and mailed according to the mailing information submitted by customers.
[0059] To clarify, in the traditional electronic invoice issuing approaches, the paper-based invoice exchange service for electronic invoices is not provided. Where if an electronic invoice is needed to be exchanged to a paper-based invoice, the user needs to contact the customer service for manual operations to obtain the exchanged paper-based invoice. In the present embodiment, the self-exchange service for electronic invoices to paper-based invoices is provided to users. Users can initiate the paper-based invoice exchange request from the third-party applications, wherein the back end provides the paper-based invoice exchange service. Therefore, the automated paper-based invoice exchange process is achieved for electronic invoices.
Date Recue/Date Received 2022-02-01
Date Recue/Date Received 2022-02-01
[0060] In an embodiment, before receiving the invoice request sent from the described third-party application, the described method further includes: receiving the issuing-pending order information of the described target order sent by the order issuing system;
generating an identification code for the described target order; generating the primary encrypting information of the described identification code by the salt according to the described issuing-pending order information; encrypting the described identification code by the described primary encrypting information to obtain the encrypted identification code; and sending the encrypted identification code to the described order issuing system. The invoice request by the third-party application is received, by means of: receiving the invoice request sent by the third-party application, wherein the described invoice request is obtained by scanning the described encrypted identification code provided by the described order issuing system by the described third-party application. The described method further includes: extracting the secondary encrypting information from the described invoice request, and where if the described secondary encrypting information matches with the described primary encrypting information, proceeding to the procedure of sending the invoice issuing page to the third-party application.
generating an identification code for the described target order; generating the primary encrypting information of the described identification code by the salt according to the described issuing-pending order information; encrypting the described identification code by the described primary encrypting information to obtain the encrypted identification code; and sending the encrypted identification code to the described order issuing system. The invoice request by the third-party application is received, by means of: receiving the invoice request sent by the third-party application, wherein the described invoice request is obtained by scanning the described encrypted identification code provided by the described order issuing system by the described third-party application. The described method further includes: extracting the secondary encrypting information from the described invoice request, and where if the described secondary encrypting information matches with the described primary encrypting information, proceeding to the procedure of sending the invoice issuing page to the third-party application.
[0061] In the present embodiment, the target order electronic invoice issuing process is encrypted by the means of identification code encryption. The invoice issuing system sends issuing-pending invoice information of the target order to the back end. The back end generates an identification code for the target order based on the issuing-pending invoice information of the target order. In particular, the identification code can be a QR code. Furthermore, a primary encrypting information of the described identification code is generated by the salt according to the described issuing-pending order information. Then, the described identification code is encrypted by the described primary encrypting information to obtain the encrypted identification code. The encrypted identification code contains the primary encrypting information.
Finally, the back end sends the encrypted identification code to the invoice issuing system. Users scan the encrypted identification codes by the third-party applications to obtain the primary encrypting information and the order information of the target order. Then, the third-party applications send invoice requests to the back end, wherein the invoice requests contain the secondary encrypting information. In general, the secondary encrypting information is identical to the primary encrypting information. The back end extracts the secondary encrypting information from the described invoice request, and recognizes the secondary encrypting information and the primary Date Recue/Date Received 2022-02-01 encrypting information generated by the back end. Where if the secondary encrypting information is identical to the primary encrypting information, the secondary encrypting information matches with the primary encrypting information. The back end performs the procedure of sending the invoice issuing page to the third-party application. In other applications, the encrypted identification code contains information related to the primary encrypting information. Finally, the back end sends the encrypted identification code to the invoice issuing system. Users scan the encrypted identification codes by the third-party applications to obtain the primary encrypting information and the order information of the target order. Then, the third-party applications send invoice requests to the back end, wherein the invoice requests contain the secondary encrypting information. Presently, the secondary encrypting information contains information related to the primary encrypting information. Where if the matching result indicates the correlation between the primary and the secondary encrypting information, the primary encrypting information and the secondary encrypting information are matched.
Finally, the back end sends the encrypted identification code to the invoice issuing system. Users scan the encrypted identification codes by the third-party applications to obtain the primary encrypting information and the order information of the target order. Then, the third-party applications send invoice requests to the back end, wherein the invoice requests contain the secondary encrypting information. In general, the secondary encrypting information is identical to the primary encrypting information. The back end extracts the secondary encrypting information from the described invoice request, and recognizes the secondary encrypting information and the primary Date Recue/Date Received 2022-02-01 encrypting information generated by the back end. Where if the secondary encrypting information is identical to the primary encrypting information, the secondary encrypting information matches with the primary encrypting information. The back end performs the procedure of sending the invoice issuing page to the third-party application. In other applications, the encrypted identification code contains information related to the primary encrypting information. Finally, the back end sends the encrypted identification code to the invoice issuing system. Users scan the encrypted identification codes by the third-party applications to obtain the primary encrypting information and the order information of the target order. Then, the third-party applications send invoice requests to the back end, wherein the invoice requests contain the secondary encrypting information. Presently, the secondary encrypting information contains information related to the primary encrypting information. Where if the matching result indicates the correlation between the primary and the secondary encrypting information, the primary encrypting information and the secondary encrypting information are matched.
[0062] For example, as shown in Fig. 10, the order issuing system is the invoice issuing subsystem of the merchants, and the identification codes are QR codes. When a customer places an order, the voice issuing subsystem of the merchant sends the order information of the target order via the remote service calling port to the invoice pre-issuing subsystem. The invoice pre-issuing subsystem receives the order information of the target order, then generates a QR code signature field by encryption using salt and issuing-pending order information. The signature field is to prevent network attack and protect the QR code information security. In particular, the salt is randomly generated arbitrary characters. Finally, the QR code link is sent to the invoice issuing subsystem of the merchant. The invoice issuing subsystem of the merchant prints a purchase receipt with the QR code, handed to the customer. The customer acquires encrypted information in the QR code by scanning the QR code, wherein the encrypted information is attached to the invoice request, so as for identifying the invoice request by the invoice issuing subsystem by the encrypted information in the invoice request. Then a target order electronic invoice is issued.
[0063] The electronic invoice management method described in the aforementioned embodiments allows management of non-member customer electronic invoices by the back end.
For example, the user scans codes based on third-party applications for invoice issuing, wherein more diverse off-line code scanning scenarios are involved to overcome limitations by the traditional invoice issuing system of no unified non-member customer electronic invoice management. In the Date Recue/Date Received 2022-02-01 meanwhile, access tokens of authorized third-party applications are used for collectively managing non-member customer electronic invoices. Besides, more user-side electronic invoice self-services are involved. In detail, compared with traditional code scan-based invoice issuing, the third-party applications can provide various self-services to users, including invoice title modifications, downloading electronic invoice format files, sending invoice issuing results, and integrated functions with the third-party applications. The user experience is improved with reduced workload for the personnel, tax risks, and human labors.
For example, the user scans codes based on third-party applications for invoice issuing, wherein more diverse off-line code scanning scenarios are involved to overcome limitations by the traditional invoice issuing system of no unified non-member customer electronic invoice management. In the Date Recue/Date Received 2022-02-01 meanwhile, access tokens of authorized third-party applications are used for collectively managing non-member customer electronic invoices. Besides, more user-side electronic invoice self-services are involved. In detail, compared with traditional code scan-based invoice issuing, the third-party applications can provide various self-services to users, including invoice title modifications, downloading electronic invoice format files, sending invoice issuing results, and integrated functions with the third-party applications. The user experience is improved with reduced workload for the personnel, tax risks, and human labors.
[0064] To clarify, although the operations in the aforementioned flow diagrams follow the arrow and explained in sequence, these steps are not necessarily performed strictly following the sequence directed by the arrows. Except the clear indications in the present invention, the implementation of these operations should not be restricted by certain sequences. In other words, these steps are allowed to follow the other implementation sequences. In the meanwhile, at least some parts of the flow diagrams may include multiple sub-steps or multiple phases. These sub-steps or phases are not necessarily performed in a restricted sequence.
Indeed, the fulfillment of the sub-parts or phases may be achieved in turns or in an alternative manner.
Indeed, the fulfillment of the sub-parts or phases may be achieved in turns or in an alternative manner.
[0065] An electronic invoice management device is further provided in the present invention. As shown in Fig. 11, the electronic invoice management device comprises: a receiving module 112, a sending module 114, a generation module 116, and a management module 118. The receiving module 112 is configured to receive an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
a sending module 114 is configured to generate the invoice issuing page for the target order based on the invoice request when the third-party application identified by the access token is an authorized application, and send the invoice issuing page to the third-party application; a generation module 116 is configured to receive invoice information sent from the third-party application and generate the electronic invoice for the target order based on the invoice information;
and a management module 118 is configured to relate the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
a sending module 114 is configured to generate the invoice issuing page for the target order based on the invoice request when the third-party application identified by the access token is an authorized application, and send the invoice issuing page to the third-party application; a generation module 116 is configured to receive invoice information sent from the third-party application and generate the electronic invoice for the target order based on the invoice information;
and a management module 118 is configured to relate the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
[0066] In an embodiment, the electronic invoice management device further includes a primary sending module, configured when the invoice permission request carrying an access token from a third-party application is received, to acquire usemame on the described third-party application and the secret key corresponding to the described use name, wherein the described invoice Date Recue/Date Received 2022-02-01 permission request is used to request permission to issue the electronic invoice of the described target order; and acquire the described access token based on the described usemame and the described secret key, and send the described access token to the described third-party application.
[0067] In an embodiment, the electronic invoice management device further includes a secondary sending module, configured to send a notification to the described third-party application for indicating that the electronic invoice has been successfully issued; when the invoice reviewing request sent from the described third-party application is received, where if the described invoice reviewing request is detected to carry the described access token, acquire the invoice information of the described electronic invoice based on the described access token, and send the invoice information of the described electronic invoice to the described third-party application.
[0068] In an embodiment, the electronic invoice management device further includes a primary modification module, configured to receive the title modification request sent form the described third-party application, wherein the described title modification request is used to request modifications on the invoice title of described electronic invoice; where if the described title modification request is detected to carry the described access token, send the title medication page to the described third-party application; receive the modified invoice title from the title medication page sent from the described third-party application so as to replace the invoice title in the described electronic invoice by the described modified invoice title for obtaining the modified electronic invoice, wherein the described modified electronic invoice and the described access token are related. Preferably, after obtaining the modified electronic invoice, the method further includes: off-writing the described electronic invoice before the modification; and sending the invoice information of the described modified electronic invoice to the described third-party application.
[0069] In an embodiment, the electronic invoice management device further includes a judgement module, configured to identify the primary invoice information according to the described title modification request; query recorded title modification times of the described electronic invoice in a modification table based on the described primary invoice information;
where if the number of the described title modification times is greater than a pre-set number, send a notification to the described third-party application indicating the failure of the described electronic invoice title modification; and where if the number of the described title modification times is smaller than the Date Recue/Date Received 2022-02-01 described pre-set number, proceed to the procedure of sending the title medication page to the described third-party application.
where if the number of the described title modification times is greater than a pre-set number, send a notification to the described third-party application indicating the failure of the described electronic invoice title modification; and where if the number of the described title modification times is smaller than the Date Recue/Date Received 2022-02-01 described pre-set number, proceed to the procedure of sending the title medication page to the described third-party application.
[0070] In an embodiment, the electronic invoice management device further includes a secondary modification module, configured to receive the exchange request for a paper-based invoice sent by the described third-party application, wherein the described exchange request for a paper-based invoice is used to request the exchange from the described electronic invoice to a paper-based invoice; where if the described exchange request for a paper-based invoice is detected to carry the described access token, save the secondary invoice information of the described electronic invoice into the paper-based invoice pool, wherein the described paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-write the described electronic invoice.
[0071] In an embodiment, the electronic invoice management device further includes an encryption module, configured to receive the issuing-pending order information of the described target order sent by the order issuing system; generate an identification code for the described target order; generate a primary encrypting information of the described identification code by the salt according to the described issuing-pending order information; encrypt the described identification code by the described primary encrypting information to obtain the encrypted identification code; and send the encrypted identification code to the described order issuing system. The receiving module 113 is further configured to receive the invoice request sent by the third-party application, wherein the described invoice request is obtained by scanning the described encrypted identification code provided by the described order issuing system by the described third-party application. The electronic invoice management device further includes a matching module, configured to extract the secondary encrypting information from the described invoice request, and where if the described secondary encrypting information matches with the described primary encrypting information, proceed to the procedure of sending the invoice issuing page to the third-party application.
[0072] The detailed specifications of the electronic invoice management device can refer to the aforementioned specifications for the electronic invoice management method, and are not explained in detail hereby. Each described module in the electronic invoice management device, in whole or in part, may be accomplished by software, hardware, and their combinations. Each described module may be independent hardware or hardware embedded in the processors of the Date Recue/Date Received 2022-02-01 computer apparatus. In the meanwhile, each described module may be software that is stored in the memory unit of the computer apparatus, to invoke and execute the corresponding performances of the described modules.
[0073] In an embodiment of the present invention, a computer apparatus is provided, wherein the described computer apparatus can be a server supporting the back end with the internal structure diagram shown in Fig. 12. The computer apparatus comprises a processor, a memory unit, a network connection port, and a database connected by system bus control. The memory unit of the computer apparatus includes a nonvolatile storage medium and an internal memory. The operating system, computer programs, and databases are stored in the nonvolatile storage medium. The internal memory provides the operation environment for the execution of the operating system and the computer programs stored in the nonvolatile storage medium. The database of the computer apparatus is configured to store the message execution results. The network connection port of the computer apparatus is configured for communication with the external terminals via network connection. The execution of the computer apparatus by the processor permits the method of electronic invoice management.
[0074] It is comprehensible for those skilled in the art that the structure shown in Fig. 12 represents only a portion of structure associated with the applications of the present invention. The computer apparatus associated with the applications of the present invention are not restricted or limited by the structure. An exact computer apparatus may include more components or less components than that is shown in the drawings, possibly with combinations of some components or different component layouts.
[0075] In an embodiment, a computer apparatus is provided, comprising a memory unit, a processor, and computer programs stored in the memory unit executable on the processor. When the described processor executes the described computer programs, the following procedures are performed: receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order; when the third-party application identified by the access token is an authorized application, generating the invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application; receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information;
Date Recue/Date Received 2022-02-01 and relating the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
Date Recue/Date Received 2022-02-01 and relating the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
[0076] When the described processor executes the described computer programs, the following procedures are performed: acquiring a usemame on the described third-party application and the secret key corresponding to the described use name when the invoice permission request carrying an access token from a third-party application is received, wherein the described invoice permission request is used to request permission to issue the electronic invoice of the described target order; and acquiring the described access token based on the described usemame and the described secret key, and sending the described access token to the described third-party application.
[0077] When the described processor executes the described computer programs, the following procedures are performed: sending a notification to the described third-party application for indicating that the electronic invoice has been successfully issued; when the invoice reviewing request sent from the described third-party application is received, where if the described invoice reviewing request is detected to carry the described access token, acquiring the invoice information of the described electronic invoice based on the described access token, and sending the invoice information of the described electronic invoice to the described third-party application.
[0078] When the described processor executes the described computer programs, the following procedures are performed: receiving the title modification request sent form the described third-party application, wherein the described title modification request is used to request modifications on the invoice title of described electronic invoice; where if the described title modification request is detected to carry the described access token, sending the title medication page to the described third-party application; receiving the modified invoice title from the title medication page sent from the described third-party application so as to replace the invoice title in the described electronic invoice by the described modified invoice title for obtaining the modified electronic invoice, wherein the described modified electronic invoice and the described access token are related. Preferably, after obtaining the modified electronic invoice, the method further includes:
off-writing the described electronic invoice before the modification; and sending the invoice information of the described modified electronic invoice to the described third-party application.
off-writing the described electronic invoice before the modification; and sending the invoice information of the described modified electronic invoice to the described third-party application.
[0079] When the described processor executes the described computer programs, the following procedures are performed: identifying the primary invoice information according to the described Date Recue/Date Received 2022-02-01 title modification request; querying recorded title modification times of the described electronic invoice in a modification table based on the described primary invoice information; where if the number of the described title modification times is greater than a pre-set number, sending a notification to the described third-party application indicating the failure of the described electronic invoice title modification; and where if the number of the described title modification times is smaller than the described pre-set number, proceeding to the procedure of sending the title medication page to the described third-party application.
[0080] When the described processor executes the described computer programs, the following procedures are performed: receiving the exchange request for a paper-based invoice sent by the described third-party application, wherein the described exchange request for a paper-based invoice is used to request the exchange from the described electronic invoice to a paper-based invoice; where if the described exchange request for a paper-based invoice is detected to carry the described access token, saving the secondary invoice information of the described electronic invoice into the paper-based invoice pool, wherein the described paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the described electronic invoice.
[0081] When the described processor executes the described computer programs, the following procedures are performed: receiving the issuing-pending order information of the described target order sent by the order issuing system; generating an identification code for the described target order; generating a primary encrypting information of the described identification code by the salt according to the described issuing-pending order information; encrypting the described identification code by the described primary encrypting information to obtain the encrypted identification code; and sending the encrypted identification code to the described order issuing system. The invoice request by the third-party application is received, by means of: receiving the invoice request sent by the third-party application, wherein the described invoice request is obtained by scanning the described encrypted identification code provided by the described order issuing system by the described third-party application. The described method further includes:
extracting the secondary encrypting information from the described invoice request, and where if the described secondary encrypting information matches with the described primary encrypting information, proceeding to the procedure of sending the invoice issuing page to the third-party application.
Date Recue/Date Received 2022-02-01
extracting the secondary encrypting information from the described invoice request, and where if the described secondary encrypting information matches with the described primary encrypting information, proceeding to the procedure of sending the invoice issuing page to the third-party application.
Date Recue/Date Received 2022-02-01
[0082] In an embodiment, a readable computer storage medium with computer programs stored is provided in the present invention. When the described computer programs are executed on the described processor, the following procedures are performed: receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order; when the third-party application identified by the access token is an authorized application, generating the invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application; receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information; and relating the electronic invoice with the access token, wherein electronic invoices for target orders are managed by access tokens.
[0083] When the described computer programs are executed on the described processor, the following procedures are performed: acquiring a username on the described third-party application and the secret key corresponding to the described use name when the invoice permission request carrying an access token from a third-party application is received, wherein the described invoice permission request is used to request permission to issue the electronic invoice of the described target order; and acquiring the described access token based on the described username and the described secret key, and sending the described access token to the described third-party application.
[0084] When the described computer programs are executed on the described processor, the following procedures are performed: sending a notification to the described third-party application for indicating that the electronic invoice has been successfully issued; when the invoice reviewing request sent from the described third-party application is received, where if the described invoice reviewing request is detected to carry the described access token, acquiring the invoice information of the described electronic invoice based on the described access token, and sending the invoice information of the described electronic invoice to the described third-party application.
[0085] When the described computer programs are executed on the described processor, the following procedures are performed: receiving the title modification request sent form the described third-party application, wherein the described title modification request is used to request modifications on the invoice title of described electronic invoice;
where if the described title modification request is detected to carry the described access token, sending the title medication page to the described third-party application; receiving the modified invoice title from Date Recue/Date Received 2022-02-01 the title medication page sent from the described third-party application so as to replace the invoice title in the described electronic invoice by the described modified invoice title for obtaining the modified electronic invoice, wherein the described modified electronic invoice and the described access token are related. Preferably, after obtaining the modified electronic invoice, the method further includes: off-writing the described electronic invoice before the modification; and sending the invoice information of the described modified electronic invoice to the described third-party application.
where if the described title modification request is detected to carry the described access token, sending the title medication page to the described third-party application; receiving the modified invoice title from Date Recue/Date Received 2022-02-01 the title medication page sent from the described third-party application so as to replace the invoice title in the described electronic invoice by the described modified invoice title for obtaining the modified electronic invoice, wherein the described modified electronic invoice and the described access token are related. Preferably, after obtaining the modified electronic invoice, the method further includes: off-writing the described electronic invoice before the modification; and sending the invoice information of the described modified electronic invoice to the described third-party application.
[0086] When the described computer programs are executed on the described processor, the following procedures are performed: identifying the primary invoice information according to the described title modification request; querying recorded title modification times of the described electronic invoice in a modification table based on the described primary invoice information;
where if the number of the described title modification times is greater than a pre-set number, sending a notification to the described third-party application indicating the failure of the described electronic invoice title modification; and where if the number of the described title modification times is smaller than the described pre-set number, proceeding to the procedure of sending the title medication page to the described third-party application.
where if the number of the described title modification times is greater than a pre-set number, sending a notification to the described third-party application indicating the failure of the described electronic invoice title modification; and where if the number of the described title modification times is smaller than the described pre-set number, proceeding to the procedure of sending the title medication page to the described third-party application.
[0087] When the described computer programs are executed on the described processor, the following procedures are performed: receiving the exchange request for a paper-based invoice sent by the described third-party application, wherein the described exchange request for a paper-based invoice is used to request the exchange from the described electronic invoice to a paper-based invoice; where if the described exchange request for a paper-based invoice is detected to carry the described access token, saving the secondary invoice information of the described electronic invoice into the paper-based invoice pool, wherein the described paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the described electronic invoice.
[0088] When the described computer programs are executed on the described processor, the following procedures are performed: receiving the issuing-pending order information of the described target order sent by the order issuing system; generating an identification code for the described target order; generating a primary encrypting information of the described identification code by the salt according to the described issuing-pending order information;
encrypting the described identification code by the described primary encrypting information to obtain the Date Recue/Date Received 2022-02-01 encrypted identification code; and sending the encrypted identification code to the described order issuing system. The invoice request by the third-party application is received, by means of:
receiving the invoice request sent by the third-party application, wherein the described invoice request is obtained by scanning the described encrypted identification code provided by the described order issuing system by the described third-party application. The described method further includes: extracting the secondary encrypting information from the described invoice request, and where if the described secondary encrypting information matches with the described primary encrypting information, proceeding to the procedure of sending the invoice issuing page to the third-party application.
encrypting the described identification code by the described primary encrypting information to obtain the Date Recue/Date Received 2022-02-01 encrypted identification code; and sending the encrypted identification code to the described order issuing system. The invoice request by the third-party application is received, by means of:
receiving the invoice request sent by the third-party application, wherein the described invoice request is obtained by scanning the described encrypted identification code provided by the described order issuing system by the described third-party application. The described method further includes: extracting the secondary encrypting information from the described invoice request, and where if the described secondary encrypting information matches with the described primary encrypting information, proceeding to the procedure of sending the invoice issuing page to the third-party application.
[0089] All or portions of the aforementioned procedures are comprehensible for those skilled in the art, and may be achieved by the computer program configured for sending commands to the related hardware. The computer programs are stored in the computer readable nonvolatile memory unit. When the computer programs are executed on the processor, the aforementioned procedure of the embodiments may be included. In particular, all the referred memory units, storages, databases, as well as any other media in the embodiments provided in the present invention, may include nonvolatile and/or volatile memory units. The nonvolatile memory units may include read-only memory (ROM), programmable ROM (PROM), electrical programmable ROM
(EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. The volatile memory units may include random access memory (RAM) or external cache memory. To describe RAM without limiting, RAM may be different formats such as static RAM (SRAM), dynamic RAM
(DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced DDRSDRAM (EDDRSDRAM), Synchlink DRAM (SLDRAM), direct rambus RAM (RDRAM), direct rambus dynamic RAM (DRDRAM) and rambus dynamic RAM (RDRAM).
(EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. The volatile memory units may include random access memory (RAM) or external cache memory. To describe RAM without limiting, RAM may be different formats such as static RAM (SRAM), dynamic RAM
(DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced DDRSDRAM (EDDRSDRAM), Synchlink DRAM (SLDRAM), direct rambus RAM (RDRAM), direct rambus dynamic RAM (DRDRAM) and rambus dynamic RAM (RDRAM).
[0090] The aforementioned technical strategies can be combined as possible. To be concise, not all possible combinations of each technical strategy in the aforementioned embodiments are explained. However, the combinations of these technical strategies without any conflict shall fall in the protection scope of the present invention.
[0091] The aforementioned contents are preferred embodiments of the present invention, and shall not limit the applications of the present invention. Therefore, all alterations, modifications, equivalence, improvements of the present invention fall within the scope of the present invention.
Date Recue/Date Received 2022-02-01
Date Recue/Date Received 2022-02-01
Claims (118)
1. A device comprising:
a receiving module, configured to receive an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
a sending module, configured to:
generate an invoice issuing page for the target order based on the invoice request when the third-party application identified by the access token is an authorized application; and send the invoice issuing page to the third-party application;
a generation module, configured to:
receive invoice information sent from the third-party application; and generate the electronic invoice for the target order based on the invoice information;
a management module, configured to relate the electronic invoice with the access token, wherein the electronic invoices for the target orders are managed by the access tokens;
and a secondary sending module, configured to acquire the invoice information of the electronic invoice based on the access token when the invoice reviewing request is detected to carry the access token.
a receiving module, configured to receive an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
a sending module, configured to:
generate an invoice issuing page for the target order based on the invoice request when the third-party application identified by the access token is an authorized application; and send the invoice issuing page to the third-party application;
a generation module, configured to:
receive invoice information sent from the third-party application; and generate the electronic invoice for the target order based on the invoice information;
a management module, configured to relate the electronic invoice with the access token, wherein the electronic invoices for the target orders are managed by the access tokens;
and a secondary sending module, configured to acquire the invoice information of the electronic invoice based on the access token when the invoice reviewing request is detected to carry the access token.
2. The device of claim 1, further includes a primary sending module, configured to:
acquire a usemame on the third-party application and a secret key corresponding to the usemame when an invoice permission request carrying the access token from the third-party application is received, wherein the invoice permission request is used to request permission to issue the electronic invoice of the target order;
acquire the access token based on the usemame and the secret key: and send the access token to the third-party application.
acquire a usemame on the third-party application and a secret key corresponding to the usemame when an invoice permission request carrying the access token from the third-party application is received, wherein the invoice permission request is used to request permission to issue the electronic invoice of the target order;
acquire the access token based on the usemame and the secret key: and send the access token to the third-party application.
3. The device of claim 1, wherein the secondary sending module, is further configured to:
send a notification to the third-party application for indicating that the electronic invoice has been successfully issued, when the invoice reviewing request sent from the third-party application is received; and send the invoice information of the electronic invoice to the third-party application.
send a notification to the third-party application for indicating that the electronic invoice has been successfully issued, when the invoice reviewing request sent from the third-party application is received; and send the invoice information of the electronic invoice to the third-party application.
4. The device of claim 1, further includes a primary modification module, configured to:
receive a title modification request sent &am the third-party application, wherein the title modification request is used to request modifications on the invoice title of electronic invoice;
send the title modification page to the third-party application when the title modification request is detected to carry the access token;
receive the modified invoice title from the title modification page sent from the third-party application to replace the invoice title in the electronic invoice by the modified invoice title for obtaining the modified electronic invoice, wherein the modified electronic invoice and the access token are related.
off-writing the electronic invoice; and send the invoice information of the modified electronic invoice to the third-party application.
receive a title modification request sent &am the third-party application, wherein the title modification request is used to request modifications on the invoice title of electronic invoice;
send the title modification page to the third-party application when the title modification request is detected to carry the access token;
receive the modified invoice title from the title modification page sent from the third-party application to replace the invoice title in the electronic invoice by the modified invoice title for obtaining the modified electronic invoice, wherein the modified electronic invoice and the access token are related.
off-writing the electronic invoice; and send the invoice information of the modified electronic invoice to the third-party application.
5. The device of claim 1, further includes a judgement module, configured to:
identify the primary invoice information according to the title modification request;
query recorded title modification times of the electronic invoice in a modification table based on the primary invoice information;
send a notification to the third-party application indicating the failure of the electronic invoice title modification when the number of the title modification times is greater than a pre-set number; and proceed to the procedure of sending the title modification page to the third-party application when the number of the title modification times is smaller than the pre-set number.
identify the primary invoice information according to the title modification request;
query recorded title modification times of the electronic invoice in a modification table based on the primary invoice information;
send a notification to the third-party application indicating the failure of the electronic invoice title modification when the number of the title modification times is greater than a pre-set number; and proceed to the procedure of sending the title modification page to the third-party application when the number of the title modification times is smaller than the pre-set number.
6. The device of claim 1, further includes a secondary modification module, configured to:
receive an exchange request for a paper-based invoice sent by the third-party application, wherein the exchange request for the paper-based invoice is used to request an exchange from the electronic invoice to the paper-based invoice;
save the secondary invoice information of the electronic invoice into a paper-based invoice pool when the exchange request for the paper-based invoice is detected to carry the access token, wherein the paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-write the electronic invoice.
receive an exchange request for a paper-based invoice sent by the third-party application, wherein the exchange request for the paper-based invoice is used to request an exchange from the electronic invoice to the paper-based invoice;
save the secondary invoice information of the electronic invoice into a paper-based invoice pool when the exchange request for the paper-based invoice is detected to carry the access token, wherein the paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-write the electronic invoice.
7. The device of claim 1, further includes an encryption module, configured to:
receive an issuing-pending order information of the target order sent by an order issuing system;
generate an identification code for the target order, wherein the identification code is a QR code;
generate a primary encrypting information of the identification code by salt according to the issuing-pending order information;
encrypt the identification code by the primary encrypting information to obtain encrypted identification code; and send the encrypted identification code to the order issuing system.
receive an issuing-pending order information of the target order sent by an order issuing system;
generate an identification code for the target order, wherein the identification code is a QR code;
generate a primary encrypting information of the identification code by salt according to the issuing-pending order information;
encrypt the identification code by the primary encrypting information to obtain encrypted identification code; and send the encrypted identification code to the order issuing system.
8. The device of claim 1, wherein the receiving module is further configured to receive the invoice request sent by the third-party application, wherein the invoice request is obtained by scanning an encrypted identification code provided by an order issuing system by the third-party application.
9. The device of claim 1, further includes a matching module, configured to:
extract secondary encrypting information from the invoice request; and send the invoice issuing page to the third-party application when the secondary encrypting information matches with the primary encrypting information.
extract secondary encrypting information from the invoice request; and send the invoice issuing page to the third-party application when the secondary encrypting information matches with the primary encrypting information.
10. The device of any one of claims 1 to 9, wherein a user accesses the third-party application on a terminal to send the invoice request carrying the access token, wherein the invoice request is used to request the electronic invoice for a target order,
11. The device of any one of claims 1 to 10, wherein the third-party application displays the invoice issuing page to the user to ask the user to fill invoice information for the target order on the invoice issuing page, wherein the terminal sends the invoice issuing page with the invoice information.
12. The device of any one of claims 1 to 11, further includes merchant invoice issuing subsystem, the third-party application, wherein the third-party application on the terminal is configured to manage user-issued electronic invoice, wherein a merchant invoice issuing subsystem is configured to provide order information of the target order to the user, to send the invoice request for requesting to issue the electronic invoice for the target order.
13. The device of any one of claims 1 to 12, wherein the user is a customer, wherein the merchant invoice issuing subsystem print a target order receipt for the customer, wherein the customer scans a QR code on the target order receipt via the third-party application to acquire order information of the target order wherein the customer uses the third-party application to submit the invoice issuing application, and wherein the customer accesses and manages the invoice information of the electronic invoice returned via the third-party application.
14. The device of any one of claims 1 to 13, wherein the invoice request carries the access token wherein the access token is used to identify authorized third-party applications, generates the access token and sends the access token to the terminal, wherein the third-party application on the terminal attaches the access token to the invoice request to identify authorized third-party applications based on the access token in the invoice request.
15. The device of any one of claims 1 to 14, parses the invoice request to acquire the access token in the invoice request, wherein the access token is recognized, pre-set as a primary general template on the invoice issuing page, wherein the primary general template contains general information for issuing electronic invoices, including one or more of tax identification number, title, address, contact number.
16. The device of any one of claims 1 to 15, wherein the invoice request is received, acquiring data information to be filled in the electronic invoice for the target order according to the target order indicated in the invoice request, wherein the data information is filled in a primary general template, wherein data information to be filled in the electronic invoice for the target order includes one or more of company basic information, transaction data, reimbursing objects, wherein the invoice issuing page is a HTML 5 web page form.
17. The device of any one of claims 1 to 16, wherein the third-party application sends the invoice information on the invoice issuing page, send invoice data carrying invoice information via a message middleware, allocated with a pre-set electronic invoice secondary general template, wherein the general format of electronic invoice is set in the secondary general template, fill invoice data into the secondary general template..
18. The device of any one of claims 1 to 17, relates the electronic invoice for the target invoice with the access token, wherein the target order electronic invoice is accessed by the relationship with the access token, wherein the access token is used for invoice management of the target order electronic invoices, and manage third-party applications by access tokens.
19. The device of any one of claims 1 to 18, query target order electronic invoice by access tokens, wherein for non-member users, third-party applications is directly used to apply for issuing target order electronic invoices, wherein the third-party applications query target order of electronic invoices.
20. The device of any one of claims 1 to 19, perform invoice management for the target order invoices via access tokens related with third-party applications, wherein the third-party application target order of electronic invoices are queried by access tokens and the invoice information of electronic invoices are returned to the third-party applications.
21. The device of any one of claims 1 to 20, wherein the third-party application attaches the access token in the following invoice requests for issuing target order electronic invoices.
22. The device of any one of claims 1 to 21, wherein the user searches issued electronic invoices via the third-party application, wherein the third-party application sends an invoice reviewing request.
23. The device of any one of claims 1 to 22, searches the electronic invoices applied by the customer based on the access tokens for invoice applications and the relationships with the target order electronic invoices, wherein invoice information, formatting files, order information, and other related information are acquired and written in the invoice detail pages.
24. The device of any one of claims 1 to 23, wherein users trigger the title modification elements to submit the title modification requests, wherein the title modification page contains editable elements to receive desired invoice title edited by the user and the title modification page provide available invoice titles for the modification wherein the users select corresponding desired invoice titles and wherein he modified invoice titles are determined on the title modification page.
25. The device of any one of claims 1 to 24, wherein the automated invoice title modification service for issued invoices is provided to users, wherein the customer click the title modification button on the third-party application to receive the title modification request
26. The device of any one of claims 1 to 25, wherein the restriction is passed, the message is returned as "The limit of title modification times has been passed. No more self-modification allowed. Please visit customer service for title modifications", wherein the restriction remains, the title modification page is directed to allow customers edit the title information and resubmit the invoice request.
27. The device of any one of claims 1 to 26, wherein customers review invoice information from the invoice query lists.
28. The device of any one of claims 1 to 27, wherein the primary invoice information is identical to the secondary invoice information, wherein when the access tokens in paper-based invoice exchange requests are detected, wherein the paper-based invoice exchange page is sent to the third-party application, wherein the paper-based invoice exchange page is configured to receive mailing address by users, wherein receiving the mailing address for the paper-based invoice exchange page sent by the third-party applications, the mailing address of the paper-based invoices are related to the secondary order information in the invoice pool, to locate the mailing address of the paper-based invoices according to the secondary order information.
29. The device of any one of claims 1 to 28, wherein the customers click the button of paper-based invoice exchange on the third-party applications, receive the paper-based invoice exchange requests, search for invoice exchange records based on the secondary order information of the electronic invoice, to verify that whether the paper-based invoices for the target orders are exchanged, wherein the paper-based invoices have been exchanged, a message is returned as "the paper-based invoices have been exchanged; no more exchange request is proceeded", wherein the paper-based invoices have not been exchanged, the front paper-based invoice exchange page is returned to allow customers to fill the mailing address for the paper-based invoice and submit the paper-based invoice exchange request.
30. The device of any one of claims 1 to 29, wherein order information of the paper-based invoices is queried via the invoice pool , wherein the paper-based invoices are issued offline and mailed according to the mailing information submitted by customers.
31. The device of any one of claims 1 to 30, wherein the QR code link is sent to the merchant invoice issuing subsystem, wherein the merchant invoice issuing subsystem prints a purchase receipt with the QR code, handed to the customer, wherein the customer acquires encrypted information in the QR code by scanning the QR code, wherein the encrypted information is attached to the invoice request, for identifying the invoice request, then a target order electronic invoice is issued.
32. A computer apparatus comprising:
a memory unit, wherein the memory unit includes a nonvolatile storage medium and an internal memory, wherein operating system, computer programs, and databases are stored in the nonvolatile storage medium, wherein the internal memory provides the operation environment for the execution of the operating system and the computer programs stored in the nonvolatile storage medium, wherein the database is configured to store the message execution results, wherein the database is connected by system bus control;
a network connection port, wherein the network connection port is configured for communication with the external terminals via network connection;
a processor, wherein the processer executing computer programs stored on the memory unit comprises:
receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
generating an invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application, when the third-party application identified by the access token is an authorized application;
receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information;
relating the electronic invoice with the access token, wherein the electronic invoices for the target orders are managed by the access tokens; and acquire the invoice information of the electronic invoice based on the access token when the invoice reviewing request is detected to carry the access token.
a memory unit, wherein the memory unit includes a nonvolatile storage medium and an internal memory, wherein operating system, computer programs, and databases are stored in the nonvolatile storage medium, wherein the internal memory provides the operation environment for the execution of the operating system and the computer programs stored in the nonvolatile storage medium, wherein the database is configured to store the message execution results, wherein the database is connected by system bus control;
a network connection port, wherein the network connection port is configured for communication with the external terminals via network connection;
a processor, wherein the processer executing computer programs stored on the memory unit comprises:
receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
generating an invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application, when the third-party application identified by the access token is an authorized application;
receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information;
relating the electronic invoice with the access token, wherein the electronic invoices for the target orders are managed by the access tokens; and acquire the invoice information of the electronic invoice based on the access token when the invoice reviewing request is detected to carry the access token.
33. The apparatus of claim 32, further comprises:
acquiring a username on the third-party application and a secret key corresponding to the username, when an invoice permission request carrying the access token from the third-party application is received, wherein the invoice permission request is used to request permission to issue the electronic invoice of the target order;
acquiring the access token based on the username and the secret key; and sending the access token to the third-party application.
acquiring a username on the third-party application and a secret key corresponding to the username, when an invoice permission request carrying the access token from the third-party application is received, wherein the invoice permission request is used to request permission to issue the electronic invoice of the target order;
acquiring the access token based on the username and the secret key; and sending the access token to the third-party application.
34. The apparatus of claim 32, further comprises:
sending a notification to the third-party application for indicating that the electronic invoice has been successfully issued;
acquiring the invoice information of the electronic invoice based on the access token, when the invoice reviewing request sent from the third-party application is received, wherein the invoice reviewing request is detected to carry the access token;
and sending the invoice information of the electronic invoice to the third-party application.
sending a notification to the third-party application for indicating that the electronic invoice has been successfully issued;
acquiring the invoice information of the electronic invoice based on the access token, when the invoice reviewing request sent from the third-party application is received, wherein the invoice reviewing request is detected to carry the access token;
and sending the invoice information of the electronic invoice to the third-party application.
35. The apparatus of claim 32, further comprises:
receiving a title modification request sent form the third-party application, wherein the title modification request is used to request modifications on an invoice title of the electronic invoice;
sending a title modification page to the third-party application, when the title modification request is detected to carry the access token, receiving a modified invoice title from the title modification page sent from the third-party application to replace the invoice title in the electronic invoice by the modified invoice title for obtaining a modified electronic invoice, wherein the modified electronic invoice and the access token are related;
off-writing the electronic invoice before the modification; and sending the invoice information of the modified electronic invoice to the third-party application.
receiving a title modification request sent form the third-party application, wherein the title modification request is used to request modifications on an invoice title of the electronic invoice;
sending a title modification page to the third-party application, when the title modification request is detected to carry the access token, receiving a modified invoice title from the title modification page sent from the third-party application to replace the invoice title in the electronic invoice by the modified invoice title for obtaining a modified electronic invoice, wherein the modified electronic invoice and the access token are related;
off-writing the electronic invoice before the modification; and sending the invoice information of the modified electronic invoice to the third-party application.
36. The apparatus of claim 35, further comprises:
identifying primary invoice information according to the title modification request;
querying recorded title modification times of the electronic invoice in a modification table based on the primary invoice information;
sending a notification to the third-party application indicating the failure of an electronic invoice title modification, when the number of the title modification times is greater than a pre-set number; and proceeding to the procedure of sending the title modification page to the third-party application when the number of the title modification times is smaller than the pre-set number.
identifying primary invoice information according to the title modification request;
querying recorded title modification times of the electronic invoice in a modification table based on the primary invoice information;
sending a notification to the third-party application indicating the failure of an electronic invoice title modification, when the number of the title modification times is greater than a pre-set number; and proceeding to the procedure of sending the title modification page to the third-party application when the number of the title modification times is smaller than the pre-set number.
37. The apparatus of claim 32, further comprises:
receiving an exchange request for a paper-based invoice sent by the third-party application, wherein the exchange request for a paper-based invoice is used to request the exchange from the electronic invoice to a paper-based invoice;
saving a secondary invoice information of the electronic invoice into a paper-based invoice pool when the exchange request for the paper-based invoice is detected to carry the access token, wherein the paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the electronic invoice.
receiving an exchange request for a paper-based invoice sent by the third-party application, wherein the exchange request for a paper-based invoice is used to request the exchange from the electronic invoice to a paper-based invoice;
saving a secondary invoice information of the electronic invoice into a paper-based invoice pool when the exchange request for the paper-based invoice is detected to carry the access token, wherein the paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the electronic invoice.
38. The apparatus of claim 32, further comprises:
receiving an issuing-pending order information of the target order sent by an order issuing system;
generating an identification code for the target order, wherein the identification code is a QR code;
generating a piimary encrypting information of the identification code by the salt according to the issuing-pending order information;
encrypting the identification code by a primary encrypting information to obtain a encrypted identification code; and sending the encrypted identification code to the order issuing system, receiving the invoice request by the third-party application comprises:
receiving the invoice request sent by the third-party application, wherein the invoice request is obtained by scanning the encrypted identification code provided by an order issuing system by the third-party application; and extracting secondary encrypting information from the invoice request; and sending the invoice issuing page to the third-party application when the secondary encrypting information matches with the primary encrypting infoimation.
receiving an issuing-pending order information of the target order sent by an order issuing system;
generating an identification code for the target order, wherein the identification code is a QR code;
generating a piimary encrypting information of the identification code by the salt according to the issuing-pending order information;
encrypting the identification code by a primary encrypting information to obtain a encrypted identification code; and sending the encrypted identification code to the order issuing system, receiving the invoice request by the third-party application comprises:
receiving the invoice request sent by the third-party application, wherein the invoice request is obtained by scanning the encrypted identification code provided by an order issuing system by the third-party application; and extracting secondary encrypting information from the invoice request; and sending the invoice issuing page to the third-party application when the secondary encrypting information matches with the primary encrypting infoimation.
39. The apparatus of any one of claims 32 to 38, wherein a user accesses the third-party application on a terminal to send the invoice request carrying the access token, wherein the invoice request is used to request the electronic invoice for a target order,
40. The apparatus of any one of claims 32 to 39, wherein the third-party application displays the invoice issuing page to the user to ask the user to fill invoice information for the target order on the invoice issuing page, wherein the terminal sends the invoice issuing page with the invoice information.
41. The apparatus of any one of claims 32 to 40, further includes merchant invoice issuing subsystem, the third-party application, wherein the third-party application on the terminal is configured to manage user-issued electronic invoice, wherein a merchant invoice issuing subsystem is configured to provide order information of the target order to the user, to send the invoice request for requesting to issue the electronic invoice for the target order.
42. The apparatus of any one of claims 32 to 41, wherein the user is a customer, wherein the merchant invoice issuing subsystem print a target order receipt for the customer, wherein the customer scans a QR code on the target order receipt via the third-party application to acquire order information of the target order wherein the customer uses the third-party application to submit the invoice issuing application, and wherein the customer accesses and manages the invoice information of the electronic invoice returned via the third-party application.
43. The apparatus of any one of claims 32 to 42, wherein the invoice request carries the access token wherein the access token is used to identify authorized third-party applications, generates the access token and sends the access token to the terminal, wherein the third-party application on the terminal attaches the access token to the invoice request to identify authorized third-party applications based on the access token in the invoice request.
44. The apparatus of any one of claims 32 to 43, parses the invoice request to acquire the access token in the invoice request, wherein the access token is recognized, pre-set as a primary general template on the invoice issuing page, wherein the primary general template contains general information for issuing electronic invoices, including one or more of tax identification number, title, address, contact number.
45. The apparatus of any one of claims 32 to 44, wherein the invoice request is received, acquiring data information to be filled in the electronic invoice for the target order according to the target order indicated in the invoice request, wherein the data information is filled in a primary general template, wherein data information to be filled in the electronic invoice for the target order includes one or more of company basic information, transaction data, reimbursing objects, wherein the invoice issuing page is a HTML 5 web page form.
46. The apparatus of any one of claims 32 to 45, wherein the third-party application sends the invoice information on the invoice issuing page, send invoice data canying invoice information via a message middleware, allocated with a pre-set electronic invoice secondary general template, wherein the general format of electronic invoice is set in the secondary general template, fill invoice data into the secondary general template..
47. The apparatus of any one of claims 32 to 46, relates the electronic invoice for the target invoice with the access token, wherein the target order electronic invoice is accessed by the relationship with the access token, wherein the access token is used for invoice management of the target order electronic invoices, and manage third-party applications by access tokens.
48. The apparatus of any one of claims 32 to 47, query target order electronic invoice by access tokens, wherein for non-member users, third-party applications is directly used to apply for issuing target order electronic invoices, wherein the third-party applications query target order of electronic invoices.
49. The apparatus of any one of claims 32 to 48, perform invoice management for the target order invoices via access tokens related with third-party applications, wherein the third-party application target order of electronic invoices are queried by access tokens and the invoice information of electronic invoices are returned to the third-party applications.
50. The apparatus of any one of claims 32 to 49, wherein the third-party application attaches the access token in the following invoice requests for issuing target order electronic invoices.
51. The apparatus of any one of claims 32 to 50, wherein the user searches issued electronic invoices via the third-party application, wherein the third-party application sends an invoice reviewing request.
52. The apparatus of any one of claims 32 to 51, searches the electronic invoices applied by the customer based on the access tokens for invoice applications and the relationships with the target order electronic invoices, wherein invoice information, formatting files, order information, and other related information are acquired and written in the invoice detail pages.
53. The apparatus of any one of claims 32 to 52, wherein users trigger the title modification elements to submit the title modification requests, wherein the title modification page contains editable elements to receive desired invoice title edited by the user and the title modification page provide available invoice titles for the modification wherein the users select corresponding desired invoice titles and wherein he modified invoice titles are determined on the title modification page.
54. The apparatus of any one of claims 32 to 53, wherein the automated invoice title modification service for issued invoices is provided to users, wherein the customer click the title modification button on the third-party application to receive the title modification request
55. The apparatus of any one of claims 32 to 54, wherein the restriction is passed, the message is returned as "The limit of title modification times has been passed. No more self-modification allowed. Please visit customer service for title modifications", wherein the resuiction remains, the title modification page is directed to allow customers edit the title information and resubmit the invoice request.
56. The apparatus of any one of claims 32 to 55, wherein customers review invoice information from the invoice query lists.
57. The apparatus of any one of claims 32 to 56, wherein the primary invoice information is identical to the secondary invoice information, wherein when the access tokens in paper-based invoice exchange requests are detected, wherein the paper-based invoice exchange page is sent to the third-party application, wherein the paper-based invoice exchange page is configured to receive mailing address by users, wherein receiving the mailing address for the paper-based invoice exchange page sent by the third-party applications, the mailing address of the paper-based invoices are related to the secondary order information in the invoice pool, to locate the mailing address of the paper-based invoices according to the secondary order information.
58. The apparatus of any one of claims 32 to 57, wherein the customers click the button of paper-based invoice exchange on the third-party applications, receive the paper-based invoice exchange requests, search for invoice exchange records based on the secondary order information of the electronic invoice, to verify that whether the paper-based invoices for the target orders are exchanged, wherein the paper-based invoices have been exchanged, a message is returned as "the paper-based invoices have been exchanged; no more exchange request is proceeded", wherein the paper-based invoices have not been exchanged, the front paper-based invoice exchange page is returned to allow customers to fill the mailing address for the paper-based invoice and submit the paper-based invoice exchange request.
59. The apparatus of any one of claims 32 to 58, wherein order information of the paper-based invoices is queried via the invoice pool , wherein the paper-based invoices are issued offline and mailed according to the mailing information submitted by customers.
60. The apparatus of any one of claims 32 to 59, wherein the QR code link is sent to the merchant invoice issuing subsystem, wherein the merchant invoice issuing subsystem prints a purchase receipt with the QR code, handed to the customer, wherein the customer acquires encrypted information in the QR code by scanning the QR code, wherein the encrypted information is attached to the invoice request, for identifying the invoice request, then a target order electronic invoice is issued.
61. A method comprising:
receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
generating an invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application, when the third-party application identified by the access token is an authorized application;
receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information;
relating the electronic invoice with the access token, wherein the electronic invoices for the target orders are managed by the access tokens; and acquire the invoice information of the electronic invoice based on the access token when the invoice reviewing request is detected to carry the access token.
receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
generating an invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application, when the third-party application identified by the access token is an authorized application;
receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information;
relating the electronic invoice with the access token, wherein the electronic invoices for the target orders are managed by the access tokens; and acquire the invoice information of the electronic invoice based on the access token when the invoice reviewing request is detected to carry the access token.
62. The method of claim 61, further comprises:
acquiring a usemame on the third-party application and a secret key corresponding to the usemame, when an invoice permission request carrying the access token from the third-party application is received, wherein the invoice permission request is used to request permission to issue the electronic invoice of the target order;
acquiring the access token based on the usemame and the secret key; and sending the access token to the third-party application.
acquiring a usemame on the third-party application and a secret key corresponding to the usemame, when an invoice permission request carrying the access token from the third-party application is received, wherein the invoice permission request is used to request permission to issue the electronic invoice of the target order;
acquiring the access token based on the usemame and the secret key; and sending the access token to the third-party application.
63. The method of claim 61, further comprises:
sending a notification to the third-party application for indicating that the electronic invoice has been successfully issued;
acquiring the invoice information of the electronic invoice based on the access token, when the invoice reviewing request sent from the third-party application is received, wherein the invoice reviewing request is detected to carry the access token;
and sending the invoice information of the electronic invoice to the third-party application.
sending a notification to the third-party application for indicating that the electronic invoice has been successfully issued;
acquiring the invoice information of the electronic invoice based on the access token, when the invoice reviewing request sent from the third-party application is received, wherein the invoice reviewing request is detected to carry the access token;
and sending the invoice information of the electronic invoice to the third-party application.
64. The method of claim 61, further comprises:
receiving a title modification request sent form the third-party application, wherein the title modification request is used to request modifications on an invoice title of the electronic invoice;
sending a title modification page to the third-party application, when the title modification request is detected to carry the access token, receiving a modified invoice title from the title modification page sent from the third-party application to replace the invoice title in the electronic invoice by the modified invoice title for obtaining a modified electronic invoice, wherein the modified electronic invoice and the access token are related;
off-writing the electronic invoice before the modification; and sending the invoice information of the modified electronic invoice to the third-party application.
receiving a title modification request sent form the third-party application, wherein the title modification request is used to request modifications on an invoice title of the electronic invoice;
sending a title modification page to the third-party application, when the title modification request is detected to carry the access token, receiving a modified invoice title from the title modification page sent from the third-party application to replace the invoice title in the electronic invoice by the modified invoice title for obtaining a modified electronic invoice, wherein the modified electronic invoice and the access token are related;
off-writing the electronic invoice before the modification; and sending the invoice information of the modified electronic invoice to the third-party application.
65. The method of claim 64, further comprises:
identifying primary invoice information according to the title modification request;
querying recorded title modification times of the electronic invoice in a modification table based on the primary invoice information;
sending a notification to the third-party application indicating the failure of an electronic invoice title modification, when the number of the title modification times is greater than a pre-set number; and proceeding to the procedure of sending the title modification page to the third-party application when the number of the title modification times is smaller than the pre-set number.
identifying primary invoice information according to the title modification request;
querying recorded title modification times of the electronic invoice in a modification table based on the primary invoice information;
sending a notification to the third-party application indicating the failure of an electronic invoice title modification, when the number of the title modification times is greater than a pre-set number; and proceeding to the procedure of sending the title modification page to the third-party application when the number of the title modification times is smaller than the pre-set number.
66. The method of claim 61, further comprises:
receiving an exchange request for a paper-based invoice sent by the third-party application, wherein the exchange request for a paper-based invoice is used to request the exchange from the electonic invoice to a paper-based invoice;
saving a secondary invoice information of the electronic invoice into a paper-based invoice pool when the exchange request for the paper-based invoice is detected to carry the access token, wherein the paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the electronic invoice.
receiving an exchange request for a paper-based invoice sent by the third-party application, wherein the exchange request for a paper-based invoice is used to request the exchange from the electonic invoice to a paper-based invoice;
saving a secondary invoice information of the electronic invoice into a paper-based invoice pool when the exchange request for the paper-based invoice is detected to carry the access token, wherein the paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the electronic invoice.
67. The method of claim 61, further comprises:
receiving an issuing-pending order information of the target order sent by an order issuing system;
generating an identification code for the target order, wherein the identification code is a QR code;
generating a primary encrypting information of the identification code by the salt according to the issuing-pending order information;
encrypting the identification code by a primary encrypting information to obtain a encrypted identification code; and sending the encrypted identification code to the order issuing system, receiving the invoice request by the third-party application comprises:
receiving the invoice request sent by the third-party application, wherein the invoice request is obtained by scanning the encrypted identification code provided by an order issuing system by the third-party application; and extracting secondary encrypting information from the invoice request; and sending the invoice issuing page to the third-party application when the secondary encrypting information matches with the primary encrypting information.
receiving an issuing-pending order information of the target order sent by an order issuing system;
generating an identification code for the target order, wherein the identification code is a QR code;
generating a primary encrypting information of the identification code by the salt according to the issuing-pending order information;
encrypting the identification code by a primary encrypting information to obtain a encrypted identification code; and sending the encrypted identification code to the order issuing system, receiving the invoice request by the third-party application comprises:
receiving the invoice request sent by the third-party application, wherein the invoice request is obtained by scanning the encrypted identification code provided by an order issuing system by the third-party application; and extracting secondary encrypting information from the invoice request; and sending the invoice issuing page to the third-party application when the secondary encrypting information matches with the primary encrypting information.
68. The method of any one of claims 61 to 67, wherein a user accesses the third-party application on a terminal to send the invoice request carrying the access token, wherein the invoice request is used to request the electronic invoice for a target order,
69. The method of any one of claims 61 to 68, wherein the third-party application displays the invoice issuing page to the user to ask the user to fill invoice information for the target order on the invoice issuing page, wherein the terminal sends the invoice issuing page with the invoice information.
70. The method of any one of claims 61 to 69, further includes merchant invoice issuing subsystem, the third-party application, wherein the third-party application on the terminal is configured to manage user-issued electronic invoice, wherein a merchant invoice issuing subsystem is configured to provide order information of the target order to the user, to send the invoice request for requesting to issue the electronic invoice for the target order.
71. The method of any one of claims 61 to 70, wherein the user is a customer, wherein the merchant invoice issuing subsystem print a target order receipt for the customer, wherein the customer scans a QR code on the target order receipt via the third-party application to acquire order information of the target order wherein the customer uses the third-party application to submit the invoice issuing application, and wherein the customer accesses and manages the invoice information of the electronic invoice returned via the third-party application.
72. The method of any one of claims 61 to 71, wherein the invoice request carries the access token wherein the access token is used to identify authorized third-party applications, generates the access token and sends the access token to the terminal, wherein the third-party application on the terminal attaches the access token to the invoice request to identify authorized third-party applications based on the access token in the invoice request.
73. The method of any one of claims 61 to 72, parses the invoice request to acquire the access token in the invoice request, wherein the access token is recognized, pre-set as a primary general template on the invoice issuing page, wherein the primary general template contains general information for issuing electronic invoices, including one or more of tax identification number, title, address, contact number.
74. The method of any one of claims 61 to 73, wherein the invoice request is received, acquiring data information to be filled in the electronic invoice for the target order according to the target order indicated in the invoice request, wherein the data information is filled in a primary general template, wherein data information to be filled in the electronic invoice for the target order includes one or more of company basic information, transaction data, reimbursing objects, wherein the invoice issuing page is a HTML 5 web page form.
75. The method of any one of claims 61 to 74, wherein the third-party application sends the invoice information on the invoice issuing page, send invoice data carrying invoice information via a message middleware, allocated with a pre-set electronic invoice secondary general template, wherein the general format of electronic invoice is set in the secondary general template, fill invoice data into the secondary general template..
76. The method of any one of claims 61 to 75, relates the electronic invoice for the target invoice with the access token, wherein the target order electronic invoice is accessed by the relationship with the access token, wherein the access token is used for invoice management of the target order electronic invoices, and manage third-party applications by access tokens.
77. The method of any one of claims 61 to 76, query target order electronic invoice by access tokens, wherein for non-member users, third-party applications is directly used to apply for issuing target order electronic invoices, wherein the third-party applications query target order of electronic invoices.
78. The method of any one of claims 61 to 77, perform invoice management for the target order invoices via access tokens related with third-party applications, wherein the third-party application target order of electronic invoices are queried by access tokens and the invoice information of electronic invoices are returned to the third-party applications.
79. The method of any one of claims 61 to 78, wherein the third-party application attaches the access token in the following invoice requests for issuing target order electronic invoices.
80. The method of any one of claims 61 to 79, wherein the user searches issued electronic invoices via the third-party application, wherein the third-party application sends an invoice reviewing request.
81. The method of any one of claims 61 to 80, searches the electronic invoices applied by the customer based on the access tokens for invoice applications and the relationships with the target order electronic invoices, wherein invoice information, formatting files, order information, and other related information are acquired and written in the invoice detail pages.
82. The method of any one of claims 61 to 81, wherein users trigger the title modification elements to submit the title modification requests, wherein the title modification page contains editable elements to receive desired invoice title edited by the user and the title modification page provide available invoice titles for the modification wherein the users select corresponding desired invoice titles and wherein he modified invoice titles are determined on the title modification page.
83. The method of any one of claims 61 to 82, wherein the automated invoice title modification service for issued invoices is provided to users, wherein the customer click the title modification button on the third-party application to receive the title modification request
84. The method of any one of claims 61 to 83, wherein the restriction is passed, the message is returned as "The limit of title modification times has been passed. No more self-modification allowed. Please visit customer service for title modifications", wherein the restriction remains, the title modification page is directed to allow customers edit the title information and resubmit the invoice request.
85. The method of any one of claims 61 to 84, wherein customers review invoice information from the invoice query lists.
86. The method of any one of claims 61 to 85, wherein the primary invoice information is identical to the secondary invoice information, wherein when the access tokens in paper-based invoice exchange requests are detected, wherein the paper-based invoice exchange page is sent to the third-party application, wherein the paper-based invoice exchange page is configured to receive mailing address by users, wherein receiving the mailing address for the paper-based invoice exchange page sent by the third-party applications, the mailing address of the paper-based invoices are related to the secondary order information in the invoice pool, to locate the mailing address of the paper-based invoices according to the secondary order information.
87. The method of any one of claims 61 to 86, wherein the customers click the button of paper-based invoice exchange on the third-party applications, receive the paper-based invoice exchange requests, search for invoice exchange records based on the secondary order information of the electronic invoice, to verify that whether the paper-based invoices for the target orders are exchanged, wherein the paper-based invoices have been exchanged, a message is returned as "the paper-based invoices have been exchanged; no more exchange request is proceeded", wherein the paper-based invoices have not been exchanged, the front paper-based invoice exchange page is returned to allow customers to fill the mailing address for the paper-based invoice and submit the paper-based invoice exchange request.
88. The method of any one of claims 61 to 87, wherein order information of the paper-based invoices is queried via the invoice pool , wherein the paper-based invoices are issued offline and mailed according to the mailing information submitted by customers.
89. The method of any one of claims 61 to 88, wherein the QR code link is sent to the merchant invoice issuing subsystem, wherein the merchant invoice issuing subsystem prints a purchase receipt with the QR code, handed to the customer, wherein the customer acquires encrypted information in the QR code by scanning the QR code, wherein the encrypted information is attached to the invoice request, for identifying the invoice request, then a target order electronic invoice is issued.
90. A readable computer storage medium with computer programs stored thereon comprising:
receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
generating an invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application, when the third-party application identified by the access token is an authorized application;
receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information;
relating the electronic invoice with the access token, wherein the electronic invoices for target orders are managed by access tokens; and acquire the invoice information of the electronic invoice based on the access token when the invoice reviewing request is detected to carry the access token.
receiving an invoice request carrying an access token from a third-party application, wherein the invoice request is used to request an electronic invoice for a target order;
generating an invoice issuing page for the target order based on the invoice request and sending the invoice issuing page to the third-party application, when the third-party application identified by the access token is an authorized application;
receiving invoice information sent from the third-party application to generate the electronic invoice for the target order based on the invoice information;
relating the electronic invoice with the access token, wherein the electronic invoices for target orders are managed by access tokens; and acquire the invoice information of the electronic invoice based on the access token when the invoice reviewing request is detected to carry the access token.
91. The storage medium of claim 90, further comprises:
acquiring a username on the third-party application and a secret key corresponding to the username, when an invoice permission request carrying the access token from the third-party application is received, wherein the invoice permission request is used to request permission to issue the electronic invoice of the target order;
acquiring the access token based on the username and the secret key; and sending the access token to the third-party application.
acquiring a username on the third-party application and a secret key corresponding to the username, when an invoice permission request carrying the access token from the third-party application is received, wherein the invoice permission request is used to request permission to issue the electronic invoice of the target order;
acquiring the access token based on the username and the secret key; and sending the access token to the third-party application.
92. The storage medium of claim 90, further comprises:
sending a notification to the third-party application for indicating that the electronic invoice has been successfully issued;
acquiring the invoice information of the electronic invoice based on the access token, when the invoice reviewing request sent from the third-party application is received, wherein the invoice reviewing request is detected to carry the access token;
and sending the invoice information of the electronic invoice to the third-party application.
sending a notification to the third-party application for indicating that the electronic invoice has been successfully issued;
acquiring the invoice information of the electronic invoice based on the access token, when the invoice reviewing request sent from the third-party application is received, wherein the invoice reviewing request is detected to carry the access token;
and sending the invoice information of the electronic invoice to the third-party application.
93. The storage medium of claim 90, further comprises:
receiving a title modification request sent form the third-party application, wherein the title modification request is used to request modifications on an invoice title of the electronic invoice;
sending a title modification page to the third-party application, when the title modification request is detected to carry the access token, receiving a modified invoice title from the title modification page sent from the third-party application to replace the invoice title in the electronic invoice by the modified invoice title for obtaining a modified electronic invoice, wherein the modified electronic invoice and the access token are related;
off-writing the electronic invoice before the modification; and sending the invoice information of the modified electronic invoice to the third-party application.
receiving a title modification request sent form the third-party application, wherein the title modification request is used to request modifications on an invoice title of the electronic invoice;
sending a title modification page to the third-party application, when the title modification request is detected to carry the access token, receiving a modified invoice title from the title modification page sent from the third-party application to replace the invoice title in the electronic invoice by the modified invoice title for obtaining a modified electronic invoice, wherein the modified electronic invoice and the access token are related;
off-writing the electronic invoice before the modification; and sending the invoice information of the modified electronic invoice to the third-party application.
94. The storage medium of claim 93, further comprises:
identifying primary invoice information according to the title modification request;
querying recorded title modification times of the electronic invoice in a modification table based on the primary invoice information;
sending a notification to the third-party application indicating the failure of an electronic invoice title modification, when the number of the title modification times is greater than a pre-set number; and proceeding to the procedure of sending the title modification page to the third-party application when the number of the title modification times is smaller than the pre-set number.
identifying primary invoice information according to the title modification request;
querying recorded title modification times of the electronic invoice in a modification table based on the primary invoice information;
sending a notification to the third-party application indicating the failure of an electronic invoice title modification, when the number of the title modification times is greater than a pre-set number; and proceeding to the procedure of sending the title modification page to the third-party application when the number of the title modification times is smaller than the pre-set number.
95. The storage medium of claim 90, further comprises:
receiving an exchange request for a paper-based invoice sent by the third-party application, wherein the exchange request for a paper-based invoice is used to request the exchange from the electronic invoice to a paper-based invoice;
saving a secondary invoice information of the electronic invoice into a paper-based invoice pool when the exchange request for the paper-based invoice is detected to cany the access token, wherein the paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the electronic invoice.
receiving an exchange request for a paper-based invoice sent by the third-party application, wherein the exchange request for a paper-based invoice is used to request the exchange from the electronic invoice to a paper-based invoice;
saving a secondary invoice information of the electronic invoice into a paper-based invoice pool when the exchange request for the paper-based invoice is detected to cany the access token, wherein the paper-based invoice pool is configured to store the order information for issuing-pending paper-based invoices; and off-writing the electronic invoice.
96. The storage medium of claim 90, further comprises:
receiving an issuing-pending order information of the target order sent by an order issuing system;
generating an identification code for the target order, wherein the identification code is a QR code;
generating a primary encrypting information of the identification code by the salt according to the issuing-pending order information;
encrypting the identification code by a primary encrypting information to obtain a encrypted identification code; and sending the encrypted identification code to the order issuing system, receiving the invoice request by the third-party application comprises:
receiving the invoice request sent by the third-party application, wherein the invoice request is obtained by scanning the encrypted identification code provided by an order issuing system by the third-party application; and extracting secondary encrypting information from the invoice request; and sending the invoice issuing page to the third-party application when the secondary encrypting information matches with the primary encrypting information.
receiving an issuing-pending order information of the target order sent by an order issuing system;
generating an identification code for the target order, wherein the identification code is a QR code;
generating a primary encrypting information of the identification code by the salt according to the issuing-pending order information;
encrypting the identification code by a primary encrypting information to obtain a encrypted identification code; and sending the encrypted identification code to the order issuing system, receiving the invoice request by the third-party application comprises:
receiving the invoice request sent by the third-party application, wherein the invoice request is obtained by scanning the encrypted identification code provided by an order issuing system by the third-party application; and extracting secondary encrypting information from the invoice request; and sending the invoice issuing page to the third-party application when the secondary encrypting information matches with the primary encrypting information.
97. The storage medium of any one of claims 90 to 96, wherein a user accesses the third-party application on a terminal to send the invoice request carrying the access token, wherein the invoice request is used to request the electronic invoice for a target order,
98. The storage medium of any one of claims 90 to 97, wherein the third-party application displays the invoice issuing page to the user to ask the user to fill invoice information for the target order on the invoice issuing page, wherein the terminal sends the invoice issuing page with the invoice information.
99. The storage medium of any one of claims 90 to 98, further includes merchant invoice issuing subsystem, the third-party application, wherein the third-party application on the terminal is configured to manage user-issued electronic invoice, wherein a merchant invoice issuing subsystem is configured to provide order information of the target order to the user, to send the invoice request for requesting to issue the electronic invoice for the target order.
100.The storage medium of any one of claims 90 to 99, wherein the user is a customer, wherein the merchant invoice issuing subsystem print a target order receipt for the customer, wherein the customer scans a QR code on the target order receipt via the third-party application to acquire order information of the target order wherein the customer uses the third-party application to submit the invoice issuing application, and wherein the customer accesses and manages the invoice information of the electronic invoice returned via the third-party application.
101.The storage medium of any one of claims 90 to 100, wherein the invoice request carries the access token wherein the access token is used to identify authorized third-party applications, generates the access token and sends the access token to the terminal, wherein the third-party application on the terminal attaches the access token to the invoice request to identify authorized third-party applications based on the access token in the invoice request.
102.The storage medium of any one of claims 90 to 101, parses the invoice request to acquire the access token in the invoice request, wherein the access token is recognized, pre-set as a primary general template on the invoice issuing page, wherein the primary general template contains general information for issuing electronic invoices, including one or more of tax identification number, title, address, contact number.
103.The storage medium of any one of claims 90 to 102, wherein the invoice request is received, acquiring data information to be filled in the electronic invoice for the target order according to the target order indicated in the invoice request, wherein the data information is filled in a primary general template, wherein data information to be filled in the electronic invoice for the target order includes one or more of company basic information, transaction data, reimbursing objects, wherein the invoice issuing page is a HTML 5 web page form.
104.The storage medium of any one of claims 90 to 103, wherein the third-party application sends the invoice information on the invoice issuing page, send invoice data carrying invoice information via a message middleware, allocated with a pre-set electronic invoice secondary general template, wherein the general format of electronic invoice is set in the secondary general template, fill invoice data into the secondary general template..
105.The storage medium of any one of claims 90 to 104, relates the electronic invoice for the target invoice with the access token, wherein the target order electronic invoice is accessed by the relationship with the access token, wherein the access token is used for invoice management of the target order electronic invoices, and manage third-party applications by access tokens.
106.The storage medium of any one of claims 90 to 105, query target order electronic invoice by access tokens, wherein for non-member users, third-party applications is directly used to apply for issuing target order electronic invoices, wherein the third-party applications query target order of electronic invoices.
107.The storage medium of any one of claims 90 to 106, perform invoice management for the target order invoices via access tokens related with third-party applications, wherein the third-party application target order of electronic invoices are queried by access tokens and the invoice information of electronic invoices are returned to the third-party applications.
108.The storage medium of any one of claims 90 to 107, wherein the third-party application attaches the access token in the following invoice requests for issuing target order electronic invoices.
109.The storage medium of any one of claims 90 to 108, wherein the user searches issued electronic invoices via the third-party application, wherein the third-party application sends an invoice reviewing request.
110.The storage medium of any one of claims 90 to 109, searches the electronic invoices applied by the customer based on the access tokens for invoice applications and the relationships with the target order electronic invoices, wherein invoice information, formatting files, order information, and other related information are acquired and written in the invoice detail pages.
111.The storage medium of any one of claims 90 to 110, wherein users trigger the title modification elements to submit the title modification requests, wherein the title modification page contains editable elements to receive desired invoice title edited by the user and the title modification page provide available invoice titles for the modification wherein the users select corresponding desired invoice titles and wherein he modified invoice titles are determined on the title modification page.
112.The storage medium of any one of claims 90 to 111, wherein the automated invoice title modification service for issued invoices is provided to users, wherein the customer click the title modification button on the third-party application to receive the title modification request
113.The storage medium of any one of claims 90 to 112, wherein the restriction is passed, the message is returned as "The limit of title modification times has been passed.
No more self-modification allowed. Please visit customer service for title modifications", wherein the restriction remains, the title modification page is directed to allow customers edit the title information and resubmit the invoice request.
No more self-modification allowed. Please visit customer service for title modifications", wherein the restriction remains, the title modification page is directed to allow customers edit the title information and resubmit the invoice request.
114.The storage medium of any one of claims 90 to 113, wherein customers review invoice information from the invoice query lists.
115.The storage medium of any one of claims 90 to 114, wherein the primary invoice information is identical to the secondary invoice information, wherein when the access tokens in paper-based invoice exchange requests are detected, wherein the paper-based invoice exchange page is sent to the third-party application, wherein the paper-based invoice exchange page is configured to receive mailing address by users, wherein receiving the mailing address for the paper-based invoice exchange page sent by the third-party applications, the mailing address of the paper-based invoices are related to the secondary order information in the invoice pool, to locate the mailing address of the paper-based invoices according to the secondary order information.
116.The storage medium of any one of claims 90 to 115, wherein the customers click the button of paper-based invoice exchange on the third-party applications, receive the paper-based invoice exchange requests, search for invoice exchange records based on the secondary order information of the electronic invoice, to verify that whether the paper-based invoices for the target orders are exchanged, wherein the paper-based invoices have been exchanged, a message is returned as "the paper-based invoices have been exchanged; no more exchange request is proceeded", wherein the paper-based invoices have not been exchanged, the front paper-based invoice exchange page is returned to allow customers to fill the mailing address for the paper-based invoice and submit the paper-based invoice exchange request.
117.The storage medium of any one of claims 90 to 116, wherein order information of the paper-based invoices is queried via the invoice pool , wherein the paper-based invoices are issued offline and mailed according to the mailing information submitted by customers.
118.The storage medium of any one of claims 90 to 117, wherein the QR code link is sent to the merchant invoice issuing subsystem, wherein the merchant invoice issuing subsystem prints a purchase receipt with the QR code, handed to the customer, wherein the customer acquires encrypted information in the QR code by scanning the QR code, wherein the encrypted information is attached to the invoice request, for identifying the invoice request, then a target order electronic invoice is issued.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110133951.6 | 2021-02-01 | ||
CN202110133951.6A CN112884536A (en) | 2021-02-01 | 2021-02-01 | Electronic invoice management method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CA3147372A1 CA3147372A1 (en) | 2022-08-01 |
CA3147372C true CA3147372C (en) | 2023-06-27 |
Family
ID=76052145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA3147372A Active CA3147372C (en) | 2021-02-01 | 2022-02-01 | Electronic invoice management method, device, computer apparatus, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112884536A (en) |
CA (1) | CA3147372C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114445164A (en) * | 2021-12-31 | 2022-05-06 | 北京金堤科技有限公司 | Invoice data processing method and device, storage medium and electronic equipment |
CN115170095B (en) * | 2022-09-07 | 2022-11-29 | 浪潮通信信息系统有限公司 | Order processing method and device, electronic equipment and storage medium |
CN117078327B (en) * | 2023-06-09 | 2024-02-13 | 国能(北京)商务网络有限公司 | Electronic invoice issuing method, management system and electronic equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503760B (en) * | 2016-10-31 | 2019-06-28 | 东港瑞云档案管理有限公司 | A kind of barcode scanning issues electronic invoice method |
CN111177597B (en) * | 2019-12-25 | 2024-02-23 | 航天信息股份有限公司 | Method for collecting electronic invoice through code scanning, electronic equipment and storage medium |
CN112036968B (en) * | 2020-07-28 | 2022-08-19 | 江苏苏宁物流有限公司 | Electronic invoice issuing method and device, computer equipment and storage medium |
-
2021
- 2021-02-01 CN CN202110133951.6A patent/CN112884536A/en active Pending
-
2022
- 2022-02-01 CA CA3147372A patent/CA3147372C/en active Active
Also Published As
Publication number | Publication date |
---|---|
CA3147372A1 (en) | 2022-08-01 |
CN112884536A (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA3147372C (en) | Electronic invoice management method, device, computer apparatus, and storage medium | |
US11093652B2 (en) | Web-based method and system for applying a legally enforceable signature on an electronic document | |
CN110495132B (en) | System and method for generating, uploading and executing code blocks within distributed network nodes | |
US10402784B2 (en) | Dynamic notary system | |
CN110365670A (en) | Blacklist sharing method, device, computer equipment and storage medium | |
US8200966B2 (en) | Secure network access | |
US20070174762A1 (en) | Personal web page annotation system | |
CN110599276B (en) | Bill reimbursement method, device and equipment and computer storage medium | |
CA3070109A1 (en) | Systems and methods for encryption and authentication | |
JP2009534739A (en) | Authentication for commerce using mobile modules | |
CN102770881A (en) | Verification mechanism | |
CN109359485A (en) | Invoice data shared system and method based on block chain | |
KR20190107601A (en) | Method and system for the generation of user-initiated federated identities | |
EP2905739A1 (en) | Electronic bills management system and electronic bills management method | |
CN113127822A (en) | Enterprise electronic seal management method and system based on enterprise chain code | |
US20230109369A1 (en) | First copyright holder authentication system using blockchain, and method therefor | |
US20100218239A1 (en) | Digital Content Counting System and Method | |
US20080005557A1 (en) | Method of authentication and ownership verification of collectibles | |
US20210398113A1 (en) | Status system with data security for transactions | |
JP2008199618A (en) | Method, system, and computer program for using personal communication device to obtain additional information | |
CN116401691A (en) | File authority management method, device, system, computer equipment and medium | |
JP2018055149A (en) | Shipping product authentication system and server apparatus | |
JP2008027089A (en) | Method and system for disclosing electronic data | |
CN114548921A (en) | Method and system for borrowing management of files | |
KR20220111916A (en) | Payment token system and method based on self-sovereign identity verification |