WO2023226799A1 - Invoice request processing method, apparatus and device - Google Patents

Invoice request processing method, apparatus and device Download PDF

Info

Publication number
WO2023226799A1
WO2023226799A1 PCT/CN2023/094046 CN2023094046W WO2023226799A1 WO 2023226799 A1 WO2023226799 A1 WO 2023226799A1 CN 2023094046 W CN2023094046 W CN 2023094046W WO 2023226799 A1 WO2023226799 A1 WO 2023226799A1
Authority
WO
WIPO (PCT)
Prior art keywords
participant
invoicing
invoice
target transaction
request message
Prior art date
Application number
PCT/CN2023/094046
Other languages
French (fr)
Chinese (zh)
Inventor
舒杰
Original Assignee
支付宝(杭州)信息技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2023226799A1 publication Critical patent/WO2023226799A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/387Payment using discounts or coupons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0222During e-commerce, i.e. online transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0226Incentive systems for frequent usage, e.g. frequent flyer miles programs or point systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • the present application relates to the field of invoice technology, and in particular to an invoice request processing method, device and equipment.
  • the embodiments of this specification provide an invoice request processing method, device and equipment, which can improve merchants' processing efficiency of invoice requests.
  • the embodiment of this specification provides an invoice request processing method, including: obtaining an invoicing request message for a target transaction; the invoicing request message is used to request the target
  • the first participant in the transaction provides the invoice information corresponding to the target transaction to the second participant; determines the initiation time of the invoicing request message; and determines whether the first participant provides the invoice information to the second participant within a first period of time after the initiation time.
  • the second participant provides the invoice information and obtains a first judgment result; if the first judgment result indicates that the first participant does not submit a request to the second participant within the first period of time after the initiation time, If the first party provides the invoice information, the first party will be processed.
  • An invoice request processing device includes: a first acquisition module, used to obtain an invoicing request message for a target transaction; the invoicing request message is used to request a first participating direction of the target transaction and a second Participants provide invoice information corresponding to the target transaction; a determination module is used to determine the initiation time of the invoicing request message; a first judgment module is used to determine whether the first participant is after the initiation time The invoice information is provided to the second participant within the first period of time, and a first judgment result is obtained; a processing module is configured to: if the first judgment result indicates that the first participant has not entered after the initiation time The invoice information is provided to the second party within the first period of time, and then the first party is processed.
  • An invoice request processing device provided by an embodiment of this specification includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores information that can be executed by the at least one processor. instructions that are executed by the at least one processor to enable the at least one processor to:
  • the invoicing request message is used to request the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant; determine the initiation time of the invoicing request message ; Determine whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, and obtain a first judgment result; if the first judgment result indicates that the third If a participant fails to provide the invoice information to the second participant within the first period of time after the initiation time, the first participant will be processed.
  • At least one embodiment provided in this specification can achieve the following beneficial effects: after obtaining an invoicing request message for requesting a first participant of a target transaction to provide invoice information corresponding to the target transaction to a second participant, determine whether The first participant provides the invoice information within the first time period after the initiation time of the invoicing request message. If not, the first participant is processed. This will help the first party to provide the invoice corresponding to the target transaction to the second party within the specified time period, and reduce the delay in providing invoices by the first party. In order to improve the first party's processing efficiency of the second party's invoice request, it is also conducive to improving the first party's response rate to the second party's invoice request to ensure that the second party obtains the target Invoice for transaction.
  • Figure 1 is a schematic diagram of an application scenario of an invoice request processing method provided by an embodiment of this specification
  • FIG. 2 is a schematic flowchart of an invoice request processing method provided by an embodiment of this specification
  • FIG 3 is a schematic diagram of a swim lane flow corresponding to the invoice request processing method in Figure 2 provided by an embodiment of this specification;
  • Figure 4 is a schematic structural diagram of an invoice request processing device corresponding to Figure 2 provided by the embodiment of this specification;
  • FIG. 5 is a schematic structural diagram of an invoice request processing device corresponding to FIG. 2 provided by an embodiment of this specification.
  • Figure 1 is a schematic diagram of an application scenario of an invoice request processing method provided by the embodiment of this specification.
  • the device 101 of the second participant (for example, a consumer) of the target transaction can be equipped with a payment application and a transaction application, and the second participant can communicate with the first participant (for example, based on the payment application and transaction application).
  • the first participant for example, based on the payment application and transaction application.
  • a merchant conducts a target transaction, and sends an invoicing request message for the target transaction to the target server 102; the invoicing request message can be used to request the first participant to provide the invoice information corresponding to the target transaction to the second participant.
  • the target server 102 may generate invoice order information according to the invoicing request message, and send the invoice order information to the device 103 of the first participant, so that the first participant knows and processes the invoice order information, thereby responding to the invoicing request.
  • the message provides invoice information to the second party.
  • the target server 102 may also determine the initiation time of the invoicing request message; and determine whether the first participant provided the invoice information to the second participant within the first period of time after the initiation time. If so, then There is no need to process the first party and jump to the end; if not, the first party can be processed.
  • the target server 102 may also send the processing result for the first participant to the device 103 of the first participant, so that the first participant knows the processing result.
  • FIG. 2 is a schematic flowchart of an invoice request processing method provided by an embodiment of this specification.
  • the execution subject of this process can be the target server, or the application program installed on the target server.
  • the target server may be a server of a target application, wherein the target application may include: a payment application used by the second participant to pay for the target transaction, or a transaction application used by the second participant to perform the target transaction.
  • the process may include the following steps 202 to 210.
  • Step 202 Obtain an invoicing request message for the target transaction; the invoicing request message is used to request the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant.
  • the first participant is usually a merchant
  • the second participant is usually a consumer
  • the second participant may request the first participant to provide an invoice corresponding to the target transaction, so that the target server obtains the invoicing request message for the target transaction.
  • invoice can refer to the business vouchers issued and collected by units or individuals when purchasing and selling goods, providing or receiving services, and engaging in other business activities.
  • the printing, purchase, issuance, acquisition, custody, and cancellation of invoices will be managed and supervised by an authoritative organization.
  • the second party can either request the first party to issue an invoice for all the transaction contents of the target transaction, or it can also request the first participant to issue an invoice for part of the transaction contents of the target transaction. There is no specific limit on this. .
  • Step 204 Determine the initiation time of the invoicing request message.
  • the target server needs to identify whether the first participant has provided the invoice corresponding to the target transaction to the second participant within a specified time period. Therefore, it needs to determine the start time and end time of the specified time period.
  • the initiation time of the invoicing request message can be used as the starting time of the designated time period, and the time after the initiation time and separated by a first length of time can be used as the end time of the designated time period.
  • the first duration can be preset according to actual needs, and there is no specific limit on this. For example, the first duration is 10 days, 15 days, etc.
  • Step 206 Determine whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, and obtain a first judgment result.
  • the first participant can use the merchant client to provide the invoice information to the second participant, or the first participant can upload information on the merchant client to indicate that it has provided the invoice information to the second participant. Proof information of the invoice information is provided, so that the target server can determine whether the first participant provided the invoice information to the second participant within a first time period after the initiation time.
  • the merchant client can be an application provided by the service provider of the transaction application to the first party for use to manage the target transaction, or it can be a payment application used by the second party to pay for the target transaction, or,
  • the merchant client can also be an application or applet developed and deployed by the first party to manage target transactions; in actual applications, the merchant client in the form of an applet can be installed in a transaction application or payment application.
  • Step 208 If the first judgment result indicates that the first participant has not provided the invoice information to the second participant within the first period of time after the initiation time, perform a check on the first participant. deal with.
  • the preset processing strategy can be set according to actual needs, and there is no specific limit on this.
  • the preset processing strategy may be to punish the first party, and/or compensate the second party, etc., thereby prompting the first party to provide invoices to the second party as scheduled to ensure that the first party Efficiency in processing invoice requests.
  • step 206 may also include: Step 210: If the first judgment result indicates that the first participant provides the second participant with the Invoice information, you can prohibit processing of the first party and jump to the end. This is because, in this case, it can usually be said that the first party provided the invoice as scheduled within a reasonable period, so there is no need to process the first party and no compensation to the second party. At the same time, since the first party has provided the invoice to the second party, it can be indicated that the invoice order for the target transaction has been completed, that is, the response to the invoice request message has been completed, so that it can jump to the end.
  • the first party may be processed. This will help the first participant provide the invoice corresponding to the target transaction to the second participant within the specified time period, reduce the delay in providing invoices by the first participant, and improve the first participant's response to the second participant's invoice request. Processing efficiency, and at the same time, it is also conducive to improving the response rate of the first party to the second party's invoice request, so as to ensure that the second party obtains the invoice of the target transaction.
  • the target transaction may be a transaction initiated by the second party using the transaction application with the first party.
  • the second party may call the payment application based on the transaction application to utilize the personal resources at the payment application to make payment for the target transaction.
  • the transaction application includes: an e-commerce platform and a small program deployed by the first party at the payment application.
  • Target transactions can be offline transactions.
  • the payment application can be used to generate a payment code image of the second party, and the payment code image is displayed to the first party to make payment for the target transaction.
  • the second party may generate a first payment code image for payment using resources in the second party's personal payment account at the payment application to make payment for the target transaction.
  • the second user can generate a payment using the resources in the first user's payment account at the payment application.
  • Secondary payment code image to pay for the target transaction For example, the first user can be the company where the second user works. If the target transaction is a transaction performed by the second user for work and can apply for reimbursement from the first user, the second user can use the payment method based on the first user. The second payment code image used for payment by resources in the account is used to make payment for the target transaction to simplify the reimbursement process. At this time, both the first user and the second user can serve as the second participant.
  • the second participant can use multiple ways to request the issuance of invoice information for the target transaction.
  • obtain The invoicing request message for the target transaction can also be implemented in multiple ways. To facilitate understanding, this is explained.
  • Step 202 Obtain the invoicing request message for the target transaction, which may specifically include: acquiring the first invoicing request message for the target transaction; the first invoicing request message is based on the first invoicing request message for the target application by the second participant.
  • the first invoicing control is generated after the target transaction is in a completed state. The first invoicing control is used to request the issuance of invoice information corresponding to the target transaction.
  • step 204 Determining the initiation time of the invoicing request message specifically includes: determining the occurrence time of the triggering operation.
  • the target application may include: a payment application used by the second participant to pay for the target transaction, and/or a transaction application used by the second participant to perform the target transaction.
  • the transaction information display page of the second party's transaction application and the bill information display page of the payment application can display the transaction information of the target transaction for review. At this time, the transaction information display page and bill information display page also The first invoicing control corresponding to the transaction information of the target transaction can be displayed.
  • the first invoicing control can be triggered so that the server of the e-commerce platform obtains the first invoicing request message for the target transaction. specific, If the target server monitors the trigger event for the first invoicing control, it can be determined that the first invoicing request message for the target transaction is obtained.
  • the first participant since the first invoicing control is displayed after the target transaction is in the completed state, and after the target transaction is in the completed state, the first participant can issue an invoice for the target transaction. Therefore, when After the second participant triggers the first invoicing control, the invoicing time can be timed to subsequently determine whether the first participant has provided the invoice information corresponding to the target transaction to the second participant within the specified time period. Based on this, the occurrence time of the second participant's triggering operation on the first invoicing control can be used as the initiation time of the invoicing request message for the target transaction, that is, the second participant's triggering on the first invoicing control can be The time when the operation occurs is used as the starting time of the specified time period.
  • the end time of the specified time period may be a time interval of a first duration after the occurrence time of the triggering operation for the first invoicing control.
  • the time interval between the current moment and the end time of the specified time period can be used as the remaining time for the first party to provide invoice information corresponding to the target transaction.
  • the remaining time can also be displayed on the target application of the second party.
  • Step 202 Obtain the invoicing request message for the target transaction, which may specifically include: acquiring the second invoicing request message for the target transaction; the second invoicing request message is based on the status change operation of changing the target transaction to the completed state.
  • the target transaction is a transaction in which the second participant performs a triggering operation on the second invoicing control at the target application, and the second invoicing control is a control displayed before the target transaction is in a completed state. .
  • step 204 Determine the initiation time of the invoicing request message, which may specifically include: determining the occurrence time of the status change operation.
  • the second party can also perform the operation of requesting the issuance of invoice information corresponding to the target transaction before the target transaction is completed. Subsequently, after the target transaction changes to the completed status, the invoicing time can be timed. This is to facilitate subsequent determination of whether the first party has provided the invoice information corresponding to the target transaction to the second party within a specified time period.
  • a second invoicing control can be set on the product display page of the second party's transaction application, so that when the second party initiates the target transaction, it can trigger the second invoicing control to execute the request for invoicing.
  • the operation of the invoice information corresponding to the target transaction is convenient and fast.
  • the transaction information display page of the second party's transaction application and the bill information display page of the payment application can display the transaction information of the target transaction for review, and the transaction information of the target transaction can be set.
  • Corresponding second invoicing control so that the second participant can trigger the second invoicing control to execute the request to issue the invoice information corresponding to the target transaction after paying for the target transaction but before releasing the money to the first participant. operations to improve the execution flexibility of users' application for invoicing operations.
  • the target transaction after the second party pays the money for the target transaction to the first party, the target transaction will change from the uncompleted state to the completed state, which is equivalent to executing the target transaction.
  • a state change operation that changes to the completed state, so if the target server listens for an event that releases the money paid by the second party for the target transaction to the first party, or listens for an event that indicates that the target transaction has completed, then It can be determined that the second invoicing request message for the target transaction has been obtained.
  • the occurrence time of the state change operation that changes the target transaction to the completed state can be used as the initiation time of the invoicing request message of the target transaction (that is, the time when the target server monitors the above event is used as the initiation time of the invoicing request message for the target transaction) , in order to subsequently determine whether the first participant has provided the invoice information corresponding to the target transaction to the second participant within the specified time period.
  • the starting time of the designated time period may be the occurrence time of the state change operation, and the end time of the designated time period may be a time interval of a first length of time after the occurrence time of the state change operation.
  • the time interval between the current moment and the end time of the specified time period can be used as the The first party should provide the remaining time of the invoice information corresponding to the target transaction.
  • the prompt information of the remaining time can also be displayed on the second party's target application.
  • both the first invoicing control and the second invoicing control may include a single control or multiple controls, which are not specifically limited.
  • the target application can set a single control as the first invoicing control or the second invoicing control. This enables the one-click invoicing function, which is conducive to simplifying the invoicing operations of the second party.
  • the first invoicing control and the second invoicing control may both include controls and confirmation controls for inputting relevant invoice information, so that the second party can input relevant invoice information in real time based on the above controls, and trigger the confirmation control to Request the invoice corresponding to the target transaction. This method is more flexible.
  • the display of the first invoicing control and the second invoicing control at the target application of the second party can be controlled according to the setting information of the first party.
  • the second invoicing control can be displayed on the product display page of the target application; or based on the setting information of the first participant, the second invoicing control can be displayed on the transaction information display page of the target application.
  • the first invoicing control and the second invoicing control are displayed, which is not specifically limited.
  • the second party when the second party performs the operation of requesting to issue an invoice, it usually needs to provide the buyer information, invoice type and other information in the invoice. In practical applications, the second party may have the need to modify the above information. , if the second party makes changes to the above information, the time limit for the first party to provide the corresponding invoice needs to be re-determined to protect the rights and interests of the first party.
  • step 202 After obtaining the invoicing request message for the target transaction, it may also include: obtaining the invoice change request message of the second participant for the target transaction; the invoice change request message is based on the second Generated by the invoice information change operation performed by the participant at the target application, and the invoice information change operation is used to request changes to the invoice information.
  • Determining the initiation time of the invoicing request message specifically includes: determining the occurrence time of the invoice information change operation.
  • the invoice information modification operation performed by the second participant at the target application may include: a partial refund operation for the target transaction, and a modification operation for the variable information in the invoice information.
  • the second party when the second party makes a partial refund for the target transaction, it will affect the goods information and tax amount information in the invoice information, so the invoice information of the target transaction needs to be modified.
  • the target server monitors the partial refund operation of the second participant for the target transaction, it can be determined that the invoice change request message of the second participant for the target transaction is obtained.
  • the first participant may also take the initiative to partially refund the target transaction.
  • the target server monitors the first participant's partial refund operation for the target transaction, it can also determine that it has obtained the second participation policy. Invoice change request message for the target transaction.
  • the transaction information display page of the transaction application and the bill information display page of the payment application can also be provided with an invoice modification control.
  • the second party can modify and submit the available information in the invoice information by triggering the invoice modification control. change information. Based on this, when the target server monitors the operation information of the second participant on the invoice modification control, it can be determined that the invoice change request message of the second participant on the target transaction is obtained.
  • the variable information in the invoice information may include but is not limited to: buyer's name, address, account, taxpayer identification number, invoice type and other information.
  • the invoice information needs to be modified when the invoice change request message for the target transaction is obtained, it is equivalent to the second party reinitiating the invoicing request message.
  • the invoice of the target transaction can be provided to the first party.
  • the time consumption of the information is reset to zero and the time is reset to ensure the rights and interests of the first participant.
  • the occurrence time of the invoice information change operation can be used as the initiation time of the updated invoicing request message.
  • step 206 can determine the first participant's time after the occurrence time of the invoice information change operation. Whether the invoice information of the target transaction has been provided to the second party within a period of time to obtain the first judgment result.
  • the second party can execute the issuance before obtaining the invoice corresponding to the target transaction. Change the ticket information to avoid the problem that the invoice issued by the first party does not meet the needs of the second party.
  • the second participant can also perform the invoice information change operation after obtaining the invoice corresponding to the target transaction to ensure that the second participant obtains the required invoice; and for the invoice that the second participant has obtained Invoices can be voided by the first party through invoice hedging operations to ensure the normal operation of the invoice business, and there are no specific restrictions on this.
  • the first party can also refuse to issue the invoice and ask the second party to respond to the invoice.
  • the variable information in the message is modified to ensure that the first party can issue the correct invoice.
  • the method may further include: obtaining the invoicing rejection instruction of the first participant for the target transaction.
  • invoicing change prompt information is sent to the device of the second participant; the invoicing change prompt information is used to prompt the second participant to change the invoice information.
  • the merchant client of the first participant can display the invoice order information of the target transaction, so that the first participant can perform invoice management based on the invoice order information.
  • the merchant client can also display an invoicing rejection control corresponding to the invoice order information of the target transaction.
  • the first participant can trigger the invoicing rejection control to send an invoicing rejection control to the target server for the target transaction. Reject the billing instruction.
  • the first party usually needs to provide a reason for refusing to issue an invoice, so that the second party can clarify the information that needs to be modified.
  • the invoicing change prompt information sent by the target server to the second participant can reflect the reason for rejecting invoicing and/or modification suggestions, so that the second participant can refer to the invoicing change prompt information to perform the invoice information change operation.
  • the second party needs to modify the relevant invoice information because the first party refuses to issue an invoice
  • the second party is usually required to make the modification within the preset time limit. If the second party fails to do so within the preset time limit, If it is modified internally, it can be considered that the second party no longer requires the issuance of invoices, so it can jump to the end without processing the first party.
  • the invoicing change prompt information after sending the invoicing change prompt information to the device of the second participant, it may also include: determining whether the invoice change request message is obtained within a second period of time after the rejecting the invoicing instruction is generated, and obtain The second judgment result.
  • step 204 may determine the occurrence time of the invoice information change operation corresponding to the invoice change request message. Determine the initiation time of the updated invoice change request message, and step 206 may determine whether the first participant provided the invoice of the target transaction to the second participant within the first period of time after the occurrence time of the invoice information change operation. information.
  • the target server verifies whether the first participant has provided the second participant with an invoice implementation method. There can also be multiple types.
  • step 206 Determine whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, which may specifically include: determining whether after the initiation time Within the first period of time, according to the invoice issuance instruction of the first participant, the invoice information corresponding to the target transaction is generated; and/or, it is determined whether within the first period of time after the initiation time, the invoice information corresponding to the target transaction is generated.
  • the first party submits invoice information corresponding to the target transaction.
  • the first party can issue an invoice based on the invoice issuance function of the merchant client.
  • the first participant needs to input an invoice issuance instruction into the merchant client, so that the merchant client and the target server can automatically issue invoice information corresponding to the target transaction based on the invoice issuance instruction. Since the generation process of this invoice information can be controlled and identified by the target server, step 206 can determine whether within the first period of time after the initiation time, according to the invoice issuance instruction of the first participant, an invoice issuance instruction related to Invoice information corresponding to the target transaction.
  • the first party can also issue invoices based on enterprise management software (Enterprise Resource Planning, ERP). Of course, it can also issue invoices offline based on other methods. At this time, the first party needs to issue invoices to the merchant client and target server. Submit the invoice information corresponding to the target transaction to prove that it has generated the invoice information, or to transfer the invoice information to the second party.
  • enterprise management software can use the Application Programming Interface (API) to obtain the second party's invoice application details and accurate invoicing amount and other information from the target server, and after issuance of the invoice Return the invoicing results (for example, invoice code information, electronic invoice image, paper invoice image) to the target server through API. Based on this, step 206 may determine whether the first participant submitted the invoice information corresponding to the target transaction within the first period of time after the initiation time.
  • ERP Enterprise Resource Planning
  • step 206 in addition to determining whether the first participant has generated the invoice information corresponding to the target transaction, it may also be necessary to determine whether the first participant has actually delivered the invoice information to the second participant.
  • step 206 Determine whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, which may also include: determining whether after the initiation time Within the first period of time, the first party submitted proof of delivery information for the paper invoice.
  • the invoice information corresponding to the target transaction can be either an electronic invoice or a paper invoice. If it is a paper invoice, the paper invoice can be transmitted to the second party by mail, or the two parties can also agree on other offline delivery methods. Of course, both parties can also agree that there is no need to deliver the paper invoice. Based on this, the courier number, mailing voucher or delivery agreement information between the two parties can be used as delivery proof information to avoid cheating by the first party, thus helping to further protect the rights and interests of the second party.
  • the electronic invoice image can be sent to the target application of the second participant based on the target server, or it can also be sent to the target application based on email, SMS, instant messaging tools, etc.
  • Second party Since the target server is utilized to perform the operation of delivering the invoice information, there is no need to provide delivery proof information for the invoice information.
  • emails delivering electronic invoices, screenshots of application pages, etc. can also be used as delivery proof information for electronic invoices.
  • step 206 can also include determining whether the first time period after the initiation time is reached. The participant submitted proof of delivery information for the electronic invoice, thereby further protecting the rights of the second participant.
  • the target server obtains the first participant's invoicing event, input invoice information event, or input delivery certificate information event within the specified event period, it can determine the first participant's event in the specified event period.
  • the second party provided the invoice information.
  • event monitoring technology is used to decouple the invoice application process from the delayed invoicing compensation process.
  • the first party delays in providing invoices, in order to reduce the losses suffered by the second party, some of the resources of the first party can be transferred to the second party, thereby conducive to reducing the losses suffered by the first party. Delaying the provision of methods will also help protect the rights and interests of the second party.
  • step 208 Process the first participant, which may specifically include: determining the amount of resources to be transferred based on the transaction information of the target transaction.
  • the amount of resources to be transferred is deducted from the resource pool of the first participant.
  • the first party usually needs to transfer a certain amount of resources to the target server in advance.
  • the first party can also pre-authorize the target server's transfer permission for the resources in the resource pool, so that after it is determined that the first party has not provided the invoice on time, the first party can The amount of resources to be transferred is transferred to the account of the second party, which is convenient and fast.
  • the amount of resources to be transferred can be a preset proportion of the transaction amount of the target transaction. For example, assuming that the transaction amount of the target transaction is 100 yuan and the preset proportion is 10%, the amount of resources to be transferred can be 10 yuan. .
  • the amount of resources to be transferred can be a specified value corresponding to the numerical interval within which the transaction amount of the target transaction falls. For example, if the transaction amount of the target transaction falls into (0,100], the amount of resources to be transferred can be 10 yuan, and If the transaction amount of the target transaction falls into (100,1000], the amount of resources to be transferred can be 20 yuan.
  • the amount of resources to be transferred can also be a specified value.
  • the amount of resources to be transferred can be The amount of resources to be transferred can all be 10 yuan.
  • the calculation method of the amount of resources to be transferred can be set according to actual needs, and is not specifically limited.
  • the funds of the amount of resources to be transferred can be released to the payment account of the second party at the payment application.
  • points can also be used to distribute the points for the amount of resources to be transferred to the registered account of the second party at the trading application, so that the second party can use the points in the registered account at the trading application.
  • interception verification is also required to avoid penalty errors and damage to the rights and interests of the first participant.
  • step 208 Before processing the first participant, it may also include: judging whether the invoicing request message meets the interception conditions and obtaining a third judgment result; the interception conditions include: participant identity conditions, prohibition At least one of invoicing conditions and deduplication conditions.
  • processing the first participant may specifically include: if the third judgment result indicates that the invoicing request message does not meet the interception condition, processing the first participant.
  • the invoicing request message can be intercepted and verified after being obtained in step 202, and step 204 and subsequent operations can be performed after it is determined that the invoicing request message does not meet the interception conditions, thereby reducing unnecessary invoicing request messages. processing to save device resources.
  • the interception conditions involved in interception verification may include: at least one of a participant identity condition, a prohibition of invoicing conditions, and a deduplication condition.
  • the deduplication condition may refer to the existence of multiple identical invoicing request messages for the target transaction.
  • multiple identical invoicing request messages may be repeatedly initiated for the target transaction.
  • only one of the invoicing request messages is required (for example, the invoice with the earliest receipt time request message) without responding to other invoicing request messages.
  • the participant identity condition may mean that the first participant is in the blocked merchant list.
  • the target server may only need to deal with the delay in providing invoices by some merchants.
  • the identification information of other merchants can be added to the blocked merchant list, regardless of whether the merchants in the blocked merchant list are within the preset time limit. Invoices provided will not be processed by these merchants.
  • the merchants in the intercepted merchant list may include merchants that have not participated in invoicing supervision activities, or may include some merchants that have suspended participation in invoicing supervision activities due to special circumstances, for example, merchants that currently do not have an invoicing quota, Or, merchants that are unable to provide invoices due to force majeure, etc.
  • the conditions for prohibiting invoicing may include: the completion time of the target transaction is earlier than the initiation time of the invoicing supervision activity, the target transaction is in an uncompleted state, the first participant has been processed based on the target transaction, the invoiceable amount is 0, and the invoice is valid Blue ticket etc.
  • the conditions for prohibiting invoicing may include, in addition to the above conditions, the following: when the invoice request message is initiated The first participant's full refund instruction for the target transaction is obtained within the first time period after the time, and the second time period is obtained within the first time period after the initiation time of the invoice request message. The participant's unbilling request message for the described target transaction. Therefore, when the target transaction has been fully refunded or the second party no longer requires the issuance of invoices, processing of the first party is prohibited to protect the rights and interests of the first party.
  • the target server when the target server obtains the full refund instruction and cancellation request message for the target transaction, it can also determine that processing is prohibited for the first party and jump to the end without executing the steps. 206 and step 208, thereby conducive to saving equipment resources. Specifically, if the target server obtains a full refund event for the target transaction, it can determine that the full refund instruction for the target transaction is obtained. If the target server obtains the invoicing cancellation event for the target transaction, it can determine that the invoicing cancellation request message for the target transaction is obtained.
  • the invoice application process and the invoice request processing process are decoupled through event monitoring technology.
  • the target server when the target server executes the invoice request processing method in Figure 2 and its embodiments, it can be implemented using a workflow engine, for example, OSWorkflow, an open source workflow framework with better flexibility and higher operating efficiency.
  • the target server can trigger the execution of the invoice request processing method by monitoring transaction-related events, buyer and merchant application operation events, and invoicing events.
  • the target server can also intercept when an event triggers a new invoice request processing process, and/or intercept when an event triggers an intermediate state flow, thereby reducing unnecessary invoicing request messages based on preset interception conditions.
  • the processing can not only save equipment resources, but also avoid executing wrong penalty operations to protect the rights and interests of the first participant.
  • FIG. 3 is a schematic diagram of a swim lane flow corresponding to the invoice request processing method in FIG. 2 provided by an embodiment of this specification.
  • the invoice request processing process may involve execution entities such as the first party, the second party, and the target server.
  • the second party can perform a triggering operation on the first invoicing control at the target application.
  • the first invoicing control is a control displayed after the target transaction is in a completed state. Based on the triggering operation, the target server The first invoicing request message for the target transaction can be obtained.
  • the second participant can also perform a triggering operation on the second invoicing control at the target application.
  • the second invoicing control is a control displayed before the target transaction is in the completed state. Based on the triggering operation, the subsequent target server obtains After the status change operation changes the target transaction to the completed status, it can be determined that the second invoicing request message for the target transaction is obtained.
  • the target server can first determine whether the first/second invoicing request message meets the interception conditions. If so, it can jump to the end, and if not, it can determine the initiation of the first/second invoicing request message.
  • Time for example, the occurrence time of the trigger operation performed on the first invoicing control can be used as the initiation time of the invoicing request message, or the occurrence time of the status change operation that changes the target transaction to the completed state can be used as the initiation time of the invoicing request message. time.
  • the target server may send invoicing change prompt information to the second participant in response to the invoicing refusal instruction.
  • the second participant can perform the invoice information change operation at the target application based on the invoicing change prompt information.
  • the second party can also actively perform the invoice information change operation without obtaining the invoicing change prompt information.
  • the target server can update the initiation time of the invoicing request message to the time when the invoice information change operation occurs.
  • the target server may also determine whether the first party has provided the target transaction to the second party within the first period of time after the initiation time of the updated invoicing request message based on the updated initiation time of the invoicing request message. For the corresponding invoice information, if yes, you can jump to the end. If not, you can judge again whether the invoicing request message meets the interception conditions. If it is determined that the invoicing request message meets the interception conditions, you can jump to the end. If it is determined that the invoicing request message does not meet the interception conditions, you can determine the amount of resources to be transferred based on the transaction information of the target transaction; from the resource pool of the first participant , deduct the amount of resources to be transferred; and release the amount of resources to be transferred to the account of the second participant.
  • the first participant's full refund instruction for the target transaction is obtained within the first period of time after the initiation time of the target server's invoicing request message, or the second participant's instruction for a full refund is obtained
  • the invoicing cancellation request message of the target transaction can be directly jumped to the end (not shown in Figure 3) to save equipment resources.
  • FIG. 4 is a schematic structural diagram of an invoice request processing device corresponding to FIG. 2 provided by an embodiment of this specification. As shown in Figure 4, the device may include the following modules.
  • the first acquisition module 402 is used to obtain the invoicing request message for the target transaction; the invoicing request message is used to request the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant.
  • Determining module 404 is used to determine the initiation time of the invoicing request message.
  • the first judgment module 406 is used to judge whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, and obtains a first judgment result.
  • the processing module 408 is configured to, if the first judgment result indicates that the first participant does not provide the invoice information to the second participant within a first period of time after the initiation time, then Processed by the participating parties.
  • the first obtaining module 402 may be specifically configured to: obtain the first invoicing request message for the target transaction; the first invoicing request message is based on the first invoicing request message from the second participant to the target application.
  • the first invoicing control is generated after the triggering operation of the invoicing control.
  • the first invoicing control is a control displayed after the target transaction is in a completed state.
  • the determining module 404 may be specifically configured to determine the occurrence time of the triggering operation.
  • the first acquisition module 402 may be specifically configured to: acquire a second invoicing request message for the target transaction; the second invoicing request message is a status change operation based on the target transaction changing to a completed state.
  • the target transaction is a transaction in which the second participant performs a triggering operation on the second invoicing control at the target application, and the second invoicing control is displayed before the target transaction is in a completed state.
  • Control correspondingly, the determination module 404 can be specifically used to determine the occurrence time of the status change operation.
  • the target application may include: a payment application used by the second participant to pay for the target transaction, or a transaction application used by the second participant to execute the target transaction.
  • the device in Figure 4 may also include: a second acquisition module, configured to acquire the invoice change request message of the second participant for the target transaction; the invoice change request message is based on the third Generated by the invoice information change operation performed by the two participants at the target application, and the invoice information change operation is used to request changes to the invoice information.
  • a second acquisition module configured to acquire the invoice change request message of the second participant for the target transaction
  • the invoice change request message is based on the third Generated by the invoice information change operation performed by the two participants at the target application, and the invoice information change operation is used to request changes to the invoice information.
  • the determination module 404 may be specifically used to determine the time when the invoice information change operation occurs.
  • the device in Figure 4 may also include: a third acquisition module, configured to acquire the first participant's instruction to reject invoicing for the target transaction.
  • a third acquisition module configured to acquire the first participant's instruction to reject invoicing for the target transaction.
  • a sending module configured to send invoicing change prompt information to the device of the second participant in response to the invoicing rejection instruction; the invoicing change prompt information is used to prompt the second participant to change the invoice information.
  • the device in Figure 4 may also include: a second judgment module, used to judge whether the invoice change request message is obtained within a second period of time after the rejection of invoicing instruction is generated, and obtain a second judgment result. .
  • a prohibition processing module configured to prohibit processing of the first participant if the second judgment result indicates that the invoice change request message is not obtained within a second period of time after the rejection of the invoicing instruction is generated.
  • the invoice information modification operation may include: a partial refund operation for the target transaction, and a modification operation for the variable information in the invoice information.
  • the first judgment module 406 may include: a first judgment unit, used to judge whether an invoice issuance instruction is generated according to the first party's invoice issuance instruction within the first period of time after the initiation time. Invoice information corresponding to the target transaction.
  • the second judgment unit is used to judge whether the first participant has submitted the invoice information corresponding to the target transaction within the first period of time after the initiation time.
  • the first judgment module 406 may also include:
  • the third judgment unit is used to judge whether the first party has submitted the delivery proof information for the paper invoice within the first period of time after the initiation time.
  • the processing module 408 may include: a determining unit configured to determine the amount of resources to be transferred based on the transaction information of the target transaction.
  • a deducting unit configured to deduct the amount of resources to be transferred from the resource pool of the first participant.
  • An issuing unit configured to issue the amount of resources to be transferred to the account of the second participant.
  • the device in Figure 4 may also include: a third judgment module, used to judge whether the invoicing request message meets the interception conditions and obtain a third judgment result;
  • the interception conditions include: participant identity conditions, prohibition At least one of invoicing conditions and deduplication conditions.
  • the processing module 408 may also be configured to process the first participant if the third judgment result indicates that the invoicing request message does not meet the interception condition.
  • the prohibition of invoicing conditions may include: obtaining a full refund instruction from the first participant for the target transaction within the first period of time after the initiation time, or, within the initiation time A cancellation request message for the target transaction from the second participant is obtained within the first period of time thereafter.
  • the embodiments of this specification also provide equipment corresponding to the above method.
  • FIG. 5 is a schematic structural diagram of an invoice request processing device corresponding to FIG. 2 provided by an embodiment of this specification.
  • the device 500 may include: at least one processor 510; and a memory 530 communicatively connected to the at least one processor; wherein the memory 530 stores information that can be executed by the at least one processor 510.
  • the instructions 520 are executed by the at least one processor 510 to enable the at least one processor 510 to: obtain an invoicing request message for the target transaction; the invoicing request message is used to request the invoicing request message for the target transaction.
  • the first participant provides the invoice information corresponding to the target transaction to the second participant; determines the initiation time of the invoicing request message; and determines whether the first participant provides the invoice information to the second participant within the first time period after the initiation time.
  • the second participant provides the invoice information and obtains the first judgment result; if the first judgment result indicates that the first participant does not provide the invoice information to the second participant within the first period of time after the initiation time, The invoice information is processed by the first participant.
  • PLD Programmable Logic Device
  • FPGA Programmable Gate Array
  • HDL Hardware Description Language
  • HDL High-Speed Integrated Circuit Hardware Description Language
  • ABEL Advanced Boolean Expression Language
  • AHDL Advanced Boolean Expression Language
  • Confluence CUPL
  • HDCal Component Description Language
  • JHDL Java Hardware Description Language
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor. , logic gates, switches, Application Specific Integrated Circuit (ASIC), programmable logic controllers and embedded microcontrollers.
  • controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, For Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller in addition to implementing the controller in the form of pure computer-readable program code, the controller can be completely programmed with logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded logic by logically programming the method steps. Microcontroller, etc. to achieve the same function. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the means for implementing various functions can be considered as structures within hardware components as well as software modules implementing the methods.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, 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.
  • embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable memory produce instructions that include instructions.
  • An article of manufacture that instructs the device to implement the functions specified in a process or processes in a flowchart and/or in a block or blocks in a block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device.
  • Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-permanent storage in computer-readable media, random access memory (RAM) and/or non-volatile memory in the form of read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash random access memory
  • Computer-readable media includes both persistent and non-volatile, removable and non-removable media that can be implemented by any method or technology for storage of information.
  • Information may be computer-readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • read-only memory read-only memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or other memory technology
  • compact disc read-only memory CD-ROM
  • DVD digital versatile disc
  • magnetic tape cassettes magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
  • computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • the application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • the present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network.
  • program modules may be located in both local and remote computer storage media including storage devices.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Disclosed in embodiments of the present description are an invoice request processing method, apparatus and device. The solution comprises: after obtaining an invoicing request message for requesting a first participation party of a target transaction to provide invoice information corresponding to the target transaction to a second participation party, determining whether the first participation party provides the invoice information within a first duration after an initiation time of the invoicing request message; and if not, processing the first participation party.

