WO2019114424A1 - 电子发票生成方法及装置 - Google Patents

电子发票生成方法及装置 Download PDF

Info

Publication number
WO2019114424A1
WO2019114424A1 PCT/CN2018/111844 CN2018111844W WO2019114424A1 WO 2019114424 A1 WO2019114424 A1 WO 2019114424A1 CN 2018111844 W CN2018111844 W CN 2018111844W WO 2019114424 A1 WO2019114424 A1 WO 2019114424A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
merchant
target
electronic invoice
user
Prior art date
Application number
PCT/CN2018/111844
Other languages
English (en)
French (fr)
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 WO2019114424A1 publication Critical patent/WO2019114424A1/zh

Links

Images

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

Definitions

  • One or more embodiments of the present disclosure relate to the field of computer technologies, and in particular, to an electronic invoice generation method and apparatus.
  • a consumer can generate a corresponding payment order after performing the consumption and completing the payment. Thereafter, the payment system can issue an electronic invoice based on the payment order.
  • One or more embodiments of the present specification describe an electronic invoice generation method and apparatus that can improve general applicability.
  • an electronic invoice generation method comprising:
  • the electronic invoice generation request including user information of the user and a picture including the target consumption object
  • an electronic invoice generating apparatus including:
  • a receiving unit configured to receive an electronic invoice generation request, where the electronic invoice generation request includes user information of the user and a picture including the target consumption object;
  • An identifying unit configured to perform image recognition processing on the image received by the receiving unit to determine the target consumption object
  • An obtaining unit configured to acquire, according to the user information, location information service LBS information of the user;
  • a search unit configured to search for a merchant that matches the LBS information acquired by the acquiring unit, and determine the merchant information of the merchant;
  • the obtaining unit is further configured to acquire, according to the merchant information, a plurality of consumption objects and price information corresponding to the merchant;
  • a matching unit configured to match the target consumption object among the plurality of consumption objects acquired by the acquiring unit, to determine target price information of the target consumption object
  • a generating unit configured to generate an electronic invoice according to the user information, the merchant information, the target consumption object, and the target price information.
  • the electronic invoice generating method and apparatus receives a picture uploaded by a user and includes a target consumption object.
  • the image is subjected to image recognition processing to determine a target consumer object.
  • the matching merchants are searched. And obtain multiple message objects and prices corresponding to the merchant.
  • a target consumption object is matched from a plurality of consumption objects to determine target price information of the target consumption object.
  • a corresponding payment order is generated according to the target consumption object and the target price information. And generate a corresponding electronic invoice according to the payment order. That is, the embodiment of the present specification can also generate a corresponding electronic invoice without paying an order. Therefore, it has a higher universal applicability.
  • FIG. 1 is a schematic diagram of an application scenario of an electronic invoice generation method according to an embodiment of the present disclosure
  • FIG. 2 is a flow chart of a method for generating an electronic invoice according to an embodiment of the present specification
  • FIG. 3 is a schematic diagram of an electronic invoice generating apparatus according to an embodiment of the present specification.
  • the electronic invoice generating method provided by one embodiment of the present specification can be applied to the scenario shown in FIG. 1.
  • the merchant system can generate corresponding order data according to the user's consumption object and price information.
  • the merchant system can record the payment order.
  • the manner in which the user performs the payment operation may be various (eg, Alipay payment, WeChat payment, etc.).
  • the payment system of FIG. 1 (for example, may be an Alipay system) may receive a user's electronic invoice generation request, and send an electronic invoice invoicing application to the electronic invoice management system provided by the tax authority if the electronic invoice generation request is legal. .
  • the electronic invoice management system can generate a corresponding electronic invoice according to the application and return it to the payment system. Finally, the electronic invoice is presented to the user by the payment system.
  • the process for the payment system to verify the legality of the electronic invoice generation request may include determining whether a payment order corresponding to the electronic invoice generation request exists.
  • the determining step may include two aspects: In the first aspect, the payment system determines whether a corresponding payment order has been recorded in the storage system. In a second aspect, the payment system determines whether a corresponding payment order has been recorded in the merchant system. It can be understood that if any of the above two aspects is judged to be successful, the legality verification of the electronic invoice generation request is passed.
  • the corresponding payment order can be recorded in the storage system.
  • the user can upload information related to the payment order (eg, consumer objects and price information, etc.) to the payment system. Thereafter, the payment system matches the corresponding payment order from the merchant system based on the related information.
  • the process of verifying the legality may further include other steps, such as verifying the legitimacy of the user or verifying whether the merchant has applied for the electronic invoicing function in advance, and the description is not repeated herein.
  • the payment system in FIG. 1 can also interact with a third-party consumer review website, for example, obtaining a consumer object and price information provided by a merchant from a third-party consumer review website.
  • FIG. 2 is a flowchart of a method for generating an electronic invoice according to an embodiment of the present specification.
  • the execution body of the method may be a device having processing capabilities: a server or a system or device, such as the payment system of FIG. As shown in FIG. 2, the method may specifically include:
  • Step 210 Receive an electronic invoice generation request.
  • the electronic invoice generation request may include user information of the user and a picture containing the target consumption object.
  • the user information herein may include only the user identifier, and may also include the user identifier and other information, and the other information may refer to the user's name, address, and mobile phone number.
  • the target consumer object here can refer to all objects that can be consumed by the merchant. For example, it may be a dish that the user has eaten in a restaurant or a clothing purchased at a store.
  • the user can click the icon or text corresponding to “All” on the home page.
  • You can enter the "Invoice Manager” page by clicking the text or icon corresponding to "Invoice Manager” in the "Consumer Life” column of the page after the jump.
  • the user can upload an image containing the target consumer object (eg, a dish image, etc.), and can also fill in user information and the like. Thereafter, when the user clicks a button for indicating that the image upload is completed or the information is completed, such as "send" or "complete”, the Alipay system can receive the above electronic invoice generation request.
  • the user can upload an image or upload multiple images. Understandably, when only one image is uploaded, the image contains all the target consumers. For example, a picture contains all the dishes consumed by the user.
  • Step 220 Perform image recognition processing on the image to determine a target consumer object.
  • the picture may be subjected to deduplication processing before performing image recognition processing on the picture. This avoids the problem of repeated uploads by the user for the same picture. It should be noted that if there are cases where the target consumer objects are the same, for example, if the user orders two identical dishes, the two identical dishes can only be included in one picture.
  • the process of image recognition is the process of extracting the main features of an image in a picture. Taking the target consumer object as a dish as an example, the correspondence between the main features of the different dishes and the dish name can be stored in advance. After that, the feature extracted from the dish image can be compared with the feature in the corresponding relationship. If the comparison with any feature is successful, the dish identification in the dish image is successful, so that the dish corresponding to any feature can be selected.
  • the name is the result of the image recognition process.
  • each target consumption object is identified in turn.
  • the identification process of each target consumer object is as described above, and will not be described here.
  • Step 230 Acquire user location information service (LBS) information according to user information.
  • LBS user location information service
  • the LBS information here is used to indicate the current location of the user. Specifically, when the user logs in to the payment system through the mobile terminal, the LBS information of the user can be acquired. And the obtained LBS information is stored corresponding to the user identifier of the user. Then, when it is necessary to acquire the LBS information of the user, the corresponding LBS information can be read from the above correspondence according to the user information.
  • the method may further include the following steps: acquiring other information of the user according to the user identifier.
  • the correspondence between the other information and the user identification may be stored by the payment system when the user performs a registration operation.
  • the correspondence may be stored in a user information table.
  • Step 240 Search for a merchant that matches the LBS information, and determine the merchant information of the merchant.
  • the business information can include the name, address, and phone number of the merchant.
  • the restaurant whose location information is closest to the above LBS information can be used as a matching merchant.
  • Step 250 Acquire, according to the merchant information, a plurality of consumption objects and price information corresponding to the merchant.
  • the payment system can use the merchant information, the consumer object and the price information according to the merchant information.
  • the correspondence relationship multiple consumer objects and price information corresponding to the merchant are found.
  • the correspondence may be stored in a merchant information table. For example, you can find the full menu and price information provided by the restaurant from the merchant information form.
  • the payment system may send a consumer object acquisition request to the third party consumer review website, the consumption
  • the object acquisition request may include merchant information (eg, merchant name, etc.).
  • the third-party consumer review website obtains a plurality of consumer objects and price information corresponding to the merchant according to the merchant information.
  • the acquired consumer object and price information are then sent to the payment system.
  • the third party consumer review website can obtain the full amount of dishes and price information provided by the restaurant according to the name of the restaurant. The full amount of food and price information obtained is then sent to the payment system.
  • Step 260 Match the target consumption object from the plurality of consumption objects to determine target price information of the target consumption object.
  • the full amount of food and price information obtained by the payment system can be as shown in Table 1.
  • the dishes that the user has eaten include: "vinegar and potato” and "steamed squid", they can be matched to the fourth and fifth rows of Table 1, so that the dishes that the user has eaten can be determined.
  • the target price information is "15 yuan” and "30" yuan respectively.
  • Step 270 Generate an electronic invoice according to the user information, the merchant information, the target consumption object, and the target price information.
  • the payment system may further include, before generating the electronic invoice, a step of verifying whether the payment order corresponding to the target consumption object and the target price information exists through the merchant's merchant system, thereby confirming whether the current user has the qualification for invoicing.
  • the step is specifically: sending a verification request to the merchant's merchant system, and the verification request may include the target consumer object and the target price information.
  • the merchant system searches for matching payment orders based on the target consumer and target price information.
  • the merchant system sends a matching result to the payment system.
  • the payment system can create a corresponding payment order when it is determined that the matching result is a match.
  • the electricity invoice is generated based on the user information, the merchant information, the target consumer object, and the target price information.
  • the above-mentioned merchant system has a month-end audit function, that is, a user can be vetoed and permanently blacklisted for possible repeated billing.
  • the process of generating the electronic invoice in step 270 may be: generating an electronic invoice billing application according to the user information, the merchant information, the target consumption object, and the target price information.
  • the electronic invoice management system generates a corresponding electronic invoice.
  • the electronic invoice generated by the embodiment of the present specification is an electronic version of a traditional paper invoice, which also includes: user information, merchant information, consumption objects, and price information. It has the advantages of energy saving and environmental protection, reducing tax management costs, reducing business operating costs, and facilitating consumer rights protection.
  • the electronic invoice generating method may be based on a picture and a user including a target consumption object uploaded by the user when the payment system does not have a corresponding payment order, that is, when the user does not pay through the payment system.
  • the LBS information to generate the corresponding payment order.
  • An electronic invoice is generated based on the payment order.
  • the offline merchant system can help the user to open online and offline payment orders through the services and pictures provided by the Alipay invoice manager without the payment of Alipay payment. Generate an electronic invoice. Therefore, it has a wider range of applicable people and merchants.
  • an embodiment of the present specification further provides an electronic invoice generating device, as shown in FIG. 3, the device includes:
  • the receiving unit 301 is configured to receive an electronic invoice generation request, where the electronic invoice generation request includes user information of the user and a picture including the target consumption object.
  • the identifying unit 302 is configured to perform image recognition processing on the picture received by the receiving unit 301 to determine a target consumption object.
  • the identifying unit 302 is specifically configured to:
  • the obtaining unit 303 is configured to obtain the geographic location service LBS information of the user according to the user information.
  • the searching unit 304 is configured to search for a merchant that matches the LBS information acquired by the obtaining unit 303, and determine the merchant information of the merchant.
  • the obtaining unit 303 is further configured to acquire, according to the merchant information, a plurality of consumption objects and price information corresponding to the merchant.
  • the obtaining unit 303 is specifically configured to:
  • the consumer object acquisition request is used to instruct the third party consumer review website to obtain a plurality of consumer objects and price information corresponding to the merchant according to the merchant information.
  • the obtaining unit 303 is specifically configured to:
  • the merchant information from the correspondence between the merchant information and the consumption object and the price information, a plurality of consumption objects and price information corresponding to the merchant are searched.
  • the matching unit 305 is configured to match the target consumption object among the plurality of consumption objects acquired by the obtaining unit 303 to determine target price information of the target consumption object.
  • the generating unit 306 is configured to generate an electronic invoice according to the user information, the merchant information, the target consumption object, and the target price information.
  • the generating unit 306 is specifically configured to:
  • the payment order corresponding to the target consumer object and the target price information is verified by the merchant's merchant system.
  • an electronic invoice is generated based on the user information, the merchant information, the target consumer object, and the target price information.
  • the generating unit 306 is further specifically configured to:
  • An electronic invoice billing application is generated based on user information, merchant information, target consumer objects, and target price information.
  • An electronic invoice billing application is sent to the electronic invoice management system, and the electronic invoice billing application is used to instruct the electronic invoice management system to generate a corresponding electronic invoice.
  • the receiving unit 301 receives an electronic invoice generation request.
  • the recognition unit 302 performs image recognition processing on the picture to determine the target consumer object.
  • the obtaining unit 303 acquires the geographic location service LBS information of the user according to the user information.
  • the search unit 304 searches for a merchant that matches the LBS information and determines the merchant information of the merchant.
  • the obtaining unit 303 acquires a plurality of consumption objects and price information corresponding to the merchant according to the merchant information.
  • the matching unit 305 matches the target consumption object from the plurality of consumption objects to determine target price information of the target consumption object.
  • the generating unit 306 generates an electronic invoice based on the user information, the merchant information, the target consumption object, and the target price information. Therefore, the electronic invoice generating method provided by the embodiment of the present specification has higher universal applicability.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本说明书实施例提供一种电子发票生成方法及装置,在电子发票生成方法中,接收用户上传的包含目标消费对象的图片。对该图片进行图像识别处理,以确定目标消费对象。之后,根据该用户的LBS信息,搜索相匹配的商户。并获取与该商户对应的多个消息对象及价格。从多个消费对象中匹配目标消费对象,以确定目标消费对象的目标价格信息。根据目标消费对象及目标价格信息,生成对应的支付订单。并根据该支付订单生成对应的电子发票。

