This document relates to the data processing field, and in particular, to a receipt processing method and apparatus for a transaction bill.
With development of Internet technologies, an electronic receipt is widely applied. Like an ordinary paper receipt, the electronic receipt has a code issued by a tax institution. Therefore, the electronic receipt has the same voucher effect as the ordinary paper receipt, but the electronic receipt is more convenient than the ordinary paper receipt in operations such as receipt issuance and reimbursement. In a process of reimbursing expense by using a receipt, an electronic form such as a reimbursement application form needs to be filled first, and then the reimbursement application form for which filling is completed is submitted to a reviewer for review. After review succeeds, the receipt is reimbursed. An entire reimbursement process is relatively cumbersome.
Embodiments of this specification provide a receipt processing method for a transaction bill. The receipt processing method for a transaction bill includes: obtaining at least one transaction bill, the at least one transaction bill being obtained after transaction processing is performed with a merchant based on a payment voucher of an institution; classifying the at least one transaction bill based on a merchant identifier if a receipt generation policy of the institution is a periodic generation policy, to obtain a bill subset corresponding to each merchant; sending a receipt application to a receipt service platform of each merchant, to perform receipt issuance for the bill subset; and receiving a receipt that is of each bill subset and that is returned by the receipt service platform, reading receipt additional information of the receipt, and associating the receipt additional information with the receipt.
Embodiments of this specification provide a receipt processing device for a transaction bill, including: a processor; and a storage, configured to store computer-executable instructions. The processor is configured to: obtain at least one transaction bill, the at least one transaction bill being obtained after transaction processing is performed with a merchant based on a payment voucher of an institution; classify the at least one transaction bill based on a merchant identifier if a receipt generation policy of the institution is a periodic generation policy, to obtain a bill subset corresponding to each merchant; send a receipt application to a receipt service platform of each merchant, to perform receipt issuance for the bill subset; and receive a receipt that is of each bill subset and that is returned by the receipt service platform, read receipt additional information of the receipt, and associate the receipt additional information with the receipt.
Embodiments of this specification provide a storage medium, configured to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor is caused to perform: obtaining at least one transaction bill, the at least one transaction bill being obtained after transaction processing is performed with a merchant based on a payment voucher of an institution; classifying the at least one transaction bill based on a merchant identifier if a receipt generation policy of the institution is a periodic generation policy, to obtain a bill subset corresponding to each merchant; sending a receipt application to a receipt service platform of each merchant, to perform receipt issuance for the bill subset; and receiving a receipt that is of each bill subset and that is returned by the receipt service platform, reading receipt additional information of the receipt, and associating the receipt additional information with the receipt.
The following briefly describes the accompanying drawings of the present disclosure. The accompanying drawings in the following descriptions show merely example embodiments of the present disclosure.
The following describes example embodiments of the present disclosure with reference to the accompanying drawings. The described embodiments are merely examples rather than all of the embodiments of the present disclosure.
Embodiments of the present disclosure provide a receipt processing method for a transaction bill. In the receipt processing method, for a transaction bill obtained after transaction processing is performed based on a payment voucher of an institution, a corresponding receipt is generated by performing data integration with a merchant participating in transaction processing, and the transaction bill and information related to the transaction bill are associated with the receipt as receipt additional information of the receipt. For example, if a receipt generation policy of the institution is a periodic generation policy, when it is detected that a receipt generation period of the institution expires, at least one transaction bill obtained after transaction processing is performed with the merchant based on the payment voucher of the institution is classified, to obtain a bill subset corresponding to each merchant; a receipt application is sent to a receipt service platform of each merchant, to perform receipt issuance for the corresponding bill subset; and after the receipt obtained after the merchant performs receipt issuance, receipt additional information of the receipt is read and associated with the corresponding receipt. In this way, for transaction processing performed based on the payment voucher of the institution, receipt issuance is automatically performed, and the receipt additional information is associated with the receipt after receipt issuance, so that an employee does not need to perform receipt issuance offline. The receipt additional information is associated with the receipt, to improve validity of the receipt in a use process. A data support is provided for the receipt based on the receipt additional information, to improve a receipt issuance efficiency of the institution for payment.
Step S102: Obtain at least one transaction bill, the at least one transaction bill being obtained after transaction processing is performed with a merchant based on a payment voucher of an institution.
In an embodiment, the institution includes various forms of organizations such as an enterprise, a public institution, or a social group. In addition, the institution not only includes an organization at a current level, but also includes an internal organization of the institution, for example, an institution department or a branch. The institution member includes institution staff and a related person. The transaction bill is associated with the institution and the merchant.
In an embodiment, the payment voucher includes a voucher that is set by the institution for payment, receipt issuance, and/or reimbursement of the institution member. The payment voucher of the institution can uniquely identify the institution. The payment voucher of the institution can exist in a form of an institution code, for example, an identification code such as a two-dimensional code, a barcode, or an audio code. Integrated processing of payment, receipt issuance, and reimbursement can be implemented based on the voucher of the institution. In addition, the payment voucher of the institution can be further used to identify a member identity of the institution member in the institution. For example, the payment voucher is used as a digital work card of the institution employee, and the institution employee can collect, based on the payment voucher, welfare and subsidies issued by the institution.
In an embodiment, after the transaction bill obtained after transaction processing is performed with the merchant based on the payment voucher of the institution is obtained, a receipt generation policy configured by the institution is first read. If the receipt generation policy of the institution is a periodic generation policy, the transaction bill is stored, and the at least one transaction bill obtained after transaction processing is performed with the merchant based on the payment voucher of the institution in a current period is obtained when a receipt generation period expires.
If the receipt generation policy of the institution is an instant generation policy, each time a transaction bill obtained after transaction processing is performed with the merchant based on the payment voucher of the institution is obtained, receipt issuance for the transaction bill is performed. In an embodiment, if the receipt generation policy of the institution is an instant generation policy, a receipt application is sent to a receipt service platform of the merchant, to perform receipt issuance for the at least one transaction bill; and a receipt that is of the at least one transaction bill and that is returned by the receipt service platform is received, receipt additional information of the receipt is read, and the read receipt additional information and the at least one transaction bill are associated with the receipt, to obtain a receipt dataset of the receipt.
For example, the transaction bill obtained after transaction processing is performed with the merchant based on the payment voucher of the institution is obtained. If the receipt generation policy of the institution is the instant generation policy, the receipt application is sent to the receipt service platform of the merchant, to perform receipt issuance for the transaction bill. After the receipt that is of the transaction bill and that is obtained after receipt issuance, the receipt additional information of the receipt is read and associated with the receipt.
The transaction bill obtained after transaction processing is performed with the merchant based on the payment voucher of the institution is obtained. If the receipt generation policy of the institution is the periodic generation policy, the transaction bill is stored. If it is detected that the receipt generation period expires, the at least one transaction bill obtained after transaction processing is performed with the merchant based on the payment voucher of the institution in the receipt generation period is obtained, and the at least one transaction bill is classified based on the merchant identifier, to obtain a bill subset corresponding to each merchant; a receipt application is sent to a receipt service platform of each merchant, to perform receipt issuance for the bill subset; and a receipt that is of each bill subset and that is obtained after receipt issuance, to perform receipt issuance for the bill subset.
The receipt service platform of the merchant includes a platform provided by the merchant to perform receipt issuance for a transaction bill generated by or associated with the merchant. In an embodiment, the receipt service platform of the merchant includes a service platform corresponding to a receipt issuance address of a receipt issuance record of the merchant, and/or a service platform corresponding to an authorized platform address recorded in a receipt authorization record of the merchant.
Step S104: Classify the at least one transaction bill based on a merchant identifier if a receipt generation policy of the institution is a periodic generation policy, to obtain a bill subset corresponding to each merchant.
The receipt generation policy includes a manner pre-configured by the institution to perform receipt issuance for the institution. In an embodiment, the receipt generation policy includes the periodic generation policy and the instant generation policy. The periodic generation policy includes a period in which a specific quantity of periods of time are configured, and receipt issuance is performed for a transaction bill in the period when the period expires. For example, a specified receipt generation period is from the 20th of each month to the 10th of the next month, and all transaction bills generated in this period are issued together on the 10th of the next month. The instant generation policy is a receipt issuance form in which receipts of all transaction bills are issued one by one and a receipt of a transaction bill is issued each time the transaction bill is obtained.
In this embodiment, a receipt issuance process of the institution is specifically described by using an example in which the receipt generation policy of the institution is the periodic generation policy. In addition, step S104 can be further replaced by: classifying the at least one transaction bill based on the merchant identifier, to obtain the bill subset corresponding to each merchant; and forming a new implementation with another processing step provided in this embodiment.
In an implementation, after at least one transaction order is obtained, because a corresponding merchant needs to perform receipt issuance for the transaction order, the at least one transaction bill is classified based on the merchant identifier, to obtain the bill subset corresponding to each merchant. After the bill subset corresponding to each merchant is obtained, the receipt application is sent to the receipt service platform of each merchant, to perform receipt issuance for the bill subset.
Step S102 and step S104 can be further replaced by: classifying, based on the merchant identifier, the at least one transaction bill obtained after transaction processing is performed based on the payment voucher of the institution, to obtain the bill subset corresponding to each merchant; and forming a new implementation with another processing step provided in this embodiment; or classifying the at least one transaction bill obtained after transaction processing is performed based on the payment voucher of the institution, to obtain a bill subset corresponding to each merchant; and forming a new implementation with another processing step provided in this embodiment.
Step S106: Send a receipt application to a receipt service platform of each merchant, to perform receipt issuance for the bill subset.
In this embodiment, the receipt service platform of the merchant includes a platform provided by the merchant to perform receipt issuance for a transaction bill generated by or associated with the merchant, which can be a platform used by the merchant to perform receipt issuance, or can be a third-party platform authorized by the merchant to perform receipt issuance. The receipt application includes an application sent to the receipt service platform of the merchant to perform receipt issuance for a corresponding bill by the merchant.
After the bill subset corresponding to each merchant is obtained, the receipt application is sent to the receipt service platform of each merchant, to perform receipt issuance for the bill subset. Based on this, to enable the merchant to perform receipt issuance, in an embodiment, after the bill subset corresponding to each merchant is obtained, the receipt service platform of the merchant is determined in the following manner: querying a receipt issuance record and/or a receipt authorization record of each merchant; and using, as the receipt service platform, a service platform corresponding to a receipt issuance address in the receipt issuance record or an authorized platform address recorded in the receipt authorization record, and sending the receipt application to the receipt service platform of each merchant, to perform receipt issuance for the bill subset.
In an embodiment, if a query result for a target merchant is empty, a receipt generation request is generated based on a target bill subset corresponding to the target merchant, and the receipt generation request is sent to the target merchant; a target receipt that is of the target bill subset and that is sent by the target merchant is obtained, and target additional information of the target receipt is read; and the target additional information and a transaction bill in the target bill subset are associated with the target receipt.
For example, after the bill subset corresponding to each merchant is obtained, the receipt service platform of each merchant is determined. In a process of determining the receipt service platform of each merchant, the receipt issuance record or the receipt authorization record of each merchant is queried. If the query result is not empty, the service platform corresponding to the receipt issuance address carried in the queried receipt issuance record or the service platform corresponding to the authorized platform address recorded in the receipt authorization record is determined as the receipt service platform of the merchant, and the receipt application for the bill subset of the merchant is sent to the determined receipt service platform of each merchant.
If the query result for the target merchant after the receipt issuance record and/or the receipt authorization record of each merchant are/is queried is empty, the receipt service platform of the merchant cannot be determined. Therefore, the receipt generation request is generated based on the transaction bill included in the target bill subset corresponding to the target merchant and sent to the merchant, so that the merchant performs receipt issuance; obtains the target receipt of the target bill subset issued and uploaded by the target merchant offline or through another channel; and reads the target additional information of the target receipt, and associates the target additional information with the target receipt.
This embodiment is applied to an institution receipt platform. The institution receipt platform can be an independent platform, or can be a sub-platform mounted on the third-party platform, for example, an institution receipt platform on the third-party payment platform. Three processes of interacting with the merchant to generate an electronic receipt are provided. As shown in
To improve receipt issuance efficiency of the receipt service platform of the merchant, and enable a plurality of transaction orders associated with the merchant in the receipt generation period to be issued on one receipt, in an embodiment, for any merchant, the receipt application is generated in the following manner: reading bill key information of each transaction bill in the bill subset, and combining the bill key information to obtain combined bill information; and generating a receipt application including the combined bill information and institution element information of the institution.
The bill key information includes information that needs to be used in a receipt generation process, for example, a product name, a product specification, a product unit, a product quantity, a product unit price, and/or a product amount. The institution element information includes institution information that needs to be used in the receipt issuance process, for example, invoice header information, an institution name, a track number, and an institution account. The bill key information and institution element information are information that needs to be written into an invoice and that needs to be provided by the institution in an invoice issuance process from the merchant to the institution.
The combined bill information includes information obtained by collecting bill key information of all transaction bills. For example, there are three transaction bills in the bill subset, and corresponding resource amounts are m1, m2, and m3. In a combination process, in addition to combination of bill key information of the three transaction bills, m1+m2+m3 needs to be calculated to obtain a total resource amount and add the total resource amount to the combined bill information. In addition, the combined bill information can further include information related to another transaction bill. This embodiment sets no limitation thereto.
For example, for each merchant, the bill key information of each transaction bill in the bill subset corresponding to the merchant is read, the bill key information is combined to obtain the combined bill information, the institution element information of the institution is read, and the receipt application for the merchant is generated based on the combined bill information and the institution element information, and sent to the receipt service platform of the merchant.
Further, to ensure validity and authenticity of the receipt that is of the bill subset corresponding to the merchant and that is issued by the merchant, and avoid a case in which the merchant distrusts invoice issuance due to a low degree of perception of the merchant for the transaction bill in the bill subset, in an optional implementation provided in this embodiment, after the combined bill information is obtained, the following operations are further performed: sending the combined bill information to a corresponding merchant; and generating, based on a confirmation instruction of each merchant for the combined bill information, a receipt application including the combined bill information and institution element information of the institution.
In a specific execution process, for a bill subset corresponding to any merchant, bill key information of each transaction bill in the bill subset is read, the bill key information is combined to obtain combined bill information, and the combined bill information is sent to a receipt service platform of the merchant. If a confirmation instruction of the merchant for the combined bill information is received, a receipt application including the combined bill information and the institution element information is generated and sent to the receipt service platform of the merchant, to perform receipt issuance.
In addition, step S106 can be further replaced by: sending the receipt application to the receipt service platform of each merchant; and forming a new implementation with another processing step provided in this embodiment.
Step S108: Receive a receipt that is of each bill subset and that is returned by the receipt service platform, read receipt additional information of the receipt, and associate the receipt additional information with the receipt.
The receipt additional information includes information associated with each transaction bill in the bill subset and/or the transaction bill, for example, a transaction order associated with the transaction bill, transaction logistics information, an institution credit rating of the institution, and employee information of an institution employee participating in transaction processing of the transaction bill. In this embodiment, descriptions of the receipt additional information are merely an example. The receipt additional information can further include other information related to the transaction bill, and can be configured based on an actual scenario. This embodiment sets no limitation thereto.
In specific implementations, the receipt that is of the bill subset of the merchant and that is returned by the receipt service platform of each merchant is received. For the receipt of each bill subset, the receipt additional information of the receipt is read and associated with the receipt. To improve adequacy of receipt-related information and associate the receipt-related information with the receipt to improve adequacy of receipt authenticity verification performed subsequently, in an optional implementation provided in this embodiment, the receipt additional information of the receipt is read, and includes: reading a transaction order corresponding to each transaction bill in the bill subset of each receipt, reading transaction logistics information corresponding to each transaction bill, reading the institution credit rating of the institution, and/or reading employee information of a transaction employee corresponding to each transaction bill.
After the read receipt additional information is associated with the receipt, a query capability based on any one of the receipt or the receipt additional information can be provided to the institution. In an optional implementation provided in this embodiment, key information carried in a receipt query request is obtained. The key information includes an order number, an institution identifier, a receipt identifier, a logistics identifier, an employee identifier, and/or a transaction identifier. A receipt associated with the key data is queried.
In this embodiment, after the receipt additional information of the receipt is read, the receipt additional information is associated with the receipt. To further improve adequacy of information associated with the receipt, in an optional implementation provided in this embodiment, each transaction bill in each bill subset of each receipt is further associated with each receipt. A receipt dataset of each receipt is obtained after the receipt additional information of each receipt and each transaction bill in the transaction bill subset are associated with each receipt.
For example, step S108 can be further replaced by: receiving the receipt that is of each bill subset and that is returned by the receipt service platform, reading receipt additional information of the receipt, and associating the receipt additional information and a transaction bill in a bill subset of each receipt with the receipt; and forming a new implementation with another processing step provided in this embodiment. In an embodiment, the receipt dataset of the receipt is obtained after the receipt additional information and the transaction bill in the bill subset of each receipt are associated with the receipt.
Further, to prevent the merchant from forging an invoice or repeatedly issuing an invoice, in an embodiment, after receiving the receipt returned by the receipt service platform, the receipt is sent to the receipt management platform, to perform receipt verification. A receipt verification result sent by the receipt management platform is received, and the receipt verification result and the receipt dataset of the receipt are sent to the institution. Receipt verification includes receipt authenticity verification and receipt repetition verification. In the process of sending the receipt dataset of the receipt to the institution, the receipt in the receipt dataset is parsed to obtain receipt structured data, and the receipt structured data and other information in the receipt dataset are sent to the institution. The receipt management platform includes a tax platform for tax management.
After the receipt additional information of the receipt is associated with the receipt, a receipt query based on the receipt identifier, the receipt number, the transaction identifier, the order identifier, the logistics identifier, the institution identifier, and the employee information, an output capability, etc. are provided. To improve a degree of perception for the receipt dataset in a receipt query process, in an embodiment, if a receipt query request of the employee or the institution is received, the following operations are performed: querying an associated target receipt based on key information carried in a receipt query request of the institution, and reading a target receipt dataset of the target receipt; parsing the target receipt in the target receipt dataset, to obtain receipt structured data; and returning, to the institution, the receipt structured data and a transaction order, transaction logistics information, an institution credit rating, a transaction bill, and/or employee information that are included in the target receipt dataset.
For example, in a process of returning the receipt dataset to the institution that performs querying, to improve a degree of perception, for the receipt, of the employee or the institution that performs querying, the target receipt that is in the target receipt dataset and that is queried based on the key information carried in the receipt query request of the employee or the institution is parsed, to obtain the receipt structured data, and the receipt structured data and information other than the receipt in the receipt dataset are returned to the employee or the institution.
The receipt dataset can be sent to the institution in three ways in a process of sending the receipt dataset to the institution.
In addition to a case in which the receipt additional information is associated with the receipt, data integration can be performed with an account provider of the institution and the institution resource platform of the institution, to generate a resource circulation record of the institution. The resource circulation record includes a declaration form for tax processing that needs to be performed by the institution, etc.
In an embodiment, the resource circulation record of the institution is generated in the following manner: generating a resource inflow record of the institution based on a first receipt of the institution, and generating a resource outflow record of the institution based on a second receipt of the institution; and generating a resource circulation record of the institution based on the resource inflow record, the resource outflow record, and institution data. In an embodiment, the institution data includes at least one of the following: resource circulation data of the institution, and protocol information between the institution and a target merchant or serving party; and correspondingly, the institution data is obtained in the following manner: obtaining resource circulation data sent by an account provider of the institution, and/or obtaining the protocol information sent by an institution resource platform of the institution.
The first receipt includes a corresponding input receipt generated after the institution expends a resource. The resource outflow record is, for example, an input data record. The second receipt includes a corresponding output receipt generated after the institution receives a resource. Correspondingly, the resource inflow record is, for example, an output data record.
For example, the input data record of the institution is generated based on the input receipt of the institution, the output data record of the institution is generated based on the output receipt of the institution, the resource circulation data that is of the institution and that is sent by the account provider of the institution is obtained, and the protocol information sent by the institution resource platform of the institution is obtained. The resource circulation record of the institution is generated based on at least one of the resource circulation data, the protocol information, the input data record, and the output data record, and is sent to the instrument management platform, to perform tax processing on the receipt management platform.
It should be noted that, in a process of generating the resource circulation record, the resource circulation record can be generated in the above-mentioned manner when it is detected that a record generation period expires. The record generation period can be consistent with the receipt generation period. In other words, the resource circulation record is generated each time a receipt is generated. The record generation period can be inconsistent with the receipt generation period. If the record generation period is inconsistent with the receipt generation period, when the record generation period expires, the resource circulation record of the institution is generated for the receipt in the period. In other words, the resource circulation record of the institution is generated for the receipt in the record generation period, and is sent to the receipt management platform.
In the above receipt processing method, the transaction bill obtained after transaction processing is performed with the merchant based on the payment voucher of the institution is obtained, and the receipt generation policy of the institution is read. If the receipt generation policy of the institution is the instant generation policy, the receipt application is sent to the receipt service platform of the merchant, to perform receipt issuance for the transaction bill. The receipt that is of the transaction bill and that is returned by the receipt service platform is obtained, the receipt additional information of the receipt is read, and the receipt additional information is associated with the receipt, to obtain the receipt dataset of the receipt. If the receipt generation policy of the institution is the periodic generation policy, the transaction bill is stored. If it is detected that the receipt generation period of the institution expires, the at least one transaction bill of the institution in the receipt generation period is read, the at least one transaction bill is classified based on the merchant identifier, to obtain the bill subset corresponding to each merchant, and the receipt application is generated based on each bill subset and the institution element information, and is sent to the receipt service platform of the merchant corresponding to each bill subset, to perform receipt issuance for the bill subset. The receipt that is of each bill subset and that is returned by the receipt service platform is received, the receipt additional information of the receipt is read, and is associated with the receipt, to obtain the receipt dataset of the receipt. In this way, receipt issuance is automatically performed for a transaction based on the payment voucher of the institution, and the employee does not need to perform receipt issuance or reimbursement offline. In addition, information related to the transaction bill is associated with the receipt, to improve authenticity of the receipt.
The following further describes, by using an example in which a receipt processing method for a transaction bill provided in the embodiments is applied to an invoice service scenario, the receipt processing method for a transaction bill provided in the embodiments.
Step S602: When it is detected that an invoice generation period of an institution expires, obtain at least one transaction bill obtained after transaction processing is performed with a merchant based on a payment voucher of the institution in the invoice generation period.
Step S604: Classify the at least one transaction bill based on a merchant identifier, to obtain a bill subset corresponding to each merchant.
Step S606: Read bill key information of each transaction bill in the bill subset, and combine the bill key information, to obtain combined bill information.
Step S608: Send the combined bill information of each bill subset to the corresponding merchant.
Step S610: Read institution element information based on a confirmation instruction of each merchant for the combined bill information.
Step S612: Generate an invoice application based on the institution element information and the combined bill information of each bill subset, and send the invoice application to an invoice service platform of the corresponding merchant.
Step S614: Receive an invoice that is of each bill subset and that is returned by the invoice service platform, and send the invoice to an invoice management platform, to perform invoice verification.
Step S616: Receive an invoice verification result returned by the invoice management platform, and read invoice additional information of the invoice.
The invoice additional information includes the invoice verification result and the transaction bill.
Step S618: Associate the invoice additional information with the invoice, to obtain an invoice dataset of the invoice.
Step S702: Obtain a transaction bill obtained after transaction processing is performed with a merchant based on a payment voucher of an institution.
Step S704: Read institution element information of the institution, generate a receipt application based on the transaction bill and the institution element information, and send the receipt application to a receipt service platform of the merchant.
In addition, step S704 can also be replaced by: sending a receipt application for the transaction bill to a receipt service platform of the merchant, to perform receipt issuance for a bill subset.
Step S706: Receive a receipt that is of the transaction bill and that is returned by the receipt service platform, read receipt additional information of the receipt, and associate the receipt additional information with the receipt.
The receipt processing method for a transaction bill provided in this embodiment is similar to the receipt processing method for a transaction bill provided in the above embodiment in an execution process. For this embodiment, references can be made to related content of the above embodiment.
As shown in
In an embodiment, the one or more programs can include one or more modules, each module can include a series of computer-executable instructions in the receipt processing device for a transaction bill, and one or more processors are configured to perform the one or more programs, including performing the following computer-executable instructions: obtaining at least one transaction bill, the at least one transaction bill being obtained after transaction processing is performed with a merchant based on a payment voucher of an institution; classifying the at least one transaction bill based on a merchant identifier if a receipt generation policy of the institution is a periodic generation policy, to obtain a bill subset corresponding to each merchant; sending a receipt application to a receipt service platform of each merchant, to perform receipt issuance for the bill subset; and receiving a receipt that is of each bill subset and that is returned by the receipt service platform, reading receipt additional information of the receipt, and associating the receipt additional information with the receipt.
Embodiments of this specification further provide a non-transitory storage medium. The storage medium stores computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor is caused to perform: obtaining at least one transaction bill, the at least one transaction bill being obtained after transaction processing is performed with a merchant based on a payment voucher of an institution; classifying the at least one transaction bill based on a merchant identifier if a receipt generation policy of the institution is a periodic generation policy, to obtain a bill subset corresponding to each merchant; sending a receipt application to a receipt service platform of each merchant, to perform receipt issuance for the bill subset; and receiving a receipt that is of each bill subset and that is returned by the receipt service platform, reading receipt additional information of the receipt, and associating the receipt additional information with the receipt.
Example embodiments of this specification are described above. Other embodiments fall within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in an order different from that in the embodiments, and the desired results can still be achieved. In addition, the process depicted in the accompanying drawings does not necessarily need a particular order or consecutive order to achieve the desired results. In some implementations, multi-tasking and concurrent processing are feasible or may be advantageous.
The method described above can be implemented by using a hardware entity module. For example, a programmable logic device (PLD) (for example, a field programmable gate array (FPGA)) is such an integrated circuit, and a logical function of the programmable logic device is determined by a user through device programming. In addition, programming can be implemented by using “logic compiler” software. The “logic compiler” software is similar to a software compiler used to develop and write a program. Original code is written in a particular programming language before being compiled. The language is referred to as a hardware description language (HDL), such as the Advanced Boolean Expression Language (ABEL), the Altera Hardware Description Language (AHDL), Confluence, the Cornell University Programming Language (CUPL), HDCal, the Java Hardware Description Language (JHDL), Lava, Lola, MyHDL, PALASM, and the Ruby Hardware Description Language (RHDL). At present, the Very-High-Speed Integrated Circuit Hardware Description Language (VHDL) and Verilog are most commonly used. It should also be clear to a person skilled in the art that a hardware circuit that implements a logical method procedure can be readily obtained once the method procedure is logically programmed by using the several hardware description languages described above and is programmed into an integrated circuit.
The method described above can be implemented by a controller, and the controller can be implemented by using any appropriate method. For example, the controller can be a microprocessor or a processor, or a computer readable medium that stores computer-readable program code (such as software or firmware) that can be executed by the microprocessor or the processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, or a built-in microprocessor.
The devices, apparatuses or modules described in the above embodiments can be specifically implemented by a computer chip or an entity, or can be implemented by a product having a certain function, such as a computer. The computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Those skilled in the art should understand that each module in the described embodiments can be implemented by hardware, software, or a combination thereof. When the module is implemented by software, the software can be stored in a computer-readable medium or transmitted as one or more instructions to implement corresponding functions.
It should be understood that computer program instructions can be used to implement the method described above. These computer program instructions can be stored in a non-transitory computer-readable storage medium to instruct the computer or another programmable data processing device to work in a specific way.
Examples of the computer-readable storage medium include but are not limited to a phase change random access memory (PRAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), another type of random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory or another memory technology, a compact disc read-only memory (CD-ROM), a digital versatile disc (DVD) or another optical storage, a cassette magnetic tape, a magnetic tape/magnetic disk storage, another magnetic storage device, or any other non-transmission medium. The computer-readable storage medium can be used to store information accessible by a computing device.
It is worthwhile to further note that the terms “include”, “include”, or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, a method, a product, or a device that includes a list of elements not only includes those elements but also includes other elements which are not expressly listed, or further includes elements inherent to such process, method, product, or device. Without more constraints, an element preceded by “includes a . . . ” does not preclude the existence of additional identical elements in the process, method, product, or device that includes the element.
The computer program instructions described above can be stored as a program module. Usually, the program module includes a routine, a program, an object, a component, a data structure, etc. for executing a specific task or implementing a specific abstract data type. The computer program instructions can also be executed in distributed computing environments. In the distributed computing environments, tasks are performed by remote processing devices that are connected through a communication network. In the distributed computing environments, the program module can be located in both local and remote computer storage media including storage devices.
The above descriptions are merely example embodiments of the present disclosure and are not intended to limit the present disclosure. A person skilled in the art can make various changes and variations to this specification. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the present disclosure shall fall within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
202210958640.8 | Aug 2022 | CN | national |
This application is a continuation application of International Application No. PCT/CN2023/108615, filed Jul. 21, 2023, which claims priority to Chinese Patent Application No. 202210958640.8, filed on Aug. 10, 2022, the entire contents of both of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2023/108615 | Jul 2023 | WO |
Child | 18982118 | US |