WO2019019629A1 - Method and apparatus for processing face value content of invoice, and terminal device - Google Patents

Method and apparatus for processing face value content of invoice, and terminal device Download PDF

Info

Publication number
WO2019019629A1
WO2019019629A1 PCT/CN2018/077227 CN2018077227W WO2019019629A1 WO 2019019629 A1 WO2019019629 A1 WO 2019019629A1 CN 2018077227 W CN2018077227 W CN 2018077227W WO 2019019629 A1 WO2019019629 A1 WO 2019019629A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction object
tax
flag bit
code
encoding
Prior art date
Application number
PCT/CN2018/077227
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 WO2019019629A1 publication Critical patent/WO2019019629A1/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/10Tax strategies
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G5/00Receipt-giving machines

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application is applicable to the technical field of computers. Provided are a method and apparatus for processing face value content of an invoice, and a terminal device. The method comprises: acquiring a code of a transaction object, wherein the code is used for representing the transaction object; acquiring a flag bit, which is pre-set and corresponds to the code of the transaction object, wherein the flag bit is used for marking the tax payment category of the transaction object, and the tax payment category comprises tax-free, no tax and zero tax rate; and outputting tax payment information, matching the tax payment category, about the transaction object to the face value of an invoice for the transaction object, wherein the tax payment information comprises a tax rate and a tax amount. The present application can fully and clearly embody tax payment information about a transaction object in the face value content of an issued invoice, thereby greatly facilitating subsequent operations, such as account making.

Description