Description

电子发票生成方法及装置 技术领域
本说明书一个或多个实施例涉及计算机技术领域,尤其涉及一种电子发票生成方法及装置。
背景技术
传统技术中,消费者在进行消费后,并完成支付时,可以生成对应的支付订单。之后,支付系统可以根据该支付订单,开具电子发票。
但是,当支付系统获取不到支付订单(如,消费者进行支付的支付系统与开具电子发票的支付系统不同)时,就不能开具电子发票。因此,需要提供一种应用范围更广、更普遍地生成电子发票的方案。
发明内容
本说明书一个或多个实施例描述了一种电子发票生成方法及装置,可以提高普遍适用性。
第一方面,提供了一种电子发票生成方法,包括:
接收电子发票生成请求,所述电子发票生成请求包括用户的用户信息和包含目标消费对象的图片;
对所述图片进行图像识别处理,以确定所述目标消费对象;
根据所述用户信息,获取所述用户的地理位置服务LBS信息;
搜索与所述LBS信息相匹配的商户,并确定所述商户的商户信息;
根据所述商户信息,获取与所述商户对应的多个消费对象及价格信息;
从所述多个消费对象中匹配所述目标消费对象,以确定所述目标消费对象的目标价格信息;
根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信息,生成电子发票。
第二方面,提供了一种电子发票生成装置,包括:
接收单元,用于接收电子发票生成请求,所述电子发票生成请求包括用户的用户信息和包含目标消费对象的图片;
识别单元,用于对所述接收单元接收的所述图片进行图像识别处理,以确定所述目标消费对象;
获取单元,用于根据所述用户信息,获取所述用户的地理位置服务LBS信息;
搜索单元,用于搜索与所述获取单元获取的所述LBS信息相匹配的商户,并确定所述商户的商户信息;
所述获取单元,还用于根据所述商户信息,获取与所述商户对应的多个消费对象及价格信息;
匹配单元,用于从所述获取单元获取的所述多个消费对象中匹配所述目标消费对象,以确定所述目标消费对象的目标价格信息;
生成单元,用于根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信息,生成电子发票。
本说明书一个或多个实施例提供的电子发票生成方法及装置,接收用户上传的包含目标消费对象的图片。对该图片进行图像识别处理,以确定目标消费对象。之后,根据该用户的LBS信息,搜索相匹配的商户。并获取与该商户对应的多个消息对象及价格。从多个消费对象中匹配目标消费对象,以确定目标消费对象的目标价格信息。根据目标消费对象及目标价格信息,生成对应的支付订单。并根据该支付订单生成对应的电子发票。也即,本说明书实施例在没有支付订单的情况下,也可以生成对应的电子发票。因此,具有更高的普遍适用性。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本说明书一个实施例提供的电子发票生成方法的应用场景示意图;
图2为本说明书一个实施例提供的电子发票生成方法流程图;
图3为本说明书一个实施例提供的电子发票生成装置示意图。
具体实施方式
下面结合附图,对本说明书提供的方案进行描述。
本说明书一个实施例提供的电子发票生成方法可以应用于如图1所示的场景中,图1中,商户系统可以根据用户的消费对象以及价格信息,来生成对应的订单数据。当用户针对该订单数据,执行对应的支付操作并生成对应的支付订单时,商户系统可以记录该支付订单。此处,用户执行支付操作的方式可以有多种(如,支付宝支付、微信支付等等)。图1中的支付系统(例如,可以为支付宝系统)可以接收用户的电子发票生成请求,并在该电子发票生成请求合法的情况下,向由税务机关提供的电子发票管理系统发送电子发票开票申请。电子发票管理系统可以根据该申请,生成对应的电子发票,并返回给支付系统。最后,由支付系统向用户展示该电子发票。
图1中,支付系统验证电子发票生成请求合法性的过程可以包括:判断该电子发票生成请求对应的支付订单是否存在。该判断步骤可以包括两方面:第一方面,支付系统判断存储系统中是否已经记录了对应的支付订单。第二方面,支付系统判断商户系统中是否已经记录了对应的支付订单。可以理解的是,上述两个方面中任一方面判断成功,则对电子发票生成请求的合法性验证通过。
需要说明的是,对于上述第一方面,当用户通过该支付系统支付订单数据时,其在存储系统中就可以记录对应的支付订单。对于上述第二方面,用户可以向支付系统上传与支付订单相关的信息(如,消费对象及价格信息等)。之后,由支付系统根据该相关信息,从商家系统中匹配对应的支付订单。
当然,在实际应用中,上述合法性验证的过程还可以包括其它步骤,如,验证用户的合法性或验证商户是否预先申请了电子发票功能等,本说明书在此不复赘述。
此外,图1中的支付系统还可以与第三方消费点评网站进行交互,如,从第三方消费点评网站获取某个商户提供的消费对象及价格信息等。
图2为本说明书一个实施例提供的电子发票生成方法流程图。所述方法的执行主体可以为具有处理能力的设备:服务器或者系统或者装置,如,图1中的支付系统。如图2所示,所述方法具体可以包括:
步骤210,接收电子发票生成请求。
该电子发票生成请求可以包括用户的用户信息和包含目标消费对象的图片。此处的用户信息可以只包括用户标识,也可以同时包括用户标识及其它信息,该其它信息可以是指用户的名称、地址以及手机号码等信息。
此处的目标消费对象可以是指由商户提供的一切可以消费的对象。如,可以为用户在餐厅吃过的菜品或者在商店购买的衣服等。
以用户通过支付宝系统生成电子发票为例来说,用户可以在首页页面点击“全部”对应的图标或者文字。在跳转之后的页面的“便民生活”一栏中点击“发票管家”对应的文字或者图标,就可进入到“发票管家”页面。在该页面,用户可以上传包含目标消费对象的图片(如,菜品图片等),还可以填写用户信息等。之后,当用户点击“发送”或者“完成”等用于表示图片上传完成或者信息填写完成的按钮时,支付宝系统就可以接收到上述电子发票生成请求。
在上述例子中,用户可以上传一张图片,也可以上传多张图片。可以理解的是,当只上传一张图片时,该图片包含了所有的目标消费对象。如,一张图片包含了用户消费的所有菜品。
步骤220,对图片进行图像识别处理,以确定目标消费对象。
在该步骤中,如果接收的图片为多个,则在对图片进行图像识别处理之前,可以先对图片进行去重处理。由此来避免针对同一张图片,用户重复上传的问题。需要说明的是,如果有目标消费对象相同的情况,如,用户点了两款一样的菜品,则该两款一样的菜品只能包含在一张图片中。
图像识别的过程是提取图片中图像的主要特征的过程。以目标消费对象为菜品为例来说,可以预先存储不同菜品的主要特征与菜品名称之间的对应关系。之后,可以将从菜品图片中提取的特征与上述对应关系中的特征进行比对,若与任一特征比对成功,则菜品图片中的菜品识别成功,从而可以将该任一特征对应的菜品名称作为图像识别处理的结果。
需要说明的是,如果同一张图片中包含了多个目标消费对象,则依次识别各个目标消费对象。其中每个目标消费对象的识别过程如上所述,在此不复赘述。
步骤230,根据用户信息,获取用户的地理位置服务(Location Based Services,LBS)信息。
此处的LBS信息用于表示用户的当前位置。具体地,当用户通过移动终端登录支付系统时,就可以获取用户的LBS信息。并将获取的LBS信息与该用户的用户标识进行对应存储。之后,当需要获取用户的LBS信息时,就可以根据用户信息,从上述对应关系中读取对应的LBS信息。
需要说明的是,当用户信息只包括用户标识时,在步骤230之前或者之后,还可以包括如下步骤:根据用户标识,获取用户的其它信息。该其它信息与用户标识的对应关系可以由支付系统在用户执行注册操作时存储的。在一种具体实现方式中,该对应关系可以存储在用户信息表中。
步骤240,搜索与LBS信息相匹配的商户,并确定商户的商户信息。
此处,商户信息可以包括商户的名称、地址以及电话等。
当图片中的目标消费对象为菜品时,则位置信息与上述LBS信息最相近的餐厅可以作为相匹配的商户。
步骤250,根据商户信息,获取与商户对应的多个消费对象及价格信息。
在该步骤中,可以通过两种方式来获取与商户对应的多个消费对象及价格信息:
第一种方式,当上述商户预先向支付系统申请了电子发票功能,且填写了该商户所提供的消费对象及价格信息时,支付系统可以根据商户信息,从商户信息与消费对象及价格信息的对应关系中,查找与商户对应的多个消费对象及价格信息。在一种具体实现方式中,该对应关系可以存储在商户信息表中。如可以从商户信息表中查找该餐厅提供的全量菜品及价格信息。
第二种方式,当上述商户预先向支付系统申请了电子发票功能,但未填写该商户所提供的消费对象及价格信息时,支付系统可以向第三方消费点评网站发送消费对象获取请求,该消费对象获取请求可以包括商户信息(如,商户名称等)。第三方消费点评网站根据商户信息,获取与商户对应的多个消费对象及价格信息。之后将获取的消费对象及价格信息发送给支付系统。如前述例子,第三方消费点评网站可以根据餐厅的名称,获取餐厅提供的全量菜品及价格信息。之后将获取的全量菜品及价格信息发送给支付系统。
步骤260,从多个消费对象中匹配目标消费对象,以确定目标消费对象的目标价格信息。
以目标消费对象为菜品为例来说,支付系统获取的全量菜品及价格信息可以如表1所示。
表1
菜品名称 价格信息
西红柿炒鸡蛋 18元
糖醋里脊 20元
清蒸鲈鱼 30元
醋溜土豆丝 15元
... ...
而假设用户吃过的菜品(也即目标消费对象)包括:“醋溜土豆丝”和“清蒸鲈鱼”,则可以匹配到表1的第四行和第五行,从而可以确定用户吃过的菜品的目标价格信息分别为“15元”和“30”元。
步骤270,根据用户信息、商户信息、目标消费对象及目标价格信息,生成电子发票。
此处,支付系统在生成电子发票之前,还可以包括通过商户的商户系统验证与目标消费对象及目标价格信息对应的支付订单是否存在的步骤,由此来确认当前用户是否具有开票资格。该步骤具体为:向商户的商户系统发送验证请求,该验证请求可以包括目标消费对象及目标价格信息。商户系统根据目标消费对象及目标价格信息,搜索相匹配的支付订单。商户系统向支付系统发送匹配结果。支付系统在确定匹配结果为相匹配时,可以创建对应的支付订单。并根据用户信息、商户信息、目标消费对象及目标价格信息,生成电子发票。
需要说明的是,上述商户系统具有月终审核功能,即可以针对可能的重复开票等用户,可以进行否决与永久黑名单。
步骤270中生成电子发票的过程可以为:根据用户信息、商户信息、目标消费对象及目标价格信息,生成电子发票开票申请。向电子发票管理系统发送电子发票开票申请。电子发票管理系统生成对应的电子发票。接收电子发票,并向用户展示该电子发票。
需要说明的是,本说明书实施例生成的电子发票即为传统纸质发票的电子版本,其同样包括:用户信息、商户信息、消费对象及价格信息等内容。其具有节能环保、降低税务管理成本、降低企业运营成本以及便于消费者维权等优点。
综上,本说明书实施例提供的电子发票生成方法,在支付系统不存在对应的支付订单时,也即在用户没有通过该支付系统支付时,可以根据用户上传的包含目标消费对象的图片和用户的LBS信息,来生成对应的支付订单。并根据该支付订单生成电子发票。以支付系统为支付宝系统为例来说,通过上述方法可以针对线下商户系统在未接入支付宝支付的情况下,帮助用户通过支付宝发票管家提供的服务和图片打通线上线下的支付订单,直接生成电子发票。从而具有更广的适用人群和商户范围。
与上述电子发票生成方法对应地,本说明书一个实施例还提供的一种电子发票生成装置,如图3所示,该装置包括:
接收单元301,用于接收电子发票生成请求,该电子发票生成请求包括用户的用户信息和包含目标消费对象的图片。
识别单元302,用于对接收单元301接收的图片进行图像识别处理,以确定目标消费对象。
可选地,识别单元302具体可以用于:
对多个图片进行去重处理。
对去重处理后的多个图片进行图像识别处理。
获取单元303,用于根据用户信息,获取用户的地理位置服务LBS信息。
搜索单元304,用于搜索与获取单元303获取的LBS信息相匹配的商户,并确定商户的商户信息。
获取单元303,还用于根据商户信息,获取与商户对应的多个消费对象及价格信息。
可选地,获取单元303具体可以用于:
向第三方消费点评网站发送消费对象获取请求,该消费对象获取请求包括商户信息。消费对象获取请求用于指示第三方消费点评网站根据商户信息,获取与商户对应的多个消费对象及价格信息。
接收与商户对应的多个消费对象及价格信息。
可选地,获取单元303具体可以用于:
根据商户信息,从商户信息与消费对象及价格信息的对应关系中,查找与商户对应的多个消费对象及价格信息。
匹配单元305,用于从获取单元303获取的多个消费对象中匹配目标消费对象,以确定目标消费对象的目标价格信息。
生成单元306,用于根据用户信息、商户信息、目标消费对象及目标价格信息,生成电子发票。
可选地,生成单元306具体可以用于:
通过商户的商户系统验证与目标消费对象及目标价格信息对应的支付订单是否存在。
若是,则根据用户信息、商户信息、目标消费对象及目标价格信息,生成电子发票。
可选地,生成单元306还具体可以用于:
根据用户信息、商户信息、目标消费对象及目标价格信息,生成电子发票开票申请。
向电子发票管理系统发送电子发票开票申请,电子发票开票申请用于指示电子发票管理系统生成对应的电子发票。
接收电子发票,并向用户展示所述电子发票。
本说明书上述实施例装置的各功能模块的功能,可以通过上述方法实施例的各步骤来实现,因此,本说明书一个实施例提供的装置的具体工作过程,在此不复赘述。
本说明书一个实施例提供的电子发票生成装置,接收单元301于接收电子发票生成请求。识别单元302对图片进行图像识别处理,以确定目标消费对象。获取单元303根据用户信息,获取用户的地理位置服务LBS信息。搜索单元304搜索与LBS信息相匹配的商户,并确定商户的商户信息。获取单元303根据商户信息,获取与商户对应的多个消费对象及价格信息。匹配单元305从多个消费对象中匹配目标消费对象,以确定目标消费对象的目标价格信息。生成单元306根据用户信息、商户信息、目标消费对象及目标价格信息,生成电子发票。由此,本说明书实施例提供的电子发票生成方法具有更高的普遍适用性。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详 细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。

