CN110443659A - Method and system for generating an invoice - Google Patents
Method and system for generating an invoice Download PDFInfo
- Publication number
- CN110443659A CN110443659A CN201910725851.5A CN201910725851A CN110443659A CN 110443659 A CN110443659 A CN 110443659A CN 201910725851 A CN201910725851 A CN 201910725851A CN 110443659 A CN110443659 A CN 110443659A
- Authority
- CN
- China
- Prior art keywords
- invoice
- information data
- merchant
- preset
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
- G06K17/0025—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Development Economics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种互联网信息领域,特别是涉及一种发票生成方法和系统。The invention relates to the field of Internet information, in particular to an invoice generation method and system.
背景技术Background technique
微信作为一种活跃用户量巨大的应用平台,其用户的数量及其产生的信息数据量极为庞大,如何有效的借助这个体量巨大的用户群及其产生的信息数据,以使其成为企业业务发展可以利用的有效资源,一直是本领域的一个重要课题。As an application platform with a huge number of active users, WeChat has an extremely large number of users and the amount of information and data generated. How to effectively use this huge user group and the information and data generated to make it an enterprise business The development of effective resources that can be utilized has always been an important topic in this field.
现有技术中,微信发票助手小程序可以用来协助用户和企业开具发票的效率。In the prior art, the WeChat invoice assistant applet can be used to assist users and enterprises in issuing invoices efficiently.
发明人经过研究发现,现有技术中通过的微信小程序提高生成发票的方式中,需要用户在移动终端进行多次的操作并向商户出示手机中的发票信息,商户需要通过相应的设备进行识别后才能够为用户开出发票,因此,还是存在效率低下和手续繁琐的缺陷。After research, the inventor found that in the way of generating invoices through the WeChat applet in the prior art, the user needs to perform multiple operations on the mobile terminal and show the invoice information in the mobile phone to the merchant, and the merchant needs to identify it through the corresponding equipment After the invoice can be issued to the user, therefore, there are still defects of low efficiency and cumbersome procedures.
公开于该背景技术部分的信息仅仅旨在增加对本发明的总体背景的理解,而不应当被视为承认或以任何形式暗示该信息构成已为本领域一般技术人员所公知的现有技术。The information disclosed in this Background section is only for enhancing the understanding of the general background of the present invention and should not be taken as an acknowledgment or any form of suggestion that the information constitutes the prior art that is already known to those skilled in the art.
发明内容Contents of the invention
本发明的目的在于提供了发票生成方法和系统,从而克服现有技术中开具发票时效率低下和手续繁琐的缺点。The object of the present invention is to provide an invoice generation method and system, thereby overcoming the disadvantages of low efficiency and cumbersome procedures in issuing invoices in the prior art.
为实现上述目的,根据本发明的第一方面,本发明提供了一种发票生成方法,包括步骤:In order to achieve the above purpose, according to the first aspect of the present invention, the present invention provides a method for generating an invoice, comprising steps:
预设阶段:Preset stage:
通过预设移动终端扫描为商户分配的桌牌中所包括的实体二维码获取二维码数据;通过所述预设移动终端从所述商户的营业执照中识别和获取企业信息数据;所述企业信息数据包括开具发票所需的企业信息;在安装有发票软件的PC端安装预设的发票辅助模块;所述发票辅助模块通过其设备识别单元获取所述PC端的设备识别码;Scan the physical two-dimensional code included in the table card assigned to the merchant through the preset mobile terminal to obtain the two-dimensional code data; identify and obtain enterprise information data from the business license of the merchant through the preset mobile terminal; the said The enterprise information data includes the required enterprise information for issuing invoices; a preset invoice auxiliary module is installed on the PC end with invoice software installed; the invoice auxiliary module obtains the device identification code of the PC end through its equipment identification unit;
服务器端获取所述商户的所述企业信息数据、所述二维码数据和所述设备识别码,并在预设数据库生成与所述商户对应的商户信息数据;所述商户信息数据包括所述商户的企业信息数据、二维码数据、设备识别码和商户识别码;The server acquires the enterprise information data, the two-dimensional code data and the device identification code of the merchant, and generates merchant information data corresponding to the merchant in a preset database; the merchant information data includes the Merchant's enterprise information data, QR code data, device identification code and merchant identification code;
发票生成阶段:Invoice generation stage:
用户移动终端通过扫描所述桌牌中的实体二维码启动预设的第一微信小程序;所述第一微信小程序用于获取所述实体二维码中的二维码数据,以及,获取预设的发票信息数据,并将所述二维码数据和发票信息数据发送至所述服务器端;所述发票信息数据包括发票抬头和纳税人识别号;The user's mobile terminal starts a preset first WeChat applet by scanning the entity two-dimensional code in the table card; the first WeChat applet is used to obtain the two-dimensional code data in the entity two-dimensional code, and, Obtain preset invoice information data, and send the two-dimensional code data and invoice information data to the server; the invoice information data includes invoice title and taxpayer identification number;
所述服务器端根据接收自所述用户移动终端的二维码数据和发票信息数据确定对应的商户识别码和设备识别码,并将所述发票信息数据发送至与所述设备识别码对应的PC端的发票辅助模块;所述发票辅助模块通过其自动填写单元将所述发票信息数据填充至所述发票软件中预设的栏目中。The server side determines the corresponding merchant identification code and device identification code according to the two-dimensional code data and invoice information data received from the user's mobile terminal, and sends the invoice information data to the PC corresponding to the device identification code The invoice auxiliary module at the end; the invoice auxiliary module fills the invoice information data into the preset columns in the invoice software through its automatic filling unit.
进一步,上述技术方案中,所述发票辅助模块通过其自动填写单元将所述发票信息数据填充至所述发票软件中预设的栏目中,包括:Further, in the above technical solution, the invoice auxiliary module fills the invoice information data into the preset columns in the invoice software through its automatic filling unit, including:
检测发票软件的开票窗口是否为打开状态,Detect whether the billing window of the billing software is open,
如果是,将所述发票信息数据填充至所述开票窗口的预设的栏目中。If so, filling the invoice information data into a preset column of the billing window.
进一步,上述技术方案中,所述通过所述预设移动终端从所述商户的营业执照中识别和获取企业信息数据,包括:Further, in the above technical solution, the identification and acquisition of enterprise information data from the business license of the merchant through the preset mobile terminal includes:
拍摄所述商户的营业执照的照片;Take a photograph of the business license of said business;
从所述照片中通过文字识别获取企业信息数据。Obtain enterprise information data from the photos through text recognition.
进一步,上述技术方案中,所述获取预设的发票信息数据,包括:Further, in the above technical solution, the acquisition of preset invoice information data includes:
获取微信发票助手小程序中的发票信息数据。Obtain the invoice information data in the WeChat Invoice Assistant applet.
根据本发明的另一方面,本发明还提供了一种发票生成系统,包括:预设移动终端、安装有发票软件的PC端、服务器端和用户移动终端;According to another aspect of the present invention, the present invention also provides an invoice generation system, comprising: a preset mobile terminal, a PC terminal with invoice software installed, a server terminal and a user mobile terminal;
所述预设移动终端的信息获取模块用于通过扫描为商户分配的桌牌中所包括的实体二维码获取二维码数据;从所述商户的营业执照中识别和获取企业信息数据;所述企业信息数据包括开具发票所需的企业信息;The information acquisition module of the preset mobile terminal is used to obtain two-dimensional code data by scanning the entity two-dimensional code included in the table card assigned to the merchant; identify and obtain enterprise information data from the business license of the merchant; all The above enterprise information data includes the enterprise information required for issuing invoices;
所述PC端安装有预设的发票辅助模块;所述发票辅助模块通过其设备识别单元获取所述PC端的设备识别码;The PC end is equipped with a preset invoice auxiliary module; the invoice auxiliary module obtains the device identification code of the PC end through its device identification unit;
所述服务器端包括数据关联单元,用于根据获取自所述预设移动终端的所述商户的所述企业信息数据、所述二维码数据和所述设备识别码,在预设数据库生成与所述商户对应的商户信息数据;所述商户信息数据包括所述商户的企业信息数据、二维码数据、设备识别码和商户识别码;The server end includes a data association unit, which is used to generate and match in a preset database according to the enterprise information data, the two-dimensional code data, and the device identification code obtained from the preset mobile terminal. Merchant information data corresponding to the merchant; the merchant information data includes enterprise information data, two-dimensional code data, device identification code and merchant identification code of the merchant;
所述用户移动终端包括能够通过扫描所述桌牌中的实体二维码实现启动的第一微信小程序;所述第一微信小程序用于获取所述实体二维码中的二维码数据,以及,获取预设的发票信息数据,并将所述二维码数据和发票信息数据发送至所述服务器端;所述发票信息数据包括发票抬头和纳税人识别号;The user mobile terminal includes a first WeChat applet that can be started by scanning the entity two-dimensional code in the table card; the first WeChat applet is used to obtain the two-dimensional code data in the entity two-dimensional code , and, obtaining preset invoice information data, and sending the two-dimensional code data and invoice information data to the server; the invoice information data includes an invoice header and a taxpayer identification number;
所述服务器端根据接收自所述用户移动终端的二维码数据和发票信息数据确定对应的商户识别码和设备识别码,并将所述发票信息数据发送至与所述设备识别码对应的PC端的发票辅助模块;所述发票辅助模块通过其自动填写单元将所述发票信息数据填充至所述发票软件中预设的栏目中。The server side determines the corresponding merchant identification code and device identification code according to the two-dimensional code data and invoice information data received from the user's mobile terminal, and sends the invoice information data to the PC corresponding to the device identification code The invoice auxiliary module at the end; the invoice auxiliary module fills the invoice information data into the preset columns in the invoice software through its automatic filling unit.
进一步,上述技术方案中,所述自动填写单元包括:Further, in the above technical solution, the automatic filling unit includes:
监测组件,用于检测发票软件的开票窗口是否为打开状态,The monitoring component is used to detect whether the billing window of the billing software is open,
填写组件,用于当监测结果为是时,将所述发票信息数据填充至所述开票窗口的预设的栏目中。The filling component is used for filling the invoice information data into the preset columns of the billing window when the monitoring result is yes.
进一步,上述技术方案中,所述信息获取模块包括:Further, in the above technical solution, the information acquisition module includes:
拍摄组件,用于拍摄所述商户的营业执照的照片;A photographing component for photographing the business license of the merchant;
识别组件,用于从所述照片中通过文字识别获取企业信息数据。The recognition component is used to obtain enterprise information data from the photo through text recognition.
进一步,上述技术方案中,所述第一微信小程序包括:Further, in the above technical solution, the first WeChat applet includes:
数据获取组件,用于获取微信发票助手小程序中的发票信息数据。The data acquisition component is used to acquire the invoice information data in the WeChat Invoice Assistant applet.
有益效果Beneficial effect
本发明实施例提供的发票生成方法和系统,首先通过便捷的方式来获取商户的企业信息数据和发票软件的设备标识,然后通过在远程数据库中为商户建立桌牌中二维码、企业信息数据和发票软件的设备标识的关联关系,从而实现商户在远程的服务器端的注册。然后,当用户通过扫描商户的桌牌中二维码进行开票的时候,本发明实施例中的预设微信小程序(即第一微信小程序)能够根据对于二维码的扫描行为实现自动启动,并将二维码数据和用户预设的发票信息数据发送到远程的服务器端中;服务器端能够根据二维码数据从数据库中获得该商户的信息,其中就包括该商户的发票软件的设备标识,从而通过与该设备进行数据交互,可以将发票信息数据发送至安装有商户使用的发票软件的PC端中,这样,PC端中的发票辅助模块就可以通过其自动填写单元将所述发票信息数据填充至所述发票软件中预设的栏目中。The invoice generation method and system provided by the embodiments of the present invention firstly obtain the business information data of the merchant and the equipment identification of the invoice software in a convenient manner, and then establish the two-dimensional code in the table card and the enterprise information data for the merchant in the remote database The association relationship with the device identification of the invoice software, so as to realize the registration of the merchant on the remote server. Then, when the user issues tickets by scanning the QR code on the table card of the merchant, the preset WeChat applet (i.e. the first WeChat applet) in the embodiment of the present invention can be automatically started according to the scanning behavior of the QR code , and send the two-dimensional code data and the invoice information data preset by the user to the remote server; the server can obtain the merchant’s information from the database according to the two-dimensional code data, including the merchant’s invoice software equipment identification, so that through data interaction with the device, the invoice information data can be sent to the PC terminal installed with the invoice software used by the merchant, so that the invoice auxiliary module in the PC terminal can pass the invoice through its automatic filling unit. The information data is filled into the preset columns in the invoice software.
由上可以看出,通过本发明实施例,用户在开具发票时,只需要通过简单的二维码扫描动作即可以将自己的发票信息发送至商户的发票软件中,所以可以有效的简化用户和商户的操作步骤,解决了现有技术中开具发票时效率低下和手续繁琐的缺点。It can be seen from the above that through the embodiment of the present invention, when issuing an invoice, the user only needs to scan the two-dimensional code to send his invoice information to the merchant's invoice software, so it can effectively simplify the user's and The merchant's operation steps solve the shortcomings of low efficiency and cumbersome procedures when issuing invoices in the prior art.
根据下面参考附图对示例性实施例的详细说明,本发明的其它特征及方面将变得清楚。Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute a limitation to the embodiments. Elements with the same reference numerals in the drawings represent similar elements. Unless otherwise stated, the drawings in the drawings are not limited to scale.
图1为本发明实施例提供的发票生成方法的步骤示意图;Fig. 1 is a schematic diagram of the steps of the invoice generation method provided by the embodiment of the present invention;
图2为本发明实施例提供的发票生成系统的结构示意图。Fig. 2 is a schematic structural diagram of an invoice generation system provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图,对本发明的具体实施方式进行详细描述,但应当理解本发明的保护范围并不受具体实施方式的限制。The specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific embodiments.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。除非另有其它明确表示,否则在整个说明书和权利要求书中,术语“包括”或其变换如“包含”或“包括有”等等将被理解为包括所陈述的元件或组成部分,而并未排除其它元件或其它组成部分。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention. Unless expressly stated otherwise, throughout the specification and claims, the term "comprise" or variations thereof such as "includes" or "includes" and the like will be understood to include the stated elements or constituents, and not Other elements or other components are not excluded.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
另外,为了更好的说明本发明,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本发明同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件未作详细描述,以便于凸显本发明的主旨。In addition, in order to better illustrate the present invention, numerous specific details are given in the specific embodiments below. It will be understood by those skilled in the art that the present invention may be practiced without certain of the specific details. In some instances, methods, means, and elements well known to those skilled in the art are not described in detail in order to highlight the gist of the present invention.
实施例1Example 1
图1示出本发明实施例提供的发票生成方法的流程图,该方法可以由电子设备执行,例如网络设备、终端设备或服务端设备等。换言之,所述方法可以由安装在网络设备、终端设备或服务端设备的软件或硬件来执行。所述服务端包括但不限于:单台服务器、服务器集群等。参考图1,该方法包括以下步骤。Fig. 1 shows a flowchart of a method for generating an invoice provided by an embodiment of the present invention, and the method can be executed by an electronic device, such as a network device, a terminal device, or a server device. In other words, the method can be implemented by software or hardware installed on network equipment, terminal equipment or server equipment. The server includes, but is not limited to: a single server, a server cluster, and the like. Referring to Fig. 1, the method includes the following steps.
预设阶段:Preset stage:
S11、通过预设移动终端扫描为商户分配的桌牌中所包括的实体二维码获取二维码数据;通过所述预设移动终端从所述商户的营业执照中识别和获取企业信息数据;所述企业信息数据包括开具发票所需的企业信息;在安装有发票软件的PC端安装预设的发票辅助模块;所述发票辅助模块通过其设备识别单元获取所述PC端的设备识别码;S11. Scan the physical two-dimensional code included in the table card assigned to the merchant through the preset mobile terminal to obtain the two-dimensional code data; identify and obtain enterprise information data from the business license of the merchant through the preset mobile terminal; The enterprise information data includes the required enterprise information for issuing invoices; the preset invoice auxiliary module is installed on the PC end with invoice software; the invoice auxiliary module obtains the equipment identification code of the PC end through its equipment identification unit;
本发明实施例中,可以是通过持有预设移动终端(如手机)的推广人员与商户进行接洽,以向商户分配桌牌;接着,通过预设终端的特定软件模块来获取商户营业执照中识别和获取企业信息数据,以及,获取桌牌中所包括的实体二维码获取二维码数据;在实际应用中,通过预设终端的特定软件模块可以启用扫一扫功能来识别实体二维码中的标识(即二维码数据),并且,还可以启用文字识别功能来识别营业执照中的文字信息数据;接着,预设终端的特定软件模块还可以将企业信息数据和二维码数据发送至预设的服务器端。优选的,在从商户的营业执照中识别和获取企业信息数据时,具体可以是,先拍摄商户的营业执照的照片;然后再从照片中通过文字识别获取企业信息数据。In the embodiment of the present invention, it is possible to contact the merchant by a promoter who holds a preset mobile terminal (such as a mobile phone), so as to assign a table card to the merchant; Identify and obtain enterprise information data, and obtain the entity QR code included in the table card to obtain the QR code data; in practical applications, the scanning function can be enabled to identify the entity QR code through the specific software module of the preset terminal The identification in the code (that is, the two-dimensional code data), and the text recognition function can also be enabled to identify the text information data in the business license; then, the specific software module of the preset terminal can also convert the enterprise information data and the two-dimensional code data Send to the default server. Preferably, when identifying and obtaining the enterprise information data from the merchant's business license, specifically, first take a photo of the merchant's business license; and then obtain the enterprise information data through text recognition from the photo.
另一方面,推广人员还需要在商户安装有发票软件的PC端设备中安装一个计算机程序(即,发票辅助模块),本发明实施例中的发票辅助模块一方面可以实现PC端设备与服务器端进行数据交互,另一方面还可以根据从服务器端接收到数据来实现自动的在发票软件的预设栏目中进行发票信息的填写。为了实现PC端设备与服务器端间的数据交互,发票辅助模块还需要过其设备识别单元获取PC端的设备识别码(如MAC地址或是IP地址等)。On the other hand, the promoters also need to install a computer program (that is, the invoice auxiliary module) in the PC terminal equipment with the invoice software installed by the merchant. The invoice auxiliary module in the embodiment of the present invention can realize PC terminal equipment and server terminal For data interaction, on the other hand, it can also automatically fill in the invoice information in the preset column of the invoice software according to the data received from the server. In order to realize the data interaction between the PC-side device and the server-side, the invoice auxiliary module also needs to obtain the device identification code (such as MAC address or IP address, etc.) of the PC-side through its device identification unit.
S12、服务器端获取所述商户的所述企业信息数据、所述二维码数据和所述设备识别码,并在预设数据库生成与所述商户对应的商户信息数据;所述商户信息数据包括所述商户的企业信息数据、二维码数据、设备识别码和商户识别码;S12. The server acquires the enterprise information data, the two-dimensional code data, and the device identification code of the merchant, and generates merchant information data corresponding to the merchant in a preset database; the merchant information data includes The enterprise information data, two-dimensional code data, equipment identification code and merchant identification code of the said merchant;
本发明实施例中的服务器端可以设有数据库来存储各个经过注册了的商户的商户信息数据;本发明实施例中,为商户提供服务的方式是,对于进行了注册的商户,通过向其分配桌牌,可以提高商户向消费者发具发票的效率,减少消费者的操作步骤,从而提高消费者的用户体验。The server in the embodiment of the present invention can be provided with a database to store the merchant information data of each registered merchant; in the embodiment of the present invention, the way to provide services for the merchant is to distribute Table cards can improve the efficiency of merchants in issuing invoices to consumers, reduce the operation steps of consumers, and improve the user experience of consumers.
发票生成阶段:Invoice generation stage:
S13、用户移动终端通过扫描所述桌牌中的实体二维码启动预设的第一微信小程序;所述第一微信小程序用于获取所述实体二维码中的二维码数据,以及,获取预设的发票信息数据,并将所述二维码数据和发票信息数据发送至所述服务器端;所述发票信息数据包括发票抬头和纳税人识别号;S13. The user's mobile terminal starts a preset first WeChat applet by scanning the physical two-dimensional code in the table card; the first WeChat applet is used to obtain the two-dimensional code data in the physical two-dimensional code, And, obtain preset invoice information data, and send the two-dimensional code data and invoice information data to the server; the invoice information data includes invoice title and taxpayer identification number;
作为消费者的用户,持有其用户移动终端来向商户开发票的时候,只要通过微信的扫一扫来扫描商户桌牌中的实体二维码,即可启动预设的微信小程序(即,第一微信小程序),第一微信小程序一方面可以获取实体二维码中的二维码数据,另一方面还可以调取出用户预先输入的发票信息数据;接着,第一微信小程序还可以向服务器端发送二维码数据和发票信息数据。在实际应用中用户可以通过“微信发票助手”微信小程序来预先输入发票信息数据;即,第一微信小程序可以调用出“微信发票助手”微信小程序中所存储的发票信息数据。As a consumer user, when holding his user mobile terminal to issue an invoice to the merchant, he only needs to scan the physical QR code on the merchant's table card through WeChat to start the preset WeChat applet (i.e. , the first WeChat applet), on the one hand, the first WeChat applet can obtain the QR code data in the physical QR code, and on the other hand, it can also retrieve the invoice information data entered in advance by the user; then, the first WeChat applet The program can also send QR code data and invoice information data to the server. In practical application, the user can pre-enter the invoice information data through the "WeChat Invoice Assistant" WeChat applet; that is, the first WeChat applet can call out the invoice information data stored in the "WeChat Invoice Assistant" WeChat applet.
S14、所述服务器端根据接收自所述用户移动终端的二维码数据和发票信息数据确定对应的商户识别码和设备识别码,并将所述发票信息数据发送至与所述设备识别码对应的PC端的发票辅助模块;所述发票辅助模块通过其自动填写单元将所述发票信息数据填充至所述发票软件中预设的栏目中。S14. The server determines the corresponding merchant identification code and device identification code according to the two-dimensional code data and invoice information data received from the user's mobile terminal, and sends the invoice information data to the The invoice auxiliary module at the PC end; the invoice auxiliary module fills the invoice information data into the preset column in the invoice software through its automatic filling unit.
由于每个商户的实体二维码与商户具有对应关系,因此,服务器根据接收自所述用户移动终端的二维码数据,可以从数据库中获取对应的商户信息数据,然后可以从中确定当前消费者开具发票所使用的PC端设备的设备标识,从可以将消费者的发票信息数据发送至对应的PC端设备;PC端设备中的发票辅助模块获取到消费者的发票信息数据后,可以通过其自动填写单元将发票信息数据填充至所述发票软件中预设的栏目中;这样,无论是消费者还是商户发票软件的操作人员,都无需过多的操作,就可以实现消费者的发票信息数据在发票软件中的自动填写,从而可以有效的简化用户和商户的操作步骤,解决了现有技术中开具发票时效率低下和手续繁琐的缺点。Since the physical two-dimensional code of each merchant has a corresponding relationship with the merchant, the server can obtain the corresponding merchant information data from the database according to the two-dimensional code data received from the user’s mobile terminal, and then can determine the current consumer’s information from it. The device identification of the PC-side device used to issue invoices can send the consumer's invoice information data to the corresponding PC-side device; after the invoice auxiliary module in the PC-side device obtains the consumer's invoice information data, it can use its The automatic filling unit fills the invoice information data into the preset column in the invoice software; in this way, both the consumer and the operator of the merchant invoice software can realize the consumer's invoice information data without too much operation. The automatic filling in the invoice software can effectively simplify the operation steps of users and merchants, and solve the shortcomings of low efficiency and cumbersome procedures when issuing invoices in the prior art.
在实际应用中,发票辅助模块通过其自动填写单元将所述发票信息数据填充至所述发票软件中预设的栏目中,的具体方式可以包括:In practical applications, the invoice auxiliary module fills the invoice information data into the preset columns in the invoice software through its automatic filling unit, and the specific methods may include:
首先检测发票软件的开票窗口是否为打开状态,如果是,则将发票信息数据填充至开票窗口的预设的栏目中。Firstly, it is detected whether the billing window of the billing software is open, and if so, the invoice information data is filled into the preset column of the billing window.
综上所述,本发明实施例首先通过便捷的方式来获取商户的企业信息数据和发票软件的设备标识,然后通过在远程数据库中为商户建立桌牌中二维码、企业信息数据和发票软件的设备标识的关联关系,从而实现商户在远程的服务器端的注册。然后,当用户通过扫描商户的桌牌中二维码进行开票的时候,本发明实施例中的预设微信小程序(即第一微信小程序)能够根据对于二维码的扫描行为实现自动启动,并将二维码数据和用户预设的发票信息数据发送到远程的服务器端中;服务器端能够根据二维码数据从数据库中获得该商户的信息,其中就包括该商户的发票软件的设备标识,从而通过与该设备进行数据交互,可以将发票信息数据发送至安装有商户使用的发票软件的PC端中,这样,PC端中的发票辅助模块就可以通过其自动填写单元将所述发票信息数据填充至所述发票软件中预设的栏目中。To sum up, the embodiment of the present invention first obtains the enterprise information data of the merchant and the equipment identification of the invoice software in a convenient manner, and then establishes the two-dimensional code in the table card, the enterprise information data and the invoice software for the merchant in the remote database. The association relationship of the device identification, so as to realize the registration of the merchant on the remote server side. Then, when the user issues tickets by scanning the QR code on the table card of the merchant, the preset WeChat applet (i.e. the first WeChat applet) in the embodiment of the present invention can be automatically started according to the scanning behavior of the QR code , and send the two-dimensional code data and the invoice information data preset by the user to the remote server; the server can obtain the merchant’s information from the database according to the two-dimensional code data, including the merchant’s invoice software equipment identification, so that through data interaction with the device, the invoice information data can be sent to the PC terminal installed with the invoice software used by the merchant, so that the invoice auxiliary module in the PC terminal can pass the invoice through its automatic filling unit. The information data is filled into the preset columns in the invoice software.
由上可以看出,通过本发明实施例,用户在开具发票时,只需要通过简单的二维码扫描动作即可以将自己的发票信息发送至商户的发票软件中,所以可以有效的简化用户和商户的操作步骤,解决了现有技术中开具发票时效率低下和手续繁琐的缺点。It can be seen from the above that through the embodiment of the present invention, when issuing an invoice, the user only needs to scan the two-dimensional code to send his invoice information to the merchant's invoice software, so it can effectively simplify the user's and The merchant's operation steps solve the shortcomings of low efficiency and cumbersome procedures when issuing invoices in the prior art.
实施例2Example 2
图2示出本发明实施例提供的发票生成系统的结构示意图,包括预设移动终端01、安装有发票软件的PC端02、预设的服务器端03和用户移动终端04,具体的:Fig. 2 shows a schematic structural diagram of an invoice generation system provided by an embodiment of the present invention, including a preset mobile terminal 01, a PC terminal 02 installed with invoice software, a preset server terminal 03 and a user mobile terminal 04, specifically:
预设移动终端01的信息获取模块用于通过扫描为商户分配的桌牌中所包括的实体二维码获取二维码数据;从商户的营业执照中识别和获取企业信息数据;企业信息数据包括开具发票所需的企业信息;The information acquisition module of the preset mobile terminal 01 is used to obtain the two-dimensional code data by scanning the entity two-dimensional code included in the table card assigned to the merchant; identify and obtain the enterprise information data from the business license of the merchant; the enterprise information data includes Business information required for issuing invoices;
PC端02安装有预设的发票辅助模块;发票辅助模块通过其设备识别单元获取PC端02的设备识别码;The PC terminal 02 is installed with a preset invoice auxiliary module; the invoice auxiliary module obtains the device identification code of the PC terminal 02 through its equipment identification unit;
服务器03端包括数据关联单元,用于根据获取自预设移动终端01的商户的企业信息数据、二维码数据和设备识别码,在预设数据库生成与商户对应的商户信息数据;商户信息数据包括商户的企业信息数据、二维码数据、设备识别码和商户识别码;The server 03 end includes a data association unit, which is used to generate merchant information data corresponding to merchants in a preset database according to enterprise information data, two-dimensional code data and device identification codes obtained from preset mobile terminal 01 merchants; merchant information data Including the merchant's enterprise information data, QR code data, device identification code and merchant identification code;
用户移动终端04包括能够通过扫描桌牌中的实体二维码实现启动的第一微信小程序;第一微信小程序用于获取实体二维码中的二维码数据,以及,获取预设的发票信息数据,并将二维码数据和发票信息数据发送至服务器端03;发票信息数据包括发票抬头和纳税人识别号;The user's mobile terminal 04 includes the first WeChat applet that can be started by scanning the entity two-dimensional code in the table card; the first WeChat applet is used to obtain the two-dimensional code data in the entity two-dimensional code, and obtain the preset Invoice information data, and send the QR code data and invoice information data to the server 03; the invoice information data includes the invoice title and taxpayer identification number;
服务器端03根据接收自用户移动终端04的二维码数据和发票信息数据确定对应的商户识别码和设备识别码,并将发票信息数据发送至与设备识别码对应的PC端02的发票辅助模块;发票辅助模块通过其自动填写单元将发票信息数据填充至发票软件中预设的栏目中。The server 03 determines the corresponding merchant identification code and device identification code according to the two-dimensional code data and invoice information data received from the user's mobile terminal 04, and sends the invoice information data to the invoice auxiliary module of the PC terminal 02 corresponding to the device identification code ; The invoice auxiliary module fills the invoice information data into the preset columns in the invoice software through its automatic filling unit.
优选的,自动填写单元包括监测组件和填写组件,监测组件用于检测发票软件的开票窗口是否为打开状态;填写组件用于当监测结果为是时,将发票信息数据填充至所述开票窗口的预设的栏目中。Preferably, the automatic filling unit includes a monitoring component and a filling component, and the monitoring component is used to detect whether the billing window of the invoice software is open; the filling component is used to fill invoice information data into the billing window when the monitoring result is yes. in the default column.
优选的,信息获取模块包括拍摄组件识别组件:拍摄组件用于拍摄商户的营业执照的照片;识别组件用于从照片中通过文字识别获取企业信息数据。Preferably, the information acquisition module includes a photographing component identification component: the photographing component is used to take a photo of the business license of the merchant; the recognition component is used to obtain enterprise information data from the photo through text recognition.
第一微信小程序包括数据获取组件,用于获取微信发票助手小程序中的发票信息数据。The first WeChat applet includes a data acquisition component for acquiring invoice information data in the WeChat Invoice Assistant applet.
由于本发明实施例中发票生成系统的工作原理和有益效果已经在实施例1中的发票生成方法中进行了记载和说明,因此可以相互参照,在此就不再赘述。Since the working principles and beneficial effects of the invoice generation system in the embodiment of the present invention have been recorded and explained in the invoice generation method in Embodiment 1, they can be referred to each other and will not be repeated here.
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。The above-mentioned products can execute the methods provided by the embodiments of the present invention, and have corresponding functional modules and beneficial effects for executing the methods. For technical details that are not exhaustively described in this embodiment, refer to the method provided in the embodiment of the present invention.
本发明实施例的电子设备以多种形式存在,包括但不限于以下设备。Electronic devices in the embodiments of the present invention exist in various forms, including but not limited to the following devices.
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication equipment: This type of equipment is characterized by mobile communication functions, and its main goal is to provide voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, feature phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has the characteristics of mobile Internet access. Such terminals include: PDA, MID and UMPC equipment, such as iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment equipment: This type of equipment can display and play multimedia content. Such devices include: audio and video players (such as iPod), handheld game consoles, e-books, as well as smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The composition of a server includes a processor, hard disk, memory, system bus, etc. The server is similar to a general-purpose computer architecture, but due to the need to provide high-reliability services, it is important in terms of processing power and stability. , Reliability, security, scalability, manageability and other aspects have high requirements.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction function.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solutions or the part that contributes to related technologies can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, disk , CD, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910725851.5A CN110443659A (en) | 2019-08-07 | 2019-08-07 | Method and system for generating an invoice |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910725851.5A CN110443659A (en) | 2019-08-07 | 2019-08-07 | Method and system for generating an invoice |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110443659A true CN110443659A (en) | 2019-11-12 |
Family
ID=68433801
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910725851.5A Pending CN110443659A (en) | 2019-08-07 | 2019-08-07 | Method and system for generating an invoice |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110443659A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111461798A (en) * | 2020-03-31 | 2020-07-28 | 好活(昆山)网络科技有限公司 | Big data-based ticket business processing method, device, medium and equipment for individual user |
| CN115147198A (en) * | 2021-03-30 | 2022-10-04 | 阿里巴巴新加坡控股有限公司 | Expense reimbursement information processing method, device and electronic device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140289107A1 (en) * | 2011-11-10 | 2014-09-25 | Gelliner Limited | Invoice payment system and method |
| CN107481072A (en) * | 2017-08-08 | 2017-12-15 | 威海信帆进出口有限公司 | Portable network billing system and method |
| CN107609922A (en) * | 2017-09-02 | 2018-01-19 | 陈包容 | A kind of quick obtaining Merchant name and duty paragraph and the methods, devices and systems drawn a bill |
| CN108960941A (en) * | 2018-05-18 | 2018-12-07 | 北京票通信息技术有限公司 | E-payment billing method |
| CN109492532A (en) * | 2018-10-09 | 2019-03-19 | 好活(昆山)网络科技有限公司 | A kind of methods, devices and systems of image AI identification |
-
2019
- 2019-08-07 CN CN201910725851.5A patent/CN110443659A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140289107A1 (en) * | 2011-11-10 | 2014-09-25 | Gelliner Limited | Invoice payment system and method |
| CN107481072A (en) * | 2017-08-08 | 2017-12-15 | 威海信帆进出口有限公司 | Portable network billing system and method |
| CN107609922A (en) * | 2017-09-02 | 2018-01-19 | 陈包容 | A kind of quick obtaining Merchant name and duty paragraph and the methods, devices and systems drawn a bill |
| CN108960941A (en) * | 2018-05-18 | 2018-12-07 | 北京票通信息技术有限公司 | E-payment billing method |
| CN109492532A (en) * | 2018-10-09 | 2019-03-19 | 好活(昆山)网络科技有限公司 | A kind of methods, devices and systems of image AI identification |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111461798A (en) * | 2020-03-31 | 2020-07-28 | 好活(昆山)网络科技有限公司 | Big data-based ticket business processing method, device, medium and equipment for individual user |
| CN111461798B (en) * | 2020-03-31 | 2022-07-26 | 好活(昆山)网络科技有限公司 | Big data-based ticket business processing method, device, medium and equipment for individual user |
| CN115147198A (en) * | 2021-03-30 | 2022-10-04 | 阿里巴巴新加坡控股有限公司 | Expense reimbursement information processing method, device and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9559992B2 (en) | System and method for updating information in an instant messaging application | |
| US9413704B2 (en) | Presenting messages associated with locations | |
| JP2016531518A (en) | Dynamic telephone number assignment | |
| CN102238106A (en) | News Feed Technology | |
| WO2009158093A2 (en) | Extended user profile | |
| CN110324314B (en) | User registration method and device, storage medium and electronic equipment | |
| KR101783431B1 (en) | Method for providing funding and consulting information related with entertainment by crowd funding system | |
| TWI724331B (en) | Method and device for generating electronic invoice | |
| CN110009283B (en) | E-commerce logistics tracking method and system for service products | |
| WO2014184745A1 (en) | Automatic website generation | |
| CN105045928A (en) | To-be-cleaned data display method and device and electronic equipment | |
| CN112291341A (en) | File transmission method, device and equipment | |
| CN113487370A (en) | Advertisement putting method and device, computer equipment and storage medium | |
| WO2014176896A1 (en) | System and method for updating information in an instant messaging application | |
| US12130882B2 (en) | Browser-based mobile image capture | |
| CN104811458A (en) | Information display method and device | |
| WO2013078935A1 (en) | Information searching method and system | |
| CN102880460A (en) | Method and device for parsing content of sticky notes | |
| CN110443659A (en) | Method and system for generating an invoice | |
| CN116233048A (en) | Customer service session request processing method and related equipment | |
| CN111460403A (en) | Information processing method and system | |
| WO2018068450A1 (en) | Online payment method, domain name system and online payment device | |
| US20130042308A1 (en) | Subscription interface for providing access to digital publications | |
| CN104392366A (en) | Data comparison information acquisition method, device and system | |
| US10652356B1 (en) | System and method to deliver an electronic document over a data network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191112 |
|
| RJ01 | Rejection of invention patent application after publication |