发票的票面内容处理方法、装置及终端设备Method, device and terminal device for processing invoice content of invoice
本申请要求于2017年07月27日提交中国专利局、申请号为201710623325.9、发明名称为“发票的票面内容处理方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on July 27, 2017, the Chinese Patent Office, the application number is 201710623325.9, and the invention name is "the method for processing the contents of the invoices and the terminal equipment", the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种发票的票面内容处理方法、装置及终端设备。The present application relates to the field of computer technology, and in particular, to a ticket content processing method, device and terminal device for an invoice.
背景技术Background technique
发票是一切单位和个人在购销商品、提供或接受服务以及从事其他经营活动的过程中,所开具或收取的业务凭证,也是税务机关控制税源,征收税款的重要依据。对于增值税发票,其票面内容中包括了税率和税额等内容,因此,发票开具一方在经营活动中所产生的纳税额可以在发票中得到体现。The invoice is the business certificate issued or collected by all units and individuals in the process of purchasing and selling goods, providing or receiving services, and engaging in other business activities. It is also an important basis for the tax authorities to control the tax source and collect taxes. For VAT invoices, the contents of the ticket include the tax rate and tax amount. Therefore, the tax amount generated by the invoice issuing party in the business activities can be reflected in the invoice.
在增值税的相关规定中,纳税情况至少包括不征税、免税和零税率这三种,然而,当前在出具增值税发票时,当遇到上述三种纳税情况中的任意一种,发票的税率栏均只能显示“***”,即,目前出具的增值税发票的票面内容无法对不征税、免税和零税率这三种情况进行区分,对后续做账等操作带来不便。In the relevant regulations on value-added tax, the taxation includes at least three types of non-taxation, tax exemption and zero tax rate. However, when issuing VAT invoices, when encountering any of the above three taxation conditions, the invoice The tax rate column can only display “***”, that is, the face value of the currently issued VAT invoice cannot distinguish between the three cases of non-taxation, tax exemption and zero tax rate, which brings inconvenience to subsequent operations such as accounting.
技术问题technical problem
有鉴于此,本申请实施例提供了发票的票面内容处理方法、装置及终端设备,以解决目前出具的增值税发票的票面内容无法对不征税、免税和零税率这三种情况进行区分的问题。In view of this, the embodiment of the present application provides a method, a device, and a terminal device for processing a ticket face content of an invoice, so as to solve the problem that the ticket content of the currently issued VAT invoice cannot distinguish between the three cases of non-taxation, tax exemption, and zero tax rate. problem.
技术解决方案Technical solution
本申请实施例的第一方面提供了一种发票的票面内容处理方法,包括:A first aspect of the embodiment of the present application provides a method for processing a face content of an invoice, including:
获取交易对象的编码,所述编码用于表示所述交易对象;Obtaining a code of a transaction object, the code being used to represent the transaction object;
获取预先设置的且与所述交易对象的编码对应的标志位,所述标志位用于标示所述交易对象的纳税类别,所述纳税类别包括免税、不征税和零税率;Obtaining a flag bit that is preset and corresponding to the code of the transaction object, the flag bit is used to indicate a tax category of the transaction object, and the tax category includes tax exemption, no taxation, and zero tax rate;
将与所述纳税类别匹配的关于所述交易对象的纳税信息输出至所述交易对象的发票票面,所述纳税信息包括税率和税额。Tax information about the transaction object matching the tax category is output to an invoice face of the transaction object, and the tax information includes a tax rate and a tax amount.
本申请实施例的第二方面提供了一种发票的票面内容处理装置,包括:A second aspect of the embodiment of the present application provides a ticket face content processing apparatus for an invoice, including:
第一获取单元,用于获取交易对象的编码,其中,编码用于表示该交易对象;a first obtaining unit, configured to acquire a code of a transaction object, where the code is used to represent the transaction object;
第二获取单元,用于获取预先设置的且与该交易对象的编码对应的标志位,其中,标志位用于标示该交易对象的纳税类别,纳税类别包括免税、不征税和零税率;a second obtaining unit, configured to acquire a flag bit that is preset and corresponding to the code of the transaction object, wherein the flag bit is used to indicate a tax category of the transaction object, and the tax category includes tax exemption, no taxation, and zero tax rate;
第一输出单元,用于将与该纳税类别匹配的关于该交易对象的纳税信息输出至该交易对象的发票票面,其中,纳税信息包括税率和税额。The first output unit is configured to output tax information about the transaction object matching the tax category to the invoice face of the transaction object, wherein the tax information includes a tax rate and a tax amount.
本申请实施例的第三方面提供了一种终端设备,所述终端设备包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A third aspect of an embodiment of the present application provides a terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor The following steps are implemented when the computer readable instructions are executed:
获取交易对象的编码,所述编码用于表示所述交易对象;Obtaining a code of a transaction object, the code being used to represent the transaction object;
获取预先设置的且与所述交易对象的编码对应的标志位,所述标志位用于标示所述交易对象的纳税类别,所述纳税类别包括免税、不征税和零税率;Obtaining a flag bit that is preset and corresponding to the code of the transaction object, the flag bit is used to indicate a tax category of the transaction object, and the tax category includes tax exemption, no taxation, and zero tax rate;
将与所述纳税类别匹配的关于所述交易对象的纳税信息输出至所述交易对象的发票票面,所述纳税信息包括税率和税额。Tax information about the transaction object matching the tax category is output to an invoice face of the transaction object, and the tax information includes a tax rate and a tax amount.
本申请实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被至少一个处理器执行时,实现以下步骤:A fourth aspect of an embodiment of the present application provides a computer readable storage medium storing computer readable instructions that, when executed by at least one processor, implement the following steps:
获取交易对象的编码,所述编码用于表示所述交易对象;Obtaining a code of a transaction object, the code being used to represent the transaction object;
获取预先设置的且与所述交易对象的编码对应的标志位,所述标志位用于标示所述交易对象的纳税类别,所述纳税类别包括免税、不征税和零税率;Obtaining a flag bit that is preset and corresponding to the code of the transaction object, the flag bit is used to indicate a tax category of the transaction object, and the tax category includes tax exemption, no taxation, and zero tax rate;
将与所述纳税类别匹配的关于所述交易对象的纳税信息输出至所述交易对象的发票票面,所述纳税信息包括税率和税额。Tax information about the transaction object matching the tax category is output to an invoice face of the transaction object, and the tax information includes a tax rate and a tax amount.
有益效果Beneficial effect
本申请实施例中,以不同的标志位来区分不同的纳税类别,在进行发票开具时,通过获取与交易对象的编码对应的标志位,以进一步通过该标志位来确定到交易对象所对应的纳税类别,并将与该纳税类别所匹配的纳税信息输出至交易对象的发票票面,从而在开具出的发票的票面内容中,能够充分、明确地体现出交易对象的纳税信息,极大地方便了后续的做账等操作。In the embodiment of the present application, different tax categories are distinguished by different flag bits, and when the invoice is issued, the flag bit corresponding to the code of the transaction object is obtained, and the flag bit is further used to determine the corresponding transaction object. Taxation category, and the tax information matched with the tax category is output to the invoice face of the transaction object, so that the tax information of the transaction object can be fully and clearly reflected in the ticket content of the issued invoice, which is greatly convenient. Subsequent accounting and other operations.
附图说明DRAWINGS
图1是本申请实施例提供的发票的票面内容处理方法的实现流程图;1 is a flowchart of implementing a method for processing a ticket face content of an invoice provided by an embodiment of the present application;
图2是本申请实施例提供的发票的票面内容处理方法S102的具体实现流程图;2 is a specific implementation flowchart of a method for processing a ticket content of an invoice provided by an embodiment of the present application;
图3是本申请实施例提供的发票的票面内容处理方法的实现流程图;3 is a flowchart of implementing a method for processing a ticket face content of an invoice provided by an embodiment of the present application;
图4是本申请实施例提供的发票的票面内容处理装置的示意图;4 is a schematic diagram of a ticket face content processing apparatus for an invoice provided by an embodiment of the present application;
图5是本申请实施例提供的终端设备的示意图。FIG. 5 is a schematic diagram of a terminal device according to an embodiment of the present application.
本发明的实施方式Embodiments of the invention
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for purposes of illustration and description However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the application.
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。In order to explain the technical solutions described in the present application, the following description will be made by way of specific embodiments.
图1示出了本申请实施例提供的发票的票面内容处理方法的实现流程,详述如下:FIG. 1 is a flowchart showing an implementation process of a ticket face content processing method for an invoice provided by an embodiment of the present application, which is described in detail as follows:
S101:获取交易对象的编码,该编码用于表示该交易对象。S101: Acquire a code of a transaction object, and the code is used to represent the transaction object.
在本申请实施例中,所述交易对象,包括买卖双方在交易过程中所交换的商品,例如日用品、办公用品等,还包括服务提供方向客户提供的服务,例如培训、酒店、演出票务等。而编码为用于表示其对应的交易对象的一组代码,该代码依据一定的规则生成,具有唯一性,即,交易对象与编码一一对应,一种交易对象只有一个编码,一个编码只标识同一交易对象,且交易对象的编码一旦确定,永不改变,即使该交易对象停止生产或停止供应了,在一段时间内也不得将该编码分配给其他交易对象。In the embodiment of the present application, the transaction object includes goods exchanged by the buyer and the seller during the transaction process, such as daily necessities, office supplies, etc., and services provided by the service provider to the customer, such as training, hotels, performance tickets, and the like. And coded as a set of codes for representing the corresponding transaction object, the code is generated according to a certain rule, and has uniqueness, that is, the transaction object has one-to-one correspondence with the code, and one transaction object has only one code, and one code only identifies The same transaction object, and once the code of the transaction object is determined, never changes, even if the transaction object stops production or stops supplying, the code cannot be assigned to other transaction objects for a certain period of time.
在为交易对象开具发票的过程中,需要确定交易对象所对应的纳税类别。在本申请实施例中,为了确定交易对象所对应的纳税类别,首先需要获取到交易对象的编码。交易对象的编码的获取方式可以为:通过商品管理系统或开票软件自带的数据库查询获取,或者,通过红外扫描枪、射频识别(Radio Frequency Identification,RFID)读写器、摄像头等扫码装置来读取交易对象的编码。例如,通过红外扫描枪扫描附着在商品外包装上的条码,以获取到商品的编码,又例如,通过摄像头拍摄二维码图像,以通过拍摄到的二维码图像解析出所述二维码中携带的编码信息。In the process of invoicing a transaction object, it is necessary to determine the tax category corresponding to the transaction object. In the embodiment of the present application, in order to determine the tax category corresponding to the transaction object, it is first necessary to obtain the code of the transaction object. The encoding method of the transaction object can be obtained by using the database management system or the invoicing software to obtain the database query, or by infrared scanner, radio frequency identification (Radio) Frequency Identification, RFID) Reader, camera and other scanning devices to read the encoding of the transaction object. For example, the bar code attached to the outer packaging of the product is scanned by an infrared scanner to obtain the code of the product, and, for example, the two-dimensional code image is captured by the camera to parse the two-dimensional code through the captured two-dimensional code image. Encoded information carried in.
S102:获取预先设置的且与交易对象的编码对应的标志位,该标志位用于标示该交易对象的纳税类别,纳税类别包括免税、不征税和零税率。S102: Acquire a flag bit preset and corresponding to the code of the transaction object, the flag bit is used to indicate the tax category of the transaction object, and the tax category includes tax exemption, no taxation, and zero tax rate.
在本申请实施例中,预先会为交易对象的编码设置好标志位,一类标志位用于对应一类纳税类别。在增值税相关规定中,除了正常扣税的情况,纳税类别还包括免税、不征税和零税率,其中,免税即免征增值税项目,是指根据国家税法相关规定,给予某些项目取得收入免予缴纳增值税的税收优惠;不征税即不征增值税项目,是指不属于增值税的征税范围的项目;零税率是增值税税率的一种,主要适用于纳税人出口货物和跨境应税行为,零税率在计算缴纳增值税时,销项税额按照0%的税率计算,进税额允许抵扣。示例性地,若标志位为“1”,则代表该标志位对应的纳税类别为免税;若标志位为“2”,则代表该标志位对应的纳税类别为不征税;若标志位为“3”,则代表该标志位对应的纳税类别为零税率;若标志位为“0”或者标志位为空,则代表该标志位对应的纳税类别为正常扣税。In the embodiment of the present application, a flag bit is set in advance for the encoding of the transaction object, and a type of flag bit is used for corresponding one type of tax category. In the relevant VAT regulations, in addition to the normal tax deduction, the tax category also includes tax exemption, non-taxation and zero tax rate. Among them, tax exemption is exempt from VAT items, which means that certain items are obtained according to the relevant provisions of the national tax law. The income is exempt from the tax benefit of VAT; if the tax is not levied, it means the item that is not subject to VAT; the zero rate is a kind of VAT rate, which is mainly applicable to taxpayer export goods. And cross-border taxable behavior, zero tax rate in the calculation of the value-added tax, the output tax is calculated at the rate of 0%, the tax amount is allowed to deduct. Exemplarily, if the flag bit is "1", the tax category corresponding to the flag bit is tax-free; if the flag bit is "2", the tax category corresponding to the flag bit is not taxed; if the flag bit is “3” means that the tax category corresponding to the flag is zero tax rate; if the flag is “0” or the flag is empty, the tax category corresponding to the flag is normal tax deduction.
由于交易对象的编码能够唯一表示该交易对象,因此,获取到的与该编码对应的标志位能够用于指示该交易对象的纳税类别。在为交易对象的编码设置标志位时,作为一种具体的实现方式,可以对交易对象的编码增加标志位,即,将标志位作为编码中的一位,添加进交易对象的原始编码中;作为另一种具体的实现方式,可以在预设数据库中,将标志位与交易对象的编码关联存储,从而完成标志位的预先设置。Since the encoding of the transaction object can uniquely represent the transaction object, the acquired flag bit corresponding to the encoding can be used to indicate the tax category of the transaction object. When setting a flag bit for the encoding of the transaction object, as a specific implementation manner, the flag of the transaction object may be added, that is, the flag bit is added as one bit in the encoding to the original encoding of the transaction object; As another specific implementation manner, the flag bit may be stored in association with the code of the transaction object in the preset database, thereby completing the preset setting of the flag bit.
关于S102中标志位获取的具体方式将在下文实施例中进行详细阐述,在此不赘述。The specific manner of obtaining the flag bit in S102 will be described in detail in the following embodiments, and will not be described herein.
S103:将与纳税类别匹配的关于该交易对象的纳税信息输出至该交易对象的发票票面,其中,纳税信息包括税率和税额。S103: Output tax information about the transaction object matching the tax category to the invoice face of the transaction object, wherein the tax information includes a tax rate and a tax amount.
在本申请实施例中,纳税信息至少包括税率和税额。其中,税率,是对交易对象的征收比例或征收额度,而税额即指根据交易对象的交易额和税率所确定出的发票出具一方需上缴税款的数额。在明确了交易对象的纳税类别之后,就可以基于纳税类别确定出交易对象所对应的税率,并根据交易对象的交易额及税率确定出该交易对象的税额。在本申请实施例中,除了在正常扣税的情况下可以将交易对象对应的纳税信息输出至其发票票面,还可以将免税、不征税和零税率的情况下交易对象对应的纳税信息输出至其发票票面,这样一来,通过发票票面即可以识别出该交易对象的纳税信息属于正常扣税、免税、不征税和零税率中的哪一种,并从中获取到相应的纳税信息。In the embodiment of the present application, the tax information includes at least a tax rate and a tax amount. Among them, the tax rate is the levy or levy on the object of the transaction, and the tax amount refers to the amount of tax payable by the party that issues the invoice issued according to the transaction amount and tax rate of the transaction object. After the tax category of the transaction object is clarified, the tax rate corresponding to the transaction object can be determined based on the tax category, and the tax amount of the transaction object is determined according to the transaction amount and the tax rate of the transaction object. In the embodiment of the present application, in addition to the normal tax deduction, the tax information corresponding to the transaction object can be output to the invoice face, and the tax information corresponding to the transaction object can be output in the case of tax exemption, non-taxation and zero tax rate. To the invoice face, in this way, through the invoice face, it can be identified which of the normal tax deduction, tax exemption, non-taxation and zero tax rate of the transaction object, and the corresponding tax information is obtained from it.
将纳税信息输出至发票票面,可以通过以下方式实现:Exporting tax information to the invoice face can be achieved by:
将标志位传递给税控系统,以使税控系统根据所述标志位,获取与纳税类别匹配的关于交易对象的纳税信息,并输出至该交易对象的发票票面。The flag is transmitted to the tax control system, so that the tax control system obtains tax information about the transaction object that matches the tax category according to the flag bit, and outputs the tax information to the transaction object.
具体地指在税控系统中进行开票操作时,将纳税信息设置为发票票面中对应栏目的显示字段,例如,将与交易对象匹配的税率设置为发票中税率栏内的显示字段,将与交易对象匹配的税额设置为发票中税额栏内的显示字段。在将纳税信息设置为发票票面中对应栏目的显示字段之后,通过税控系统所开具并打印出来的发票中,若交易对象的纳税类别为正常扣税,则在税率栏中会显示正常扣税的税率(例如显示“6%”字样),在税额栏中会显示对应的税额;若交易对象的纳税类别为免税,则在税率栏中会显示“免税”字样;若交易对象的纳税类别为不征税,则在税率栏中会显示“不征税”字样;若交易对象的纳税类别为零税率,则在税率栏中会显示“0%”字样,以此来实现对不同纳税类别的明确区分。Specifically, when the billing operation is performed in the tax control system, the tax information is set as the display field of the corresponding column in the invoice face, for example, the tax rate matching the transaction object is set to the display field in the tax rate column of the invoice, and the transaction is The tax amount that the object matches is set to the display field in the tax amount column in the invoice. After the tax information is set as the display field of the corresponding column in the invoice face, the invoices issued and printed by the tax control system will display the normal tax deduction in the tax rate column if the tax category of the transaction object is normal tax deduction. Tax rate (for example, “6%”), the corresponding tax amount will be displayed in the tax amount column; if the tax object of the transaction object is tax-free, the word “tax exemption” will be displayed in the tax rate column; If there is no tax, the word “no taxation” will be displayed in the tax rate column; if the tax category of the transaction object is zero tax rate, “0%” will be displayed in the tax rate column to realize the different tax categories. Clear distinction.
在图1对应的实施例中,以不同的标志位来区分不同的纳税类别,在进行发票开具时,通过获取与交易对象的编码对应的标志位,以进一步通过该标志位来确定到交易对象所对应的纳税类别,并将与该纳税类别所匹配的纳税信息输出至交易对象的发票票面,从而在开具出的发票的票面内容中,能够充分、明确地体现出交易对象的纳税信息,极大地方便了后续的做账等操作。In the embodiment corresponding to FIG. 1, different tax categories are distinguished by different flag bits, and when the invoice is issued, the flag corresponding to the code of the transaction object is obtained, and the transaction object is further determined by the flag bit. Corresponding tax category, and the tax information matched with the tax category is output to the invoice face of the transaction object, so that the tax information of the transaction object can be fully and clearly reflected in the ticket content of the issued invoice. The earth facilitates subsequent operations such as accounting.
接下来,在图1对应的实施例的基础之上,通过一个具体的实施例来对S102中所提及的标志位获取的具体方法进行详细说明。图2示出了本申请实施例提供的S102的具体实现流程,详述如下:Next, on the basis of the embodiment corresponding to FIG. 1, the specific method of obtaining the flag bit mentioned in S102 will be described in detail through a specific embodiment. FIG. 2 shows a specific implementation process of the S102 provided by the embodiment of the present application, which is described in detail as follows:
S1021:将交易对象的编码输入预设数据库中进行查询,该预设数据库中存储了已设置好对应的标志位的编码。S1021: The code of the transaction object is input into a preset database for searching, and the preset database stores the code of the corresponding flag bit.
在本申请实施例中,对于已配置好标志位的编码,会将该编码与该标志位均关联存储在预设数据库中。在启动对一个交易对象的开票操作,并获取到该交易对象的编码之后,会先将该交易对象的编码作为查询条件输入到预设数据库中,以根据查询结果确定预设数据库中是否已经存储有关于该交易对象的编码的相关数据。In the embodiment of the present application, for the code that has been configured with the flag bit, the code is stored in the preset database in association with the flag bit. After initiating the invoicing operation on a transaction object and obtaining the encoding of the transaction object, the encoding of the transaction object is first input into the preset database as a query condition to determine whether the preset database has been stored according to the query result. Relevant data about the encoding of the transaction object.
S1022:若查询到预设数据库中存在该交易对象的编码,将预设数据库中存储的该编码对应的标志位获取为与该交易对象的编码对应的标志位。S1022: If the code of the transaction object exists in the preset database, the flag bit corresponding to the code stored in the preset database is obtained as a flag bit corresponding to the code of the transaction object.
将该交易对象的编码作为查询条件输入到预设数据库中,若在预设数据库中查询到关于该交易对象的编码的相关数据,则代表在此次开票操作之前,已经为该交易对象的编码配置好了标志位,那么,则在预设数据库中查找到该编码,并读取出与该编码关联存储的标志位,并将读取出的标志位获取为与该交易对象的编码对应的标志位,用于后续处理。Entering the code of the transaction object as a query condition into the preset database. If the related data of the code of the transaction object is queried in the preset database, it represents that the code of the transaction object has been encoded before the invoicing operation. After the flag is configured, the code is found in the preset database, and the flag stored in association with the code is read, and the read flag is obtained as corresponding to the code of the transaction object. Flag bit for subsequent processing.
进一步地,图2对应的实施例还可包括:Further, the corresponding embodiment of FIG. 2 may further include:
S1023:若未查询到预设数据库中存在该交易对象的编码,为该交易对象的编码配置对应的标志位,并将配置好的标志位与该交易对象的编码关联存储至预设数据库。S1023: If the code of the transaction object exists in the preset database, the corresponding flag bit is configured for the code of the transaction object, and the configured flag bit is associated with the code of the transaction object and stored in the preset database.
将该交易对象的编码作为查询条件输入到预设数据库中,若未在预设数据库中查询到关于该交易对象的编码的相关数据,则代表在此次开票操作之前,还未曾为该交易对象的编码配置过标志位,那么需要在此时为该交易对象的编码配置好对应的标志位。此外,在本申请实施例中,在为该交易对象的编码配置好对应的标志位之后,还需要将该标志位与该交易对象的编码关联存储至预设数据库中,由此一来,在下次为与该交易对象相同的其他交易对象执行开票操作时,就可以通过S1021的操作,将其他交易对象的编码对应的标志位从预设数据库中读取出来,从而根据读取出的标志位执行后续操作。Entering the code of the transaction object as a query condition into the preset database. If the relevant data about the code of the transaction object is not queried in the preset database, it means that the transaction object has not been used before the invoicing operation. The encoding is configured with the flag bit, then the corresponding flag bit needs to be configured for the encoding of the transaction object at this time. In addition, in the embodiment of the present application, after the corresponding flag bit is configured for the encoding of the transaction object, the flag bit needs to be associated with the encoding of the transaction object and stored in the preset database, thereby When the invoicing operation is performed for other transaction objects that are the same as the transaction object, the flag corresponding to the encoding of the other transaction object may be read from the preset database by the operation of S1021, thereby according to the read flag bit. Follow up.
下面对图2对应的实施例进行应用场景举例:在超市经营过程中,会存在新上架商品的情况,对于新上架的商品,需要获取到与其编码对应的标志位,以使得该商品在售出之后,开具的发票票面能够明确地体现其纳税信息。因此,在商品上架之前,可以将该商品的编码输入预设数据库中进行查询。若超市此前已售卖过相同的商品,那么该商品的编码对应的标志位应该已经在预设数据库中进行了存储,可以直接从预设数据库中获取到对应的标志位,并将其配置为该商品的编码对应的标志位;若该商品为新引入商品,超市此前未售卖过相同的商品,则需要根据该商品的实际情况,确定该商品的纳税类别,以进一步确定出表示该纳税类别的标志位,配置给该商品的编码,并将该标志位与该商品的编码关联存储至预设数据库中。这样一来,超市下次再上架该商品时,便可以从预设数据库中获取到该商品对应的标志位。The following is an example of an application scenario corresponding to the embodiment corresponding to FIG. 2: in the process of supermarket operation, there will be a situation in which a new product is put on the shelf. For a newly-laid product, it is necessary to obtain a flag corresponding to the code to make the product available for sale. After the issue, the invoice face issued can clearly reflect its tax information. Therefore, before the product is put on the shelf, the code of the product can be input into the preset database for inquiry. If the supermarket has previously sold the same product, the corresponding flag of the product code should have been stored in the preset database, and the corresponding flag bit can be obtained directly from the preset database and configured as the The mark corresponding to the code of the commodity; if the commodity is a newly introduced commodity, the supermarket has not previously sold the same commodity, then the tax category of the commodity needs to be determined according to the actual situation of the commodity to further determine the taxable category. A flag bit, configured to encode the item, and store the flag bit in association with the code of the item in a preset database. In this way, when the supermarket next shelves the product, the corresponding flag of the product can be obtained from the preset database.
基于图2对应的实施例,可以通过预设数据库来对已配置过标志位的商品的编码与对应的标志位进行关联存储,从而在后续为相同的交易对象进行标志位获取时,可以从预设数据库中直接获取到对应的标志位,提高了对交易对象者发票出具的开票效率。Based on the embodiment corresponding to FIG. 2, the code of the commodity with the configured flag bit can be associated with the corresponding flag bit by using a preset database, so that when the flag bit is acquired for the same transaction object, the pre-preparation can be performed. It is set directly to obtain the corresponding flag in the database, which improves the billing efficiency of the invoice issued to the transaction object.
在图2对应的实施例的基础之上,针对S1023中为该交易对象的编码配置对应的标志位这一操作,一种具体的实现方式如下:On the basis of the embodiment corresponding to FIG. 2, for the operation of configuring the corresponding flag bit for the encoding of the transaction object in S1023, a specific implementation manner is as follows:
解析交易对象的编码,将与解析结果匹配的标志位配置为该交易对象的编码对应的标志位。The encoding of the transaction object is parsed, and the flag bit matching the analysis result is configured as a flag bit corresponding to the encoding of the transaction object.
对于一些特定的编码方式来说,交易对象的编码本身就携带了用于表示该交易对象的纳税类别的数据,例如,对于不征税商品来说,其编码一般以“60”开头,因此,通过识别该编码的前两位,即可以确定该商品是否是不征税商品,并在确定出该商品是不征税商品之后,为该编码配置与不征税所对应的标志位。该实现方式能够完成标志位的自动配置,在标志位的配置过程中进一步地提高了配置效率。For some specific coding methods, the transaction object's code itself carries data for indicating the tax category of the transaction object. For example, for non-taxable goods, the code generally starts with "60", therefore, By identifying the first two digits of the code, it can be determined whether the commodity is a non-taxable commodity, and after determining that the commodity is a non-taxable commodity, the flag corresponding to the non-taxation is configured for the code. This implementation can complete the automatic configuration of the flag bits, and further improve the configuration efficiency in the configuration process of the flag bits.
针对S203中为该交易对象的编码配置对应的标志位这一操作,另一种具体的实现方式如下:For the operation of configuring the corresponding flag bit for the encoding of the transaction object in S203, another specific implementation manner is as follows:
接收用户输入的标志位,并将该标志位配置为交易对象的编码对应的标志位。The flag bit input by the user is received, and the flag bit is configured as a flag bit corresponding to the encoding of the transaction object.
对于大部分编码来说,组成编码的数据序列中并不包含能够表示纳税类别的数据,因此,在此类情况下,可以通过人工的方式为该交易对象的编码配置标志位。例如,对于部分由政府扶持的企业所出口的商品来说,会实行零税率政策,在为此类商品的编码进行标志位的配置时,可以在确定该商品的出口企业为享受零税率政策的企业之后,来为此类商品配置与零税率所对应的标志位。该实现方式通过人工的方式完成标志位的配置,可以保证所有的商品其编码都被成功配置标志位。For most encodings, the data sequence that constitutes the encoding does not contain data that can represent the tax category, so in such cases, the flag of the transaction object can be manually configured with flag bits. For example, for goods exported by some government-supported enterprises, a zero-tax policy will be implemented. When the code for such goods is allocated, the export enterprise that determines the commodity can enjoy the zero-tax policy. After the enterprise, it is necessary to configure the mark corresponding to the zero tax rate for such goods. This implementation completes the configuration of the flag bits manually, and ensures that all products whose codes are successfully configured with the flag bit.
在图1对应的实施例的基础之上,除了通过S103将与纳税类别匹配的关于交易对象的纳税信息输出至该交易对象的发票票面,如图3所示,该票面内容处理方法还包括:On the basis of the embodiment corresponding to FIG. 1, in addition to outputting the tax information about the transaction object matching the tax category to the invoice face of the transaction object through S103, as shown in FIG. 3, the ticket content processing method further includes:
S104:将预设图形输出至交易对象的发票票面,其中,预设图形包括与该交易对象的纳税类别匹配的纳税标识。S104: Output the preset graphic to the invoice face of the transaction object, wherein the preset graphic includes a tax identification that matches the tax category of the transaction object.
在图3对应的实施例中,还可以基于确定出的交易对象的纳税类别,将与该纳税类别相匹配的预设图形输出至该交易对象的发票票面,其中,与纳税类别相匹配的预设图形,包括但不限于税收优惠政策标识、零税率标识和增值税特殊管理标识等,以在充分体现交易对象的纳税类别的情况下,进一步将与纳税类别相关的信息图形化。In the embodiment corresponding to FIG. 3, the preset graphic matching the tax category may be output to the invoice face of the transaction object based on the determined tax category of the transaction object, wherein the pre-match with the tax category Graphical, including but not limited to tax incentive policy logo, zero tax rate logo and VAT special management logo, etc., in order to fully reflect the tax category of the transaction object, further graphically related to the tax category.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not mean that the order of execution is performed. The order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present application.
对应于上文实施例所述的发票的票面内容处理方法,图4示出了本申请实施例提供的发票的票面内容处理装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the ticket content processing method of the invoice described in the above embodiment, FIG. 4 is a structural block diagram of the ticket surface content processing apparatus of the invoice provided by the embodiment of the present application. For the convenience of description, only the embodiment of the present application is shown. Related parts.
参照图4,该装置包括:Referring to Figure 4, the apparatus includes:
第一获取单元41:获取交易对象的编码,其中,编码用于表示该交易对象。The first obtaining unit 41: acquires the encoding of the transaction object, wherein the encoding is used to represent the transaction object.
第二获取单元42:获取预先设置的且与该交易对象的编码对应的标志位,其中,标志位用于标示该交易对象的纳税类别,纳税类别包括免税、不征税和零税率。The second obtaining unit 42: acquires a flag bit preset and corresponding to the code of the transaction object, wherein the flag bit is used to indicate the tax category of the transaction object, and the tax category includes tax exemption, non-taxation and zero tax rate.
第一输出单元43:将与该纳税类别匹配的关于该交易对象的纳税信息输出至该交易对象的发票票面,其中,纳税信息包括税率和税额。The first output unit 43 outputs the tax information about the transaction object matching the tax category to the invoice face of the transaction object, wherein the tax information includes a tax rate and a tax amount.
可选地,第二获取单元42包括:Optionally, the second obtaining unit 42 includes:
查询子单元:将交易对象的编码输入预设数据库中进行查询,其中,预设数据库中存储了已设置好对应的标志位的编码。Query subunit: input the code of the transaction object into the preset database for querying, wherein the preset database stores the code of the corresponding flag bit.
获取子单元:若查询到预设数据库中存在该交易对象的编码,将预设数据库中存储的该编码对应的标志位获取为与该交易对象的编码对应的标志位;Obtaining a sub-unit: if the code of the transaction object exists in the preset database, the flag bit corresponding to the code stored in the preset database is obtained as a flag bit corresponding to the code of the transaction object;
可选地,若该交易对象的纳税类别为免税,票面内容处理装置还包括:Optionally, if the tax category of the transaction object is tax-free, the ticket content processing device further includes:
第二输出单元:将预设图形输出至交易对象的发票票面,其中,预设图形包括与该交易对象的纳税类别匹配的纳税标识。The second output unit outputs the preset graphic to the invoice face of the transaction object, wherein the preset graphic includes a tax identification that matches the tax category of the transaction object.
可选地,第一输出单元43具体用于:Optionally, the first output unit 43 is specifically configured to:
将标志位传递给税控系统,以使税控系统根据该标志位,获取与纳税类别匹配的关于交易对象的纳税信息,并输出至该交易对象的发票票面。The flag is transmitted to the tax control system, so that the tax control system obtains tax information about the transaction object that matches the tax category according to the flag, and outputs the tax information to the transaction object.
可选地,上述配置子单元具体用于:Optionally, the foregoing configuration subunit is specifically configured to:
解析交易对象的编码,将与解析结果匹配的标志位配置为该交易对象的编码对应的标志位。The encoding of the transaction object is parsed, and the flag bit matching the analysis result is configured as a flag bit corresponding to the encoding of the transaction object.
可选地,上述配置子单元具体用于:Optionally, the foregoing configuration subunit is specifically configured to:
接收用户输入的标志位,并将该标志位配置为所述交易对象的编码对应的标志位。The flag bit input by the user is received, and the flag bit is configured as a flag bit corresponding to the encoding of the transaction object.
可选地,第二获取单元42还包括:Optionally, the second obtaining unit 42 further includes:
配置子单元,若未查询到所述预设数据库中存在所述交易对象的编码,配置子单元用于解析所述交易对象的编码,将与解析结果匹配的标志位配置为所述交易对象的编码对应的所述标志位;或者接收用户输入的标志位,并将该标志位配置为所述交易对象的编码对应的所述标志位;a configuration subunit, if the encoding of the transaction object exists in the preset database, the configuration subunit is configured to parse the encoding of the transaction object, and configure a flag bit matching the parsing result as the transaction object. Encoding the corresponding flag bit; or receiving a flag bit input by the user, and configuring the flag bit as the flag bit corresponding to the encoding of the transaction object;
存储子单元,用于将配置好的所述标志位与所述交易对象的编码关联存储至所述预设数据库。And a storage subunit, configured to store the configured flag bit in association with the code of the transaction object to the preset database.
图5是本申请一实施例提供的终端设备的示意图。如图5所示,该实施例的终端设备5包括:处理器50、存储器51以及存储在存储器51中并可在处理器50上运行的计算机可读指令52,例如发票的票面内容处理程序。处理器50执行计算机可读指令52时实现上述各个发票的票面内容处理方法实施例中的步骤,例如图1所示的步骤101至103。或者,处理器50执行计算机可读指令2时实现上述各装置实施例中各单元的功能,例如图4所示模块41至43的功能。FIG. 5 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in FIG. 5, the terminal device 5 of this embodiment includes a processor 50, a memory 51, and computer readable instructions 52 stored in the memory 51 and operable on the processor 50, such as a ticket face content processing program for an invoice. The processor 50, when executing the computer readable instructions 52, implements the steps in the embodiment of the ticket content processing method of each of the above invoices, such as steps 101 through 103 shown in FIG. Alternatively, the processor 50, when executing the computer readable instructions 2, implements the functions of the various units in the various apparatus embodiments described above, such as the functions of the modules 41 through 43 shown in FIG.
示例性的,计算机可读指令52可以被分割成一个或多个单元,一个或者多个单元被存储在存储器51中,并由处理器50执行,以完成本申请。一个或多个单元可以是能够完成特定功能的一系列计算机可读指令指令段,该指令段用于描述计算机可读指令52在所述终端设备5中的执行过程。例如,计算机可读指令52可以被分割成第一获取单元、第二获取单元、第一输出单元,各单元具体功能如下:Illustratively, computer readable instructions 52 may be partitioned into one or more units, one or more units being stored in memory 51 and executed by processor 50 to complete the application. The one or more units may be a series of computer readable instruction instructions that are capable of performing a particular function for describing the execution of computer readable instructions 52 in the terminal device 5. For example, the computer readable instructions 52 may be divided into a first obtaining unit, a second obtaining unit, and a first output unit, and the specific functions of each unit are as follows:
第一获取单元:获取交易对象的编码,其中,编码用于表示该交易对象。The first obtaining unit: acquires a code of the transaction object, wherein the code is used to represent the transaction object.
第二获取单元:获取预先设置的且与该交易对象的编码对应的标志位,其中,标志位用于标示该交易对象的纳税类别,纳税类别包括免税、不征税和零税率。The second obtaining unit: acquires a flag bit preset and corresponding to the code of the transaction object, wherein the flag bit is used to indicate the tax category of the transaction object, and the tax category includes tax exemption, non-taxation and zero tax rate.
第一输出单元:将与该纳税类别匹配的关于该交易对象的纳税信息输出至该交易对象的发票票面,其中,纳税信息包括税率和税额。The first output unit: output tax information about the transaction object matching the tax category to the invoice face of the transaction object, wherein the tax information includes a tax rate and a tax amount.
可选地,第二获取单元包括:Optionally, the second obtaining unit includes:
查询子单元:将交易对象的编码输入预设数据库中进行查询,其中,预设数据库中存储了已设置好对应的标志位的编码。Query subunit: input the code of the transaction object into the preset database for querying, wherein the preset database stores the code of the corresponding flag bit.
获取子单元:若查询到预设数据库中存在该交易对象的编码,将预设数据库中存储的该编码对应的标志位获取为与该交易对象的编码对应的标志位。Obtaining a subunit: if the code of the transaction object exists in the preset database, the flag bit corresponding to the code stored in the preset database is obtained as a flag bit corresponding to the code of the transaction object.
可选地,若该交易对象的纳税类别为免税,票面内容处理装置还包括:Optionally, if the tax category of the transaction object is tax-free, the ticket content processing device further includes:
第二输出单元:将预设内容输出至该交易对象的发票票面,其中,预设内容包括优惠政策标识、零税率标识和增值税特殊管理标识。The second output unit outputs the preset content to the invoice face of the transaction object, wherein the preset content includes a preferential policy identifier, a zero tax rate identifier, and a VAT special management identifier.
可选地,第一输出单元具体用于:Optionally, the first output unit is specifically configured to:
将标志位传递给税控系统,以使税控系统根据该标志位,获取与纳税类别匹配的关于交易对象的纳税信息,并输出至该交易对象的发票票面。The flag is transmitted to the tax control system, so that the tax control system obtains tax information about the transaction object that matches the tax category according to the flag, and outputs the tax information to the transaction object.
可选地,上述配置子单元具体用于:Optionally, the foregoing configuration subunit is specifically configured to:
解析交易对象的编码,将与解析结果匹配的标志位配置为该交易对象的编码对应的标志位。The encoding of the transaction object is parsed, and the flag bit matching the analysis result is configured as a flag bit corresponding to the encoding of the transaction object.
可选地,上述配置子单元具体用于:Optionally, the foregoing configuration subunit is specifically configured to:
接收用户输入的标志位,并将该标志位配置为所述交易对象的编码对应的标志位。The flag bit input by the user is received, and the flag bit is configured as a flag bit corresponding to the encoding of the transaction object.
可选地,第二获取单元还包括:Optionally, the second obtaining unit further includes:
配置子单元,若未查询到所述预设数据库中存在所述交易对象的编码,配置子单元用于解析所述交易对象的编码,将与解析结果匹配的标志位配置为所述交易对象的编码对应的所述标志位;或者接收用户输入的标志位,并将该标志位配置为所述交易对象的编码对应的所述标志位;a configuration subunit, if the encoding of the transaction object exists in the preset database, the configuration subunit is configured to parse the encoding of the transaction object, and configure a flag bit matching the parsing result as the transaction object. Encoding the corresponding flag bit; or receiving a flag bit input by the user, and configuring the flag bit as the flag bit corresponding to the encoding of the transaction object;
存储子单元,用于将配置好的所述标志位与所述交易对象的编码关联存储至所述预设数据库。And a storage subunit, configured to store the configured flag bit in association with the code of the transaction object to the preset database.
终端设备5可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。终端设备5可包括,但不仅限于,处理器50、存储器51。本领域技术人员可以理解,图5仅仅是终端设备5的示例,并不构成对终端设备5的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如终端设备5还可以包括输入输出设备、网络接入设备、总线等。The terminal device 5 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device 5 may include, but is not limited to, the processor 50 and the memory 51. It will be understood by those skilled in the art that FIG. 5 is only an example of the terminal device 5, does not constitute a limitation of the terminal device 5, may include more or less components than the illustrated, or combine some components, or different components. For example, the terminal device 5 may further include an input/output device, a network access device, a bus, and the like.
处理器50可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 50 can be a central processing unit (Central Processing Unit, CPU), can also be other general purpose processors, digital signal processors (DSP), application specific integrated circuits (Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
存储器51可以是终端设备5的内部存储单元,例如终端设备5的硬盘或内存。存储器51也可以是终端设备5的外部存储设备,例如终端设备5上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。进一步地,存储器51还可以既包括终端设备5的内部存储单元也包括外部存储设备。存储器51用于存储所述计算机可读指令以及终端设备所需的其他程序和数据。存储器51还可以用于暂时地存储已经输出或者将要输出的数据。The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk equipped on the terminal device 5, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card (Flash). Card) and so on. Further, the memory 51 may also include both an internal storage unit of the terminal device 5 and an external storage device. The memory 51 is used to store the computer readable instructions and other programs and data required by the terminal device. The memory 51 can also be used to temporarily store data that has been output or is about to be output.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the processes in the foregoing embodiments, and may also be implemented by computer readable instructions, which may be stored in a computer readable storage medium. The computer readable instructions, when executed by a processor, may implement the steps of the various method embodiments described above. Wherein, the computer readable instructions comprise computer readable instruction code, which may be in the form of source code, an object code form, an executable file or some intermediate form or the like. The computer readable medium can include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Read-Only) Memory), random access memory (RAM, Random) Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media Does not include electrical carrier signals and telecommunication signals.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing embodiments. The technical solutions described in the examples are modified or equivalently replaced with some of the technical features; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种发票的票面内容处理方法,其特征在于,包括:A method for processing a face content of an invoice, comprising:
    获取交易对象的编码,所述编码用于表示所述交易对象;Obtaining a code of a transaction object, the code being used to represent the transaction object;
    获取预先设置的且与所述交易对象的编码对应的标志位,所述标志位用于标示所述交易对象的纳税类别,所述纳税类别包括免税、不征税和零税率;Obtaining a flag bit that is preset and corresponding to the code of the transaction object, the flag bit is used to indicate a tax category of the transaction object, and the tax category includes tax exemption, no taxation, and zero tax rate;
    将与所述纳税类别匹配的关于所述交易对象的纳税信息输出至所述交易对象的发票票面,所述纳税信息包括税率和税额。Tax information about the transaction object matching the tax category is output to an invoice face of the transaction object, and the tax information includes a tax rate and a tax amount.
  2. 如权利要求1所述的票面内容处理方法,其特征在于,所述获取预先设置的且与所述交易对象的编码对应的所述标志位,包括:The ticket content processing method according to claim 1, wherein the obtaining the flag bit that is preset and corresponding to the encoding of the transaction object comprises:
    将所述交易对象的编码输入预设数据库中进行查询,所述预设数据库中存储了已设置好对应的标志位的编码;And inputting the code of the transaction object into a preset database for searching, where the preset database stores an encoding of the corresponding flag bit;
    若查询到所述预设数据库中存在所述交易对象的编码,将所述预设数据库中存储的该编码对应的标志位获取为与所述交易对象的编码对应的所述标志位。If the code of the transaction object exists in the preset database, the flag corresponding to the code stored in the preset database is obtained as the flag bit corresponding to the code of the transaction object.
  3. 如权利要求1所述的票面内容处理方法,其特征在于,若所述交易对象的纳税类别为免税,所述票面内容处理方法还包括:The ticket content processing method according to claim 1, wherein if the tax category of the transaction object is tax-free, the ticket content processing method further comprises:
    将预设图形输出至所述交易对象的发票票面,所述预设图形包括与所述交易对象的纳税类别匹配的纳税标识。The preset graphic is output to the invoice face of the transaction object, and the preset graphic includes a tax identification that matches the tax category of the transaction object.
  4. 如权利要求1所述的票面内容处理方法,其特征在于,所述将与所述纳税类别匹配的关于所述交易对象的纳税信息输出至所述交易对象的发票票面,包括:The ticket content processing method according to claim 1, wherein the outputting the tax information about the transaction object matching the tax category to the invoice face of the transaction object comprises:
    将所述标志位传递给税控系统,以使所述税控系统根据所述标志位,获取与所述纳税类别匹配的关于所述交易对象的纳税信息,并输出至所述交易对象的发票票面。Transmitting the flag to the tax control system, so that the tax control system acquires tax information about the transaction object that matches the tax category according to the flag bit, and outputs the invoice to the transaction object Ticket face.
  5. 如权利要求2所述的票面内容处理方法,其特征在于,在所述将所述交易对象的编码输入预设数据库中进行查询之后,还包括:The ticket content processing method according to claim 2, further comprising: after the querying the encoding of the transaction object into a preset database, further comprising:
    若未查询到所述预设数据库中存在所述交易对象的编码,则解析所述交易对象的编码,将与解析结果匹配的标志位配置为所述交易对象的编码对应的所述标志位;或者接收用户输入的标志位,并将该标志位配置为所述交易对象的编码对应的所述标志位;If the encoding of the transaction object exists in the preset database, the encoding of the transaction object is parsed, and the flag bit matching the analysis result is configured as the flag bit corresponding to the encoding of the transaction object; Or receiving a flag bit input by the user, and configuring the flag bit as the flag bit corresponding to the code of the transaction object;
    将配置好的所述标志位与所述交易对象的编码关联存储至所述预设数据库。And storing the configured flag bit in association with the code of the transaction object to the preset database.
  6. 一种发票的票面内容处理装置,其特征在于,包括:A ticket face content processing device for an invoice, comprising:
    第一获取单元:获取交易对象的编码,其中,编码用于表示该交易对象;a first obtaining unit: acquiring an encoding of a transaction object, wherein the encoding is used to represent the transaction object;
    第二获取单元:获取预先设置的且与该交易对象的编码对应的标志位,其中,标志位用于标示该交易对象的纳税类别,纳税类别包括免税、不征税和零税率;a second obtaining unit: acquiring a pre-set flag bit corresponding to the encoding of the transaction object, wherein the flag bit is used to indicate a tax category of the transaction object, and the tax category includes tax exemption, no taxation, and zero tax rate;
    第一输出单元:将与该纳税类别匹配的关于该交易对象的纳税信息输出至该交易对象的发票票面,其中,纳税信息包括税率和税额。The first output unit: output tax information about the transaction object matching the tax category to the invoice face of the transaction object, wherein the tax information includes a tax rate and a tax amount.
  7. 如权利要求6所述的发票的票面内容处理装置,其特征在于,所述第二获取单元包括:The ticket content processing apparatus of the invoice according to claim 6, wherein the second obtaining unit comprises:
    查询子单元,用于将交易对象的编码输入预设数据库中进行查询,其中,预设数据库中存储了已设置好对应的标志位的编码;The query subunit is configured to input the code of the transaction object into the preset database for querying, wherein the preset database stores the code of the corresponding flag bit;
    获取子单元,用于若查询到预设数据库中存在该交易对象的编码,将预设数据库中存储的该编码对应的标志位获取为与该交易对象的编码对应的标志位。Obtaining a subunit, configured to obtain, by querying, a code of the transaction object in the preset database, and obtain a flag bit corresponding to the code stored in the preset database as a flag bit corresponding to the code of the transaction object.
  8. 如权利要求6所述的发票的票面内容处理装置,其特征在于,若该交易对象的纳税类别为免税,所述发票的票面内容处理装置还包括:The bill face content processing apparatus of the invoice according to claim 6, wherein if the tax category of the transaction object is tax-free, the ticket content processing apparatus of the invoice further includes:
    第二输出单元,用于将预设内容输出至该交易对象的发票票面,其中,预设内容包括优惠政策标识、零税率标识和增值税特殊管理标识。The second output unit is configured to output the preset content to the invoice face of the transaction object, wherein the preset content includes a preferential policy identifier, a zero tax rate identifier, and a VAT special management identifier.
  9. 如权利要求6所述的发票的票面内容处理装置,其特征在于,所述第一输出单元具体用于:The bill face content processing apparatus of the invoice according to claim 6, wherein the first output unit is specifically configured to:
    将标志位传递给税控系统,以使税控系统根据该标志位,获取与纳税类别匹配的关于交易对象的纳税信息,并输出至该交易对象的发票票面。The flag is transmitted to the tax control system, so that the tax control system obtains tax information about the transaction object that matches the tax category according to the flag, and outputs the tax information to the transaction object.
  10. 如权利要求7所述的发票的票面内容处理装置,其特征在于,所述第二获取单元还包括:The device for processing the invoice content of the invoice according to claim 7, wherein the second obtaining unit further comprises:
    配置子单元,用于若未查询到所述预设数据库中存在所述交易对象的编码,配置子单元用于解析所述交易对象的编码,将与解析结果匹配的标志位配置为所述交易对象的编码对应的所述标志位;或者接收用户输入的标志位,并将该标志位配置为所述交易对象的编码对应的所述标志位;a configuration subunit, configured to: if the encoding of the transaction object exists in the preset database, the configuration subunit is configured to parse the encoding of the transaction object, and configure a flag bit matching the parsing result as the transaction The flag bit corresponding to the encoding of the object; or receiving the flag bit input by the user, and configuring the flag bit as the flag bit corresponding to the encoding of the transaction object;
    存储子单元,用于将配置好的所述标志位与所述交易对象的编码关联存储至所述预设数据库。And a storage subunit, configured to store the configured flag bit in association with the code of the transaction object to the preset database.
  11. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:A terminal device comprising a memory, a processor, and computer readable instructions stored in the memory and operable on the processor, wherein the processor executes the computer readable instructions as follows step:
    获取交易对象的编码,所述编码用于表示所述交易对象;Obtaining a code of a transaction object, the code being used to represent the transaction object;
    获取预先设置的且与所述交易对象的编码对应的标志位,所述标志位用于标示所述交易对象的纳税类别,所述纳税类别包括免税、不征税和零税率;Obtaining a flag bit that is preset and corresponding to the code of the transaction object, the flag bit is used to indicate a tax category of the transaction object, and the tax category includes tax exemption, no taxation, and zero tax rate;
    将与所述纳税类别匹配的关于所述交易对象的纳税信息输出至所述交易对象的发票票面,所述纳税信息包括税率和税额。Tax information about the transaction object matching the tax category is output to an invoice face of the transaction object, and the tax information includes a tax rate and a tax amount.
  12. 如权利要求11所述的终端设备,其特征在于,所述获取预先设置的且与所述交易对象的编码对应的所述标志位的步骤,包括:The terminal device according to claim 11, wherein the step of acquiring the flag bit that is preset and corresponding to the encoding of the transaction object comprises:
    将所述交易对象的编码输入预设数据库中进行查询,所述预设数据库中存储了已设置好对应的标志位的编码;And inputting the code of the transaction object into a preset database for searching, where the preset database stores an encoding of the corresponding flag bit;
    若查询到所述预设数据库中存在所述交易对象的编码,将所述预设数据库中存储的该编码对应的标志位获取为与所述交易对象的编码对应的所述标志位。If the code of the transaction object exists in the preset database, the flag corresponding to the code stored in the preset database is obtained as the flag bit corresponding to the code of the transaction object.
  13. 如权利要求11所述的终端设备,其特征在于,若所述交易对象的纳税类别为免税,所述处理器执行所述计算机可读指令时还实现如下步骤:The terminal device according to claim 11, wherein if the tax category of the transaction object is tax-free, the processor further implements the following steps when executing the computer readable instruction:
    将预设图形输出至所述交易对象的发票票面,所述预设图形包括与所述交易对象的纳税类别匹配的纳税标识。The preset graphic is output to the invoice face of the transaction object, and the preset graphic includes a tax identification that matches the tax category of the transaction object.
  14. 如权利要求11所述的终端设备,其特征在于,所述将与所述纳税类别匹配的关于所述交易对象的纳税信息输出至所述交易对象的发票票面的步骤,包括:The terminal device according to claim 11, wherein the step of outputting tax information about the transaction object matching the tax category to an invoice face of the transaction object comprises:
    将所述标志位传递给税控系统,以使所述税控系统根据所述标志位,获取与所述纳税类别匹配的关于所述交易对象的纳税信息,并输出至所述交易对象的发票票面。Transmitting the flag to the tax control system, so that the tax control system acquires tax information about the transaction object that matches the tax category according to the flag bit, and outputs the invoice to the transaction object Ticket face.
  15. 如权利要求12所述的终端设备,其特征在于,在所述将所述交易对象的编码输入预设数据库中进行查询的步骤之后,所述处理器执行所述计算机可读指令时还实现如下步骤:The terminal device according to claim 12, wherein after the step of inputting the encoding of the transaction object into a preset database, the processor further implements the following when the processor executes the computer readable instruction step:
    若未查询到所述预设数据库中存在所述交易对象的编码,则解析所述交易对象的编码,将与解析结果匹配的标志位配置为所述交易对象的编码对应的所述标志位;或者接收用户输入的标志位,并将该标志位配置为所述交易对象的编码对应的所述标志位;If the encoding of the transaction object exists in the preset database, the encoding of the transaction object is parsed, and the flag bit matching the analysis result is configured as the flag bit corresponding to the encoding of the transaction object; Or receiving a flag bit input by the user, and configuring the flag bit as the flag bit corresponding to the code of the transaction object;
    将配置好的所述标志位与所述交易对象的编码关联存储至所述预设数据库。And storing the configured flag bit in association with the code of the transaction object to the preset database.
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被至少一个处理器执行时实现如下步骤:A computer readable storage medium storing computer readable instructions, wherein the computer readable instructions, when executed by at least one processor, implement the following steps:
    获取交易对象的编码,所述编码用于表示所述交易对象;Obtaining a code of a transaction object, the code being used to represent the transaction object;
    获取预先设置的且与所述交易对象的编码对应的标志位,所述标志位用于标示所述交易对象的纳税类别,所述纳税类别包括免税、不征税和零税率;Obtaining a flag bit that is preset and corresponding to the code of the transaction object, the flag bit is used to indicate a tax category of the transaction object, and the tax category includes tax exemption, no taxation, and zero tax rate;
    将与所述纳税类别匹配的关于所述交易对象的纳税信息输出至所述交易对象的发票票面,所述纳税信息包括税率和税额。Tax information about the transaction object matching the tax category is output to an invoice face of the transaction object, and the tax information includes a tax rate and a tax amount.
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述获取预先设置的且与所述交易对象的编码对应的所述标志位的步骤,包括:The computer readable storage medium according to claim 16, wherein the step of acquiring the flag bit preset and corresponding to the encoding of the transaction object comprises:
    将所述交易对象的编码输入预设数据库中进行查询,所述预设数据库中存储了已设置好对应的标志位的编码;And inputting the code of the transaction object into a preset database for searching, where the preset database stores an encoding of the corresponding flag bit;
    若查询到所述预设数据库中存在所述交易对象的编码,将所述预设数据库中存储的该编码对应的标志位获取为与所述交易对象的编码对应的所述标志位。If the code of the transaction object exists in the preset database, the flag corresponding to the code stored in the preset database is obtained as the flag bit corresponding to the code of the transaction object.
  18. 根据权利要求16所述的计算机可读存储介质,其特征在于,若所述交易对象的纳税类别为免税,所述计算机可读指令被至少一个处理器执行时还实现如下步骤:The computer readable storage medium of claim 16, wherein if the tax category of the transaction object is tax-free, the computer readable instructions are executed by at least one processor to:
    将预设图形输出至所述交易对象的发票票面,所述预设图形包括与所述交易对象的纳税类别匹配的纳税标识。The preset graphic is output to the invoice face of the transaction object, and the preset graphic includes a tax identification that matches the tax category of the transaction object.
  19. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述将与所述纳税类别匹配的关于所述交易对象的纳税信息输出至所述交易对象的发票票面的步骤,包括:The computer readable storage medium according to claim 16, wherein the step of outputting tax information about the transaction object matching the tax category to an invoice face of the transaction object comprises:
    将所述标志位传递给税控系统,以使所述税控系统根据所述标志位,获取与所述纳税类别匹配的关于所述交易对象的纳税信息,并输出至所述交易对象的发票票面。Transmitting the flag to the tax control system, so that the tax control system acquires tax information about the transaction object that matches the tax category according to the flag bit, and outputs the invoice to the transaction object Ticket face.
  20. 根据权利要求17所述的计算机可读存储介质,其特征在于,在所述将所述交易对象的编码输入预设数据库中进行查询之后,所述计算机可读指令被至少一个处理器执行时还实现如下步骤:A computer readable storage medium according to claim 17, wherein said computer readable instructions are executed by at least one processor after said querying said encoding of said transaction object into a predetermined database Implement the following steps:
    若未查询到所述预设数据库中存在所述交易对象的编码,则解析所述交易对象的编码,将与解析结果匹配的标志位配置为所述交易对象的编码对应的所述标志位;或者接收用户输入的标志位,并将该标志位配置为所述交易对象的编码对应的所述标志位;If the encoding of the transaction object exists in the preset database, the encoding of the transaction object is parsed, and the flag bit matching the analysis result is configured as the flag bit corresponding to the encoding of the transaction object; Or receiving a flag bit input by the user, and configuring the flag bit as the flag bit corresponding to the code of the transaction object;
    将配置好的所述标志位与所述交易对象的编码关联存储至所述预设数据库。And storing the configured flag bit in association with the code of the transaction object to the preset database.