Claims (12)

  1. 一种电子发票生成方法,其特征在于,包括:
    接收电子发票生成请求,所述电子发票生成请求包括用户的用户信息和包含目标消费对象的图片;
    对所述图片进行图像识别处理,以确定所述目标消费对象;
    根据所述用户信息,获取所述用户的地理位置服务LBS信息;
    搜索与所述LBS信息相匹配的商户,并确定所述商户的商户信息;
    根据所述商户信息,获取与所述商户对应的多个消费对象及价格信息;
    从所述多个消费对象中匹配所述目标消费对象,以确定所述目标消费对象的目标价格信息;
    根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信息,生成电子发票。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述商户信息,获取与所述商户对应的多个消费对象及价格信息,包括:
    向第三方消费点评网站发送消费对象获取请求,所述消费对象获取请求包括所述商户信息;所述消费对象获取请求用于指示所述第三方消费点评网站根据所述商户信息,获取与所述商户对应的多个消费对象及价格信息;
    接收与所述商户对应的多个消费对象及价格信息。
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述商户信息,获取与所述商户对应的多个消费对象及价格信息,包括:
    根据所述商户信息,从商户信息与消费对象及价格信息的对应关系中,查找与所述商户对应的多个消费对象及价格信息。
  4. 根据权利要求1所述的方法,其特征在于,当所述图片的个数为多个时,所述对所述图片进行图像识别处理包括:
    对多个图片进行去重处理;
    对去重处理后的多个图片进行图像识别处理。
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信息,生成电子发票包括:
    通过所述商户的商户系统验证与所述目标消费对象及所述目标价格信息对应的支付订单是否存在;
    若是,则根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信 息,生成电子发票。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信息,生成电子发票,包括:
    根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信息,生成电子发票开票申请;
    向电子发票管理系统发送所述电子发票开票申请,所述电子发票开票申请用于指示所述电子发票管理系统生成对应的电子发票;
    接收所述电子发票,并向所述用户展示所述电子发票。
  7. 一种电子发票生成装置,其特征在于,包括:
    接收单元,用于接收电子发票生成请求,所述电子发票生成请求包括用户的用户信息和包含目标消费对象的图片;
    识别单元,用于对所述接收单元接收的所述图片进行图像识别处理,以确定所述目标消费对象;
    获取单元,用于根据所述用户信息,获取所述用户的地理位置服务LBS信息;
    搜索单元,用于搜索与所述获取单元获取的所述LBS信息相匹配的商户,并确定所述商户的商户信息;
    所述获取单元,还用于根据所述商户信息,获取与所述商户对应的多个消费对象及价格信息;
    匹配单元,用于从所述获取单元获取的所述多个消费对象中匹配所述目标消费对象,以确定所述目标消费对象的目标价格信息;
    生成单元,用于根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信息,生成电子发票。
  8. 根据权利要求7所述的装置,其特征在于,所述获取单元具体用于:
    向第三方消费点评网站发送消费对象获取请求,所述消费对象获取请求包括所述商户信息;所述消费对象获取请求用于指示所述第三方消费点评网站根据所述商户信息,获取与所述商户对应的多个消费对象及价格信息;
    接收与所述商户对应的多个消费对象及价格信息。
  9. 根据权利要求7所述的装置,其特征在于,所述获取单元具体用于:
    根据所述商户信息,从商户信息与消费对象及价格信息的对应关系中,查找与所述商户对应的多个消费对象及价格信息。
  10. 根据权利要求7所述的装置,其特征在于,所述识别单元具体用于:
    对多个图片进行去重处理;
    对去重处理后的多个图片进行图像识别处理。
  11. 根据权利要求7所述的装置,其特征在于,所述生成单元具体用于:
    通过所述商户的商户系统验证与所述目标消费对象及所述目标价格信息对应的支付订单是否存在;
    若是,则根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信息,生成电子发票。
  12. 根据权利要求7-11任一项所述的装置,其特征在于,所述生成单元还具体用于:
    根据所述用户信息、所述商户信息、所述目标消费对象及所述目标价格信息,生成电子发票开票申请;
    向电子发票管理系统发送所述电子发票开票申请,所述电子发票开票申请用于指示所述电子发票管理系统生成对应的电子发票;
    接收所述电子发票,并向所述用户展示所述电子发票。