Description

一种发票请求处理方法、装置及设备An invoice request processing method, device and equipment 技术领域Technical field
本申请涉及发票技术领域,尤其涉及一种发票请求处理方法、装置及设备。The present application relates to the field of invoice technology, and in particular to an invoice request processing method, device and equipment.
背景技术Background technique
随着互联网技术的不断进步,电子商务得到了迅速发展。人们逐渐开始在因特网开放的网络环境下,去基于交易应用及支付应用等进行各种商贸活动,以实现消费者与商户之间的交易活动。目前,消费者在与商户之间完成交易后,可能需要令商户向消费者提供相应发票信息,以保证消费者权益,但部分商户存在拖延提供发票的情况。With the continuous advancement of Internet technology, e-commerce has developed rapidly. People gradually began to conduct various business activities based on transaction applications and payment applications in the open network environment of the Internet to realize transactions between consumers and merchants. Currently, after consumers complete a transaction with a merchant, they may need to ask the merchant to provide the consumer with corresponding invoice information to ensure the rights and interests of the consumer. However, some merchants delay providing invoices.
基于此,如何提升商户对于发票请求的处理效率,成为了亟待解决的技术问题。Based on this, how to improve merchants' processing efficiency of invoice requests has become an urgent technical issue that needs to be solved.
发明内容Contents of the invention
本说明书实施例提供的一种发票请求处理方法、装置及设备,可以提升商户对于发票请求的处理效率。The embodiments of this specification provide an invoice request processing method, device and equipment, which can improve merchants' processing efficiency of invoice requests.
为解决上述技术问题,本说明书实施例是这样实现的:本说明书实施例提供的一种发票请求处理方法,包括:获取针对目标交易的开票请求消息;所述开票请求消息用于请求所述目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息;确定所述开票请求消息的发起时间;判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,得到第一判断结果;若所述第一判断结果表示所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则对所述第一参与方进行处理。In order to solve the above technical problems, the embodiment of this specification is implemented as follows: The embodiment of this specification provides an invoice request processing method, including: obtaining an invoicing request message for a target transaction; the invoicing request message is used to request the target The first participant in the transaction provides the invoice information corresponding to the target transaction to the second participant; determines the initiation time of the invoicing request message; and determines whether the first participant provides the invoice information to the second participant within a first period of time after the initiation time. The second participant provides the invoice information and obtains a first judgment result; if the first judgment result indicates that the first participant does not submit a request to the second participant within the first period of time after the initiation time, If the first party provides the invoice information, the first party will be processed.
本说明书实施例提供的一种发票请求处理装置,包括:第一获取模块,用于获取针对目标交易的开票请求消息;所述开票请求消息用于请求所述目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息;确定模块,用于确定所述开票请求消息的发起时间;第一判断模块,用于判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,得到第一判断结果;处理模块,用于若所述第一判断结果表示所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则对所述第一参与方进行处理。An invoice request processing device provided by an embodiment of this specification includes: a first acquisition module, used to obtain an invoicing request message for a target transaction; the invoicing request message is used to request a first participating direction of the target transaction and a second Participants provide invoice information corresponding to the target transaction; a determination module is used to determine the initiation time of the invoicing request message; a first judgment module is used to determine whether the first participant is after the initiation time The invoice information is provided to the second participant within the first period of time, and a first judgment result is obtained; a processing module is configured to: if the first judgment result indicates that the first participant has not entered after the initiation time The invoice information is provided to the second party within the first period of time, and then the first party is processed.
本说明书实施例提供的一种发票请求处理设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:An invoice request processing device provided by an embodiment of this specification includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores information that can be executed by the at least one processor. instructions that are executed by the at least one processor to enable the at least one processor to:
获取针对目标交易的开票请求消息;所述开票请求消息用于请求所述目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息;确定所述开票请求消息的发起时间;判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,得到第一判断结果;若所述第一判断结果表示所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则对所述第一参与方进行处理。Obtain the invoicing request message for the target transaction; the invoicing request message is used to request the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant; determine the initiation time of the invoicing request message ; Determine whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, and obtain a first judgment result; if the first judgment result indicates that the third If a participant fails to provide the invoice information to the second participant within the first period of time after the initiation time, the first participant will be processed.
本说明书中提供的至少一个实施例能够实现以下有益效果:在获取到用于请求目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息的开票请求消息后,判断是否所述第一参与方在所述开票请求消息的发起时间之后的第一时长内提供了所述发票信息,若否,则对所述第一参与方进行处理。从而有利于令第一参与方在规定时间段内向第二参与方提供目标交易对应的发票,减少第一参与方推延提供发票的情况, 以提升第一参与方对于第二参与方的发票请求的处理效率,同时,还有利于提升第一参与方对于第二参与方的发票请求的响应率,以保障令第二参与方获取到目标交易的发票。At least one embodiment provided in this specification can achieve the following beneficial effects: after obtaining an invoicing request message for requesting a first participant of a target transaction to provide invoice information corresponding to the target transaction to a second participant, determine whether The first participant provides the invoice information within the first time period after the initiation time of the invoicing request message. If not, the first participant is processed. This will help the first party to provide the invoice corresponding to the target transaction to the second party within the specified time period, and reduce the delay in providing invoices by the first party. In order to improve the first party's processing efficiency of the second party's invoice request, it is also conducive to improving the first party's response rate to the second party's invoice request to ensure that the second party obtains the target Invoice for transaction.
附图说明Description of the drawings
为了更清楚地说明本说明书实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of this specification more clearly, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some implementations recorded in this application. For example, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1为本说明书实施例提供的一种发票请求处理方法的应用场景示意图;Figure 1 is a schematic diagram of an application scenario of an invoice request processing method provided by an embodiment of this specification;
图2为本说明书实施例提供的一种发票请求处理方法的流程示意图;Figure 2 is a schematic flowchart of an invoice request processing method provided by an embodiment of this specification;
图3为本说明书实施例提供的对应于图2中的发票请求处理方法的泳道流程示意图;Figure 3 is a schematic diagram of a swim lane flow corresponding to the invoice request processing method in Figure 2 provided by an embodiment of this specification;
图4为本说明书实施例提供的对应于图2的一种发票请求处理装置的结构示意图;Figure 4 is a schematic structural diagram of an invoice request processing device corresponding to Figure 2 provided by the embodiment of this specification;
图5为本说明书实施例提供的对应于图2的一种发票请求处理设备的结构示意图。FIG. 5 is a schematic structural diagram of an invoice request processing device corresponding to FIG. 2 provided by an embodiment of this specification.
具体实施方式Detailed ways
为使本说明书一个或多个实施例的目的、技术方案和优点更加清楚,下面将结合本说明书具体实施例及相应的附图对本说明书一个或多个实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本说明书一个或多个实施例保护的范围。In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification more clear, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in conjunction with specific embodiments of this specification and the corresponding drawings. . Obviously, the described embodiments are only some of the embodiments of this specification, but not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of one or more embodiments of this specification.
以下结合附图,详细说明本说明书各实施例提供的技术方案。The technical solutions provided by each embodiment of this specification will be described in detail below with reference to the accompanying drawings.
相关技术中,消费者与商户可以基于交易应用及支付应用等开展交易,消费者还可以与商户针对发票开具事项进行沟通,从而约定商户所需提供的发票信息。不过,部分商户存在拖延提供发票甚至拒绝提供发票的情况,不仅严重影响消费者权益,还会影响消费者对于电子商务技术的使用体验。基于此,如何提升商户对于消费者的发票请求的处理效率,以保障消费者可以快速获取到发票,成为了急需解决的问题。In related technologies, consumers and merchants can conduct transactions based on transaction applications and payment applications. Consumers can also communicate with merchants on invoice issuance matters to agree on the invoice information that merchants need to provide. However, some merchants delay or even refuse to provide invoices, which not only seriously affects the rights and interests of consumers, but also affects consumers' experience in using e-commerce technology. Based on this, how to improve merchants' processing efficiency for consumers' invoice requests to ensure that consumers can quickly obtain invoices has become an urgent problem to be solved.
为了解决相关技术中的缺陷,本方案给出了以下实施例:图1为本说明书实施例提供的一种发票请求处理方法的应用场景示意图。In order to solve the deficiencies in related technologies, this solution provides the following embodiments: Figure 1 is a schematic diagram of an application scenario of an invoice request processing method provided by the embodiment of this specification.
如图1所示,目标交易的第二参与方(例如,消费者)的设备101中可以搭载有支付应用及交易应用,第二参与方可以基于该支付应用及交易应用与第一参与方(例如,商户)开展目标交易,以及,向目标服务器102发送针对目标交易的开票请求消息;所述开票请求消息可以用于请求第一参与方向第二参与方提供与所述目标交易对应的发票信息。As shown in Figure 1, the device 101 of the second participant (for example, a consumer) of the target transaction can be equipped with a payment application and a transaction application, and the second participant can communicate with the first participant (for example, based on the payment application and transaction application). For example, a merchant) conducts a target transaction, and sends an invoicing request message for the target transaction to the target server 102; the invoicing request message can be used to request the first participant to provide the invoice information corresponding to the target transaction to the second participant. .
目标服务器102可以根据所述开票请求消息生成发票订单信息,发送该发票订单信息至第一参与方的设备103,以便于第一参与方知晓并处理该发票订单信息,从而响应于所述开票请求消息向第二参与方提供发票信息。The target server 102 may generate invoice order information according to the invoicing request message, and send the invoice order information to the device 103 of the first participant, so that the first participant knows and processes the invoice order information, thereby responding to the invoicing request. The message provides invoice information to the second party.
目标服务器102还可以确定所述开票请求消息的发起时间;并判断是否所述第一参与方在所述发起时间之后的第一时长内向第二参与方提供了所述发票信息,若是,则可以无需对所述第一参与方进行处理,并跳转至结束;若否,则可以对所述第一参与方进行处理。目标服务器102还可以将针对所述第一参与方的处理结果发生至第一参与方的设备103,以令第一参与方知晓该处理结果。The target server 102 may also determine the initiation time of the invoicing request message; and determine whether the first participant provided the invoice information to the second participant within the first period of time after the initiation time. If so, then There is no need to process the first party and jump to the end; if not, the first party can be processed. The target server 102 may also send the processing result for the first participant to the device 103 of the first participant, so that the first participant knows the processing result.
接下来,将针对说明书实施例提供的一种发票请求处理方法结合附图进行具体说明。Next, an invoice request processing method provided in the embodiments of the specification will be described in detail with reference to the accompanying drawings.
图2为本说明书实施例提供的一种发票请求处理方法的流程示意图。从程序角度而言,该流程的执行主体可以为目标服务器,或者,目标服务器处搭载的应用程序。该目 标服务器可以为目标应用的服务端,其中,所述目标应用可以包括:第二参与方针对目标交易进行付款所使用的支付应用,或者,第二参与方执行目标交易所使用的交易应用。Figure 2 is a schematic flowchart of an invoice request processing method provided by an embodiment of this specification. From a program perspective, the execution subject of this process can be the target server, or the application program installed on the target server. This item The target server may be a server of a target application, wherein the target application may include: a payment application used by the second participant to pay for the target transaction, or a transaction application used by the second participant to perform the target transaction.
如图2所示,该流程可以包括以下步骤202至步骤210。As shown in Figure 2, the process may include the following steps 202 to 210.
步骤202:获取针对目标交易的开票请求消息;所述开票请求消息用于请求所述目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息。Step 202: Obtain an invoicing request message for the target transaction; the invoicing request message is used to request the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant.
本说明书实施例中,第一参与方通常为商户,第二参与方通常为消费者。当第二参与方与第一参与方发生了目标交易以后,第二参与方可以请求第一参与方提供与所述目标交易对应的发票,以令目标服务器获取到针对目标交易的开票请求消息。In the embodiment of this specification, the first participant is usually a merchant, and the second participant is usually a consumer. After a target transaction occurs between the second participant and the first participant, the second participant may request the first participant to provide an invoice corresponding to the target transaction, so that the target server obtains the invoicing request message for the target transaction.
其中,发票(invoice)可以指单位或个人在购销商品、提供或接受服务以及从事其他经营活动中,所开具和收取的业务凭证。通常情况下,会由权威机构管理和监督发票的印制、领购、开具、取得、保管、缴销。Among them, invoice can refer to the business vouchers issued and collected by units or individuals when purchasing and selling goods, providing or receiving services, and engaging in other business activities. Under normal circumstances, the printing, purchase, issuance, acquisition, custody, and cancellation of invoices will be managed and supervised by an authoritative organization.
在实际应用中,第二参与方既可以请求第一参与方针对目标交易的全部交易内容开具发票,或者,也可以请求第一参与方针对目标交易的部分交易内容开具发票,对此不作具体限定。In practical applications, the second party can either request the first party to issue an invoice for all the transaction contents of the target transaction, or it can also request the first participant to issue an invoice for part of the transaction contents of the target transaction. There is no specific limit on this. .
步骤204:确定所述开票请求消息的发起时间。Step 204: Determine the initiation time of the invoicing request message.
本说明书实施例中,目标服务器需要识别第一参与方是否在指定时间段内向第二参与方提供了目标交易对应的发票,因此,需要确定该指定时间段的起始时间及终止时间。通常情况下,可以将所述开票请求消息的发起时间作为该指定时间段的起始时间,并将该发起时间之后且间隔第一时长的时间作为该指定时间段的终止时间。其中,第一时长可以根据实际需求预先设置,对此不作具体限定,例如,第一时长为10天、15天等。In the embodiment of this specification, the target server needs to identify whether the first participant has provided the invoice corresponding to the target transaction to the second participant within a specified time period. Therefore, it needs to determine the start time and end time of the specified time period. Normally, the initiation time of the invoicing request message can be used as the starting time of the designated time period, and the time after the initiation time and separated by a first length of time can be used as the end time of the designated time period. Among them, the first duration can be preset according to actual needs, and there is no specific limit on this. For example, the first duration is 10 days, 15 days, etc.
步骤206:判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,得到第一判断结果。Step 206: Determine whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, and obtain a first judgment result.
本说明书实施例中,第一参与方可以利用商户客户端向第二参与方提供所述发票信息,或者,第一参与方可以在所述商户客户端处上传可表征其已经向第二参与方提供了所述发票信息的证明信息,从而令目标服务器可以判断是否第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息。其中,商户客户端可以是交易应用的服务提供商提供给第一参与方使用的用于管理目标交易的应用程序,也可以是第二参与方针对目标交易进行付款所使用的支付应用,或者,商户客户端也可以是第一参与方自行开发、部署的用于管理目标交易的应用程序或小程序;在实际应用中,小程序形式的商户客户端可以搭载于交易应用或支付应用中。In the embodiment of this specification, the first participant can use the merchant client to provide the invoice information to the second participant, or the first participant can upload information on the merchant client to indicate that it has provided the invoice information to the second participant. Proof information of the invoice information is provided, so that the target server can determine whether the first participant provided the invoice information to the second participant within a first time period after the initiation time. Among them, the merchant client can be an application provided by the service provider of the transaction application to the first party for use to manage the target transaction, or it can be a payment application used by the second party to pay for the target transaction, or, The merchant client can also be an application or applet developed and deployed by the first party to manage target transactions; in actual applications, the merchant client in the form of an applet can be installed in a transaction application or payment application.
步骤208:若所述第一判断结果表示所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则对所述第一参与方进行处理。Step 208: If the first judgment result indicates that the first participant has not provided the invoice information to the second participant within the first period of time after the initiation time, perform a check on the first participant. deal with.
本说明书实施例中,若确定所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则通常可以表示所述第一参与方存在拖延提供发票的情况,因此可以按照预设处理策略对所述第一参与方进行处理。其中,预设处理策略可以根据实际需求设置,对此不作具体限定。例如,预设处理策略可以为针对第一参与方进行处罚,和/或,针对第二参与方进行补偿等,从而促使第一参与方如期向第二参与方提供发票,以保证第一参与方对于发票请求的处理效率。In the embodiment of this specification, if it is determined that the first participant does not provide the invoice information to the second participant within the first period of time after the initiation time, it usually indicates that the first participant has delayed An invoice is provided so that the first party can be processed according to a preset processing policy. Among them, the preset processing strategy can be set according to actual needs, and there is no specific limit on this. For example, the preset processing strategy may be to punish the first party, and/or compensate the second party, etc., thereby prompting the first party to provide invoices to the second party as scheduled to ensure that the first party Efficiency in processing invoice requests.
本说明书实施例中,步骤206之后还可以包括:步骤210:若所述第一判断结果表示所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则可以禁止对所述第一参与方进行处理,并跳转至结束。这是由于,这种情况下,通常可以表示所述第一参与方在合理期限内如期提供了发票,因此,无需对第一参与方进行处理,也无需对第二参与方进行补偿。同时,由于第一参与方已经向第二参与方提供了发票,因此,可以表示针对目标交易的发票订单已完成,即已经完成了针对所述发票请求消息的响应,从而可以跳转至结束。 In the embodiment of this specification, step 206 may also include: Step 210: If the first judgment result indicates that the first participant provides the second participant with the Invoice information, you can prohibit processing of the first party and jump to the end. This is because, in this case, it can usually be said that the first party provided the invoice as scheduled within a reasonable period, so there is no need to process the first party and no compensation to the second party. At the same time, since the first party has provided the invoice to the second party, it can be indicated that the invoice order for the target transaction has been completed, that is, the response to the invoice request message has been completed, so that it can jump to the end.
图2中的方法,在获取到用于请求目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息的开票请求消息后,若确定所述第一参与方在所述开票请求消息的发起时间之后的第一时长内未提供所述发票信息,则可以对所述第一参与方进行处理。从而有利于令第一参与方在规定时间段内向第二参与方提供目标交易对应的发票,减少第一参与方推延提供发票的情况,以提升第一参与方对于第二参与方的发票请求的处理效率,同时,还有利于提升第一参与方对于第二参与方的发票请求的响应率,以保障令第二参与方获取到目标交易的发票。In the method in Figure 2, after obtaining an invoicing request message for requesting the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant, if it is determined that the first participant is in the If the invoice information is not provided within the first period of time after the initiation time of the invoicing request message, the first party may be processed. This will help the first participant provide the invoice corresponding to the target transaction to the second participant within the specified time period, reduce the delay in providing invoices by the first participant, and improve the first participant's response to the second participant's invoice request. Processing efficiency, and at the same time, it is also conducive to improving the response rate of the first party to the second party's invoice request, so as to ensure that the second party obtains the invoice of the target transaction.
基于图2中的方法,本说明书实施例还提供了该方法的一些具体实施方案,下面进行说明。Based on the method in Figure 2, the embodiments of this specification also provide some specific implementations of the method, which will be described below.
本说明书实施例中,第二参与方与第一参与方之间执行目标交易的方式有多种。In the embodiment of this specification, there are many ways to execute the target transaction between the second participant and the first participant.
交易方式一Transaction method one
目标交易可以是第二参与方利用交易应用发起的与第一参与方之间的交易。具体的,第二参与方可以基于交易应用调用支付应用,以利用个人在所述支付应用处的资源,针对所述目标交易进行付款。其中,所述交易应用包括:电子商务平台以及第一参与方在支付应用处部署的小程序。The target transaction may be a transaction initiated by the second party using the transaction application with the first party. Specifically, the second party may call the payment application based on the transaction application to utilize the personal resources at the payment application to make payment for the target transaction. Wherein, the transaction application includes: an e-commerce platform and a small program deployed by the first party at the payment application.
交易方式二Transaction method two
目标交易可以是线下交易。具体的,可以利用支付应用生成第二参与方的付款码图像,并将所述付款码图像展示给第一参与方,以针对目标交易进行付款。Target transactions can be offline transactions. Specifically, the payment application can be used to generate a payment code image of the second party, and the payment code image is displayed to the first party to make payment for the target transaction.
在实际应用中,第二参与方可以在支付应用处生成利用该第二参与方的个人支付账户中的资源进行付款的第一付款码图像,以针对目标交易进行付款。In a practical application, the second party may generate a first payment code image for payment using resources in the second party's personal payment account at the payment application to make payment for the target transaction.
或者,若第二用户取得了针对第一用户在支付应用处的支付账户中的资源的使用权限,则第二用户可以在该支付应用处生成利用第一用户的支付账户中的资源进行付款的第二付款码图像,以针对目标交易进行付款。例如,第一用户可以为第二用户所在的企业,若目标交易为第二用户因公执行的交易,且可以向该第一用户申请报销时,第二用户可以使用基于该第一用户的支付账户中的资源进行付款的第二付款码图像,去针对目标交易进行付款,以简化报销流程。此时,第一用户与第二用户均可以作为第二参与方。Alternatively, if the second user obtains the permission to use the resources in the first user's payment account at the payment application, the second user can generate a payment using the resources in the first user's payment account at the payment application. Secondary payment code image to pay for the target transaction. For example, the first user can be the company where the second user works. If the target transaction is a transaction performed by the second user for work and can apply for reimbursement from the first user, the second user can use the payment method based on the first user. The second payment code image used for payment by resources in the account is used to make payment for the target transaction to simplify the reimbursement process. At this time, both the first user and the second user can serve as the second participant.
本说明书实施例中,由于第二参与方与第一参与方之间执行目标交易的方式有多种,使得第二参与方可以采用多种方式去请求开具目标交易的发票信息,对应的,获取针对目标交易的开票请求消息的实现方式也可以有多种。为便于理解,对此进行解释说明。In the embodiment of this specification, since there are multiple ways to execute the target transaction between the second participant and the first participant, the second participant can use multiple ways to request the issuance of invoice information for the target transaction. Correspondingly, obtain The invoicing request message for the target transaction can also be implemented in multiple ways. To facilitate understanding, this is explained.
实现方式一Implementation method one
步骤202:获取针对目标交易的开票请求消息,具体可以包括:获取针对目标交易的第一开票请求消息;所述第一开票请求消息是基于所述第二参与方针对目标应用处的第一开票控件的触发操作而生成的,所述第一开票控件是在所述目标交易处于已完成状态之后展示的控件。所述第一开票控件用于请求开具所述目标交易对应的发票信息。Step 202: Obtain the invoicing request message for the target transaction, which may specifically include: acquiring the first invoicing request message for the target transaction; the first invoicing request message is based on the first invoicing request message for the target application by the second participant. The first invoicing control is generated after the target transaction is in a completed state. The first invoicing control is used to request the issuance of invoice information corresponding to the target transaction.
对应的,步骤204:所述确定所述开票请求消息的发起时间,具体包括:确定所述触发操作的发生时间。Correspondingly, step 204: Determining the initiation time of the invoicing request message specifically includes: determining the occurrence time of the triggering operation.
本说明书实施例中,目标应用可以包括:第二参与方针对目标交易进行付款所使用的支付应用,和/或,第二参与方执行目标交易所使用的交易应用。In the embodiment of this specification, the target application may include: a payment application used by the second participant to pay for the target transaction, and/or a transaction application used by the second participant to perform the target transaction.
这是由于,通常情况下,在将第二参与方针对目标交易支付的钱款发放给第一参与方后,目标交易将处于已完成状态。第二参与方的交易应用处的交易信息展示页面以及支付应用处的账单信息展示页面中,可以展示有目标交易的交易信息以供查阅,此时,该交易信息展示页面及账单信息展示页面还可以展示有与该目标交易的交易信息对应的第一开票控件。This is because, typically, the target transaction will be in a completed state after the money paid by the second party for the target transaction has been released to the first party. The transaction information display page of the second party's transaction application and the bill information display page of the payment application can display the transaction information of the target transaction for review. At this time, the transaction information display page and bill information display page also The first invoicing control corresponding to the transaction information of the target transaction can be displayed.
当第二参与方需要令第一参与方提供目标交易对应的发票时,可以触发该第一开票控件,以令电子商务平台的服务器获取到针对目标交易的第一开票请求消息。具体的, 若目标服务器监听到针对第一开票控件的触发事件,则可以确定获取到了针对目标交易的第一开票请求消息。When the second party needs to ask the first party to provide an invoice corresponding to the target transaction, the first invoicing control can be triggered so that the server of the e-commerce platform obtains the first invoicing request message for the target transaction. specific, If the target server monitors the trigger event for the first invoicing control, it can be determined that the first invoicing request message for the target transaction is obtained.
本说明书实施例中,由于第一开票控件是在目标交易处于已完成状态之后展示的控件,而目标交易在处于已完成状态之后,第一参与方就可以针对目标交易开具发票了,因此,当第二参与方触发该第一开票控件后,就可以进行开票耗时计时,以便于后续确定第一参与方是否在指定时间段内向第二参与方提供了目标交易对应的发票信息。基于此,可以将第二参与方针对所述第一开票控件的触发操作的发生时间作为针对目标交易的开票请求消息的发起时间,即可以将第二参与方针对所述第一开票控件的触发操作的发生时间作为该指定时间段的起始时间。In the embodiment of this specification, since the first invoicing control is displayed after the target transaction is in the completed state, and after the target transaction is in the completed state, the first participant can issue an invoice for the target transaction. Therefore, when After the second participant triggers the first invoicing control, the invoicing time can be timed to subsequently determine whether the first participant has provided the invoice information corresponding to the target transaction to the second participant within the specified time period. Based on this, the occurrence time of the second participant's triggering operation on the first invoicing control can be used as the initiation time of the invoicing request message for the target transaction, that is, the second participant's triggering on the first invoicing control can be The time when the operation occurs is used as the starting time of the specified time period.
在实际应用中,该指定时间段的终止时间可以为针对所述第一开票控件的触发操作的发生时间之后间隔第一时长的时刻。而当前时刻与该指定时间段的终止时间之间的时间间隔可以作为第一参与方应提供目标交易对应的发票信息的剩余时长。为提升第二参与方的体验,还可以在第二参与方的目标应用处展示该剩余时长。In a practical application, the end time of the specified time period may be a time interval of a first duration after the occurrence time of the triggering operation for the first invoicing control. The time interval between the current moment and the end time of the specified time period can be used as the remaining time for the first party to provide invoice information corresponding to the target transaction. To improve the experience of the second party, the remaining time can also be displayed on the target application of the second party.
实现方式二Implementation method two
步骤202:获取针对目标交易的开票请求消息,具体可以包括:获取针对目标交易的第二开票请求消息;所述第二开票请求消息是基于所述目标交易变更为已完成状态的状态变更操作而生成的,所述目标交易为所述第二参与方针对目标应用处的第二开票控件执行了触发操作的交易,所述第二开票控件是在所述目标交易处于已完成状态之前展示的控件。Step 202: Obtain the invoicing request message for the target transaction, which may specifically include: acquiring the second invoicing request message for the target transaction; the second invoicing request message is based on the status change operation of changing the target transaction to the completed state. Generated, the target transaction is a transaction in which the second participant performs a triggering operation on the second invoicing control at the target application, and the second invoicing control is a control displayed before the target transaction is in a completed state. .
对应的,步骤204:确定所述开票请求消息的发起时间,具体可以包括:确定所述状态变更操作的发生时间。Correspondingly, step 204: Determine the initiation time of the invoicing request message, which may specifically include: determining the occurrence time of the status change operation.
本说明书实施例中,第二参与方在目标交易未完成以前也可以执行请求开具目标交易对应的发票信息的操作,后续,在目标交易变更为已完成状态后,即可以进行开票耗时计时,以便于后续确定第一参与方是否在指定时间段内向第二参与方提供了目标交易对应的发票信息。In the embodiment of this specification, the second party can also perform the operation of requesting the issuance of invoice information corresponding to the target transaction before the target transaction is completed. Subsequently, after the target transaction changes to the completed status, the invoicing time can be timed. This is to facilitate subsequent determination of whether the first party has provided the invoice information corresponding to the target transaction to the second party within a specified time period.
在实际应用中,第二参与方的交易应用处的商品展示页面中可以设置有第二开票控件,以便于第二参与方在发起目标交易时,通过触发该第二开票控件,去执行请求开具目标交易对应的发票信息的操作,方便快捷。In practical applications, a second invoicing control can be set on the product display page of the second party's transaction application, so that when the second party initiates the target transaction, it can trigger the second invoicing control to execute the request for invoicing. The operation of the invoice information corresponding to the target transaction is convenient and fast.
或者,第二参与方的交易应用处的交易信息展示页面及支付应用处的账单信息展示页面中,可以展示有目标交易的交易信息以供查阅,以及,可以设置有与该目标交易的交易信息对应的第二开票控件,以便于第二参与方在针对目标交易支付以后但未将钱款发放给第一参与方之前,通过触发该第二开票控件,去执行请求开具目标交易对应的发票信息的操作,以提升用户申请开票操作的执行灵活性。Alternatively, the transaction information display page of the second party's transaction application and the bill information display page of the payment application can display the transaction information of the target transaction for review, and the transaction information of the target transaction can be set. Corresponding second invoicing control, so that the second participant can trigger the second invoicing control to execute the request to issue the invoice information corresponding to the target transaction after paying for the target transaction but before releasing the money to the first participant. operations to improve the execution flexibility of users' application for invoicing operations.
在实际应用中,由于在将第二参与方针对目标交易支付的钱款发放给第一参与方后,目标交易会由未完成状态变更为已完成状态,即相当于执行了针对所述目标交易变更为已完成状态的状态变更操作,因此,若目标服务器监听到将第二参与方针对目标交易支付的钱款发放给第一参与方的事件,或者监听到表示目标交易已完成的事件,则可以确定获取到了针对目标交易的第二开票请求消息。In practical applications, after the second party pays the money for the target transaction to the first party, the target transaction will change from the uncompleted state to the completed state, which is equivalent to executing the target transaction. A state change operation that changes to the completed state, so if the target server listens for an event that releases the money paid by the second party for the target transaction to the first party, or listens for an event that indicates that the target transaction has completed, then It can be determined that the second invoicing request message for the target transaction has been obtained.
对应的,可以将目标交易变更为已完成状态的状态变更操作的发生时间作为目标交易的开票请求消息的发起时间(即将目标服务器监听上述事件的时间作为针对目标交易的开票请求消息的发起时间),以便于后续确定第一参与方是否在指定时间段内向第二参与方提供了目标交易对应的发票信息。其中,所述指定时间段的起始时间可为所述态变更操作的发生时间,所述指定时间段的终止时间可以为所述状态变更操作的发生时间之后间隔第一时长的时刻。Correspondingly, the occurrence time of the state change operation that changes the target transaction to the completed state can be used as the initiation time of the invoicing request message of the target transaction (that is, the time when the target server monitors the above event is used as the initiation time of the invoicing request message for the target transaction) , in order to subsequently determine whether the first participant has provided the invoice information corresponding to the target transaction to the second participant within the specified time period. The starting time of the designated time period may be the occurrence time of the state change operation, and the end time of the designated time period may be a time interval of a first length of time after the occurrence time of the state change operation.
在实际应用中,当前时刻与所述指定时间段的终止时间之间的时间间隔可以作为第 一参与方应提供目标交易对应的发票信息的剩余时长,为提升第二参与方的体验,还可以在第二参与方的目标应用处展示该剩余时长的提示信息。In practical applications, the time interval between the current moment and the end time of the specified time period can be used as the The first party should provide the remaining time of the invoice information corresponding to the target transaction. In order to improve the experience of the second party, the prompt information of the remaining time can also be displayed on the second party's target application.
本说明书实施例中,第一开票控件及第二开票控件均既可以包含单个控件,也可以包含多个控件,对此不作具体限定。例如,当第二参与方已经在目标应用处录入了购买方名称、购买方纳税人识别号、发票类型等相关信息时,目标应用处可以设置单个控件作为第一开票控件或第二开票控件,从而实现一键开票功能,有利于简化第二参与方的开票操作。或者,第一开票控件及第二开票控件还可以均包含用于输入相关发票信息的控件及确认控件,以令第二参与方可以基于上述控件实时输入相关发票信息,并通过触发确定控件,以请求开具目标交易对应的发票,这种方式灵活性较好。In the embodiment of this specification, both the first invoicing control and the second invoicing control may include a single control or multiple controls, which are not specifically limited. For example, when the second party has entered the buyer's name, buyer's taxpayer identification number, invoice type and other relevant information in the target application, the target application can set a single control as the first invoicing control or the second invoicing control. This enables the one-click invoicing function, which is conducive to simplifying the invoicing operations of the second party. Alternatively, the first invoicing control and the second invoicing control may both include controls and confirmation controls for inputting relevant invoice information, so that the second party can input relevant invoice information in real time based on the above controls, and trigger the confirmation control to Request the invoice corresponding to the target transaction. This method is more flexible.
在实际应用中,可以根据第一参与方的设置信息,去控制第二参与方的目标应用处的第一开票控件及第二开票控件的展示。例如,基于第一参与方的设置信息,可以在目标应用处的商品展示页面中展示第二开票控件;或者,基于第一参与方的设置信息,可以在目标应用处的交易信息展示页面中展示第一开票控件及第二开票控件。或者,基于第一参与方的设置信息,既展示第一开票控件又展示第二开票控件,对此不作具体限定。In practical applications, the display of the first invoicing control and the second invoicing control at the target application of the second party can be controlled according to the setting information of the first party. For example, based on the setting information of the first participant, the second invoicing control can be displayed on the product display page of the target application; or based on the setting information of the first participant, the second invoicing control can be displayed on the transaction information display page of the target application. The first invoicing control and the second invoicing control. Alternatively, based on the setting information of the first participant, both the first invoicing control and the second invoicing control are displayed, which is not specifically limited.
本说明书实施例中,第二参与方在执行请求开具发票的操作时,通常要提供发票中的购买方信息、发票类型等信息,在实际应用中,第二参与方可能存在修改上述信息的需求,若第二参与方对上述信息进行了改动,则需要重新确定第一参与方提供相应发票的时限,以保障第一参与方的权益。In the embodiment of this specification, when the second party performs the operation of requesting to issue an invoice, it usually needs to provide the buyer information, invoice type and other information in the invoice. In practical applications, the second party may have the need to modify the above information. , if the second party makes changes to the above information, the time limit for the first party to provide the corresponding invoice needs to be re-determined to protect the rights and interests of the first party.
基于此,步骤202:获取针对目标交易的开票请求消息之后,还可以包括:获取所述第二参与方针对所述目标交易的发票变更请求消息;所述发票变更请求消息是基于所述第二参与方在所述目标应用处执行的发票信息变更操作而生成的,所述发票信息变更操作用于请求变更所述发票信息。Based on this, step 202: After obtaining the invoicing request message for the target transaction, it may also include: obtaining the invoice change request message of the second participant for the target transaction; the invoice change request message is based on the second Generated by the invoice information change operation performed by the participant at the target application, and the invoice information change operation is used to request changes to the invoice information.
所述确定所述开票请求消息的发起时间,具体包括:确定所述发票信息变更操作的发生时间。Determining the initiation time of the invoicing request message specifically includes: determining the occurrence time of the invoice information change operation.
本说明书实施例中,第二参与方在目标应用处执行的发票信息变更操作可以包括:针对所述目标交易的部分退款操作,以及,针对所述发票信息中的可变信息的修改操作。In the embodiment of this specification, the invoice information modification operation performed by the second participant at the target application may include: a partial refund operation for the target transaction, and a modification operation for the variable information in the invoice information.
具体的,当第二参与方针对目标交易进行部分退款时,会影响发票信息中的货物信息及纳税额信息,从而需要对目标交易的发票信息进行修改。基于此,当目标服务器监听到第二参与方针对目标交易的部分退款操作时,可以确定获取到了所述第二参与方针对所述目标交易的发票变更请求消息。当然,第一参与方也可能主动针对目标交易进行部分退款,此时,若目标服务器监听到第一参与方针对目标交易的部分退款操作时,也可以确定获取到了所述第二参与方针对所述目标交易的发票变更请求消息。Specifically, when the second party makes a partial refund for the target transaction, it will affect the goods information and tax amount information in the invoice information, so the invoice information of the target transaction needs to be modified. Based on this, when the target server monitors the partial refund operation of the second participant for the target transaction, it can be determined that the invoice change request message of the second participant for the target transaction is obtained. Of course, the first participant may also take the initiative to partially refund the target transaction. At this time, if the target server monitors the first participant's partial refund operation for the target transaction, it can also determine that it has obtained the second participation policy. Invoice change request message for the target transaction.
或者,交易应用处的交易信息展示页面及支付应用处的账单信息展示页面中还可以设置有发票修改控件,第二参与方可以通过触发该发票修改控件去修改并提交所述发票信息中的可变信息。基于此,当目标服务器监听到第二参与方针对发票修改控件的操作信息时,可以确定获取到了所述第二参与方针对所述目标交易的发票变更请求消息。其中,发票信息中的可变信息可以包括但不限于:购买方名称、地址、账户、纳税人识别号、发票类型等信息。Alternatively, the transaction information display page of the transaction application and the bill information display page of the payment application can also be provided with an invoice modification control. The second party can modify and submit the available information in the invoice information by triggering the invoice modification control. change information. Based on this, when the target server monitors the operation information of the second participant on the invoice modification control, it can be determined that the invoice change request message of the second participant on the target transaction is obtained. Among them, the variable information in the invoice information may include but is not limited to: buyer's name, address, account, taxpayer identification number, invoice type and other information.
由于在获取到针对所述目标交易的发票变更请求消息时,需要修改发票信息,因此,相当于第二参与方重新发起了开票请求消息,基于此,可以针对第一参与方提供目标交易的发票信息的耗时进行置零,并重新进行计时,以保证第一参与方的权益。具体的,可以将所述发票信息变更操作的发生时间作为更新后的开票请求消息的发起时间,对应的,步骤206可以去判定第一参与方在所述发票信息变更操作的发生时间之后的第一时长内是否向第二参与方提供了目标交易的发票信息,以得到第一判断结果。Since the invoice information needs to be modified when the invoice change request message for the target transaction is obtained, it is equivalent to the second party reinitiating the invoicing request message. Based on this, the invoice of the target transaction can be provided to the first party. The time consumption of the information is reset to zero and the time is reset to ensure the rights and interests of the first participant. Specifically, the occurrence time of the invoice information change operation can be used as the initiation time of the updated invoicing request message. Correspondingly, step 206 can determine the first participant's time after the occurrence time of the invoice information change operation. Whether the invoice information of the target transaction has been provided to the second party within a period of time to obtain the first judgment result.
在实际应用中,第二参与方可以在获取到目标交易对应的发票之前,去执行所述发 票信息变更操作,以避免第一参与方开具的发票不符合第二参与方的需求的问题。或者,第二参与方也可以在获取到目标交易对应的发票之后,去执行所述发票信息变更操作,以保障第二参与方获取到所需的发票;而对于第二参与方已经获取到的发票,可以由第一参与方通过发票对冲操作进行作废处理,从而保障发票业务的正常运行,对此不作具体限定。但若所述发票信息变更操作是步骤208之后执行,由于图2中的方案已经执行完毕,则无需再将所述发票信息变更操作的发生时间作为更新后的开票请求消息的发起时间,也无需去改变针对第一参与方的处理结果,以保障对于第一参与方的处理的合理性。In practical applications, the second party can execute the issuance before obtaining the invoice corresponding to the target transaction. Change the ticket information to avoid the problem that the invoice issued by the first party does not meet the needs of the second party. Alternatively, the second participant can also perform the invoice information change operation after obtaining the invoice corresponding to the target transaction to ensure that the second participant obtains the required invoice; and for the invoice that the second participant has obtained Invoices can be voided by the first party through invoice hedging operations to ensure the normal operation of the invoice business, and there are no specific restrictions on this. However, if the invoice information change operation is performed after step 208, since the solution in Figure 2 has been completed, there is no need to use the occurrence time of the invoice information change operation as the initiation time of the updated invoicing request message, and there is no need to To change the processing results for the first participant to ensure the rationality of the processing for the first participant.
本说明书实施例中,若第一参与方识别到第二参与方提交的发票信息中的可变信息存在明显错误,第一参与方也可以拒绝开具发票,并令第二参与方针对所述发票信息中的可变信息执行修改操作,以保证第一参与方可以开具正确发票。In the embodiment of this specification, if the first party identifies that there are obvious errors in the variable information in the invoice information submitted by the second party, the first party can also refuse to issue the invoice and ask the second party to respond to the invoice. The variable information in the message is modified to ensure that the first party can issue the correct invoice.
基于此,所述获取所述第二参与方针对所述目标交易的发票变更请求消息之前,还可以包括:获取所述第一参与方针对所述目标交易的拒绝开票指令。Based on this, before obtaining the invoice change request message of the second participant for the target transaction, the method may further include: obtaining the invoicing rejection instruction of the first participant for the target transaction.
响应于所述拒绝开票指令,发送开票变更提示信息至所述第二参与方的设备;所述开票变更提示信息用于提示所述第二参与方变更所述发票信息。In response to the rejection of the invoicing instruction, invoicing change prompt information is sent to the device of the second participant; the invoicing change prompt information is used to prompt the second participant to change the invoice information.
本说明书实施例中,第一参与方的商户客户端处可以展示有目标交易的发票订单信息,以便于第一参与方基于发票订单信息进行发票管理。在实际应用中,该商户客户端处还可以展示有与目标交易的发票订单信息对应的拒绝开票控件,第一参与方可以通过触发该拒绝开票控件,以向目标服务器发送针对所述目标交易的拒绝开票指令。In the embodiment of this specification, the merchant client of the first participant can display the invoice order information of the target transaction, so that the first participant can perform invoice management based on the invoice order information. In practical applications, the merchant client can also display an invoicing rejection control corresponding to the invoice order information of the target transaction. The first participant can trigger the invoicing rejection control to send an invoicing rejection control to the target server for the target transaction. Reject the billing instruction.
在实际应用中,第一参与方通常需要提供拒绝开票的理由,以便于第二参与方明确所需修改的信息。基于此,目标服务器发送给所述第二参与方的开票变更提示信息可以反映该拒绝开票的理由和/或修改建议,以便于第二参与方参考开票变更提示信息去执行发票信息变更操作。In practical applications, the first party usually needs to provide a reason for refusing to issue an invoice, so that the second party can clarify the information that needs to be modified. Based on this, the invoicing change prompt information sent by the target server to the second participant can reflect the reason for rejecting invoicing and/or modification suggestions, so that the second participant can refer to the invoicing change prompt information to perform the invoice information change operation.
在实际应用中,若因第一参与方拒绝开具发票而需要第二参与方修改相关发票信息时,通常需要第二参与方在预设时限内进行修改,若第二参与方未在预设时限内修改,则可以认为第二参与方不再要求开具发票,从而可以跳转至结束,而无需针对第一参与方进行处理。In practical applications, if the second party needs to modify the relevant invoice information because the first party refuses to issue an invoice, the second party is usually required to make the modification within the preset time limit. If the second party fails to do so within the preset time limit, If it is modified internally, it can be considered that the second party no longer requires the issuance of invoices, so it can jump to the end without processing the first party.
基于此,所述发送开票变更提示信息至所述第二参与方的设备之后,还可以包括:判断是否在所述拒绝开票指令生成之后的第二时长内获取到所述发票变更请求消息,得到第二判断结果。Based on this, after sending the invoicing change prompt information to the device of the second participant, it may also include: determining whether the invoice change request message is obtained within a second period of time after the rejecting the invoicing instruction is generated, and obtain The second judgment result.
若所述第二判断结果表示在所述拒绝开票指令生成之后的第二时长内获取到所述发票变更请求消息,则步骤204可以将所述发票变更请求消息对应的发票信息变更操作的发生时间确定为更新后的发票变更请求消息的发起时间,以及,步骤206可以判断是否第一参与方在所述发票信息变更操作的发生时间之后的第一时长内向第二参与方提供了目标交易的发票信息。If the second judgment result indicates that the invoice change request message is obtained within a second period of time after the invoicing rejection instruction is generated, step 204 may determine the occurrence time of the invoice information change operation corresponding to the invoice change request message. Determine the initiation time of the updated invoice change request message, and step 206 may determine whether the first participant provided the invoice of the target transaction to the second participant within the first period of time after the occurrence time of the invoice information change operation. information.
若所述第二判断结果表示在所述拒绝开票指令生成之后的第二时长内未获取到所述发票变更请求消息,则禁止对所述第一参与方进行处理,并跳转至结束。If the second judgment result indicates that the invoice change request message is not obtained within a second period of time after the invoicing rejection instruction is generated, processing of the first participant is prohibited and the process jumps to the end.
本说明书实施例中,第一参与方开具发票的实现方式可以有多种,发票种类也可以有多种,对应的,目标服务器验证第一参与方是否向第二参与方提供了发票的实现方式也可以有多种。In the embodiment of this specification, there can be multiple implementation methods for the first participant to issue invoices, and there can also be multiple types of invoices. Correspondingly, the target server verifies whether the first participant has provided the second participant with an invoice implementation method. There can also be multiple types.
基于此,步骤206:判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,具体可以包括:判断是否在所述发起时间之后的第一时长内,根据所述第一参与方的发票开具指令,生成了与所述目标交易对应的发票信息;和/或,判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了与所述目标交易对应的发票信息。 Based on this, step 206: Determine whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, which may specifically include: determining whether after the initiation time Within the first period of time, according to the invoice issuance instruction of the first participant, the invoice information corresponding to the target transaction is generated; and/or, it is determined whether within the first period of time after the initiation time, the invoice information corresponding to the target transaction is generated. The first party submits invoice information corresponding to the target transaction.
本说明书实施例中,第一参与方开具发票的实现方式有多种。例如,第一参与方可以基于商户客户端的发票开具功能去开具发票。具体的,第一参与方需要在商户客户端中输入发票开具指令,以便于商户客户端及目标服务器基于该发票开具指令,去自动开具目标交易对应的发票信息。由于这一发票信息的生成过程可被目标服务器控制及识别,因此,步骤206可以判断是否在所述发起时间之后的第一时长内,根据所述第一参与方的发票开具指令,生成了与所述目标交易对应的发票信息。In the embodiment of this specification, there are many ways to implement invoice issuance by the first participant. For example, the first party can issue an invoice based on the invoice issuance function of the merchant client. Specifically, the first participant needs to input an invoice issuance instruction into the merchant client, so that the merchant client and the target server can automatically issue invoice information corresponding to the target transaction based on the invoice issuance instruction. Since the generation process of this invoice information can be controlled and identified by the target server, step 206 can determine whether within the first period of time after the initiation time, according to the invoice issuance instruction of the first participant, an invoice issuance instruction related to Invoice information corresponding to the target transaction.
或者,第一参与方还可以基于企业管理软件(Enterprise Resource Planning,ERP)去开具发票,当然也可以基于其他方式去线下开具发票,此时,第一参与方需要向商户客户端及目标服务器提交目标交易对应的发票信息,以便于证明其已经生成了该发票信息,或者以便于传递该发票信息至第二参与方。在实际用中,企业管理软件可以采用对接应用程序接口(Application Programming Interface,API)的方式,从目标服务器处获取第二参与方的发票申请明细以及准确的开票金额等信息,并在开具发票之后通过API的方式回传开票结果(例如,发票代码信息,电子发票图像、纸质发票图像)至目标服务器。基于此,步骤206可以判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了与所述目标交易对应的发票信息。Alternatively, the first party can also issue invoices based on enterprise management software (Enterprise Resource Planning, ERP). Of course, it can also issue invoices offline based on other methods. At this time, the first party needs to issue invoices to the merchant client and target server. Submit the invoice information corresponding to the target transaction to prove that it has generated the invoice information, or to transfer the invoice information to the second party. In actual use, enterprise management software can use the Application Programming Interface (API) to obtain the second party's invoice application details and accurate invoicing amount and other information from the target server, and after issuance of the invoice Return the invoicing results (for example, invoice code information, electronic invoice image, paper invoice image) to the target server through API. Based on this, step 206 may determine whether the first participant submitted the invoice information corresponding to the target transaction within the first period of time after the initiation time.
本说明书实施例中,步骤206中除了判断第一参与方是否已生成了所述目标交易对应的发票信息以外,还可能需要判断第一参与方是否实际向第二参与方交付了该发票信息。In the embodiment of this specification, in step 206, in addition to determining whether the first participant has generated the invoice information corresponding to the target transaction, it may also be necessary to determine whether the first participant has actually delivered the invoice information to the second participant.
基于此,步骤206:判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,还可以包括:判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了针对所述纸质发票的交付证明信息。Based on this, step 206: Determine whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, which may also include: determining whether after the initiation time Within the first period of time, the first party submitted proof of delivery information for the paper invoice.
本说明书实施例中,目标交易对应的发票信息既可以为电子发票,也可以为纸质发票。若为纸质发票,则既可以通过邮寄方式将纸质发票传输给第二参与方,或在,双方也可以约定其他线下交付方式,当然,双方也可以约定无需交付纸质发票等。基于此,可以将快递单号、邮寄凭证或者双方之间的交付约定信息等作为交付证明信息,以避免第一参与方的作弊行为,从而有利于进一步保障第二参与方的权益。In the embodiment of this specification, the invoice information corresponding to the target transaction can be either an electronic invoice or a paper invoice. If it is a paper invoice, the paper invoice can be transmitted to the second party by mail, or the two parties can also agree on other offline delivery methods. Of course, both parties can also agree that there is no need to deliver the paper invoice. Based on this, the courier number, mailing voucher or delivery agreement information between the two parties can be used as delivery proof information to avoid cheating by the first party, thus helping to further protect the rights and interests of the second party.
在实际应用中,若目标交易对应的发票信息为电子发票,则可以基于目标服务器将电子发票图像发送至第二参与方的目标应用,或者,也可以基于邮件、短信、即时通讯工具等发送至第二参与方。由于利用了目标服务器去执行交付发票信息的操作,因此,可以无需提供针对所述发票信息的交付证明信息。当然,也可以将交付电子发票的邮件、应用页面截图等作为针对电子发票的交付证明信息,基于此,步骤206还可以包括判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了针对所述电子发票的交付证明信息,从而进一步保障第二参与方的权益。In practical applications, if the invoice information corresponding to the target transaction is an electronic invoice, the electronic invoice image can be sent to the target application of the second participant based on the target server, or it can also be sent to the target application based on email, SMS, instant messaging tools, etc. Second party. Since the target server is utilized to perform the operation of delivering the invoice information, there is no need to provide delivery proof information for the invoice information. Of course, emails delivering electronic invoices, screenshots of application pages, etc. can also be used as delivery proof information for electronic invoices. Based on this, step 206 can also include determining whether the first time period after the initiation time is reached. The participant submitted proof of delivery information for the electronic invoice, thereby further protecting the rights of the second participant.
本说明书实施例中,若目标服务器在指定事件段内获取到第一参与方的开票事件、录入发票信息事件或录入交付证明信息事件,则可以确定所述第一参与方在指定事件段内所述第二参与方提供了所述发票信息。从而通过事件监控技术,将发票申请流程与延迟开票赔付流程解耦开来。In the embodiment of this specification, if the target server obtains the first participant's invoicing event, input invoice information event, or input delivery certificate information event within the specified event period, it can determine the first participant's event in the specified event period. The second party provided the invoice information. Thus, event monitoring technology is used to decouple the invoice application process from the delayed invoicing compensation process.
本说明书实施例中,若第一参与方拖延提供发票,则为减少第二参与方受到的损失,可以将第一参与方的部分资源转移至第二参与方,从而有利于减少第一参与方拖延提供方法的情况,也有利于保障第二参与方的权益。In the embodiment of this specification, if the first party delays in providing invoices, in order to reduce the losses suffered by the second party, some of the resources of the first party can be transferred to the second party, thereby conducive to reducing the losses suffered by the first party. Delaying the provision of methods will also help protect the rights and interests of the second party.
基于此,步骤208:对所述第一参与方进行处理,具体可以包括:根据所述目标交易的交易信息,确定待转移资源量。Based on this, step 208: Process the first participant, which may specifically include: determining the amount of resources to be transferred based on the transaction information of the target transaction.
从所述第一参与方的资源池中,扣除所述待转移资源量的资源。The amount of resources to be transferred is deducted from the resource pool of the first participant.
发放所述待转移资源量的资源至所述第二参与方的账户。Release the amount of resources to be transferred to the account of the second participant.
本说明书实施例中,第一参与方通常需要向目标服务器预先转移一定数量的资源, 以生成第一参与方的资源池,第一参与方还可以预先授权目标服务器对于该资源池中的资源的转移权限,从而在确定第一参与方未按期提供发票后,可以将第一参与方的待转移资源量的资源转移至第二参与方的账户,方便快捷。In the embodiment of this specification, the first party usually needs to transfer a certain amount of resources to the target server in advance. To generate the first party's resource pool, the first party can also pre-authorize the target server's transfer permission for the resources in the resource pool, so that after it is determined that the first party has not provided the invoice on time, the first party can The amount of resources to be transferred is transferred to the account of the second party, which is convenient and fast.
在实际应用中,待转移资源量可以为预设比例的目标交易的交易额,例如,假定,目标交易的交易额为100元,预设比例为10%,则待转移资源量可以为10元。或者,待转移资源量可以为目标交易的交易额落入的数值区间对应的指定数值,例如,若所述目标交易的交易额落入(0,100],则待转移资源量可以为10元,而若所述目标交易的交易额落入(100,1000],则待转移资源量可以为20元。或者,待转移资源量也可以为指定数值,例如,无论目标交易的交易额是多少,待转移资源量可以均为10元。本说明书实施例中,待转移资源量的计算方法可以根据实际需求设置,对此不作具体限定。In practical applications, the amount of resources to be transferred can be a preset proportion of the transaction amount of the target transaction. For example, assuming that the transaction amount of the target transaction is 100 yuan and the preset proportion is 10%, the amount of resources to be transferred can be 10 yuan. . Alternatively, the amount of resources to be transferred can be a specified value corresponding to the numerical interval within which the transaction amount of the target transaction falls. For example, if the transaction amount of the target transaction falls into (0,100], the amount of resources to be transferred can be 10 yuan, and If the transaction amount of the target transaction falls into (100,1000], the amount of resources to be transferred can be 20 yuan. Alternatively, the amount of resources to be transferred can also be a specified value. For example, no matter what the transaction amount of the target transaction is, the amount of resources to be transferred can be The amount of resources to be transferred can all be 10 yuan. In the embodiment of this specification, the calculation method of the amount of resources to be transferred can be set according to actual needs, and is not specifically limited.
在实际应用中,在发放所述待转移资源量的资源至第二参与方的账户时,既可以将所述待转移资源量的资金发放至第二参与方在支付应用处的支付账户。或者,也可以采用积分形式,将所述待转移资源量的积分发放至第二参与方在交易应用处的已注册账户,以令第二参与方可以基于交易应用处的已注册账户中的积分购买商品或者享受其他权益,对此不作具体限定。In practical applications, when the amount of resources to be transferred is released to the account of the second party, the funds of the amount of resources to be transferred can be released to the payment account of the second party at the payment application. Alternatively, points can also be used to distribute the points for the amount of resources to be transferred to the registered account of the second party at the trading application, so that the second party can use the points in the registered account at the trading application. There are no specific restrictions on purchasing goods or enjoying other rights and interests.
本说明书实施例中,在执行步骤208中对第一参与方的处理操作之前,还需要进行拦截验证,以避免处罚错误,损害第一参与方的权益。In the embodiment of this specification, before performing the processing operation on the first participant in step 208, interception verification is also required to avoid penalty errors and damage to the rights and interests of the first participant.
基于此,步骤208:对所述第一参与方进行处理之前,还可以包括:判断所述开票请求消息是否满足拦截条件,得到第三判断结果;所述拦截条件包括:参与方身份条件、禁止开票条件及去重条件中的至少一种。Based on this, step 208: Before processing the first participant, it may also include: judging whether the invoicing request message meets the interception conditions and obtaining a third judgment result; the interception conditions include: participant identity conditions, prohibition At least one of invoicing conditions and deduplication conditions.
对应的,对所述第一参与方进行处理,具体可以包括:若所述第三判断结果表示所述开票请求消息不满足拦截条件,则对所述第一参与方进行处理。Correspondingly, processing the first participant may specifically include: if the third judgment result indicates that the invoicing request message does not meet the interception condition, processing the first participant.
同时,若所述第三判断结果表示所述开票请求消息满足拦截条件,则可以禁止对所述第一参与方进行处理,并跳转至结束。At the same time, if the third judgment result indicates that the invoicing request message satisfies the interception condition, processing of the first participant may be prohibited and the process will jump to the end.
本说明书实施例中,针对所述开票请求消息进行拦截验证的时机可以有多个,即判断所述开票请求消息是否满足拦截条件的时机可以有多个。例如,可以在步骤202中获取到所述开票请求消息后进行拦截验证,并在确定所述开票请求消息不满足拦截条件后再执行步骤204及后续操作,从而减少对于不必要的开票请求消息的处理,以节省设备资源。以及,还可以在步骤206确定第一参与方未在指定时间段内向第二参与方提供发票后进行拦截验证,并在确定所述开票请求消息不满足拦截条件后再针对第一参与方进行处理,从而避免执行错误的处罚操作,以保障第一参与方的权益。In the embodiment of this specification, there may be multiple opportunities to intercept and verify the invoicing request message, that is, there may be multiple opportunities to determine whether the invoicing request message satisfies the interception condition. For example, the invoicing request message can be intercepted and verified after being obtained in step 202, and step 204 and subsequent operations can be performed after it is determined that the invoicing request message does not meet the interception conditions, thereby reducing unnecessary invoicing request messages. processing to save device resources. Moreover, it is also possible to perform interception and verification after determining in step 206 that the first participant has not provided the invoice to the second participant within the specified time period, and then process the first participant after determining that the invoicing request message does not meet the interception conditions. , thereby avoiding the execution of wrong penalty operations and protecting the rights and interests of the first participant.
本说明书实施例中,进行拦截验证所涉及的拦截条件可以包括:参与方身份条件、禁止开票条件及去重条件中的至少一种。In the embodiment of this specification, the interception conditions involved in interception verification may include: at least one of a participant identity condition, a prohibition of invoicing conditions, and a deduplication condition.
其中,去重条件可以指存在针对目标交易的多个相同的开票请求消息。在实际应用中,由于系统抖动等因素,可能会针对目标交易重复发起多个相同的开票请求消息,为保障业务的正常运行,仅需针对其中的一个开票请求消息(例如,接收时间最早的开票请求消息)进行响应,而无需针对其他开票请求消息进行响应。The deduplication condition may refer to the existence of multiple identical invoicing request messages for the target transaction. In actual applications, due to factors such as system jitter, multiple identical invoicing request messages may be repeatedly initiated for the target transaction. To ensure the normal operation of the business, only one of the invoicing request messages is required (for example, the invoice with the earliest receipt time request message) without responding to other invoicing request messages.
参与方身份条件可以指第一参与方位于拦截商户名单中。在实际应用中,目标服务器可能仅需针对部分商户延迟提供发票的行为进行处理,基于此,可以将其他商户的标识信息添加至拦截商户名单,从而无论拦截商户名单中商户是否在预设时限内提供发票,均不会对这些商户进行处理。具体的,所述拦截商户名单中的商户既可以包括未参加开票监管活动的商户,也可以包括部分具有特殊情况而暂停参加开票监管活动的商户,例如,当前不具有可开发票额度的商户,或者,因不可抗力而无法提供发票的商户等。The participant identity condition may mean that the first participant is in the blocked merchant list. In actual applications, the target server may only need to deal with the delay in providing invoices by some merchants. Based on this, the identification information of other merchants can be added to the blocked merchant list, regardless of whether the merchants in the blocked merchant list are within the preset time limit. Invoices provided will not be processed by these merchants. Specifically, the merchants in the intercepted merchant list may include merchants that have not participated in invoicing supervision activities, or may include some merchants that have suspended participation in invoicing supervision activities due to special circumstances, for example, merchants that currently do not have an invoicing quota, Or, merchants that are unable to provide invoices due to force majeure, etc.
禁止开票条件可以有多种,且在不同时机进行拦截验证所需使用的禁止开票条件也可以存在差异。例如,若在步骤202中获取到所述开票请求消息后进行拦截验证,则禁 止开票条件可以包括:目标交易的完成时间早于开票监管活动的发起时间,目标交易处于未完成状态,已基于目标交易针对第一参与方进行了处理,可开发票金额为0,已开具有效蓝票等。There can be multiple conditions for prohibiting invoicing, and the conditions for prohibiting invoicing required for interception verification at different times can also be different. For example, if interception and verification are performed after obtaining the invoicing request message in step 202, it is prohibited to The conditions for stopping invoicing may include: the completion time of the target transaction is earlier than the initiation time of the invoicing supervision activity, the target transaction is in an uncompleted state, the first participant has been processed based on the target transaction, the invoiceable amount is 0, and the invoice is valid Blue ticket etc.
而若在步骤206确定第一参与方未在指定时间段内向第二参与方提供发票后进行拦截验证,则禁止开票条件除了可以包含上述条件以外,还可以包括:在所述发票请求消息的发起时间之后的第一时长内获取到所述第一参与方针对所述目标交易的全额退款指令,以及,在所述发票请求消息的发起时间之后的第一时长内获取到所述第二参与方针对所述目标交易的取消开票请求消息。从而在目标交易已经全额退款或者第二参与方不再要求开具发票的情况下,禁止对第一参与方进行处理,以保障第一参与方的权益。If it is determined in step 206 that the first participant has not provided the invoice to the second participant within the specified time period and then intercepts and verifies, the conditions for prohibiting invoicing may include, in addition to the above conditions, the following: when the invoice request message is initiated The first participant's full refund instruction for the target transaction is obtained within the first time period after the time, and the second time period is obtained within the first time period after the initiation time of the invoice request message. The participant's unbilling request message for the described target transaction. Therefore, when the target transaction has been fully refunded or the second party no longer requires the issuance of invoices, processing of the first party is prohibited to protect the rights and interests of the first party.
在实际应用中,目标服务器在获取到所述针对目标交易的全额退款指令及取消开票请求消息时,也可以确定禁止针对第一参与方进行处理,并跳转至结束,而无需执行步骤206及步骤208,从而有利于节省设备资源。具体的,若目标服务器获取到针对目标交易的全额退款事件,则可以确定获取到所述针对所述目标交易的全额退款指令。而若目标服务器获取到针对目标交易的取消开票事件,则可以确定获取到所述针对所述目标交易的取消开票请求消息。从而通过事件监控技术,将发票申请流程与发票请求处理流程解耦开来。In practical applications, when the target server obtains the full refund instruction and cancellation request message for the target transaction, it can also determine that processing is prohibited for the first party and jump to the end without executing the steps. 206 and step 208, thereby conducive to saving equipment resources. Specifically, if the target server obtains a full refund event for the target transaction, it can determine that the full refund instruction for the target transaction is obtained. If the target server obtains the invoicing cancellation event for the target transaction, it can determine that the invoicing cancellation request message for the target transaction is obtained. Thus, the invoice application process and the invoice request processing process are decoupled through event monitoring technology.
本说明书实施例中,目标服务器在执行图2及其实施例中的发票请求处理方法时,具体可以采用工作流引擎实现,例如,灵活性较好且运行效率更高的开源工作流框架OSWorkflow。目标服务器可以通过监听交易相关事件、买家与商家申请操作事件、开票事件,以触发发票请求处理方法的执行。以及,目标服务器还可以在事件触发启动一个新的发票请求处理流程时进行拦截,和/或,在事件触发中间状态流转时进行拦截,从而基于预设拦截条件,减少对于不必要的开票请求消息的处理,不仅可以节省设备资源,还可以避免执行错误的处罚操作,以保障第一参与方的权益。In the embodiments of this specification, when the target server executes the invoice request processing method in Figure 2 and its embodiments, it can be implemented using a workflow engine, for example, OSWorkflow, an open source workflow framework with better flexibility and higher operating efficiency. The target server can trigger the execution of the invoice request processing method by monitoring transaction-related events, buyer and merchant application operation events, and invoicing events. In addition, the target server can also intercept when an event triggers a new invoice request processing process, and/or intercept when an event triggers an intermediate state flow, thereby reducing unnecessary invoicing request messages based on preset interception conditions. The processing can not only save equipment resources, but also avoid executing wrong penalty operations to protect the rights and interests of the first participant.
图3为本说明书实施例提供的对应于图2中的发票请求处理方法的泳道流程示意图。如图3所示,该发票请求处理流程可以涉及第一参与方、第二参与方、目标服务器等执行主体。FIG. 3 is a schematic diagram of a swim lane flow corresponding to the invoice request processing method in FIG. 2 provided by an embodiment of this specification. As shown in Figure 3, the invoice request processing process may involve execution entities such as the first party, the second party, and the target server.
在申请开具发票阶段,第二参与方可以针对目标应用处的第一开票控件执行触发操作,所述第一开票控件为在目标交易处于已完成状态之后展示的控件,基于该触发操作,目标服务器可以获取到针对目标交易的第一开票请求消息。或者,第二参与方也可以针对目标应用处的第二开票控件执行触发操作,所述第二开票控件为在目标交易处于已完成状态之前展示的控件,基于该触发操作,后续目标服务器在获取到目标交易变更为已完成状态的状态变更操作后,可以确定获取到了针对目标交易的第二开票请求消息。In the stage of applying for issuance of invoices, the second party can perform a triggering operation on the first invoicing control at the target application. The first invoicing control is a control displayed after the target transaction is in a completed state. Based on the triggering operation, the target server The first invoicing request message for the target transaction can be obtained. Alternatively, the second participant can also perform a triggering operation on the second invoicing control at the target application. The second invoicing control is a control displayed before the target transaction is in the completed state. Based on the triggering operation, the subsequent target server obtains After the status change operation changes the target transaction to the completed status, it can be determined that the second invoicing request message for the target transaction is obtained.
在发票请求处理阶段,目标服务器可以先判断第一/第二开票请求消息是否满足拦截条件,若是,则可以跳转至结束,而若否,则可以确定第一/第二开票请求消息的发起时间,例如,可以将针对第一开票控件执行的触发操作的发生时间作为开票请求消息的发起时间,或者,可以将目标交易变更为已完成状态的状态变更操作的发生时间作为开票请求消息的发起时间。In the invoice request processing stage, the target server can first determine whether the first/second invoicing request message meets the interception conditions. If so, it can jump to the end, and if not, it can determine the initiation of the first/second invoicing request message. Time, for example, the occurrence time of the trigger operation performed on the first invoicing control can be used as the initiation time of the invoicing request message, or the occurrence time of the status change operation that changes the target transaction to the completed state can be used as the initiation time of the invoicing request message. time.
后续,若目标服务器获取到第一参与方发送的针对目标交易的拒绝开票指令,则可以响应于所述拒绝开票指令,发送开票变更提示信息至第二参与方。第二参与方则可以基于开票变更提示信息,在目标应用处执行发票信息变更操作。当然,第二参与方也可以在未获取到开票变更提示信息的情况下,主动执行发票信息变更操作。不过目标服务器在上述两种情况下,均可以将开票请求消息的发起时间更新为该发票信息变更操作的发生时间。Subsequently, if the target server obtains an invoicing rejection instruction sent by the first participant for the target transaction, it may send invoicing change prompt information to the second participant in response to the invoicing refusal instruction. The second participant can perform the invoice information change operation at the target application based on the invoicing change prompt information. Of course, the second party can also actively perform the invoice information change operation without obtaining the invoicing change prompt information. However, in the above two cases, the target server can update the initiation time of the invoicing request message to the time when the invoice information change operation occurs.
目标服务器还可以基于更新后的开票请求消息的发起时间,去判定是否第一参与方在更新后的开票请求消息的发起时间之后的第一时长内向第二参与方提供了目标交易 对应的发票信息,若是,则可以跳转至结束,若否,则可以再次判断开票请求消息是否满足拦截条件。若确定开票请求消息满足拦截条件,则可以跳转至结束,而若确定开票请求消息不满足拦截条件,则可以根据目标交易的交易信息,确定待转移资源量;从第一参与方的资源池中,扣除待转移资源量的资源;以及,发放待转移资源量的资源至第二参与方的账户。The target server may also determine whether the first party has provided the target transaction to the second party within the first period of time after the initiation time of the updated invoicing request message based on the updated initiation time of the invoicing request message. For the corresponding invoice information, if yes, you can jump to the end. If not, you can judge again whether the invoicing request message meets the interception conditions. If it is determined that the invoicing request message meets the interception conditions, you can jump to the end. If it is determined that the invoicing request message does not meet the interception conditions, you can determine the amount of resources to be transferred based on the transaction information of the target transaction; from the resource pool of the first participant , deduct the amount of resources to be transferred; and release the amount of resources to be transferred to the account of the second participant.
在实际应用中,若目标服务器开票请求消息的发起时间之后的第一时长内,获取到所述第一参与方针对所述目标交易的全额退款指令,或者,所述第二参与方针对所述目标交易的取消开票请求消息,则可以直接跳转至结束(图3中未示出),以节省设备资源。In practical applications, if the first participant's full refund instruction for the target transaction is obtained within the first period of time after the initiation time of the target server's invoicing request message, or the second participant's instruction for a full refund is obtained The invoicing cancellation request message of the target transaction can be directly jumped to the end (not shown in Figure 3) to save equipment resources.
基于同样的思路,本说明书实施例还提供了上述方法对应的装置。图4为本说明书实施例提供的对应于图2的一种发票请求处理装置的结构示意图。如图4所示,该装置可以包括以下模块。Based on the same idea, the embodiments of this specification also provide devices corresponding to the above methods. FIG. 4 is a schematic structural diagram of an invoice request processing device corresponding to FIG. 2 provided by an embodiment of this specification. As shown in Figure 4, the device may include the following modules.
第一获取模块402,用于获取针对目标交易的开票请求消息;所述开票请求消息用于请求所述目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息。The first acquisition module 402 is used to obtain the invoicing request message for the target transaction; the invoicing request message is used to request the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant.
确定模块404,用于确定所述开票请求消息的发起时间。Determining module 404 is used to determine the initiation time of the invoicing request message.
第一判断模块406,用于判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,得到第一判断结果。The first judgment module 406 is used to judge whether the first participant provides the invoice information to the second participant within the first time period after the initiation time, and obtains a first judgment result.
处理模块408,用于若所述第一判断结果表示所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则对所述第一参与方进行处理。The processing module 408 is configured to, if the first judgment result indicates that the first participant does not provide the invoice information to the second participant within a first period of time after the initiation time, then Processed by the participating parties.
基于图4的装置,本说明书实施例还提供了该装置的一些具体实施方案,下面进行说明。Based on the device in Figure 4, the embodiments of this specification also provide some specific implementations of the device, which will be described below.
可选的,所述第一获取模块402,具体可以用于:获取针对目标交易的第一开票请求消息;所述第一开票请求消息是基于所述第二参与方针对目标应用处的第一开票控件的触发操作而生成的,所述第一开票控件是在所述目标交易处于已完成状态之后展示的控件。Optionally, the first obtaining module 402 may be specifically configured to: obtain the first invoicing request message for the target transaction; the first invoicing request message is based on the first invoicing request message from the second participant to the target application. The first invoicing control is generated after the triggering operation of the invoicing control. The first invoicing control is a control displayed after the target transaction is in a completed state.
对应的,所述确定模块404,具体可以用于:确定所述触发操作的发生时间。Correspondingly, the determining module 404 may be specifically configured to determine the occurrence time of the triggering operation.
可选的,所述第一获取模块402,具体可以用于:获取针对目标交易的第二开票请求消息;所述第二开票请求消息是基于所述目标交易变更为已完成状态的状态变更操作而生成的,所述目标交易为所述第二参与方针对目标应用处的第二开票控件执行了触发操作的交易,所述第二开票控件是在所述目标交易处于已完成状态之前展示的控件;对应的,所述确定模块404,具体可以用于:确定所述状态变更操作的发生时间。Optionally, the first acquisition module 402 may be specifically configured to: acquire a second invoicing request message for the target transaction; the second invoicing request message is a status change operation based on the target transaction changing to a completed state. Generated, the target transaction is a transaction in which the second participant performs a triggering operation on the second invoicing control at the target application, and the second invoicing control is displayed before the target transaction is in a completed state. Control; correspondingly, the determination module 404 can be specifically used to determine the occurrence time of the status change operation.
可选的,所述目标应用可以包括:所述第二参与方针对所述目标交易进行付款所使用的支付应用,或者,所述第二参与方执行所述目标交易所使用的交易应用。Optionally, the target application may include: a payment application used by the second participant to pay for the target transaction, or a transaction application used by the second participant to execute the target transaction.
可选的,图4中的装置,还可以包括:第二获取模块,用于获取所述第二参与方针对所述目标交易的发票变更请求消息;所述发票变更请求消息是基于所述第二参与方在所述目标应用处执行的发票信息变更操作而生成的,所述发票信息变更操作用于请求变更所述发票信息。Optionally, the device in Figure 4 may also include: a second acquisition module, configured to acquire the invoice change request message of the second participant for the target transaction; the invoice change request message is based on the third Generated by the invoice information change operation performed by the two participants at the target application, and the invoice information change operation is used to request changes to the invoice information.
对应的,所述确定模块404,具体可以用于:确定所述发票信息变更操作的发生时间。Correspondingly, the determination module 404 may be specifically used to determine the time when the invoice information change operation occurs.
可选的,图4中的装置,还可以包括:第三获取模块,用于获取所述第一参与方针对所述目标交易的拒绝开票指令。Optionally, the device in Figure 4 may also include: a third acquisition module, configured to acquire the first participant's instruction to reject invoicing for the target transaction.
发送模块,用于响应于所述拒绝开票指令,发送开票变更提示信息至所述第二参与方的设备;所述开票变更提示信息用于提示所述第二参与方变更所述发票信息。A sending module, configured to send invoicing change prompt information to the device of the second participant in response to the invoicing rejection instruction; the invoicing change prompt information is used to prompt the second participant to change the invoice information.
可选的,图4中的装置,还可以包括:第二判断模块,用于判断是否在所述拒绝开票指令生成之后的第二时长内获取到所述发票变更请求消息,得到第二判断结果。 Optionally, the device in Figure 4 may also include: a second judgment module, used to judge whether the invoice change request message is obtained within a second period of time after the rejection of invoicing instruction is generated, and obtain a second judgment result. .
禁止处理模块,用于若所述第二判断结果表示在所述拒绝开票指令生成之后的第二时长内未获取到所述发票变更请求消息,则禁止对所述第一参与方进行处理。A prohibition processing module configured to prohibit processing of the first participant if the second judgment result indicates that the invoice change request message is not obtained within a second period of time after the rejection of the invoicing instruction is generated.
可选的,所述发票信息变更操作可以包括:针对所述目标交易的部分退款操作,以及,针对所述发票信息中的可变信息的修改操作。Optionally, the invoice information modification operation may include: a partial refund operation for the target transaction, and a modification operation for the variable information in the invoice information.
可选的,所述第一判断模块406,可以包括:第一判断单元,用于判断是否在所述发起时间之后的第一时长内,根据所述第一参与方的发票开具指令,生成了与所述目标交易对应的发票信息。Optionally, the first judgment module 406 may include: a first judgment unit, used to judge whether an invoice issuance instruction is generated according to the first party's invoice issuance instruction within the first period of time after the initiation time. Invoice information corresponding to the target transaction.
第二判断单元,用于判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了与所述目标交易对应的发票信息。The second judgment unit is used to judge whether the first participant has submitted the invoice information corresponding to the target transaction within the first period of time after the initiation time.
若所述发票信息包括纸质发票;可选的,所述第一判断模块406,还可以包括:If the invoice information includes a paper invoice; optionally, the first judgment module 406 may also include:
第三判断单元,用于判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了针对所述纸质发票的交付证明信息。The third judgment unit is used to judge whether the first party has submitted the delivery proof information for the paper invoice within the first period of time after the initiation time.
可选的,所述处理模块408,可以包括:确定单元,用于根据所述目标交易的交易信息,确定待转移资源量。Optionally, the processing module 408 may include: a determining unit configured to determine the amount of resources to be transferred based on the transaction information of the target transaction.
扣除单元,用于从所述第一参与方的资源池中,扣除所述待转移资源量的资源。A deducting unit configured to deduct the amount of resources to be transferred from the resource pool of the first participant.
发放单元,用于发放所述待转移资源量的资源至所述第二参与方的账户。An issuing unit, configured to issue the amount of resources to be transferred to the account of the second participant.
可选的,图4中的装置,还可以包括:第三判断模块,用于判断所述开票请求消息是否满足拦截条件,得到第三判断结果;所述拦截条件包括:参与方身份条件、禁止开票条件及去重条件中的至少一种。Optionally, the device in Figure 4 may also include: a third judgment module, used to judge whether the invoicing request message meets the interception conditions and obtain a third judgment result; the interception conditions include: participant identity conditions, prohibition At least one of invoicing conditions and deduplication conditions.
所述处理模块408,还可以用于若所述第三判断结果表示所述开票请求消息不满足拦截条件,则对所述第一参与方进行处理。The processing module 408 may also be configured to process the first participant if the third judgment result indicates that the invoicing request message does not meet the interception condition.
可选的,所述禁止开票条件可以包括:在所述发起时间之后的第一时长内获取到所述第一参与方针对所述目标交易的全额退款指令,或者,在所述发起时间之后的第一时长内获取到所述第二参与方针对所述目标交易的取消开票请求消息。Optionally, the prohibition of invoicing conditions may include: obtaining a full refund instruction from the first participant for the target transaction within the first period of time after the initiation time, or, within the initiation time A cancellation request message for the target transaction from the second participant is obtained within the first period of time thereafter.
基于同样的思路,本说明书实施例还提供了上述方法对应的设备。Based on the same idea, the embodiments of this specification also provide equipment corresponding to the above method.
图5为本说明书实施例提供的对应于图2的一种发票请求处理设备的结构示意图。如图5所示,设备500可以包括:至少一个处理器510;以及,与所述至少一个处理器通信连接的存储器530;其中,所述存储器530存储有可被所述至少一个处理器510执行的指令520,所述指令被所述至少一个处理器510执行,以使所述至少一个处理器510能够:获取针对目标交易的开票请求消息;所述开票请求消息用于请求所述目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息;确定所述开票请求消息的发起时间;判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,得到第一判断结果;若所述第一判断结果表示所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则对所述第一参与方进行处理。FIG. 5 is a schematic structural diagram of an invoice request processing device corresponding to FIG. 2 provided by an embodiment of this specification. As shown in Figure 5, the device 500 may include: at least one processor 510; and a memory 530 communicatively connected to the at least one processor; wherein the memory 530 stores information that can be executed by the at least one processor 510. The instructions 520 are executed by the at least one processor 510 to enable the at least one processor 510 to: obtain an invoicing request message for the target transaction; the invoicing request message is used to request the invoicing request message for the target transaction. The first participant provides the invoice information corresponding to the target transaction to the second participant; determines the initiation time of the invoicing request message; and determines whether the first participant provides the invoice information to the second participant within the first time period after the initiation time. The second participant provides the invoice information and obtains the first judgment result; if the first judgment result indicates that the first participant does not provide the invoice information to the second participant within the first period of time after the initiation time, The invoice information is processed by the first participant.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于图5所示的设备而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner. The same and similar parts between the various embodiments can be referred to each other. Each embodiment focuses on its differences from other embodiments. In particular, for the equipment shown in FIG. 5 , since it is basically similar to the method embodiment, the description is relatively simple. For relevant details, please refer to the partial description of the method embodiment.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field  Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字符系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, improvements in a technology could be clearly distinguished as hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements in method processes). However, with the development of technology, many improvements in today's method processes can be regarded as direct improvements in hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement of a method flow cannot be implemented using hardware entity modules. For example, Programmable Logic Device (PLD) (such as Field Programmable Gate Array) Programmable Gate Array (FPGA)) is such an integrated circuit whose logic functions are determined by the user programming the device. Designers can program themselves to "integrate" a digital character system on a PLD, instead of asking chip manufacturers to design and produce dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development and writing. Before compiling, The original code must also be written in a specific programming language, which is called Hardware Description Language (HDL). There is not only one type of HDL, but many types, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., are currently the most commonly used The most popular ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that by simply logically programming the method flow using the above-mentioned hardware description languages and programming it into the integrated circuit, the hardware circuit that implements the logical method flow can be easily obtained.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor. , logic gates, switches, Application Specific Integrated Circuit (ASIC), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, For Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program code, the controller can be completely programmed with logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded logic by logically programming the method steps. Microcontroller, etc. to achieve the same function. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the means for implementing various functions can be considered as structures within hardware components as well as software modules implementing the methods.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字符助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, 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.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing this application, the functions of each unit can be implemented in the same or multiple software and/or hardware.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will understand that embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for realizing the functions specified in one process or multiple processes of the flowchart and/or one block or multiple blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指 令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable memory produce instructions that include instructions. An article of manufacture that instructs the device to implement the functions specified in a process or processes in a flowchart and/or in a block or blocks in a block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer-readable media, random access memory (RAM) and/or non-volatile memory in the form of read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字符多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-volatile, removable and non-removable media that can be implemented by any method or technology for storage of information. Information may be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory. (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage , magnetic tape cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements not only includes those elements, but also includes Other elements are not expressly listed or are inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or device that includes the stated element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will understand that embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。 The above descriptions are only examples of the present application and are not intended to limit the present application. To those skilled in the art, various modifications and variations may be made to this application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application shall be included in the scope of the claims of this application.