PCT/CN2018/077227 2017-07-27 2018-02-26 Method and apparatus for processing face value content of invoice, and terminal device WO2019019629A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710623325.9 2017-07-27
CN201710623325.9A CN107784572B (en) 2017-07-27 2017-07-27 Invoice surface content processing method and terminal equipment

Publications (1)

Publication Number Publication Date
WO2019019629A1 true WO2019019629A1 (en) 2019-01-31

Family

ID=61437765

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077227 WO2019019629A1 (en) 2017-07-27 2018-02-26 Method and apparatus for processing face value content of invoice, and terminal device

Country Status (2)

Country Link
CN (1) CN107784572B (en)
WO (1) WO2019019629A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245996A (en) * 2019-06-21 2019-09-17 智联融数(北京)科技有限公司 A kind for the treatment of method and apparatus for issuing electronic invoice based on cash register terminal
CN113065935A (en) * 2019-12-27 2021-07-02 航天信息股份有限公司 Data processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239271A (en) * 1998-06-15 1999-12-22 徐忠武 Method for preventing commodity and from being evaded and its product
US20100153241A1 (en) * 2008-12-12 2010-06-17 Paymetric, Inc. System and method for automated reconciliation of purchase orders
CN201707689U (en) * 2008-11-03 2011-01-12 田小平 Tax collection management system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093320A1 (en) * 2002-11-18 2003-05-15 Sullivan Daniel L. Method, system and computer program product for facilitating a tax transaction
CN104657090A (en) * 2013-11-20 2015-05-27 航天信息股份有限公司 Method for modularizing invoice printing elements in tax control system
CN104463646A (en) * 2014-12-25 2015-03-25 浪潮软件集团有限公司 Invoice management system based on mobile electronic commerce
CN106169152A (en) * 2016-09-08 2016-11-30 广东源恒软件科技有限公司 The automatic accounting method of a kind of value-added tax and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239271A (en) * 1998-06-15 1999-12-22 徐忠武 Method for preventing commodity and from being evaded and its product
CN201707689U (en) * 2008-11-03 2011-01-12 田小平 Tax collection management system
US20100153241A1 (en) * 2008-12-12 2010-06-17 Paymetric, Inc. System and method for automated reconciliation of purchase orders

