WO2019019712A1 - 一种空白发票的分发处理方法、存储介质和服务器 - Google Patents
一种空白发票的分发处理方法、存储介质和服务器 Download PDFInfo
- Publication number
- WO2019019712A1 WO2019019712A1 PCT/CN2018/083553 CN2018083553W WO2019019712A1 WO 2019019712 A1 WO2019019712 A1 WO 2019019712A1 CN 2018083553 W CN2018083553 W CN 2018083553W WO 2019019712 A1 WO2019019712 A1 WO 2019019712A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- invoice
- tax control
- distribution
- target blank
- information
- 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.)
- Ceased
Links
Classifications
-
- 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
Definitions
- the present application relates to the field of financial technology, and in particular, to a method for distributing a blank invoice, a storage medium, and a server.
- the flow of blank invoices is: purchase blank invoices from the tax bureau ⁇ tax filing tray ⁇ core board ⁇ billing terminal.
- the process of distributing blank invoices mainly refers to the process of distributing blank invoices from the core board to the billing terminal.
- the enterprise's invoice management system needs to call the distribution interface (referred to as the tax control distribution interface) of the dedicated tax control server (for example, the tax control server), which is provided externally through the browser plug-in. Javascript interface to achieve.
- the invoice management system often calls the tax control distribution interface to cause the browser to respond slowly or even jam, which is easy when the browser is stuck, the user closes the browser, and the client computer loses power.
- the invoice management system of the enterprise is unable to know the return result of the tax control distribution interface in time and accurately, so that it is difficult to determine whether the result of distributing the blank invoice is successful or not, which leads to the inventory of the blank invoice stored in the invoice management system and the tax control system. Inconsistent issues.
- the embodiment of the present application provides a blank invoice distribution processing method and a server, which are intended to solve the problem of inconsistency between the inventory of the blank invoice stored in the existing invoice management system and the tax control system.
- a method for distributing a blank invoice including:
- invoice management table records invoice information of a blank invoice currently available on the core board
- the distribution information sheet records the invoice information of the blank invoice that has been distributed
- the target blank invoice is deleted from the blank invoice inventory
- the preset invoice distribution operation includes the following steps:
- the target blank invoice is deleted from the blank invoice inventory.
- a computer readable storage medium is stored, the computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the steps of a blank processing method of a blank invoice .
- a server comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the computer readable instructions The steps of the distribution processing method for the blank invoice.
- the present application determines whether the target blank invoice is distributed by querying the invoice management table and the distribution information table of the tax control system before invoking the tax control distribution interface to distribute the target blank invoice. If the target blank invoice is in the invoice management table, it indicates that it has not completed the distribution, thus calling the tax control distribution interface; if the target blank invoice is not in the invoice management table and in the distribution information table, it indicates that it has completed the distribution and Blank invoice inventory is deleted; if the target blank invoice is not in the invoice management table and is not in the distribution information table, although it is not possible to determine whether the target blank invoice is distributed, but the scheme directly calls the tax control distribution interface again, the target blank invoice can be ensured. The distribution is completed and the returned result is deleted from the blank invoice inventory after success. It can be seen that regardless of whether the tax distribution interface returns a specific distribution result, the solution can ensure the distribution of the target blank invoice to be distributed, and ensure that the undistributed blank invoice inventory stored by the invoice management system is consistent with that in the tax control system.
- FIG. 1 is a flow chart of an embodiment of a blank invoice distribution processing method according to an embodiment of the present application
- FIG. 2 is a schematic flowchart of step 105 of a blank invoice distribution processing method in an application scenario according to an embodiment of the present application;
- FIG. 3 is a schematic flowchart of step 105 of a blank invoice distribution processing method in another application scenario according to an embodiment of the present application;
- FIG. 4 is a structural diagram of an embodiment of a blank invoice distribution processing apparatus according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of a server according to an embodiment of the present application.
- an embodiment of a blank invoice distribution processing method in this embodiment includes:
- the user may log in to the invoice management system first.
- the user needs to verify the user's account number, password, and the like. If the verification is passed, the user is successfully logged into the invoice management system.
- the invoice management system can query which blank invoices are available in the undistributed blank invoice inventory, and determine the target blank invoice to be distributed currently.
- the above step 101 may include: querying and displaying a blank invoice in the blank invoice inventory not distributed by the invoice management system, and then determining the blank invoice selected by the current user as the target blank invoice to be distributed. That is, after the invoice management system queries the blank invoice in the blank invoice inventory, the available blank invoices can be displayed to the user through the display interface, and the user can select the blank invoices to be distributed and the number of invoices on the display interface. After the user clicks the "Distribute" button, it indicates that the user selects the completion, and the blank invoice selected by the user is determined as the above-mentioned target blank invoice.
- the user may also input to which billing terminal the blank invoices are to be distributed, and after the user inputs the billing terminal and clicks the "OK" button, the invoice management system may obtain the target blank invoice.
- the billing terminal to be distributed to, and a corresponding distribution instruction may be generated, and the invoice management system performs subsequent steps on the target blank invoice according to the distribution instruction to complete the distribution operation.
- step 102 Query whether the invoice information of the target blank invoice is recorded in the invoice management table of the tax control system. If yes, execute step 105. If no, execute step 103, where the invoice management table records that the core board is currently available. Invoice information for blank invoices;
- the tax control system (the system of the dedicated tax control server) stores two forms, which are the invoice management table and the distribution information table.
- the invoice management table is used to record the invoice information of the blank invoice currently available on the core board
- the distribution information table is used to record the invoice information of the blank invoice that has been distributed. It can be understood that when the invoice information of a blank invoice is recorded in the invoice management table, it indicates that the blank invoice is not distributed; when the invoice information of a blank invoice is recorded in the distribution information table, it indicates This blank invoice has been distributed.
- step 105 is executed to invoke the tax control distribution interface to perform the target blank invoice.
- step 105 is executed to invoke the tax control distribution interface to perform the target blank invoice.
- Distribute if not, it means that the target blank invoice may have been distributed, but it is not sure whether the distribution has been successful, so step 103 needs to be performed for further confirmation.
- the distribution information table of the tax control system can be queried, and if the invoice information of the target blank invoice is recorded on the distribution information table, the target blank invoice is indicated. Has been successfully distributed.
- the target blank invoice is a blank invoice inventory that is not distributed in the invoice management system
- the record in the blank invoice inventory is inconsistent with the record information on the tax control system, in order to maintain inventory information between the invoice management system and the tax control system.
- the consistency of the record, and based on the record information of the tax control system, should be performed in step 104 to delete the target blank invoice from the blank invoice inventory.
- the invoice management system may perform step 105 to perform the target blank invoice. Once again, distribute the operation to ensure its distribution is successful.
- the invoice information of the target blank invoice in the blank invoice inventory may be deleted from the inventory, or may be marked as “distributed” in the invoice information of the target blank invoice, and accordingly, These invoices are automatically filtered when the invoice management system queries these blank invoices marked as "distributed”, which is equivalent to removing the target blank invoice from the blank invoice inventory.
- step 105 may specifically include the following steps:
- the target blank invoice is deleted from the blank invoice inventory.
- step 201 in order to complete the distribution of the target blank invoice, or to ensure the successful distribution of the target blank invoice, the tax control distribution interface provided by the tax control system may be invoked on the target blank invoice to perform the distribution operation.
- the step 201 is specifically: invoking the tax control distribution interface provided by the tax control system to distribute the target blank invoice to the billing terminal. .
- the tax distribution interface After the tax distribution interface is invoked, the tax distribution interface generally reports the success or failure of the distribution. If the “distribution success” information fed back by the tax distribution interface is received, it can be determined. The target blank invoice has been distributed, thereby performing the above step 202, deleting the target blank invoice from the blank invoice inventory. If the information of the tax control distribution interface is not received, the result of the tax control distribution interface is unsuccessful. In this case, the preset processing mode can be used for processing. For example, feedback can be performed. Relevant alarm information is sent to the designated administrator, or the distribution operation can be directly ended, or the above steps 102-105 can be performed again, the target blank invoice can be re-tried, and so on.
- the embodiment may also add relevant identifiers during the execution process. Specifically, before step 201, the preset flag information corresponding to the target blank invoice is modified to be abnormal in the invoice management system; if the return result of the tax control distribution interface is successful, the preset is The flag information is modified to be normal; otherwise, if the return result of the tax control distribution interface is unsuccessful, the information about the unsuccessful distribution of the target blank invoice is fed back to the designated administrator.
- the identification information of the target blank invoice is set to "abnormal", for example, set to 0, after the tax control distribution interface is invoked, if the tax control is performed.
- the result of the distribution interface is unsuccessful (as opposed to the success of the distribution, that is, as long as the distribution is successful, the return result of this tax control distribution interface is considered unsuccessful), the target blank invoice always exists in the distribution operation.
- Abnormal status so you can feedback relevant information to the designated administrator to remind the designated administrator to perform related maintenance.
- the designated administrator can quickly locate the blank invoice location where the exception occurs by using the preset flag information of the blank invoice, thereby helping the designated administrator to check and handle the abnormal situation.
- the preset flag information is modified to be normal, for example, set to "1"
- the blank invoice that is normally distributed can be distinguished from the blank invoice that is abnormally distributed.
- step 105 may specifically include the following steps:
- step 303 determine whether the return result of the current tax control distribution interface is successful, and if so, proceed to step 304, and if not, proceed to step 305;
- step 305 Determine whether the cumulative number of times the target blank invoice is distributed exceeds a preset threshold, and if yes, end the current distribution operation, and if no, return to step 102.
- the above steps 302-304 are similar to the above steps 201-202, and are not described herein again.
- step 301 in this application scenario, for each same invoice, the tax distribution distribution interface is called once, and the cumulative number of distributions of the blank invoice is incremented by one, and the tax distribution distribution that has been called for the blank invoice is counted by distributing the cumulative number of times. The number of times the interface. Therefore, if it is determined in step 303 that the return result of the tax control distribution interface is unsuccessful, step 305 may be performed to determine whether the cumulative number of distributions of the target blank invoice exceeds a preset threshold, and if so, the blank invoice for the target is known. After the tax control distribution interface has been called repeatedly, the distribution cannot be successfully distributed. It can be determined that the target blank invoice is abnormal.
- the distribution operation is ended, and the information about the unsuccessful distribution of the target blank invoice can be fed back to the designated administrator; Otherwise, you can go back to step 102, re-inquire the target blank invoice again and call the tax control distribution interface to ensure the successful distribution of the target blank invoice, and keep the blank invoice inventory of the invoice management system as much as possible. Consistent with the tax control system. In practical applications, generally speaking, after the tax control distribution interface is called twice for the same blank invoice, the distribution success rate of the blank invoice can reach 99.99%, so the above steps 301 ⁇ 305 can basically ensure the target blank invoice to be distributed. Complete the distribution operation.
- the invoice management system may further insert the invoice related information distributed by the target blank invoice into the invoice database of the invoice management system. If the return result of the tax control distribution interface is unsuccessful, the invoice related information of the current distribution is deleted from the invoice database.
- the above-mentioned invoice related information refers to basic information and/or detailed information related to the target blank invoice.
- the basic information may include the applicant of the invoice, the application department, the application date, the purchaser, the purchase date, the warehousing personnel, the warehousing time and the like; the detailed information may include the invoice type of the invoice, the invoice denomination, the invoice score, the invoice code, and the like.
- Two different forms can be used in the invoice database to store the basic information and detailed information.
- the invoice management table and the distribution information table of the tax control system are queried to determine whether the target blank invoice is distributed. If the target blank invoice is in the invoice management table, it indicates that it has not completed the distribution, thus calling the tax control distribution interface; if the target blank invoice is not in the invoice management table and in the distribution information table, it indicates that it has completed the distribution and Blank invoice inventory is deleted; if the target blank invoice is not in the invoice management table and is not in the distribution information table, although it is not possible to determine whether the target blank invoice is distributed, but the scheme directly calls the tax control distribution interface again, the target blank invoice can be ensured. The distribution is completed and the returned result is deleted from the blank invoice inventory after success. It can be seen that regardless of whether the tax distribution interface returns a specific distribution result, the solution can ensure the distribution of the target blank invoice to be distributed, and ensure that the undistributed blank invoice inventory stored by the invoice management system is consistent with that in the tax control system.
- the blank invoice inventory stored in the invoice management system and the tax control system may be periodically (e.g., executed once an hour).
- the blank invoice inventory is synchronized, which is based on the blank invoice inventory in the tax control system.
- the invoice management system can also find invoice data with deviations between the two blank invoices, and report the inconsistent invoice data to the designated administrator for subsequent maintenance and processing.
- the distribution processing method of a blank invoice is mainly described above, and a distribution processing apparatus of a blank invoice will be described in detail below.
- FIG. 4 is a structural diagram showing an embodiment of a blank processing system for distributing a blank invoice in the embodiment of the present application.
- a distribution processing device for a blank invoice includes:
- the target invoice determination module 401 is configured to determine a target blank invoice to be distributed in the blank invoice inventory that is not distributed by the invoice management system;
- the first query module 402 is configured to query whether the invoice information of the target blank invoice is recorded in an invoice management table of the tax control system, where the invoice management table records invoice information of a blank invoice currently available on the core board;
- the first distribution triggering module 403 is configured to trigger the distribution operation module 407 if the query result of the first query module 402 is YES;
- the second query module 404 is configured to: if the query result of the first query module 402 is negative, query whether the invoice information of the target blank invoice is recorded in a distribution information table of the tax control system, the distribution information The table records the invoice information of the blank invoice that has been distributed;
- the second distribution triggering module 406 is configured to trigger the distribution operation module 407 if the query result of the second query module 404 is negative;
- the distribution operation module 407 includes:
- a distribution interface invoking unit 4071 configured to invoke the tax control distribution interface provided by the tax control system on the target blank invoice;
- the invoice inventory deleting unit 4072 is configured to delete the target blank invoice from the blank invoice inventory if the return result of the current tax control distribution interface is successful.
- the distribution operation module may further include:
- a first flag information modifying unit configured to: in the invoice management system, correspond to the target blank invoice before the distribution interface calling unit invokes the tax control distribution interface provided by the tax control system on the target blank invoice
- the preset flag information is modified to be abnormal
- a second flag information modification unit configured to modify the preset flag information to be normal if the return result of the tax control distribution interface is successful
- the information feedback unit is configured to: if the return result of the tax control distribution interface is unsuccessful, feed back information about the unsuccessful distribution of the target blank invoice to the designated administrator.
- the distribution processing device of the blank invoice may further include:
- An information insertion module configured to insert the target blank invoice book into an invoice database of the invoice management system before the distribution interface calling unit invokes the tax control distribution interface provided by the tax control system on the target blank invoice Sub-distributed invoice related information;
- the information deletion module is configured to delete the invoice related information of the current distribution from the invoice database if the return result of the tax control distribution interface is unsuccessful.
- the target invoice determination module may include:
- An inventory inquiry unit for querying and displaying a blank invoice in a blank invoice inventory not distributed by the invoice management system
- An invoice determining unit configured to determine a blank invoice selected by the current user as a target blank invoice to be distributed
- the distribution processing device of the blank invoice may further include:
- a billing terminal obtaining module configured to acquire a billing terminal to which the target blank invoice is to be distributed
- the distribution interface calling unit is specifically configured to: invoke the tax control distribution interface provided by the tax control system to distribute the target blank invoice to the billing terminal.
- the distribution processing device of the blank invoice may further include:
- a distribution accumulating module configured to increase the cumulative number of distributions of the target blank invoice by one before the distribution interface calling unit invokes the tax control distribution interface provided by the tax control system on the target blank invoice;
- the cumulative number judging module is configured to determine whether the cumulative number of distributions of the target blank invoice exceeds a preset threshold if the return result of the tax control distribution interface is unsuccessful;
- the query triggering module is configured to trigger the first query module if the judgment result of the cumulative number determining module is negative.
- FIG. 5 is a schematic diagram of a server according to an embodiment of the present application.
- the server 5 of this embodiment includes a processor 50, a memory 51, and computer readable instructions 52 stored in the memory 51 and executable on the processor 50, such as performing a blank invoice.
- the processor 50 executes the computer readable instructions 52, the steps in the embodiment of the method for distributing the blank invoices described above are implemented, such as steps 101 to 105 shown in FIG.
- the processor 50 executes the computer readable instructions 52
- the functions of the modules/units in the various apparatus embodiments described above are implemented, such as the functions of the modules 401 to 407 shown in FIG.
- the computer readable instructions 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50, To complete this application.
- the one or more modules/units may be a series of computer readable instruction instruction segments capable of performing a particular function, the instruction segments being used to describe the execution of the computer readable instructions 52 in the server 5.
- the server 5 can be a computing device such as a local server or a cloud server.
- the server may include, but is not limited to, a processor 50, a memory 51. It will be understood by those skilled in the art that FIG. 5 is merely an example of the server 5 and does not constitute a limitation of the server 5, and may include more or less components than those illustrated, or combine some components, or different components, such as
- the server may also include an input and output device, a network access device, a bus, and the like.
- 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.
- the memory 51 may be an internal storage unit of the server 5, such as a hard disk or a memory of the server 5.
- the memory 51 may also be an external storage device of the server 5, such as a plug-in hard disk, a smart memory card (SMC), and a secure digital (SD) card provided on the server 5. Flash card (Flash Card) and so on.
- the memory 51 may also include both an internal storage unit of the server 5 and an external storage device.
- the memory 51 is for storing the computer readable instructions and other programs and data required by the server.
- the memory 51 can also be used to temporarily store data that has been output or is about to be output.
Landscapes
- Business, Economics & Management (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
Claims (20)
- 一种空白发票的分发处理方法,其特征在于,包括:在发票管理系统未分发的空白发票库存中确定当前待分发的目标空白发票;查询所述目标空白发票的发票信息是否记录在税控系统的发票管理表中,所述发票管理表记录有核心板上当前可用的空白发票的发票信息;若查询到所述目标空白发票的发票信息记录在税控系统的发票管理表中,则执行预设的发票分发操作;若查询到所述目标空白发票的发票信息未记录在税控系统的发票管理表中,则查询所述目标空白发票的发票信息是否记录在所述税控系统的分发信息表中,所述分发信息表记录有已分发的空白发票的发票信息;若查询到所述目标空白发票的发票信息记录在所述税控系统的分发信息表中,则将所述目标空白发票从所述空白发票库存中删除;若查询到所述目标空白发票的发票信息未记录在所述税控系统的分发信息表中,则执行预设的发票分发操作;所述预设的发票分发操作包括如下步骤:对所述目标空白发票调用所述税控系统提供的税控分发接口;若本次税控分发接口的返回结果为成功,则将所述目标空白发票从所述空白发票库存中删除。
- 根据权利要求1所述的空白发票的分发处理方法,其特征在于,所述预设的发票分发操作还包括如下步骤:在所述对所述目标空白发票调用所述税控系统提供的税控分发接口的步骤之前,在所述发票管理系统中将所述目标空白发票对应的预设标志信息修改为异常;若本次税控分发接口的返回结果为成功,则将所述预设标志信息修改为正常;若本次税控分发接口的返回结果为不成功,则反馈关于所述目标空白发票分发不成功的信息至指定管理员。
- 根据权利要求1所述的空白发票的分发处理方法,其特征在于,还包括:在所述对所述目标空白发票调用所述税控系统提供的税控分发接口的步骤之前,向所述发票管理系统的发票数据库中插入所述目标空白发票本次分发的发票相关信息;若本次税控分发接口的返回结果为不成功,则从所述发票数据库中删除所述本次分发的发票相关信息。
- 根据权利要求1所述的空白发票的分发处理方法,其特征在于,所述在发票管理系统未分发的空白发票库存中确定当前待分发的目标空白发票包括:查询并展示所述发票管理系统未分发的空白发票库存中的空白发票;将当前用户选中的空白发票确定为当前待分发的目标空白发票;所述空白发票的分发处理方法还包括:获取所述目标空白发票待分发至的开票终端;对所述目标空白发票调用所述税控系统提供的税控分发接口具体为:调用所述税控系统提供的税控分发接口将所述目标空白发票分发至所述开票终端。
- 根据权利要求1至4中任一项所述的空白发票的分发处理方法,其特征在于,还包括:在所述对所述目标空白发票调用所述税控系统提供的税控分发接口的步骤之前,将所述目标空白发票的分发累计次数加1;若本次税控分发接口的返回结果为不成功,则判断所述目标空白发票的分发累计次数是否超过预设的阈值;若所述目标空白发票的分发累计次数不超过预设的阈值,则返回执行所述查询所述目标空白发票的发票信息是否记录在税控系统的发票管理表中的步骤。
- 一种空白发票的分发处理装置,其特征在于,包括:目标发票确定模块,用于在发票管理系统未分发的空白发票库存中确定当前待分发的目标空白发票;第一查询模块,用于查询所述目标空白发票的发票信息是否记录在税控系统的发票管理表中,所述发票管理表记录有核心板上当前可用的空白发票的发票信息;第一分发触发模块,用于若所述第一查询模块的查询结果为是,则触发分发操作模块;第二查询模块,用于若所述第一查询模块的查询结果为否,则查询所述目标空白发票的发票信息是否记录在所述税控系统的分发信息表中,所述分发信息表记录有已分发的空白发票的发票信息;删除库存模块,用于若所述第二查询模块的查询结果为是,则将所述目标空白发票从所述空白发票库存中删除;第二分发触发模块,用于若所述第二查询模块的查询结果为否,则触发所述分发操作模块;所述分发操作模块包括:分发接口调用单元,用于对所述目标空白发票调用所述税控系统提供的税控分发接口;发票库存删除单元,用于若本次税控分发接口的返回结果为成功,则将所述目标空白发票从所述空白发票库存中删除。
- 根据权利要求6所述的空白发票的分发处理装置,其特征在于,所述分发操作模块还可以包括:第一标志信息修改单元,用于在所述分发接口调用单元对所述目标空白发票调用所述税控系统提供的税控分发接口之前,在所述发票管理系统中将所述目标空白发票对应的预设标志信息修改为异常;第二标志信息修改单元,用于若本次税控分发接口的返回结果为成功,则将所述预设标志信息修改为正常;信息反馈单元,用于若本次税控分发接口的返回结果为不成功,则反馈关于所述目标空白发票分发不成功的信息至指定管理员。
- 根据权利要求6所述的空白发票的分发处理装置,其特征在于,所述空白发票的分发处理装置还可以包括:信息插入模块,用于在所述分发接口调用单元对所述目标空白发票调用所述税控系统提供的税控分发接口之前,向所述发票管理系统的发票数据库中插入所述目标空白发票本次分发的发票相关信息;信息删除模块,用于若本次税控分发接口的返回结果为不成功,则从所述发票数据库中删除所述本次分发的发票相关信息。
- 根据权利要求6所述的空白发票的分发处理装置,其特征在于,所述目标发票确定模块可以包括:库存查询单元,用于查询并展示所述发票管理系统未分发的空白发票库存中的空白发票;发票确定单元,用于将当前用户选中的空白发票确定为当前待分发的目标空白发票;所述空白发票的分发处理装置还可以包括:开票终端获取模块,用于获取所述目标空白发票待分发至的开票终端;所述分发接口调用单元具体用于:调用所述税控系统提供的税控分发接口将所述目标空白发票分发至所述开票终端。
- 根据权利要求6至9任一项所述的空白发票的分发处理装置,其特征在于,所述空白发票的分发处理装置还可以包括:分发累计模块,用于在所述分发接口调用单元对所述目标空白发票调用所述税控系统提供的税控分发接口之前,将所述目标空白发票的分发累计次数加1;累计次数判断模块,用于若本次税控分发接口的返回结果为不成功,则判断所述目标空白发票的分发累计次数是否超过预设的阈值;查询触发模块,用于若所述累计次数判断模块的判断结果为否,则触发所述第一查询模块。
- 一种服务器,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:在发票管理系统未分发的空白发票库存中确定当前待分发的目标空白发票;查询所述目标空白发票的发票信息是否记录在税控系统的发票管理表中,所述发票管理表记录有核心板上当前可用的空白发票的发票信息;若查询到所述目标空白发票的发票信息记录在税控系统的发票管理表中,则执行预设的发票分发操作;若查询到所述目标空白发票的发票信息未记录在税控系统的发票管理表中,则查询所述目标空白发票的发票信息是否记录在所述税控系统的分发信息表中,所述分发信息表记录有已分发的空白发票的发票信息;若查询到所述目标空白发票的发票信息记录在所述税控系统的分发信息表中,则将所述目标空白发票从所述空白发票库存中删除;若查询到所述目标空白发票的发票信息未记录在所述税控系统的分发信息表中,则执行预设的发票分发操作;所述预设的发票分发操作包括如下步骤:对所述目标空白发票调用所述税控系统提供的税控分发接口;若本次税控分发接口的返回结果为成功,则将所述目标空白发票从所述空白发票库存中删除。
- 根据权利要求11所述的服务器,其特征在于,所述预设的发票分发操作还包括如下步骤:在所述对所述目标空白发票调用所述税控系统提供的税控分发接口的步骤之前,在所述发票管理系统中将所述目标空白发票对应的预设标志信息修改为异常;若本次税控分发接口的返回结果为成功,则将所述预设标志信息修改为正常;若本次税控分发接口的返回结果为不成功,则反馈关于所述目标空白发票分发不成功的信息至指定管理员。
- 根据权利要求11所述的服务器,其特征在于,所述处理器执行所述计算机可读指令时还包括:在所述对所述目标空白发票调用所述税控系统提供的税控分发接口的步骤之前,向所述发票管理系统的发票数据库中插入所述目标空白发票本次分发的发票相关信息;若本次税控分发接口的返回结果为不成功,则从所述发票数据库中删除所述本次分发的发票相关信息。
- 根据权利要求11所述的服务器,其特征在于,所述在发票管理系统未分发的空白发票库存中确定当前待分发的目标空白发票包括:查询并展示所述发票管理系统未分发的空白发票库存中的空白发票;将当前用户选中的空白发票确定为当前待分发的目标空白发票;所述空白发票的分发处理方法还包括:获取所述目标空白发票待分发至的开票终端;对所述目标空白发票调用所述税控系统提供的税控分发接口具体为:调用所述税控系统提供的税控分发接口将所述目标空白发票分发至所述开票终端。
- 根据权利要求11至14任一项所述的服务器,其特征在于,所述处理器执行所述计算机可读指令时还包括:在所述对所述目标空白发票调用所述税控系统提供的税控分发接口的步骤之前,将所述目标空白发票的分发累计次数加1;若本次税控分发接口的返回结果为不成功,则判断所述目标空白发票的分发累计次数是否超过预设的阈值;若所述目标空白发票的分发累计次数不超过预设的阈值,则返回执行所述查询所述目标空白发票的发票信息是否记录在税控系统的发票管理表中的步骤。
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:在发票管理系统未分发的空白发票库存中确定当前待分发的目标空白发票;查询所述目标空白发票的发票信息是否记录在税控系统的发票管理表中,所述发票管理表记录有核心板上当前可用的空白发票的发票信息;若查询到所述目标空白发票的发票信息记录在税控系统的发票管理表中,则执行预设的发票分发操作;若查询到所述目标空白发票的发票信息未记录在税控系统的发票管理表中,则查询所述目标空白发票的发票信息是否记录在所述税控系统的分发信息表中,所述分发信息表记录有已分发的空白发票的发票信息;若查询到所述目标空白发票的发票信息记录在所述税控系统的分发信息表中,则将所述目标空白发票从所述空白发票库存中删除;若查询到所述目标空白发票的发票信息未记录在所述税控系统的分发信息表中,则执行预设的发票分发操作;所述预设的发票分发操作包括如下步骤:对所述目标空白发票调用所述税控系统提供的税控分发接口;若本次税控分发接口的返回结果为成功,则将所述目标空白发票从所述空白发票库存中删除。
- 根据权利要求16所述的计算机可读存储介质,其特征在于,所述预设的发票分发操作还包括如下步骤:在所述对所述目标空白发票调用所述税控系统提供的税控分发接口的步骤之前,在所述发票管理系统中将所述目标空白发票对应的预设标志信息修改为异常;若本次税控分发接口的返回结果为成功,则将所述预设标志信息修改为正常;若本次税控分发接口的返回结果为不成功,则反馈关于所述目标空白发票分发不成功的信息至指定管理员。
- 根据权利要求16所述的计算机可读存储介质,其特征在于,所述计算机可读指令被处理器执行时还实现如下步骤:在所述对所述目标空白发票调用所述税控系统提供的税控分发接口的步骤之前,向所述发票管理系统的发票数据库中插入所述目标空白发票本次分发的发票相关信息;若本次税控分发接口的返回结果为不成功,则从所述发票数据库中删除所述本次分发的发票相关信息。
- 根据权利要求16所述的计算机可读存储介质,其特征在于,所述在发票管理系统未分发的空白发票库存中确定当前待分发的目标空白发票包括:查询并展示所述发票管理系统未分发的空白发票库存中的空白发票;将当前用户选中的空白发票确定为当前待分发的目标空白发票;所述空白发票的分发处理方法还包括:获取所述目标空白发票待分发至的开票终端;对所述目标空白发票调用所述税控系统提供的税控分发接口具体为:调用所述税控系统提供的税控分发接口将所述目标空白发票分发至所述开票终端。
- 根据权利要求16至19任一项所述的计算机可读存储介质,其特征在于,所述计算机可读指令被处理器执行时还实现如下步骤:在所述对所述目标空白发票调用所述税控系统提供的税控分发接口的步骤之前,将所述目标空白发票的分发累计次数加1;若本次税控分发接口的返回结果为不成功,则判断所述目标空白发票的分发累计次数是否超过预设的阈值;若所述目标空白发票的分发累计次数不超过预设的阈值,则返回执行所述查询所述目标空白发票的发票信息是否记录在税控系统的发票管理表中的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710605522.8A CN107784531A (zh) | 2017-07-24 | 2017-07-24 | 一种空白发票的分发处理方法、存储介质和服务器 |
| CN201710605522.8 | 2017-07-24 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019019712A1 true WO2019019712A1 (zh) | 2019-01-31 |
Family
ID=61437500
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/083553 Ceased WO2019019712A1 (zh) | 2017-07-24 | 2018-04-18 | 一种空白发票的分发处理方法、存储介质和服务器 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107784531A (zh) |
| WO (1) | WO2019019712A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107784531A (zh) * | 2017-07-24 | 2018-03-09 | 平安科技(深圳)有限公司 | 一种空白发票的分发处理方法、存储介质和服务器 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106504044A (zh) * | 2016-11-09 | 2017-03-15 | 百望金赋科技有限公司 | 一种开票方法及系统 |
| US20170076342A1 (en) * | 2015-09-15 | 2017-03-16 | Sap Se | Duplicate check based on generated hash value |
| CN106530024A (zh) * | 2016-11-09 | 2017-03-22 | 百望金赋科技有限公司 | 一种开票方法、开票系统及其税控服务器 |
| CN106530022A (zh) * | 2016-11-09 | 2017-03-22 | 百望金赋科技有限公司 | 一种税控核心板 、使用方法及税控服务器 |
| CN107784531A (zh) * | 2017-07-24 | 2018-03-09 | 平安科技(深圳)有限公司 | 一种空白发票的分发处理方法、存储介质和服务器 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101320444A (zh) * | 2007-06-07 | 2008-12-10 | 华为技术有限公司 | 一种实现电子票据的方法、系统及装置 |
| CN106920135A (zh) * | 2015-12-28 | 2017-07-04 | 航天信息股份有限公司 | 一种pos开票服务器离线交易的实现方法及系统 |
| CN106779988A (zh) * | 2016-11-15 | 2017-05-31 | 百望金赋科技有限公司 | 一种税控服务器管理系统及方法 |
-
2017
- 2017-07-24 CN CN201710605522.8A patent/CN107784531A/zh active Pending
-
2018
- 2018-04-18 WO PCT/CN2018/083553 patent/WO2019019712A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170076342A1 (en) * | 2015-09-15 | 2017-03-16 | Sap Se | Duplicate check based on generated hash value |
| CN106504044A (zh) * | 2016-11-09 | 2017-03-15 | 百望金赋科技有限公司 | 一种开票方法及系统 |
| CN106530024A (zh) * | 2016-11-09 | 2017-03-22 | 百望金赋科技有限公司 | 一种开票方法、开票系统及其税控服务器 |
| CN106530022A (zh) * | 2016-11-09 | 2017-03-22 | 百望金赋科技有限公司 | 一种税控核心板 、使用方法及税控服务器 |
| CN107784531A (zh) * | 2017-07-24 | 2018-03-09 | 平安科技(深圳)有限公司 | 一种空白发票的分发处理方法、存储介质和服务器 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107784531A (zh) | 2018-03-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20220309052A1 (en) | Data Consistency In Master Data Integration | |
| CN109815291B (zh) | 数据同步方法、装置、电子设备及存储介质 | |
| US20220075900A1 (en) | Tracing objects across different parties | |
| US10824602B2 (en) | System for determining the impact to databases, tables and views by batch processing | |
| CN107766080B (zh) | 事务消息处理方法、装置、设备及系统 | |
| US10585877B1 (en) | System and method for achieving high quality data integrity | |
| US11157247B2 (en) | Cryptographic digital twin segregation system for development operations | |
| WO2019136812A1 (zh) | 电子装置、数据调用日志生成及查询方法及存储介质 | |
| WO2019140739A1 (zh) | 客户回访的判断方法、电子装置及计算机可读存储介质 | |
| US12174820B2 (en) | Data management system with tamper-evidence | |
| WO2019019701A1 (zh) | 一种空白发票的回收处理方法、存储介质和服务器 | |
| CN109240854B (zh) | 对误操作引起的更改进行数据恢复的方法及系统 | |
| US11816163B2 (en) | Systems and methods for improved transactional mainframes | |
| US20210133179A1 (en) | Method, system and apparatus for processing database updates | |
| CN109324959B (zh) | 一种自动转移数据的方法、服务器及计算机可读存储介质 | |
| WO2019169771A1 (zh) | 电子装置、访问指令信息获取方法及存储介质 | |
| CN109284331B (zh) | 基于业务数据资源的制证信息获取方法、终端设备及介质 | |
| CN116993523A (zh) | 配置化对账方法、装置、设备及存储介质 | |
| WO2019019631A1 (zh) | 空白发票的作废处理方法、可读存储介质、服务器及装置 | |
| WO2019019712A1 (zh) | 一种空白发票的分发处理方法、存储介质和服务器 | |
| US9977726B2 (en) | System and method for smart framework for network backup software debugging | |
| CN110781142B (zh) | 数据导入方法及装置、服务端及存储介质 | |
| CN105760283B (zh) | 一种日志输出方法和装置 | |
| CN106845263A (zh) | 一种访问数据库的方法、装置及电子设备 | |
| CN114710333B (zh) | 数据传输及校验的方法、系统、计算机设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18837836 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: 18837836 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 04.08.2020. |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18837836 Country of ref document: EP Kind code of ref document: A1 |