Claims (25)

  1. 一种发票请求处理方法,包括:An invoice request processing method, including:
    获取针对目标交易的开票请求消息;所述开票请求消息用于请求所述目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息;Obtain an invoicing request message for the target transaction; the invoicing request message is used to request the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant;
    确定所述开票请求消息的发起时间;Determine the initiation time of the invoicing request message;
    判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,得到第一判断结果;Determine whether the first participant provides the invoice information to the second participant within a first period of time after the initiation time, and obtain a first judgment result;
    若所述第一判断结果表示所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则对所述第一参与方进行处理。If the first judgment result indicates that the first participant does not provide the invoice information to the second participant within the first period of time after the initiation time, then the first participant is processed.
  2. 如权利要求1所述的方法,所述获取针对目标交易的开票请求消息,包括:The method according to claim 1, wherein obtaining the invoicing request message for the target transaction includes:
    获取针对目标交易的第一开票请求消息;所述第一开票请求消息是基于所述第二参与方针对目标应用处的第一开票控件的触发操作而生成的,所述第一开票控件是在所述目标交易处于已完成状态之后展示的控件;Obtain a first invoicing request message for the target transaction; the first invoicing request message is generated based on the second participant's triggering operation on the first invoicing control at the target application, and the first invoicing control is at The control displayed after the target transaction is in a completed state;
    所述确定所述开票请求消息的发起时间,包括:Determining the initiation time of the invoicing request message includes:
    确定所述触发操作的发生时间。Determine when the trigger operation occurs.
  3. 如权利要求1所述的方法,所述获取针对目标交易的开票请求消息,包括:The method according to claim 1, wherein obtaining the invoicing request message for the target transaction includes:
    获取针对目标交易的第二开票请求消息;所述第二开票请求消息是基于所述目标交易变更为已完成状态的状态变更操作而生成的,所述目标交易为所述第二参与方针对目标应用处的第二开票控件执行了触发操作的交易,所述第二开票控件是在所述目标交易处于已完成状态之前展示的控件;Obtain a second invoicing request message for the target transaction; the second invoicing request message is generated based on the state change operation of changing the target transaction to the completed state, and the target transaction is the target of the second participant The second invoicing control at the application executes the transaction that triggered the operation, and the second invoicing control is a control displayed before the target transaction is in a completed state;
    所述确定所述开票请求消息的发起时间,包括:Determining the initiation time of the invoicing request message includes:
    确定所述状态变更操作的发生时间。Determine when the state change operation occurs.
  4. 如权利要求2或3所述的方法,所述获取针对目标交易的开票请求消息之后,还包括:The method according to claim 2 or 3, after obtaining the invoicing request message for the target transaction, further comprising:
    获取所述第二参与方针对所述目标交易的发票变更请求消息;所述发票变更请求消息是基于所述第二参与方在所述目标应用处执行的发票信息变更操作而生成的,所述发票信息变更操作用于请求变更所述发票信息;Obtain the invoice change request message of the second participant for the target transaction; the invoice change request message is generated based on the invoice information change operation performed by the second participant at the target application, the The invoice information change operation is used to request changes to the invoice information;
    所述确定所述开票请求消息的发起时间,包括:Determining the initiation time of the invoicing request message includes:
    确定所述发票信息变更操作的发生时间。Determine the time when the invoice information change operation occurs.
  5. 如权利要求4所述的方法,所述获取所述第二参与方针对所述目标交易的发票变更请求消息之前,还包括:The method according to claim 4, before obtaining the invoice change request message of the second participant for the target transaction, further comprising:
    获取所述第一参与方针对所述目标交易的拒绝开票指令;Obtain the first participant's rejection of invoicing instructions for the target transaction;
    响应于所述拒绝开票指令,发送开票变更提示信息至所述第二参与方的设备;所述开票变更提示信息用于提示所述第二参与方变更所述发票信息。In response to the rejection of the invoicing instruction, invoicing change prompt information is sent to the device of the second participant; the invoicing change prompt information is used to prompt the second participant to change the invoice information.
  6. 如权利要求5所述的方法,所述发送开票变更提示信息至所述第二参与方的设备之后,还包括:The method of claim 5, after sending the invoicing change prompt information to the device of the second participant, further comprising:
    判断是否在所述拒绝开票指令生成之后的第二时长内获取到所述发票变更请求消息,得到第二判断结果;Determine whether the invoice change request message is obtained within a second period of time after the rejection of invoicing instruction is generated, and obtain a second judgment result;
    若所述第二判断结果表示在所述拒绝开票指令生成之后的第二时长内未获取到所述发票变更请求消息,则禁止对所述第一参与方进行处理。If the second judgment result indicates that the invoice change request message is not obtained within a second period of time after the invoicing rejection instruction is generated, processing of the first participant is prohibited.
  7. 如权利要求4所述的方法,所述发票信息变更操作包括:针对所述目标交易的部分退款操作,以及,针对所述发票信息中的可变信息的修改操作。The method of claim 4, wherein the invoice information modification operation includes: a partial refund operation for the target transaction, and a modification operation for the variable information in the invoice information.
  8. 如权利要求1所述的方法,所述判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,包括:The method of claim 1, wherein determining whether the first participant provides the invoice information to the second participant within a first period of time after the initiation time includes:
    判断是否在所述发起时间之后的第一时长内,根据所述第一参与方的发票开具指令, 生成了与所述目标交易对应的发票信息;或者,Determine whether within the first period of time after the initiation time, according to the invoice issuance instruction of the first participant, Invoice information corresponding to the target transaction is generated; or,
    判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了与所述目标交易对应的发票信息。Determine whether the first participant has submitted invoice information corresponding to the target transaction within the first period of time after the initiation time.
  9. 如权利要求8所述的方法,所述发票信息包括纸质发票;The method of claim 8, wherein the invoice information includes a paper invoice;
    所述判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,还包括:Determining whether the first participant provides the invoice information to the second participant within a first period of time after the initiation time also includes:
    判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了针对所述纸质发票的交付证明信息。Determine whether the first party has submitted delivery proof information for the paper invoice within the first period of time after the initiation time.
  10. 如权利要求1所述的方法,所述对所述第一参与方进行处理,包括:The method of claim 1, wherein processing the first participant includes:
    根据所述目标交易的交易信息,确定待转移资源量;Determine the amount of resources to be transferred based on the transaction information of the target transaction;
    从所述第一参与方的资源池中,扣除所述待转移资源量的资源;Deduct the amount of resources to be transferred from the resource pool of the first participant;
    发放所述待转移资源量的资源至所述第二参与方的账户。Release the amount of resources to be transferred to the account of the second participant.
  11. 如权利要求10所述的方法,所述对所述第一参与方进行处理之前,还包括:The method according to claim 10, before processing the first participant, further comprising:
    判断所述开票请求消息是否满足拦截条件,得到第三判断结果;所述拦截条件包括:参与方身份条件、禁止开票条件及去重条件中的至少一种;Determine whether the invoicing request message satisfies the interception condition and obtain a third judgment result; the interception condition includes: at least one of a participant identity condition, an invoicing prohibition condition and a deduplication condition;
    所述对所述第一参与方进行处理,包括:The processing of the first party includes:
    若所述第三判断结果表示所述开票请求消息不满足拦截条件,则对所述第一参与方进行处理。If the third judgment result indicates that the invoicing request message does not meet the interception condition, the first participant is processed.
  12. 如权利要求11所述的方法,所述禁止开票条件包括:在所述发起时间之后的第一时长内获取到所述第一参与方针对所述目标交易的全额退款指令,或者,在所述发起时间之后的第一时长内获取到所述第二参与方针对所述目标交易的取消开票请求消息。The method according to claim 11, the invoicing prohibition condition includes: obtaining the first participant's full refund instruction for the target transaction within the first period of time after the initiation time, or, in The second participant's invoicing cancellation request message for the target transaction is obtained within a first period of time after the initiation time.
  13. 如权利要求2或3所述的方法,所述目标应用包括:所述第二参与方针对所述目标交易进行付款所使用的支付应用,或者,所述第二参与方执行所述目标交易所使用的交易应用。The method of claim 2 or 3, wherein the target application includes: a payment application used by the second participant to pay for the target transaction, or the second participant executes the target transaction Trading application used.
  14. 一种发票请求处理装置,包括:An invoice request processing device, including:
    第一获取模块,用于获取针对目标交易的开票请求消息;所述开票请求消息用于请求所述目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息;The first acquisition module is used to obtain the invoicing request message for the target transaction; the invoicing request message is used to request the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant;
    确定模块,用于确定所述开票请求消息的发起时间;Determining module, used to determine the initiation time of the invoicing request message;
    第一判断模块,用于判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,得到第一判断结果;A first judgment module, used to judge whether the first participant has provided the invoice information to the second participant within a first period of time after the initiation time, and obtain a first judgment result;
    处理模块,用于若所述第一判断结果表示所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则对所述第一参与方进行处理。A processing module configured to, if the first judgment result indicates that the first participant does not provide the invoice information to the second participant within a first period of time after the initiation time, then the first participant side for processing.
  15. 如权利要求14所述的装置,所述第一获取模块,用于:The device according to claim 14, the first acquisition module is used for:
    获取针对目标交易的第一开票请求消息;所述第一开票请求消息是基于所述第二参与方针对目标应用处的第一开票控件的触发操作而生成的,所述第一开票控件是在所述目标交易处于已完成状态之后展示的控件;Obtain a first invoicing request message for the target transaction; the first invoicing request message is generated based on the second participant's triggering operation on the first invoicing control at the target application, and the first invoicing control is at The control displayed after the target transaction is in a completed state;
    所述确定模块,用于:The determination module is used for:
    确定所述触发操作的发生时间。Determine when the trigger operation occurs.
  16. 如权利要求14所述的装置,所述第一获取模块,用于:The device according to claim 14, the first acquisition module is used for:
    获取针对目标交易的第二开票请求消息;所述第二开票请求消息是基于所述目标交易变更为已完成状态的状态变更操作而生成的,所述目标交易为所述第二参与方针对目标应用处的第二开票控件执行了触发操作的交易,所述第二开票控件是在所述目标交易处于已完成状态之前展示的控件;Obtain a second invoicing request message for the target transaction; the second invoicing request message is generated based on the state change operation of changing the target transaction to the completed state, and the target transaction is the target of the second participant The second invoicing control at the application executes the transaction that triggered the operation, and the second invoicing control is a control displayed before the target transaction is in a completed state;
    所述确定模块,用于: The determination module is used for:
    确定所述状态变更操作的发生时间。Determine when the state change operation occurs.
  17. 如权利要求15或16所述的装置,还包括:The device of claim 15 or 16, further comprising:
    第二获取模块,用于获取所述第二参与方针对所述目标交易的发票变更请求消息;所述发票变更请求消息是基于所述第二参与方在所述目标应用处执行的发票信息变更操作而生成的,所述发票信息变更操作用于请求变更所述发票信息;The second acquisition module is used to obtain the invoice change request message of the second participant for the target transaction; the invoice change request message is based on the invoice information change performed by the second participant at the target application. Generated by an operation, the invoice information change operation is used to request changes to the invoice information;
    所述确定模块,用于:The determination module is used for:
    确定所述发票信息变更操作的发生时间。Determine the time when the invoice information change operation occurs.
  18. 如权利要求17所述的装置,还包括:The device of claim 17, further comprising:
    第三获取模块,用于获取所述第一参与方针对所述目标交易的拒绝开票指令;The third acquisition module is used to acquire the first participant's rejection of invoicing instructions for the target transaction;
    发送模块,用于响应于所述拒绝开票指令,发送开票变更提示信息至所述第二参与方的设备;所述开票变更提示信息用于提示所述第二参与方变更所述发票信息。A sending module, configured to send invoicing change prompt information to the device of the second participant in response to the invoicing rejection instruction; the invoicing change prompt information is used to prompt the second participant to change the invoice information.
  19. 如权利要求18所述的装置,还包括:The device of claim 18, further comprising:
    第二判断模块,用于判断是否在所述拒绝开票指令生成之后的第二时长内获取到所述发票变更请求消息,得到第二判断结果;The second judgment module is used to judge whether the invoice change request message is obtained within a second period of time after the rejection of invoicing instruction is generated, and obtain a second judgment result;
    禁止处理模块,用于若所述第二判断结果表示在所述拒绝开票指令生成之后的第二时长内未获取到所述发票变更请求消息,则禁止对所述第一参与方进行处理。A prohibition processing module configured to prohibit processing of the first participant if the second judgment result indicates that the invoice change request message is not obtained within a second period of time after the rejection of the invoicing instruction is generated.
  20. 如权利要求14所述的装置,所述第一判断模块,包括:The device according to claim 14, the first judgment module includes:
    第一判断单元,用于判断是否在所述发起时间之后的第一时长内,根据所述第一参与方的发票开具指令,生成了与所述目标交易对应的发票信息;A first judgment unit configured to judge whether invoice information corresponding to the target transaction is generated according to the invoice issuance instruction of the first participant within the first period of time after the initiation time;
    第二判断单元,用于判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了与所述目标交易对应的发票信息。The second judgment unit is used to judge whether the first participant has submitted the invoice information corresponding to the target transaction within the first period of time after the initiation time.
  21. 如权利要求20所述的装置,所述发票信息包括纸质发票;所述第一判断模块,还包括:The device according to claim 20, the invoice information includes a paper invoice; the first judgment module further includes:
    第三判断单元,用于判断是否在所述发起时间之后的第一时长内,所述第一参与方提交了针对所述纸质发票的交付证明信息。The third judgment unit is used to judge whether the first party has submitted the delivery proof information for the paper invoice within the first period of time after the initiation time.
  22. 如权利要求14所述的装置,所述处理模块,包括:The device according to claim 14, the processing module includes:
    确定单元,用于根据所述目标交易的交易信息,确定待转移资源量;A determining unit configured to determine the amount of resources to be transferred based on the transaction information of the target transaction;
    扣除单元,用于从所述第一参与方的资源池中,扣除所述待转移资源量的资源;A deducting unit configured to deduct the amount of resources to be transferred from the resource pool of the first participant;
    发放单元,用于发放所述待转移资源量的资源至所述第二参与方的账户。An issuing unit, configured to issue the amount of resources to be transferred to the account of the second participant.
  23. 如权利要求22所述的装置,还包括:The device of claim 22, further comprising:
    第三判断模块,用于判断所述开票请求消息是否满足拦截条件,得到第三判断结果;所述拦截条件包括:参与方身份条件、禁止开票条件及去重条件中的至少一种;The third judgment module is used to judge whether the invoicing request message satisfies the interception condition and obtain the third judgment result; the interception condition includes: at least one of the participant identity condition, the invoicing prohibition condition and the deduplication condition;
    所述处理模块,还用于:The processing module is also used for:
    若所述第三判断结果表示所述开票请求消息不满足拦截条件,则对所述第一参与方进行处理。If the third judgment result indicates that the invoicing request message does not meet the interception condition, the first participant is processed.
  24. 如权利要求15或16所述的装置,所述目标应用包括:所述第二参与方针对所述目标交易进行付款所使用的支付应用,或者,所述第二参与方执行所述目标交易所使用的交易应用。The device according to claim 15 or 16, the target application includes: a payment application used by the second participant to pay for the target transaction, or the second participant executes the target transaction Trading application used.
  25. 一种发票请求处理设备,包括:An invoice request processing device comprising:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
    获取针对目标交易的开票请求消息;所述开票请求消息用于请求所述目标交易的第一参与方向第二参与方提供与所述目标交易对应的发票信息; Obtain an invoicing request message for the target transaction; the invoicing request message is used to request the first participant of the target transaction to provide the invoice information corresponding to the target transaction to the second participant;
    确定所述开票请求消息的发起时间;Determine the initiation time of the invoicing request message;
    判断是否所述第一参与方在所述发起时间之后的第一时长内向所述第二参与方提供了所述发票信息,得到第一判断结果;Determine whether the first participant provides the invoice information to the second participant within a first period of time after the initiation time, and obtain a first judgment result;
    若所述第一判断结果表示所述第一参与方未在所述发起时间之后的第一时长内向所述第二参与方提供所述发票信息,则对所述第一参与方进行处理。 If the first judgment result indicates that the first participant does not provide the invoice information to the second participant within the first period of time after the initiation time, then the first participant is processed.