Also Published As

Publication number Publication date
CN107784572B (en) 2021-04-13
CN107784572A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
US11232521B2 (en) Methods, systems, and tools for providing tax related services for virtual currency holdings
US9129276B1 (en) Inventory management
AU2024200576A1 (en) Methods and systems for facilitating payment transaction reconciliation
KR102437026B1 (en) Advanced method, system and device for registering information in a database
CN112465601A (en) Electronic order generation method and device and storage medium
CN106164965A (en) For finding out and the system and method for delivery service
CN110599273B (en) Data processing method, data processing device, node equipment and storage medium
WO2019019629A1 (en) Method and apparatus for processing face value content of invoice, and terminal device
CN115439264A (en) Insurance business customization method, device and system
US11763299B2 (en) Advanced methods, systems and devices for registering information in a database
CN110489705B (en) Method, device, terminal equipment and storage medium for calculating brokerage fee
CN114331467A (en) Product anti-counterfeiting and anti-channel conflict system based on software as a service (SaaS)
US20200265404A1 (en) Point of sale system and commodity accounting processing method
CN112330448A (en) Fund management method, terminal device and storage medium
CN111340517A (en) Method, system and related equipment for rapidly inquiring authenticity of invoice
CN111695077A (en) Asset information pushing method, terminal equipment and readable storage medium
CN111210329A (en) Accounting document generation method and device, storage medium and electronic equipment
US20230267543A1 (en) Trackable product interest system and method
US11966878B2 (en) Multi-entity platform using uniform labeling of data products and services
CN110717747B (en) Settlement method, settlement device, settlement terminal and computer storage medium
US10134093B1 (en) System, method, and computer program for dynamically reconciling a distributor invoice with a retailer receiving invoice for products sold under multiple UPCs and in multiple quantity units
CN116433202A (en) Salary data statistics method, device and system
CN114298776A (en) Invoice issuing method and device, storage medium and computer equipment
CN113240532A (en) Insurance generation based intermediary profit allocation calculation method and system
CN116385190A (en) Automatic account checking method and device

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

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

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 05.08.2020.

122 Ep: pct application non-entry in european phase

Ref document number: 18838966

Country of ref document: EP

Kind code of ref document: A1