PCT/CN2018/111844 2017-12-14 2018-10-25 电子发票生成方法及装置 WO2019114424A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711340440.1 2017-12-14
CN201711340440.1A CN107993106B (zh) 2017-12-14 2017-12-14 电子发票生成方法及装置

Publications (1)

Publication Number Publication Date
WO2019114424A1 true WO2019114424A1 (zh) 2019-06-20

Family

ID=62038539

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/111844 WO2019114424A1 (zh) 2017-12-14 2018-10-25 电子发票生成方法及装置

Country Status (3)

Country Link
CN (1) CN107993106B (zh)
TW (1) TWI724331B (zh)
WO (1) WO2019114424A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107993106B (zh) * 2017-12-14 2020-04-10 阿里巴巴集团控股有限公司 电子发票生成方法及装置
CN109146030B (zh) * 2018-08-17 2021-02-19 创新先进技术有限公司 一种低碳消费的识别方法、装置及电子设备
CN110910560B (zh) * 2018-09-12 2021-10-22 阿里巴巴集团控股有限公司 发票信息处理方法、装置及系统
CN111768546A (zh) * 2020-06-30 2020-10-13 新奥(中国)燃气投资有限公司 对异常企业发票自动预警的方法、装置及系统
CN112288502B (zh) * 2020-11-02 2023-01-10 支付宝(杭州)信息技术有限公司 电子乘车发票处理方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8543504B1 (en) * 2011-03-30 2013-09-24 Jpmorgan Chase Bank, N.A. Systems and methods for automated invoice entry
CN104680381A (zh) * 2013-12-03 2015-06-03 航天信息软件技术有限公司 一种基于erp系统快速生成电子发票的方法和系统
CN106920133A (zh) * 2015-12-28 2017-07-04 航天信息股份有限公司 一种基于刷卡消费的发票开具方法与系统
CN107133831A (zh) * 2017-05-12 2017-09-05 百望电子发票数据服务有限公司 一种自助开具电子发票的方法及系统
CN107993106A (zh) * 2017-12-14 2018-05-04 阿里巴巴集团控股有限公司 电子发票生成方法及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8224078B2 (en) * 2000-11-06 2012-07-17 Nant Holdings Ip, Llc Image capture and identification system and process
US9195898B2 (en) * 2009-04-14 2015-11-24 Qualcomm Incorporated Systems and methods for image recognition using mobile devices
CN102063436A (zh) * 2009-11-18 2011-05-18 腾讯科技(深圳)有限公司 一种利用终端获取图像实现商品信息搜索的系统及方法
US9092770B2 (en) * 2013-02-07 2015-07-28 Securecheck, Llc Apparatus, system and method for stimulating and securing retail transactions
US10304122B2 (en) * 2013-05-30 2019-05-28 Ebay Inc. Time- and geolocation-limited marketplace
US10217133B2 (en) * 2013-07-19 2019-02-26 Paypal, Inc. Reverse showrooming and merchant-customer engagement system
US20150039471A1 (en) * 2013-08-01 2015-02-05 Trace and Trust, Inc. System for Verifying Source of Food and Providing Customized Information with Respect Thereto
CN104835033A (zh) * 2015-05-14 2015-08-12 北京超赞捷通网络科技有限公司 基于移动定位技术的快速购物方法
CN105653636B (zh) * 2015-12-25 2020-07-28 北京搜狗科技发展有限公司 一种信息处理方法和装置、一种用于信息处理的装置
EP3420520A4 (en) * 2016-02-26 2019-10-23 Imagr Limited SYSTEM AND METHODS FOR PERFORMING PURCHASES IN A PHYSICAL STORE

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8543504B1 (en) * 2011-03-30 2013-09-24 Jpmorgan Chase Bank, N.A. Systems and methods for automated invoice entry
CN104680381A (zh) * 2013-12-03 2015-06-03 航天信息软件技术有限公司 一种基于erp系统快速生成电子发票的方法和系统
CN106920133A (zh) * 2015-12-28 2017-07-04 航天信息股份有限公司 一种基于刷卡消费的发票开具方法与系统
CN107133831A (zh) * 2017-05-12 2017-09-05 百望电子发票数据服务有限公司 一种自助开具电子发票的方法及系统
CN107993106A (zh) * 2017-12-14 2018-05-04 阿里巴巴集团控股有限公司 电子发票生成方法及装置