PCT/CN2023/094046 2022-05-27 2023-05-12 Invoice request processing method, apparatus and device WO2023226799A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210593337.2A CN114997938A (en) 2022-05-27 2022-05-27 Invoice request processing method, device and equipment
CN202210593337.2 2022-05-27

Publications (1)

Publication Number Publication Date
WO2023226799A1 true WO2023226799A1 (en) 2023-11-30

Family

ID=83029093

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/094046 WO2023226799A1 (en) 2022-05-27 2023-05-12 Invoice request processing method, apparatus and device

Country Status (2)

Country Link
CN (1) CN114997938A (en)
WO (1) WO2023226799A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114997938A (en) * 2022-05-27 2022-09-02 支付宝(杭州)信息技术有限公司 Invoice request processing method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954332A (en) * 2004-03-11 2007-04-25 Crs国际Ip有限公司 Method and system for advancing funds
US20090089209A1 (en) * 2007-09-28 2009-04-02 The Western Union Company Methods and systems for generating invoices
CN114140182A (en) * 2021-12-02 2022-03-04 拉扎斯网络科技(上海)有限公司 Information interaction method and device
CN114997938A (en) * 2022-05-27 2022-09-02 支付宝(杭州)信息技术有限公司 Invoice request processing method, device and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140258104A1 (en) * 2013-03-06 2014-09-11 Bottomline Technologies (De) Inc. Automatic payment component for an electronic invoice payment system
US10163082B1 (en) * 2015-10-26 2018-12-25 Intuit Inc. Gamification of fields in online e-commerce documents
CN111199436A (en) * 2019-12-31 2020-05-26 航天信息股份有限公司 Code scanning billing method and system based on mobile payment
CN111461798B (en) * 2020-03-31 2022-07-26 好活(昆山)网络科技有限公司 Big data-based ticket business processing method, device, medium and equipment for individual user

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954332A (en) * 2004-03-11 2007-04-25 Crs国际Ip有限公司 Method and system for advancing funds
US20090089209A1 (en) * 2007-09-28 2009-04-02 The Western Union Company Methods and systems for generating invoices
CN114140182A (en) * 2021-12-02 2022-03-04 拉扎斯网络科技(上海)有限公司 Information interaction method and device
CN114997938A (en) * 2022-05-27 2022-09-02 支付宝(杭州)信息技术有限公司 Invoice request processing method, device and equipment

