General solution for issuing electronic invoices in transaction of third-party system
By synchronizing third-party order data and generating standard order numbers in the invoicing system, the problem of not being able to issue electronic invoices for orders from third-party channels has been solved, realizing automated electronic invoice issuance and improving user experience and the accuracy of data synchronization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2026-03-27
AI Technical Summary
Existing technology cannot directly issue electronic invoices for orders placed through third-party channels, resulting in a poor user experience.
The system synchronizes third-party order data to the invoicing system via message queue, generates standard order numbers, records the channel type and third-party order number in the invoicing system, provides an interface for third-party systems to directly jump to the invoicing interface, and supports the issuance of electronic invoices.
It has enabled the automated issuance of electronic invoices for orders placed through third-party channels, improving user experience and the accuracy of data synchronization.
Smart Images

Figure CN121746017A_ABST
Abstract
Description
Technical Field
[0001] This system provides a general solution for issuing electronic invoices for transactions through third-party systems. Specifically, it involves the synchronization of third-party transaction systems and the query of third-party order status, which falls under the scope of business function implementation. Background Technology
[0002] Many retail businesses, in addition to supporting their own offline and online retail channels, also integrate with third-party channels such as Ele.me and Meituan. Retailers' own channels generally provide online or offline invoicing access points. However, for orders from third-party channels, due to data synchronization and order numbering rules, invoices generally cannot be issued directly.
[0003] To enable users to receive e-invoices directly from retail businesses when purchasing products and services through third-party systems, just like through self-operated channels, a universal solution for issuing e-invoices for third-party system transactions is needed. This solution should allow third-party systems or apps to directly redirect users to the retailer's online invoicing system to issue e-invoices. Users can also choose to receive e-invoices via email or by downloading them directly. Summary of the Invention
[0004] This method provides a general solution for issuing e-invoices for transactions from third-party systems. The system synchronizes third-party orders to the invoicing system via a message queue. To avoid conflicts with order numbers from self-operated orders, the synchronization system generates order numbers based on the self-operated system's order number rules and records them in the invoicing system. Simultaneously, the system records the order number, channel type, and third-party order number in the third-party order extension table. When issuing invoices for self-operated business, invoicing can be done directly through the invoicing system using the order number via mobile scanning or other methods. When issuing invoices for third-party systems, the channel number and the third-party system's order number can be passed to the invoicing system. The invoicing system queries the third-party order extension table; after finding the record, it jumps to the standard invoicing process to complete the issuance of the e-invoice. Attached Figure Description
[0005] Figure 1 Invoice flowchart. Detailed Implementation
[0006] This system provides a general solution for issuing electronic invoices for transactions through third-party systems. Through data synchronization, third-party order data is synchronized to the invoicing system. The invoicing system provides an external service interface, allowing users to query order invoicing information using the channel and third-party order number, and then jump to the standard invoicing process to complete the electronic invoice issuance.
[0007] The specific steps are as follows: Once a third-party system order is completed, the system will synchronize the order information to a message queue. The invoicing system will then process the third-party order data in the queue. Based on the data in the queue, the system will generate a standard order number.
[0008] The system generates the tax amount and the after-tax amount of the goods based on the amount of the goods in the order and the tax rate of the goods.
[0009] The system generates product discount tax amount and product discount (after tax) data based on the product line discount amount in the order and the product tax rate.
[0010] The system generates shipping tax amount and shipping cost (after tax) data for each product line based on the average shipping cost of the product line in the order and the product tax rate.
[0011] The system generates packaging fee tax amount and packaging fee (after tax) data based on the packaging fee in the order and the packaging fee tax rate.
[0012] The system will save the above information in the corresponding invoicing information table.
[0013] The system will record the order number, channel type, and third-party order number in the third-party order extension table.
[0014] Third-party systems can directly redirect to the invoicing interface via an API. Once the API retrieves the third-party order information, it will directly redirect to the invoicing interface. Alternatively, users can access a separate third-party order query interface, select the channel, enter the order number, and then proceed to the invoicing interface to issue an electronic invoice.
Claims
1. A general solution for issuing electronic invoices for transactions through a third-party system, characterized by: Orders placed through third-party systems can still be invoiced electronically through the invoicing system.
2. The solution for issuing electronic invoices for transactions through a third-party system as described in claim 1 supports synchronization with the third-party transaction system and can synchronize orders to the invoicing system.
3. The general solution for issuing electronic invoices for third-party system transactions as described in claim 1 supports constructing invoice information and calculating tax amount and after-tax price based on third-party orders.
4. According to claim 1, a general solution for issuing electronic invoices for transactions through a third-party system allows the payment third-party system or App to directly redirect to the retail enterprise's online invoicing system to issue electronic invoices.