Also Published As

Publication number Publication date
TWI724331B (zh) 2021-04-11
TW201928837A (zh) 2019-07-16
CN107993106A (zh) 2018-05-04
CN107993106B (zh) 2020-04-10

Similar Documents

Publication Publication Date Title
WO2019114424A1 (zh) 电子发票生成方法及装置
CN109325729B (zh) 一种生成电子合同的方法及服务器
US9792618B1 (en) Delivering promotions associated with user profiles through multiple digital channels associated with the user profiles
US11004130B2 (en) Computer implemented method, an apparatus and a non transitory computer readable storage medium for verifying reviews on a blockchain
CN109740317A (zh) 一种基于区块链的数字指纹存证方法及装置
US9268763B1 (en) Automatic interpretive processing of electronic transaction documents
US20130218796A1 (en) Securing User Information
US10528626B2 (en) Document processing
WO2019241153A1 (en) Attention application user classification privacy
US20140108210A1 (en) Systems and Methods for Expense Management
CN110148014B (zh) 信息处理方法、装置、区块链节点设备及存储介质
US8756100B1 (en) Facilitating purchase of excess items
WO2019128503A1 (zh) 基于服务识别码的门店订单处理方法以及装置
US20220414698A1 (en) System and methods for using enhanced qr codes in a call to action
CN113487370A (zh) 一种广告投放方法、装置、计算机设备和存储介质
US10628864B2 (en) System and method for constructing e-commerce webpages for purchase decision and offer generation
CN110858209B (zh) 业务对象访问/发布方法、装置、系统及电子设备
US10198415B2 (en) Webform monitoring
CA3022614C (en) Method and device for pushing electronic transaction certificate
Zhang et al. Exploring the successful paths of smart communities development: a QCA study
US11651098B2 (en) Methods and systems for generating recommendations based on non-delineated encrypted records collected by a data aggregation service during communications between users and content sources
US20230289425A1 (en) System and methods for secure interactions using personal non - fungible tokens
US20230394594A1 (en) Influencer Tracking and Rating System
CN107402825A (zh) 软件服务的实现方法和装置
CN113515332B (zh) 一种数据生成方法、装置、设备及存储介质

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: 18889580

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18889580

Country of ref document: EP

Kind code of ref document: A1