Also Published As

Publication number Publication date
CN114997938A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
TWI756498B (en) Fallback processing method and device for asset transfer, and electronic equipment
TWI725355B (en) Fund circulation method and device, electronic equipment
WO2021244537A1 (en) Resource transfer
TW202001747A (en) A method and apparatus for finance loans
KR102150747B1 (en) Transaction information processing method and apparatus
US20130036047A1 (en) Method, system and process for centralized management and control of a budget and electronic mass distribution of funds
WO2022247961A1 (en) Withholding processing on basis of reimbursement code
WO2023226799A1 (en) Invoice request processing method, apparatus and device
TW201935373A (en) Tax refund method, apparatus and device
WO2023226847A1 (en) Invoicing delaying request processing methods, apparatuses and device
TWI701626B (en) Data service processing method and device
CN114926158A (en) Order payment method, device, storage medium and electronic equipment
WO2024152846A1 (en) Payment processing method and apparatus
KR102063877B1 (en) Method of managing a trust agreement and computer program stored on a computer readable storage medium for executing the method
JP7330412B1 (en) Information processing device, information processing method and information processing program
WO2023151438A1 (en) Payment interaction processing
US20230222462A1 (en) Digital engagement platform for payment solutions with cash-enabled multipay
US20130212003A1 (en) Mobile money order
US20240094960A1 (en) Systems and methods for real time access to external resource
JP7113955B1 (en) Information processing device, information processing method and information processing program
US11093887B2 (en) Managing disbursement signals at payment systems
WO2021218667A1 (en) Resource transfer task triggering
KR102337429B1 (en) Apparatus of providing settlement service for minor
CN113159747B (en) Management method, device and equipment for electronic traffic account
KR102236887B1 (en) A method and apparatus of transferring funds including fees and grant

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23810872

Country of ref document: EP

Kind code of ref document: A1